[SOLVED] How to extract u-boot-nand.bin and uImage v5.2?
Linux - Embedded & Single-board computerThis forum is for the discussion of Linux on both embedded devices and single-board computers (such as the Raspberry Pi, BeagleBoard and PandaBoard). Discussions involving Arduino, plug computers and other micro-controller like devices are also welcome.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I extracted several files from Android firmware package, they are ramdisk.img, system.img,userdata.img, u-boot-nand.bin, uImage v5.2.
ramdisk.img, system.img, userdata.img have been extracted. can anyone explain what are u-boot-nand.bin, uImage v5.2. and how to extract u-boot-nand.bin and uImage v5.2?
Hello,
I don't know about Android, but u-boot-nand.bin is the bootloader (http://en.wikipedia.org/wiki/Das_U-Boot, http://www.denx.de/wiki/DULG/Faq) (that goes into the NAND Flash in your case) to boot the system, and uImage is the kernel image that U-Boot loads. (When you compile the kernel, you use mkimage -a U-Boot utility- to create uImage.)
Best regards,
Esteban
Not sure what you mean by 'extract' in this context. Those files are object code, created by compilers, assemblers and linkers. As such, they cannot be decomposed in the sense of an initrd, which is a filesystem in a file, as you discovered in a previous post. It may be possible to disassemble the object code to some kind of assembler language source code, but you would have to know something of the target architecture in order to do so sensibly. The tool objdump, if created for the correct target architecture, may reveal some information. You cannot reverse the compilation process of high level languages.
--- rod.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.