UPGRADE YOUR BROWSER

We have detected your current browser version is not the latest one. Xilinx.com uses the latest web technologies to bring you the best online experience possible. Please upgrade to a Xilinx.com supported browser:Chrome, Firefox, Internet Explorer 11, Safari. Thank you!

cancel
Showing results for 
Search instead for 
Did you mean: 
Visitor bmurali
Visitor
3,527 Views
Registered: ‎06-11-2015

Petalinux rootfs sd card option doesnt generate the cpio file

Hi there,

 

In PetaLinux, I am setting the configuration of the rootfs to be SD card. But the rootfs.cpio file doesn't get generated in the images/linux folder. It does get generated when the configuration of the rootfs is set to INITRAMFS.

 

Is it designed to be like this?

How do I generate the rootfs.cpio even when the rootfs config is set SD card?

 

Regards,

Murali

0 Kudos
4 Replies
Visitor bmurali
Visitor
3,504 Views
Registered: ‎06-11-2015

Re: Petalinux rootfs sd card option doesnt generate the cpio file

This is for Petalinux 2016.1

0 Kudos
Xilinx Employee
Xilinx Employee
3,489 Views
Registered: ‎08-01-2012

Re: Petalinux rootfs sd card option doesnt generate the cpio file

If you did not refer below user guides then it is worth to refer . You may get some debug clues

https://www.xilinx.com/support/documentation/sw_manuals/xilinx2016_4/ug1144-petalinux-tools-reference-guide.pdf

https://www.xilinx.com/support/documentation/sw_manuals/petalinux2014_2/ug977-petalinux-getting-started.pdf

________________________________________________

Please mark this post as an "Accept as solution" in case if it helped to resolve your query. So that it will help to other forum users to directly refer to the answer.

Give kudos to this post in case if you think the information is useful and reply oriented.

0 Kudos
Visitor bmurali
Visitor
3,450 Views
Registered: ‎06-11-2015

Re: Petalinux rootfs sd card option doesnt generate the cpio file

I am in constant reference of the userguides suggested. But the cpio file will not be generated if one selects the rootfs to be SD card. But please not that this is not the case for PL2016.4, it does generate the ext* files..
0 Kudos
Moderator
Moderator
3,428 Views
Registered: ‎04-17-2011

Re: Petalinux rootfs sd card option doesnt generate the cpio file

We have a long and interesting discussion as per the thread: https://forums.xilinx.com/t5/Embedded-Linux/Petalinux-2016-4-boot-from-SD-with-ext4-rootfs/td-p/742310

For SD, you need to use rootfs.ext4 generated inside the images/linux folder. The rootfs.cpio is still generated but the .ext4 would solve your purpose.
Regards,
Debraj
----------------------------------------------------------------------------------------------
Kindly note- Please mark the Answer as "Accept as solution" if information provided is helpful.

Give Kudos to a post which you think is helpful and reply oriented.
----------------------------------------------------------------------------------------------
0 Kudos