Monday, October 3, 2011

Livebox 2 Sagem #2

$ dd if=openrg.img ibs=1 skip=$((0x00000140)) 2> /dev/null | file -
/dev/stdin: u-boot legacy uImage, FAST3yyy_69127A, Linux/MIPS, OS Kernel Image (gzip), 8931973 bytes, Tue Apr 26 12:30:18 2011, Load Address: 0x80010000, Entry Point: 0x802E8000, Header CRC: 0x67BE88EE, Data CRC: 0xFD9DAB97

$ dd if=openrg.img ibs=1 skip=$((0x00000180)) 2> /dev/null | file -
/dev/stdin: gzip compressed data, was "vmlinux.bin", from Unix, last modified: Tue Apr 26 12:29:17 2011, max compression

$ dd if=openrg.img of=vmlinux.bin.gz ibs=1 skip=$((0x00000180))
9043584+0 records in
17663+1 records out
9043584 bytes (9.0 MB) copied, 6.42624 s, 1.4 MB/s

$ gunzip vmlinux.bin.gz 

gzip: vmlinux.bin.gz: decompression OK, trailing garbage ignored

No comments:

Post a Comment