[U-Boot-Users] Question about NAND-Flash Support on MPC831x

Scott Wood scottwood at freescale.com
Wed Mar 5 17:42:31 CET 2008


Stefan Roese wrote:
> On Wednesday 05 March 2008, Jens Gehrlein wrote:
>> on 2007-05-16 16:28:05 GMT, Scott Wood submitted a patch with the subject:
>> "[PATCH 2/2] NAND: Add mpc831x support."
>>
>> I can't find this patch in any repository. Even, there wasn't any reply
>> to his e-mail.
>>
>> Was the patch rejected?
> 
> Yes it was rejected. IIRC, there were some issues with a new "interface" that 
> was introduced to the NAND subsystem here (transparent hardware ECC). At that 
> time such an "interface" was not supported in Linux either. Not sure what the 
> current status here is.
> 
> Scott, whats the current status? Has this support now been included to Linux 
> meanwhile? How should we continue here? Do you plan on resubmitting patches 
> for FSL NAND support? Please keep in mind that we still plan to switch to the 
> new U-Boot NAND subsystem rewrite done a few months ago, based on the Linux 
> 2.6.22 MTD sources.

I recently got the Linux version of the driver merged; the newer Linux 
NAND subsystem code doesn't need all of the previous patches I sent for 
u-boot, though if you're basing off of 2.6.22 you'll need a couple 
patches that went in more recently than that (78b65179 Don't panic... 
and 1c45f604 Fix misparenthesization...).

>> What's about the current state of NAND-Flash Support for MPC831x in
>> U-Boot using the FCM concerning:
>> - Read/Write/Erase Access

I'll try to get a new patch for this out soon.

>> - Booting from NAND

There's an un-cleaned-up patch from the BSP sitting around on my hard 
disk...  It's a rather intrusive patch (mostly due to the need to get 
RAM going with only 4K of code), so it'll need some looking over before 
I submit.  Not likely for the upcoming merge window, but maybe the next 
one if my schedule permits.

-Scott




More information about the U-Boot mailing list