This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

How to add custom board in u-boot-ti-staging

Part Number: AM625

Tool/software:

Hi
I'm trying to add custom board on u-boot with following SDK:
PROCESSOR-SDK-LINUX-AM62X 09.02.01.09
After adding custom machine, I added the custom board with the following steps.

1. Add custom-board directories:
board/custom/
├── custom-board (based on ti/am62x)
│ ├── am62x.env
│ ├── evm.c
│ ├── Kconfig
│ └── Makefile
├── common (based on ti/common)
│ ├── board_detect.c
│ ├── board_detect.h
│ ├── cape_detect.c
│ ├── cape_detect.h
│ ├── k3-ddr-init.c
│ ├── k3-ddr-init.h
│ ├── k3_dfu.c
│ ├── Kconfig
│ ├── Makefile
│ ├── rtc.c
│ ├── rtc.h
│ └── schema.yaml
└── keys (based on ti/keys)
├── custMpk.crt
├── custMpk.key
├── custMpk.pem
└── ti-degenerate-key.pem

2. Modify configs in board/custom/custom-board/Kconfig:
config SYS_BOARD
default "custom-board"

config SYS_VENDOR
default "custom"

config SYS_CONFIG_NAME
default "am62x_evm"

source "board/custom/common/Kconfig"

3. Add source to arch/arm/mach-k3/Kconfig:
+source "board/custom/custom-board/Kconfig"

It was succeeded to build but build/include/generated/env.txt was blank.
I think so it should be written contents of am62x.env.

What is needed anything else to add custom board?

Best Regards,
Koji Hirohashi