Forum Discussion
CAlex
Contributor
3 years agoHow to set the SPL and the sdimage correctly with baremetal applications
Hi, I'm working on cycloneV soc with the newest soceds 20.1 so the bsp-editor cant be used as a uboot setting. I want to start the baremetal application from a sdcard. SDimage: A2: u-boot-wit...
tehjingy_Altera
Regular Contributor
3 years agoHi Alex
Could you share a snippet of your code of how you printf?
Here is a line from the example which
printf("RESULT: Example completed successfully.\n");
For the QSPI you could reuse the binary file that you created that combine the SPL and your application binary.
You will need to flash the binary at the QSPI flash address 0, remember to swtich the BSEL to boot from QSPI.
Regards
Jingyang, Teh
- CAlex3 years ago
Contributor
Hi,
that's how I did for printf , and debug shows it worked well.
About QSPI, could you please tell me how to "flash the binary at the QSPI flash address 0" ?
Does that mean I need to use mkimage to set the -a and -e to 0x0? and that's it?
Thanks.
Reguards.