Atmel website | ARM Community | AVR freaks | Technical Support
Banner
 FAQ •  Search •  Register •  Login 

All times are UTC + 1 hour [ DST ]




Post new topic Reply to topic  [ 2 posts ] 
Author Message
 Post subject: SAM-BA, NAND, u-boot and bad blocks
PostPosted: Mon Oct 26, 2009 4:44 pm 
Offline

Joined: Fri Oct 23, 2009 3:59 pm
Posts: 1
My forum search didn't turn up an a definite answer... So my question is..

Is it possible to
1) burn NAND flash using SAM-BA (Linux + RFS) (skipping bad blocks)
2) Have u-boot nboot linux and be aware of bad blocks that may
exist in the linux image block.

The sequence works when there are no bad blocks in the Linux image.
Do I need to use u-boot to write Linux instead of Samba?
The RFS is UBIFS and bad blocks are handled.

Thanks in advance...


Top
 Profile  
 
 Post subject: Re: SAM-BA, NAND, u-boot and bad blocks
PostPosted: Mon Oct 26, 2009 6:37 pm 
Offline

Joined: Wed Jan 09, 2008 5:09 pm
Posts: 186
Location: Mounds View, MN
From what I have seen, Samba will do simple bad block skipping, which seems to be the proper method for handling bad blocksin Linux. For uboot, you need to use the nboot.jffs2 command, which also uses simple bad block skipping to read the kernel. You should also use "nand write.jffs2" and "nand read.jffs2". Even though these commands say they are for jffs2, I think the only thing they really do is add the simple bad block skipping function to the base "nand read" and "nand write" and "nboot" calls.

_________________
Tim Barr
Multitech Inc.


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 2 posts ] 

All times are UTC + 1 hour [ DST ]


Who is online

Users browsing this forum: No registered users and 2 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to: