02-04-2019 05:40 AM
For ZC702, petalinux based development, we are using SDcard as the boot medium. For running the rootfs from sdcard, using gparted we prepared the boot medium by creating a new partition table as mentioned in https://aerotenna.readme.io/docs/partition-sd-card with a fat32 partition for boot of 200MB and rootfs partition of the remaining size for rootfs. After building the petalinux project, one with normal initramfs file system and one with SDcardrootfs using scp commands, copied the application binaries, BOOT.bin and image.ub to boot partition and after powering on the Zynq board, nothing comes up in gtkterm.Even with a prebuilt image, same thing happens. The terminal stays blank and shows no activity.
The prebuilt image works fine with another SDcard which was not partitioned. The SDcard which was partitioned using gparted,even after deletion of partition table and formatting shows the same response.
Can we use gparted and is the above mentioned partitioning scheme ok?
Or should the steps mentioned in https://xilinx-wiki.atlassian.net/wiki/spaces/A/pages/18842385/How+to+format+SD+card+for+SD+boot and https://xilinx-wiki.atlassian.net/wiki/spaces/A/pages/18841655/Prepare+Boot+Medium alone be followed. Following the steps in above mentioned links always returns a resource busy error upon syncing and the message partition table will be updated on kernel reboot. Is this ok? Why does this happen?
02-06-2019 08:19 AM
Per UG585, boot.bin must be in the root of the SD file system
02-07-2019 09:23 PM
The same steps when followed in one SDcard works without issues, but not in another. is there any dependency like that?(Confusing part is both SD cards were working before and after sometime one stopped working, but neither the card nor the adapter is faulty)
02-08-2019 05:32 AM
I would suspect your card formatting and file locations. Go through your changes in an orderly flow and see what you can find out.