Skip to content

Instantly share code, notes, and snippets.

@imrickysu
Created November 5, 2015 02:22
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save imrickysu/e00366ef30e1016dd024 to your computer and use it in GitHub Desktop.
Save imrickysu/e00366ef30e1016dd024 to your computer and use it in GitHub Desktop.
unpack sdsoc rootfs
# refer to http://www.wiki.xilinx.com/Build+and+Modify+a+Rootfs
dd if=uramdisk.image.gz bs=64 skip=1 of=ramdisk.image.gz
mkdir tmp_mnt
gunzip -c ramdisk.image.gz | sudo sh -c 'cd tmp_mnt/ && cpio -i'
cd tmp_mnt
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment