Other Parts Discussed in Thread: AM625
Hi,
I'm on AM65x IDK, and the SD card has Linux-RT image flashed by using PROCESSOR-SDK-LINUX-RT-AM65X. The system boots, and then I move towarding my development, which is running application on the Cortex-R5F w/o the dependence of Linux. That is, the application is loaded by the SBL running on the Cortex-A53 (to reduce mission-critical app's downtime during reset).
I started from trying to load a LED blink example (in appimage format) in the u-boot prompt, I've tried the following:
- Rename the example to "app" and place it to the directory where the boot partition lays (i.e., same directory as tiboot3.bin, sysfw, etc.). However, it seems that it doesn't load, the LED was not blinking even Linux has done booting.
- Load and run the app in the SBL dones't work either. The .appimage blob was placed in the boot directory and loaded with fatload (@0x90000000). And the blob loading to the R5F was using command "rproc load 0 0x90000000 <blob_size>", but the load was rejected with error stating that it's not an ELF. This got me confused, according to the doc., SBL doesn't load ELF directly. Instead it loads the appimage format blob. Maybe the SBL prompt doesn't read appimage, and it's the SBL itself reads appimage?
- Using same method as #2 except the blob is the .xer5f variant. The result is that I got error ""Error" handler, esr 0xbf000000..." and a coredump followed by a reset. Does this suggests that the .xer5f blob is not properly compiled? (The blob was acquired from within the Platform Development Kit)
None of them have led to a success load. Is there anything I misunderstantood?
Thanks!