AnsweredAssumed Answered

modify initramfs

Question asked by Kirill Brilliantov on Sep 18, 2012
Latest reply on Sep 21, 2012 by Vladan Jovanovic

Hello!

We are make board with iMX53, unfortunally initramfs.cpio.gz.uboot from MfgTool is not work on our board and I have to modify it.

 

$ file initramfs.cpio.gz.uboot

initramfs.cpio.gz.uboot: u-boot legacy uImage, uboot initramfs rootfs, Linux/ARM, RAMDisk Image (gzip), 4144518 bytes, Wed Mar 16 06:24:19 2011, Load Address: 0x00000000, Entry Point: 0x00000000, Header CRC: 0x6548D031, Data CRC: 0xA090FD19

But I can't unpack it...

$ cp initramfs.cpio.gz.uboot initramfs.cpio.gz

`initramfs.cpio.gz.uboot' -> `initramfs.cpio.gz'

$ gunzip initramfs.cpio.gz > initramfs.cpio

gzip: initramfs.cpio.gz: not in gzip format

 

How can I unpack and modify it?

Thank you and excuse me my bad english.





Outcomes