TI中文支持网
TI专业的中文技术问题搜集分享网站

AM3352: Build U-boot error

Part Number:AM3352

The TI SDK I used is: ti-processor-sdk-linux-am335x-evm-08.02.00.24  (download from TI web).

Uboot source code is: u-boot-2021.01+gitAUTOINC+44a87e3ab8-g44a87e3ab8  (include in the SDK above/board-support/)

Corss Compile is: arm-none-linux-gnueabihf- gcc (include in the SDK above/linux-devkit/sysroots/x86_64-arago-linux/usr/bin)

When I build the U-boot with original "am335x_evm_defconfig", the build is sucessfully,

After I follow the insturctions "software-dl.ti.com/…/U-Boot.html" step to step to set baseline of my own design board, I build the U-boot as follow, but found error:

make ARCH=arm CROSS_COMPILE='arm-none-linux-gnueabihf-' mrproper—— this is O.K.
make ARCH=arm CROSS_COMPILE='arm-none-linux-gnueabihf-' am335x_<myboard>_defconfig——.config is generated sucessfully.
make ARCH=arm CROSS_COMPILE='arm-none-linux-gnueabihf-'——error
/opt/ti-processor-sdk-linux-am335x-evm-08.02.00.24/board-support/u-boot-2021.01+gitAUTOINC+44a87e3ab8-g44a87e3ab8/am335x_dcx11_3/../common/image-fdt.c:575: undefined reference to `ft_board_setup'
arm-none-linux-gnueabihf-ld.bfd: common/built-in.o:(.data.init_sequence_r+0x2c): undefined reference to `board_init'
arm-none-linux-gnueabihf-ld.bfd: common/built-in.o:(.data.init_sequence_r+0x94): undefined reference to `board_late_init'
/opt/ti-processor-sdk-linux-am335x-evm-08.02.00.24/board-support/u-boot-2021.01+gitAUTOINC+44a87e3ab8-g44a87e3ab8/Makefile:1762: recipe for target 'u-boot' failed
make[1]: *** [u-boot] Error 1
make[1]: Leaving directory '/opt/ti-processor-sdk-linux-am335x-evm-08.02.00.24/board-support/u-boot-2021.01+gitAUTOINC+44a87e3ab8-g44a87e3ab8/am335x_dcx11_3'
Makefile:167: recipe for target 'sub-make' failed
make: *** [sub-make] Error 2

Could you please help to check why this error occurs and how to deal with it?
Thnaks.
Taylor:

Hi kai,

For your query, please post your query in E2E Forum as link below.https://e2e.ti.com/TI's product line experts will answer your question.

赞(0)
未经允许不得转载:TI中文支持网 » AM3352: Build U-boot error
分享到: 更多 (0)