I have a big-endian zImage file that I dumped from a flash chip.
I dug through the hex dump of zImage and found an xz header (FD 37 7A 58 5A 00), leading me to believe it was compressed with xz.
01c2010 4d00 8c5d 0000 0000 4d00 4a60 0000 0000
01c2020 7a58 fd37 0001 5a00 de36 6922 edc2 03c0
How can I use dd to grab the file starting from the header, and how can I decompress the file? I'm working on a little-endian ThinkPad.