View Single Post
Old 09-23-2009, 01:05 PM   #6
sr105
Junior Member
sr105 began at the beginning.
 
Posts: 1
Karma: 10
Join Date: Sep 2009
Device: none
How did you figure out the offsets?

Quote:
Originally Posted by chinaet View Post
Code:
 dd if=/dev/mtd1ro of=uImage bs=1024 count=3584
 dd if=uImage of=img.gz bs=1 skip=$((0x32a0))
 gunzip img.gz
 dd if=img of=initramfs.cpio.gz bs=1 skip=$((0x14a40))
I'm trying to extract an initramfs archive from another image and I'm wondering how you determined those offsets.

Thanks!
sr105 is offline   Reply With Quote