Hi All,
We have BBB based custom board where we trying to port SDK-2 OS. First we are trying to port u-boot on our custom board as below.
1. Copied board configuration of BBB board(configs/am335x_boneblack_defconfig) and created as configs/customboard_BBB_defconfig.
CONFIG_ARM=y
CONFIG_TARGET_AM335X_EVM=y
CONFIG_SPL=y
CONFIG_SPL_STACK_R=y
CONFIG_SPL_STACK_R_ADDR=0x82000000
CONFIG_SYS_EXTRA_OPTIONS="EMMC_BOOT"
# CONFIG_CMD_IMLS is not set
# CONFIG_CMD_FLASH is not set
# CONFIG_CMD_SETEXPR is not set
CONFIG_SPI_FLASH=y
2. Copied include/configs/am335x_evm.h header file and created as include/configs/customboard_bbb.h
3. Created my custom board files by copying board directory board/ti/am335x and created as board/ti/custombbb, then defined few NACROS in Kconfig as below in board directory.
if TARGET_AM335X_EVM
config SYS_BOARD
default "customboard"
config SYS_VENDOR
default "ti"
config SYS_SOC
default "am33xx"
config SYS_CONFIG_NAME
default "customboard_bbb"
When I do u-boot clean and build as below, my board files(board/ti/custombbb) are not compiling but board/ti/am335x files are compiling.
make ARCH=arm CROSS_COMPILE=arm-linux-gnueabihf- mrproper;
make ARCH=arm CROSS_COMPILE=arm-linux-gnueabihf- customboard_BBB_config
make ARCH=arm CROSS_COMPILE=arm-linux-gnueabihf-
After giving the below commands, my .config file is not updated as expected, it is updated with am335x board directory, who updates this .config file?
make ARCH=arm CROSS_COMPILE=arm-linux-gnueabihf- mrproper;
make ARCH=arm CROSS_COMPILE=arm-linux-gnueabihf- customboard_BBB_config
************* .config *******
------
------
CONFIG_SYS_ARCH="arm"
CONFIG_SYS_CPU="armv7"
CONFIG_SYS_SOC="am33xx"
CONFIG_SYS_VENDOR="ti"
CONFIG_SYS_BOARD="am335x"
CONFIG_SYS_CONFIG_NAME="am335x_evm"
------
------
Can any one please help me, what else I am missing to configure ?