Buildroot is generating Images for an embedded device where they should run on. This is working very well. In those Images the rootfs is included.Due to some research I'd like to look into that generated file (e.g: different compression modes set by Buildroot were applied and now shall be checked if they were correctly done) but I can't find something usefull in the Net.As far as I know the difference between a uImage and zImage is just a small header, so u-boot is able to read that binary file. But I can open neither uImage nor the zImage.Can anyone give me a hint of how to decompress those (u/z)Images on the host?
How to extract files from uImage?
embedded;images;compression;u boot;buildroot
mkimage -l uImageWill dump the information in the header.tail -c+65 < uImage > outWill get the content.tail -c+65  < uImage | gunzip > outwill get it uncompressed if it was gzip-compressed.If that was an initramfs, you can do cpio -t < out or pax < out to list the content.If it's a ramdisk image, you can try and mount it with:mount -ro loop out /mntfile out could tell you more about what it is.