public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
* [U-Boot-Users] PowerPC 405EP - NAND Flash (MT29F2G08AAC)
@ 2008-03-13 18:27 Pawel Pastuszak
  2008-03-13 19:38 ` Stefan Roese
  0 siblings, 1 reply; 6+ messages in thread
From: Pawel Pastuszak @ 2008-03-13 18:27 UTC (permalink / raw)
  To: u-boot

Hi Guys,


I trying to get nand flashing working for powerpc 405ep, i am currently
having some problem with read and writing to the flash. I was wondering if
anybody got the MT29F2G08 flash working.


Pawel.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.denx.de/pipermail/u-boot/attachments/20080313/e1ef24d0/attachment.htm 

^ permalink raw reply	[flat|nested] 6+ messages in thread

* [U-Boot-Users] PowerPC 405EP - NAND Flash (MT29F2G08AAC)
  2008-03-13 18:27 [U-Boot-Users] PowerPC 405EP - NAND Flash (MT29F2G08AAC) Pawel Pastuszak
@ 2008-03-13 19:38 ` Stefan Roese
  2008-03-13 19:57   ` Pawel Pastuszak
  0 siblings, 1 reply; 6+ messages in thread
From: Stefan Roese @ 2008-03-13 19:38 UTC (permalink / raw)
  To: u-boot

On Thursday 13 March 2008, Pawel Pastuszak wrote:
> I trying to get nand flashing working for powerpc 405ep, i am currently
> having some problem with read and writing to the flash. I was wondering if
> anybody got the MT29F2G08 flash working.

Sure. It's working on multiple 405EP implementation I have seen so far. 
Perhaps not exactly with the NAND chips you mentioned. But that shouldn't 
really matter. You are aware that the 405EP doesn't have a build-in NAND 
controller and you need minimal external logic to connect a NAND chip to the 
405EP?

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

^ permalink raw reply	[flat|nested] 6+ messages in thread

* [U-Boot-Users] PowerPC 405EP - NAND Flash (MT29F2G08AAC)
  2008-03-13 19:38 ` Stefan Roese
@ 2008-03-13 19:57   ` Pawel Pastuszak
  2008-03-14  7:15     ` Stefan Roese
  0 siblings, 1 reply; 6+ messages in thread
From: Pawel Pastuszak @ 2008-03-13 19:57 UTC (permalink / raw)
  To: u-boot

Yes i am where that there is no NAND controller so did that already and i
see stuff happing on my scope. I thought that i was missing something for
this flash chip.

I am attaching my nand controllor code could any body tell me if i am
missing something for the 405EP i am new to the 405EP processor...  But i
worked on did processors that i had nand setup and it was a lot lets work.

Most cases all it was just overwrite the ready and hwcontrol functions.


Pawel

On Thu, Mar 13, 2008 at 3:38 PM, Stefan Roese <sr@denx.de> wrote:

> On Thursday 13 March 2008, Pawel Pastuszak wrote:
> > I trying to get nand flashing working for powerpc 405ep, i am currently
> > having some problem with read and writing to the flash. I was wondering
> if
> > anybody got the MT29F2G08 flash working.
>
> Sure. It's working on multiple 405EP implementation I have seen so far.
> Perhaps not exactly with the NAND chips you mentioned. But that shouldn't
> really matter. You are aware that the 405EP doesn't have a build-in NAND
> controller and you need minimal external logic to connect a NAND chip to
> the
> 405EP?
>
> 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
> =====================================================================
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.denx.de/pipermail/u-boot/attachments/20080313/85cb6fe8/attachment.htm 
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: nand.c
Url: http://lists.denx.de/pipermail/u-boot/attachments/20080313/85cb6fe8/attachment.txt 

^ permalink raw reply	[flat|nested] 6+ messages in thread

* [U-Boot-Users] PowerPC 405EP - NAND Flash (MT29F2G08AAC)
  2008-03-13 19:57   ` Pawel Pastuszak
@ 2008-03-14  7:15     ` Stefan Roese
  2008-03-14 14:35       ` Pawel Pastuszak
  0 siblings, 1 reply; 6+ messages in thread
From: Stefan Roese @ 2008-03-14  7:15 UTC (permalink / raw)
  To: u-boot

On Thursday 13 March 2008, Pawel Pastuszak wrote:
> Yes i am where that there is no NAND controller so did that already and i
> see stuff happing on my scope. I thought that i was missing something for
> this flash chip.
>
> I am attaching my nand controllor code could any body tell me if i am
> missing something for the 405EP i am new to the 405EP processor...  But i
> worked on did processors that i had nand setup and it was a lot lets work.

From looking at the code, I wonder *how* you did implement the external logic 
on your board. I would have thought you connected some of the NAND control 
pins to 405EP GPIO's. But this doesn't seem to be the case. You are accessing 
the CMD/ALE singals at different addresses. So what exactly is you external 
NAND controller logic?

If not, I suggest you take a look at:

board/esd/common/esd405ep_nand.c

This is an 405EP NAND implementation with external logic and signals attached 
to GPIO's.

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

^ permalink raw reply	[flat|nested] 6+ messages in thread

* [U-Boot-Users] PowerPC 405EP - NAND Flash (MT29F2G08AAC)
  2008-03-14  7:15     ` Stefan Roese
@ 2008-03-14 14:35       ` Pawel Pastuszak
  2008-03-14 14:48         ` Stefan Roese
  0 siblings, 1 reply; 6+ messages in thread
From: Pawel Pastuszak @ 2008-03-14 14:35 UTC (permalink / raw)
  To: u-boot

Stefan,

My implemention is using the adddress for ALE/CLE. I did get it working and
works great.

I am providing the code that i have my nand flash working with.

P.S. Stefan thanks for the help.

Pawel

On Fri, Mar 14, 2008 at 3:15 AM, Stefan Roese <sr@denx.de> wrote:

> On Thursday 13 March 2008, Pawel Pastuszak wrote:
> > Yes i am where that there is no NAND controller so did that already and
> i
> > see stuff happing on my scope. I thought that i was missing something
> for
> > this flash chip.
> >
> > I am attaching my nand controllor code could any body tell me if i am
> > missing something for the 405EP i am new to the 405EP processor...  But
> i
> > worked on did processors that i had nand setup and it was a lot lets
> work.
>
> From looking at the code, I wonder *how* you did implement the external
> logic
> on your board. I would have thought you connected some of the NAND control
> pins to 405EP GPIO's. But this doesn't seem to be the case. You are
> accessing
> the CMD/ALE singals at different addresses. So what exactly is you
> external
> NAND controller logic?
>
> If not, I suggest you take a look at:
>
> board/esd/common/esd405ep_nand.c
>
> This is an 405EP NAND implementation with external logic and signals
> attached
> to GPIO's.
>
> 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
> =====================================================================
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.denx.de/pipermail/u-boot/attachments/20080314/d83c44d9/attachment.htm 
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: nand.c
Url: http://lists.denx.de/pipermail/u-boot/attachments/20080314/d83c44d9/attachment.txt 

^ permalink raw reply	[flat|nested] 6+ messages in thread

* [U-Boot-Users] PowerPC 405EP - NAND Flash (MT29F2G08AAC)
  2008-03-14 14:35       ` Pawel Pastuszak
@ 2008-03-14 14:48         ` Stefan Roese
  0 siblings, 0 replies; 6+ messages in thread
From: Stefan Roese @ 2008-03-14 14:48 UTC (permalink / raw)
  To: u-boot

On Friday 14 March 2008, Pawel Pastuszak wrote:
> My implemention is using the adddress for ALE/CLE. I did get it working and
> works great.

Ahh, I see. Good.

> I am providing the code that i have my nand flash working with.
>
> P.S. Stefan thanks for the help.

No problem.

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

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2008-03-14 14:48 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-03-13 18:27 [U-Boot-Users] PowerPC 405EP - NAND Flash (MT29F2G08AAC) Pawel Pastuszak
2008-03-13 19:38 ` Stefan Roese
2008-03-13 19:57   ` Pawel Pastuszak
2008-03-14  7:15     ` Stefan Roese
2008-03-14 14:35       ` Pawel Pastuszak
2008-03-14 14:48         ` Stefan Roese

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox