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.
03-15-2019 04:33 AM
I will try to answer your question.
1. You need to set your zc702 like in attached picture
2. cause i use OS Ubuntu16.04 i always check which ttysUSB* i have for the Board by using command
ls -l /dev .
in my case Board zc702 using ttyUSB2 and another Board like Pynq-z1 ttyUSB1
3. I always use picocom to do boot for every board with this command
sudo picocom -b 115200 /dev/ttyUSB1 or
sudo picocom -b 115200 /dev/ttyUSB2 (you must check which ttyUSB* your boad work)
(i suggest you to install picocom)
Hope it helps.