Skip to contentSkip to conversation

Question about NAND-Flash Support on MPC831x

U-Boot-Users Jens Gehrlein 3 participants 4 messages Mar 5, 2008 – Mar 6, 2008

lore
Share & tools
lore
#0 lore raw

Hi,

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?
What's about the current state of NAND-Flash Support for MPC831x in U-Boot using the FCM concerning:
- Read/Write/Erase Access
- Booting from NAND

Thanks.

Best Regards
Jens

#1 lore raw
Quoted 7 lines · Jens Gehrlein

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.

Quoted 4 lines

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

No idea. Scott?

Best regards,
Stefan

=====================================================================
DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: +49-8142-66989-0 Fax: +49-8142-66989-80 Email: office at denx.de
=====================================================================

#2 lore raw
Quoted 14 lines · Stefan Roese
Quoted 7 lines · Jens Gehrlein

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.

Quoted 5 lines

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...).

Quoted 3 lines
Quoted 3 lines

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.

Quoted 1 line
Quoted 1 line

- 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

#3 lore raw
Quoted 11 lines · Scott Wood
Quoted 5 lines

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...).

Patches welcome. :)

Quoted 5 lines
Quoted 3 lines
Quoted 3 lines

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.

Thanks.

Quoted 6 lines
Quoted 1 line
Quoted 1 line

- 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.

Please try to integrate such NAND booting stuff into the already existing nand_spl framework.

Best regards,
Stefan

=====================================================================
DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: +49-8142-66989-0 Fax: +49-8142-66989-80 Email: office at denx.de
=====================================================================