Part Number: PROCESSOR-SDK-AM65X
Tool/software: Linux
Hello,
I am trying to build U-Boot for the AM65x IDK using the version of U-Boot used with the latest Linux SDK release. Specifically, branch ti-2019.01 and commit 2654d29fd037730ebb154e9eda257acd7175b46b.
Using the instructions in board/ti/am65x/README, U-Boot fails to build the A53 portion of the build with the following errors:
... (previous lines snipped)
CC examples/standalone/stubs.o LD examples/standalone/libstubs.o CC examples/standalone/hello_world.o LD examples/standalone/hello_world OBJCOPY examples/standalone/hello_world.srec OBJCOPY examples/standalone/hello_world.bin LDS u-boot.lds LD u-boot OBJCOPY u-boot-nodtb.bin start=$(aarch64-linux-gnu-nm u-boot | grep __rel_dyn_start | cut -f 1 -d ' '); end=$(aarch64-linux-gnu-nm u-boot | grep __rel_dyn_end | cut -f 1 -d ' '); tools/relocate-rela u-boot-nodtb.bin 0x80800000 $start $end DTC arch/arm/dts/k3-am654-base-board.dtb DTC arch/arm/dts/k3-am654-r5-base-board.dtb arch/arm/dts/k3-am654-r5-base-board.dtb: Warning (avoid_unnecessary_addr_size): /interconnect@100000/interconnect@28380000/interconnect@42040000/i2c@42120000: unnecessary #address-cells/#size-cells without "ranges" or child "reg" property DTCO arch/arm/dts/k3-am654-pcie-usb2.dtbo DTCO arch/arm/dts/k3-am654-idk.dtbo make[4]: 'arch/arm/dts/k3-am654-base-board.dtb' is up to date. SHIPPED dts/dt.dtb FDTGREP dts/dt-spl.dtb /home/mmckee/dev/am6/uboot/arch/arm/mach-k3/make_fit.py am65x \ arch/arm/dts/k3-am654-base-board.dtb > u-boot.its cannot find k3-am654-gp.dtbo. removing from its! cannot find k3-am654-pcie-usb3.dtbo. removing from its! cannot find k3-am654-evm-oldi-lcd1evm.dtbo. removing from its! MKIMAGE u-boot.itb ./tools/mkimage: Invalid FIT blob /home/mmckee/dev/am6/uboot/Makefile:1209: recipe for target 'u-boot.itb' failed make[2]: *** [u-boot.itb] Error 255 /home/mmckee/dev/am6/uboot/Makefile:478: recipe for target '__build_one_by_one' failed make[1]: *** [__build_one_by_one] Error 2 make[1]: Leaving directory '/tmp/a53' Makefile:148: recipe for target 'sub-make' failed make: *** [sub-make] Error 2 Error: last command exited with non-zero exit status.
I had no issue building U-Boot in the previous version of the SDK.
Thanks,
Matt McKee