LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware > Linux - Embedded & Single-board computer
User Name
Password
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.

Notices


Reply
  Search this Thread
Old 11-12-2012, 01:20 AM   #1
chinabenjamin66
Member
 
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:

Code:
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-2.6.32.9, 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, 06:58 AM   #2
elucches
Member
 
Registered: Jan 2011
Posts: 108

Rep: Reputation: 11
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
 
1 members found this post helpful.
Old 11-16-2012, 08:33 AM   #3
theNbomr
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.
  


Reply



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 08:58 AM
extract bin file puya_ms Linux - Software 1 02-19-2009 06:03 AM
u-boot and uImage.cc for LDK5910 Anitha Linux - Kernel 0 02-19-2007 09:44 PM
Can Linux extract a Bin containging img and bin mpthor Linux - Software 0 12-08-2005 08:38 AM
extract bin and cue jlj Linux - Software 2 08-12-2003 04:28 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware > Linux - Embedded & Single-board computer

All times are GMT -5. The time now is 04:04 PM.

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