Latest LQ Deal: Latest LQ Deals
Go Back > Forums > Linux Forums > Linux - Hardware > Linux - Embedded & Single-board computer
User Name
Linux - Embedded & Single-board computer This 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.


  Search this Thread
Old 11-12-2012, 02:20 AM   #1
Registered: Mar 2012
Location: Shenzhen Chian
Posts: 73

Rep: Reputation: Disabled
How to extract u-boot-nand.bin and uImage v5.2?

Hello friends,

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?

I can provide you properties of those files:

root@gpl-vm:/GPL/test/ufsd/pearl/PX-8690/7800HB-german-20111011/ubootnand# file u-boot-nand.bin 
u-boot-nand.bin: data
root@gpl-vm:/GPL/test/ufsd/pearl/PX-8690/7800HB-german-20111011/ubootnand# cd ../uimage/
root@gpl-vm:/GPL/test/ufsd/pearl/PX-8690/7800HB-german-20111011/uimage# file uImage\ v5.2 
uImage v5.2: u-boot legacy uImage, Linux-, Linux/ARM, OS Kernel Image (Not compressed), 2448712 bytes, Tue Sep 27 12:47:13 2011, Load Address: 0x40008000, Entry Point: 0x40008000, Header CRC: 0x03EC7F58, Data CRC: 0x30CB4469
Any ideas and reply will be appreciated.
Old 11-15-2012, 07:58 AM   #2
Registered: Jan 2011
Posts: 108

Rep: Reputation: 11
I don't know about Android, but u-boot-nand.bin is the bootloader (, (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,
1 members found this post helpful.
Old 11-16-2012, 09:33 AM   #3
LQ 5k Club
Registered: Aug 2005
Distribution: OpenSuse, Fedora, Redhat, Debian
Posts: 5,399
Blog Entries: 2

Rep: Reputation: 908Reputation: 908Reputation: 908Reputation: 908Reputation: 908Reputation: 908Reputation: 908Reputation: 908
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.
1 members found this post helpful.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
extract bin file puya_ms Programming 3 02-19-2009 09:58 AM
extract bin file puya_ms Linux - Software 1 02-19-2009 07:03 AM
u-boot and for LDK5910 Anitha Linux - Kernel 0 02-19-2007 10:44 PM
Can Linux extract a Bin containging img and bin mpthor Linux - Software 0 12-08-2005 09:38 AM
extract bin and cue jlj Linux - Software 2 08-12-2003 05:28 AM > Forums > Linux Forums > Linux - Hardware > Linux - Embedded & Single-board computer

All times are GMT -5. The time now is 06:36 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration