Hello,
When am loading the app file and MLO file of IDK AM5728 onto the SDcard and when trying to boot on the AM5728 IDK board showing the error "INVALID MAGIC NUMBER". Can i know what does it mean ?
Thanks and regards,
Swarna
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.
Hello,
When am loading the app file and MLO file of IDK AM5728 onto the SDcard and when trying to boot on the AM5728 IDK board showing the error "INVALID MAGIC NUMBER". Can i know what does it mean ?
Thanks and regards,
Swarna
Swarna,
The secondary bootloader(MLO) on the AM572x uses RPRC format to parse application binaries and load to device memory. This is different from how we traditional loaded apps on Sitara devices as AM572x is multi-core device with a DSP and M4 so the secondary bootloader is designed to load ARM, DSP and M4 binaries. The RPRC header starts with a MAGIC NUMBER followed by information regarding CORE ID, Load address and size of binary, etc.
After the MLO boots it will try to read the app image and it appears since your app is not in RPRC format, it reports an INVALID MAGIC NUMBER. Did you use the pdkAppImageCreate script or the use the out2rprc and MulitcoreImageCreate Utility provided in the Processor SDK RTOS.
This has been described in the boot section of the Processor SDK documentation:
processors.wiki.ti.com/.../Processor_SDK_RTOS_BOOT_AM57x
The pdkAppImageCreate script is a scripted way to generate the boot image so will not need to deal with COREID and the utilities, you will only need to invoke the script with the correct options as you can see from post build step in any PDK example for AM57xx. If you have only rename the .out to app and then the image will not boot. Please follow the boot generation process and let us know if you still observe this issue.
Regards,
Rahul