Forum Discussion
Hi Alex
I managed to boot the baremetal application from the sdcard.
First you would need to build the application at address 0x1000040 and also build the uboot SPL.
Once you got both the application binary (application.bin) and the uboot SPL (u-boot-splx4.sfp).
You can combine both binary using the command:
cat u-boot-splx4.sfp application.bin > application_combine.bin
After having the application_combine.bin you could partition it into the sdcard using the sdcard creation script with the command:
sudo python3 ./make_sdimage_p3.py -f -P application_combine.bin,num=3,format=raw,size=10M,type=A2 -s 80M -n sdcard.img
Finally flash the sdcard.img on to the sdcard.
Regards
Jingyang, Teh
Hi,
Thank you for your responding.
I guess this is the way for "raw address" mentioned in the AN709,
if I want to start the application in vfat,what should I do?
Also, I tried the older version SOCEDS (before 19.0) so when you "make" the spl it will make a preloader-image.bin, this is the image I use.
Reguards.