LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software > Linux - Kernel
User Name
Password
Linux - Kernel This forum is for all discussion relating to the Linux kernel.

Notices


Reply
  Search this Thread
Old 07-28-2011, 12:03 AM   #1
rajeev.battu
LQ Newbie
 
Registered: Jul 2011
Posts: 2

Rep: Reputation: Disabled
Lightbulb linux u-boot


Greetings,
I am working as an embedded engineer(R&D), into Linux. I had a problem in handling BAD BLOCKS in u-boot. i am using 1.3.4 as well as 2008.10 u-boot.
Following is the problem i am facing in some of my hardware boards. i am using at91sam9260 and 9261 controllers and K9F2G08Q0M Samsung Nandflash. Any one can help over this.

********************booting over serial port*******************
U-Boot 2008.10 (Jul 1 2011 - 15:40:06)

DRAM: 64 MB
Initializing Display
NAND: 256 MiB
*** Warning - bad CRC or NAND, using default environment

In: serial
Out: serial
Err: serial
Net: No ethernet found.
No ethernet found.
Hit any key to stop autoboot: 1  0

NAND read: device 0 offset 0x200000, size 0x200000
Skipping bad block 0x00240000
Skipping bad block 0x00260000
Skipping bad block 0x002e0000
2097152 bytes read: OK
## Booting kernel from Legacy Image at 22200000 ...
Image Name: linux-2.6.28-Analogics
Image Type: ARM Linux Kernel Image (uncompressed)
Data Size: 2068500 Bytes = 2 MB
Load Address: 20008000
Entry Point: 20008000
Verifying Checksum ... Bad Data CRC
ERROR: can't get kernel image!
U-Boot>

**************************************************************

Thanks & Regards,
Rajeev Battu.
 
Old 07-28-2011, 12:12 AM   #2
paulsm4
LQ Guru
 
Registered: Mar 2004
Distribution: SusE 8.2
Posts: 5,863
Blog Entries: 1

Rep: Reputation: Disabled
Sounds like you're trying to copy the image over to a bad flash drive, doesn't it?

Q: Can you change the drive? Or try loading the same image on a different unit?
 
Old 07-28-2011, 12:18 AM   #3
rajeev.battu
LQ Newbie
 
Registered: Jul 2011
Posts: 2

Original Poster
Rep: Reputation: Disabled
Bad blocks

Quote:
Originally Posted by paulsm4 View Post
Sounds like you're trying to copy the image over to a bad flash drive, doesn't it?

Q: Can you change the drive? Or try loading the same image on a different unit?
We are loading in many units, the units which are working fine don't have any bad blocks. the one which have bad blocks this problem is arising.. i had tested problematic unit with AT91SAM9260-EK downloaded from linux4sam site then its working fine. what would be the problem.
 
  


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
Dual boot Linux Suse 10.0/Windows XP Pro, Linux non-boot novice-user LinuxQuestions.org Member Intro 1 05-29-2009 01:54 PM
Cannot boot up on Linux, have to boot onto Linux-nonfb after installing nvidia driver /home/kyle Linux - Newbie 6 09-15-2004 11:23 AM
dual boot - XP and Linux - Need to reinstall XP without effecting linux -LILO boot godofmind Linux - General 1 05-05-2004 08:13 AM
Linux Boot Floppy Went Bad on W2K-Linux Dual Boot rzward Linux - General 2 01-15-2003 10:52 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software > Linux - Kernel

All times are GMT -5. The time now is 05:16 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