01-31-2019 12:49 PM - edited 01-31-2019 01:37 PM
I am trying to boot a baremetal application that just uses the sample hello world SDK program from an SD card. I do not want to use petalinux if possible.
I am using the ZC702 reference platform with 2018.3 Vivado and SDK.
Here's the steps I have done so far:
1) Created a reference vivado design from the ZC702 board. Exported to SDK, I was able to boot Linux on an SD card with the reference platform.
2) In XSDK, created a hardware platform based off the viviado design .hdf.
3) In XSDK, created a FSBL application on Cortex 0. No other BSP modfications.
4) In XSDK, created a hello world application on Cortex 0. Same behavior if I try Cortex 1. No other BSP modficiations.
5) In XSDK, created a BOOT.BIN that has the following BIF:
//arch = zynq; split = false; format = BIN
Formatted SD card correctly (it runs Petalinux). Put BOOT.bin on /boot parition. I am unable to see any prints.
If I use JTAG with the application we can see the prints. Petalinux works ok.
Any advice what we might be doing incorrectly? Is U-boot required for bare metal only?
02-08-2019 02:21 PM
Per UG585, boot.bin must be in the root of the SD file system. U-boot is not used in baremetal applications.
09-18-2019 02:41 AM
I lived same problem. My mistake was:
I have already ZC702 Vivado design, I want to port it to TE0745(Trenz), I only changed board Part from Project settings, I tried boot from SD card and SDK Debug but no print.
When I started from Trenz Reference Design(Clocking and all of wirings are correctly initialized), and SDK Debug works and boot from SD is working.
09-18-2019 06:49 AM
It sounds like your ZC702 design was not ported correctly.