[meta-xilinx] help with copying rootfs.tar.gz to sd card.

Anup Kini akini at synapticon.com
Mon Sep 9 06:07:10 PDT 2013


Hi All,

I have build a linaro-image-minimal with meta-xilinx for the ZYNQ board.
On completing the build image process using hob, i have the following files.

1. hob-image-20130909-135857-zc702-zynq7-20130909120154.rootfs.tar.gz
2. hob-image-20130909-135857-zc702-zynq7-20130909120154.rootfs.ext2.gz
3. two more images and uImage files.

Since i need SD boot i should be using the first image, right ?
Now, i have formatted the SD card to hve 36 MB fat32 and the rest ext4
partition.
I looked up the ADI reference to do this part.

$ sudo tar --strip-components=3 -C /media/rootfs -xzpf
hob-image-20130909-135857-zc702-zynq7-20130909120154.rootfs.tar.gz
binary/boot/filesystem.dir
tar: binary/boot/filesystem.dir: Not found in archive
tar: Exiting with failure status due to previous errors

$ sudo tar --strip-components=3 -C /media/rootfs -xzpf
hob-image-20130909-135857-zc702-zynq7-20130909120154.rootfs.tar.gz
tar: opkg: Cannot open: File exists
tar: sudo: Cannot open: File exists
tar: Exiting with failure status due to previous errors


How am i suppose to copy the rootfs generated on to the SD card to boot
successfully ?
Kindly help.

-- 

*Anup Kini
*Systems Engineer****
*
------------------------------
*

*Synapticon** * |  Cyber-Physical System Solutions ****

Mobile:

Direct:

+49 151 / 638 646 73

+49 7335 / 186 999 21

Fax:****
+49 7335 / 186 999 1


 **

 ****

synapticon.com <http://www.synapticon.com/>  |
@synapticon_co<https://twitter.com/#!/synapticon_co>
****

Synapticon GmbH  |  Hohlbachweg 2  |  73344 Gruibingen, DE
Secretary +49 7335 / 186 999 0  |  General Manager: Nikolai Ensslen
Registry Court Ulm HRB 725114  |  USt-ID DE271647127****

This message and any files transmitted with it are confidential and
intended
solely for the use of the individual or entity to whom they are addressed.
Please notify the sender immediately if you have received this e-mail by
mistake and delete it from your system.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.yoctoproject.org/pipermail/meta-xilinx/attachments/20130909/42d3ee5d/attachment.html>


More information about the meta-xilinx mailing list