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.

AM62P: Undefined reference to 'board_init' when building U-boot for R5 with Falcon Mode

Part Number: AM62P

I'm working on reducing the boot time of the SK-AM62P-LP using the Linux-RT SDK 11.01.16.13, and when I attempt to run the command:

$ make -s BOARD=am62px-sk all FALCON_MODE=1

The build fails when it gets to building U-boot for R5 where it fails with the following error:

===================================
Building U-boot for R5
===================================
/home/pcuser/ti-processor-sdk-linux-rt-am62pxx-evm-11.01.16.13/k3r5-devkit/sysroots/x86_64-arago-linux/usr/bin/arm-oe-eabi/arm-oe-eabi-ld.bfd: warning: -z norelro ignored
/home/pcuser/ti-processor-sdk-linux-rt-am62pxx-evm-11.01.16.13/k3r5-devkit/sysroots/x86_64-arago-linux/usr/bin/arm-oe-eabi/arm-oe-eabi-ld.bfd: warning: -z norelro ignored
/home/pcuser/ti-processor-sdk-linux-rt-am62pxx-evm-11.01.16.13/k3r5-devkit/sysroots/x86_64-arago-linux/usr/bin/arm-oe-eabi/arm-oe-eabi-ld.bfd: warning: -z norelro ignored
/home/pcuser/ti-processor-sdk-linux-rt-am62pxx-evm-11.01.16.13/k3r5-devkit/sysroots/x86_64-arago-linux/usr/bin/arm-oe-eabi/arm-oe-eabi-ld.bfd: warning: -z norelro ignored
/home/pcuser/ti-processor-sdk-linux-rt-am62pxx-evm-11.01.16.13/k3r5-devkit/sysroots/x86_64-arago-linux/usr/bin/arm-oe-eabi/arm-oe-eabi-ld.bfd: warning: -z norelro ignored
/home/pcuser/ti-processor-sdk-linux-rt-am62pxx-evm-11.01.16.13/k3r5-devkit/sysroots/x86_64-arago-linux/usr/libexec/arm-oe-eabi/gcc/arm-oe-eabi/13.4.0/ld: /tmp/cc1n5MPW.ltrans2.ltrans.o:(.data.init_sequence_r+0x2c): undefined reference to `board_init'
collect2: error: ld returned 1 exit status
make[2]: *** [/home/pcuser/ti-processor-sdk-linux-rt-am62pxx-evm-11.01.16.13/board-support/ti-u-boot-2025.01+git/Makefile:1824: u-boot] Error 1
make[1]: *** [Makefile:177: sub-make] Error 2
make: *** [makerules/Makefile_u-boot:41: u-boot-r5] Error 2

I have also tried running:

$ make am62px_evm_r5_defconfig

before attempting to 'make all' which then advised me to run 'make mrproper', which after executing and rerunning 'make all' still gives the same error.