LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 11-08-2010, 09:03 AM   #1
sant_dcg
LQ Newbie
 
Registered: Nov 2010
Location: Bangalore
Posts: 4

Rep: Reputation: 0
Unhappy How to read the kernel details ( size, start and end location) from flash


Hello All,

I am new to Linux and have a problem. I would appreciate any help or leads.

I have a linux system which has a NAND flash. The compressed kernel is flashed into the NAND flash. On boot up, the kernel is uncompressed, copied to RAM and runs from RAM.
Is it possible for me to read the kernel information from NAND flash such as size, start and end location and version?

I have been looking for this in the net, but did not find any answers so far...

I have tried the following:
The compressed kernel lies in the 4MB partition of the flash. So I tried:
dd if=/dev/mtdblock1 of=zImage
But this copies the complete 4MB partition. I need to copy only the zImage. So I need to know its size.

Last edited by sant_dcg; 11-09-2010 at 06:54 AM. Reason: What have I tried till now..
 
Old 11-09-2010, 06:02 AM   #2
sant_dcg
LQ Newbie
 
Registered: Nov 2010
Location: Bangalore
Posts: 4

Original Poster
Rep: Reputation: 0
Somebody please help
 
  


Reply


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
Increase size of file formatted as ext3 ( Details inside! ) chesss Linux - General 4 05-06-2009 05:21 AM
gui read out of back end command lines from gui front end activation? how? Siljrath Linux - General 0 10-24-2008 10:11 AM
How to read the start address of the ACPI table ? are there any kernel API? jitendrapradhan Linux - Kernel 0 10-08-2008 03:24 AM
How do I see the harddisk details (model, size etc) via CLi? Swakoo Linux - Hardware 6 10-12-2006 03:00 AM
Maillog Details (how to read them?) Kaj Linux - General 1 09-22-2003 08:10 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 03:55 AM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration