Tool/software:
Hi,
I'm trying to migrate our software from SDK 8 to SDK 10. I notice that the U-boot build in SDK 10 uses binman, where it did not in SDK 8.
We build our own MCU1_0 image and therefore we rebuild u-boot in order to incorporate it.
On SDK 8, that looks like this:
export DM=/path/to/custom_dm
make -C /opt/ti-processor-sdk-linux-j7-evm-08_05_00_08/board-support/u-boot-2021.01+gitAUTOINC+7996ed51f1-g7996ed51f1
CROSS_COMPILE=/opt/ti-processor-sdk-rtos-j721e-evm-08_05_00_11/gcc-arm-9.2-2019.12-x86_64-aarch64-none-linux-gnu/bin/aarch64-none-linux-gnu-
ATF=/path/to/bl31.bin
TEE=/path/to/bl32.bin
O=/path/to/builddir
On SDK 10, we have renamed ATF to BL31 and added TI_DM (per https://software-dl.ti.com/jacinto7/esd/processor-sdk-linux-jacinto7/10_00_00_08/exports/docs/linux/Foundational_Components/U-Boot/UG-General-Info.html#build-u-boot), to get this:
make -C /opt/ti-processor-sdk-linux-j7-evm-08_05_00_08/board-support/u-boot-2021.01+gitAUTOINC+7996ed51f1-g7996ed51f1
CROSS_COMPILE=/opt/ti-processor-sdk-rtos-j721e-evm-08_05_00_11/gcc-arm-9.2-2019.12-x86_64-aarch64-none-linux-gnu/bin/aarch64-none-linux-gnu-
BL31=/path/to/bl31.bin
TEE=/path/to/bl32.bin
TI_DM=/path/to/custom_dm
O=/path/to/builddir
However, this appears to be not working correctly for the TI_DM variable, as I get the following warning:
Image 'ti-dm' is missing optional external blobs but is still functional: blob-ext
And indeed, it does seem to have packed zero bytes (which we can see at BINMAN_VERBOSE=3):
Writing image to './ti-dm.bin'
Wrote 0x0 bytes
Image 'ti-dm' is missing optional external blobs but is still functional: blob-ext
/binman/ti-dm/blob-ext (ti-dm/j721e/ipc_echo_testb_mcu1_0_release_strip.xer5f):
Missing blob
Pack completed after 1 pass(es)
As far as I can tell, this is due to some disconnect between the "-a ti-dm-path" option to binman setting the "ti-dm" filename, not the "ti-dm/blob-ext" filename - and the former (default ti_dm.bin) is never supposed to exist.
Can someone please let me know what is the correct way to specify a custom DM image such that the A72 u-boot build is happy?
Many Thanks,
Ross O'Connor