2010-02-14-0538Z


To find "interesting" things in a binary file quickly, try converting it to an image:

convert -size 1024x2048 -depth 8 gray:DYAM08-506-1026.bin image.jpg

Using this, I was able to locate the divisions in the WVC54GC camera binary... the Linux kernel starts at 0xc000, and the cramfs image starts at 0x68000. Beats scrolling blindly through a 2MB hexdump. It looked like the second split was about 1/5 of the way down, which would have been 0x66666, so I didn't have far to go from there to get to the actual start of the filesystem.

Back to blog or home page

last updated 2010-02-14 00:33:46. served from tektonic.jcomeau.com