* Re: Sequoia NAND - others missing?
@ 2008-02-18 16:18 Steve Heflin
0 siblings, 0 replies; 4+ messages in thread
From: Steve Heflin @ 2008-02-18 16:18 UTC (permalink / raw)
To: Linuxppc-embedded
Looking at the "arch/ppc/platforms/4xx/sequoia.c" from 2.6.14
MontaVista, I also see ECC error handling, a Serial RTC device, UART4
to UART11. It doesn't look like those are supported in the current
"arch/powerpc/platforms/44x/sequoia" ?
Regarding the nftd NAND driver, I see a device table hookup in
"arch/powerpc/platforms/44x/warp-nand.c". Am I right in saying that
file is a perfect template from which to generate sequoia-nand.c ?
thanks,
Steve
At 03:56 PM 2/17/2008, you wrote:
>On Sun, 17 Feb 2008 10:27:22 -0500
>Steve Heflin <sheflin@newagemicro.com> wrote:
>
> > Are there other devices (beside the NAND Flash Controller) that exist
> > on the AMCC-440EPx chip and are not supported by the current
> > Linux-2.6.25 ARCH=powerpc?
>
>i2c, GPIO, the security stuff (if your version has that), and GPT.
>Thought GPT has never really been supported in any kernel that I
>remember.
>
>Patches for i2c and GPIO are floating around somewhere I think. Just
>need to get them polished up and device-tree compliant.
>
>josh
>_______________________________________________
>Linuxppc-embedded mailing list
>Linuxppc-embedded@ozlabs.org
>https://ozlabs.org/mailman/listinfo/linuxppc-embedded
^ permalink raw reply [flat|nested] 4+ messages in thread
* Sequoia NAND
@ 2008-02-17 11:39 Steve Heflin
2008-02-17 13:18 ` Josh Boyer
0 siblings, 1 reply; 4+ messages in thread
From: Steve Heflin @ 2008-02-17 11:39 UTC (permalink / raw)
To: linuxppc-embedded
I don't see where the new powerpc architecture and drivers/mtd/nand
contains support for the NAND chip on the Sequoia platform. We have
a Linux 2.6.14 kit where Montavista has a driver in "sequoia_nand.c"
which interfaces with the NAND device via NAND Flash Control registers:
struct ppc440ep_ndfc_regs *sequoia_ndfc;
where:
struct ppc440ep_ndfc_regs {
uint cmd;
uint addr;
uint data;
uint reserved1;
uint ecc0;
uint ecc1;
uint ecc2;
uint ecc3;
uint ecc4;
uint ecc5;
uint ecc6;
uint ecc7;
uint b0cr;
uint b1cr;
uint b2cr;
uint b3cr;
uint cr;
uint sr;
uint hwctl;
uint reserved2;
uint revid;
};
Is the Sequoia's NAND Flash Controller supported in the current Linux-2.6.25?
thanks,
Steve
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Sequoia NAND
2008-02-17 11:39 Sequoia NAND Steve Heflin
@ 2008-02-17 13:18 ` Josh Boyer
2008-02-17 15:27 ` Sequoia NAND - others missing? Steve Heflin
` (2 more replies)
0 siblings, 3 replies; 4+ messages in thread
From: Josh Boyer @ 2008-02-17 13:18 UTC (permalink / raw)
To: Steve Heflin; +Cc: linuxppc-embedded
On Sun, 17 Feb 2008 06:39:43 -0500
Steve Heflin <sheflin@newagemicro.com> wrote:
> I don't see where the new powerpc architecture and drivers/mtd/nand
> contains support for the NAND chip on the Sequoia platform. We have
It's not.
> Is the Sequoia's NAND Flash Controller supported in the current Linux-2.6.25?
No.
There are a couple different patches floating around for it, all of
which need work. The driver is drivers/mtd/nand/ndfc.c and work needs
to be done to parse a device tree and present the proper platform
devices so that driver will work. Stefan has something like this
somewhere, I've just been lax in getting it into my tree.
Too late for .25, but I have 4 boards that use this now so I'll be a
bit more interested in getting it into .26.
josh
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Sequoia NAND - others missing?
2008-02-17 13:18 ` Josh Boyer
@ 2008-02-17 15:27 ` Steve Heflin
2008-02-17 15:27 ` Steve Heflin
[not found] ` <47b8524c.1286460a.1307.7530SMTPIN_ADDED@mx.google.com>
2 siblings, 0 replies; 4+ messages in thread
From: Steve Heflin @ 2008-02-17 15:27 UTC (permalink / raw)
To: linuxppc-embedded, Josh Boyer; +Cc: linuxppc-embedded
Are there other devices (beside the NAND Flash Controller) that exist
on the AMCC-440EPx chip and are not supported by the current
Linux-2.6.25 ARCH=powerpc?
thanks for your help,
Steve
At 08:18 AM 2/17/2008, Josh Boyer wrote:
>On Sun, 17 Feb 2008 06:39:43 -0500
>Steve Heflin <sheflin@newagemicro.com> wrote:
>
> > I don't see where the new powerpc architecture and drivers/mtd/nand
> > contains support for the NAND chip on the Sequoia platform. We have
>
>It's not.
>
> > Is the Sequoia's NAND Flash Controller supported in the current
> Linux-2.6.25?
>
>No.
>
>There are a couple different patches floating around for it, all of
>which need work. The driver is drivers/mtd/nand/ndfc.c and work needs
>to be done to parse a device tree and present the proper platform
>devices so that driver will work. Stefan has something like this
>somewhere, I've just been lax in getting it into my tree.
>
>Too late for .25, but I have 4 boards that use this now so I'll be a
>bit more interested in getting it into .26.
>
>josh
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Sequoia NAND - others missing?
2008-02-17 13:18 ` Josh Boyer
2008-02-17 15:27 ` Sequoia NAND - others missing? Steve Heflin
@ 2008-02-17 15:27 ` Steve Heflin
[not found] ` <47b8524c.1286460a.1307.7530SMTPIN_ADDED@mx.google.com>
2 siblings, 0 replies; 4+ messages in thread
From: Steve Heflin @ 2008-02-17 15:27 UTC (permalink / raw)
To: linuxppc-embedded, Josh Boyer; +Cc: linuxppc-embedded
Are there other devices (beside the NAND Flash Controller) that exist
on the AMCC-440EPx chip and are not supported by the current
Linux-2.6.25 ARCH=powerpc?
thanks for your help,
Steve
At 08:18 AM 2/17/2008, Josh Boyer wrote:
>On Sun, 17 Feb 2008 06:39:43 -0500
>Steve Heflin <sheflin@newagemicro.com> wrote:
>
> > I don't see where the new powerpc architecture and drivers/mtd/nand
> > contains support for the NAND chip on the Sequoia platform. We have
>
>It's not.
>
> > Is the Sequoia's NAND Flash Controller supported in the current
> Linux-2.6.25?
>
>No.
>
>There are a couple different patches floating around for it, all of
>which need work. The driver is drivers/mtd/nand/ndfc.c and work needs
>to be done to parse a device tree and present the proper platform
>devices so that driver will work. Stefan has something like this
>somewhere, I've just been lax in getting it into my tree.
>
>Too late for .25, but I have 4 boards that use this now so I'll be a
>bit more interested in getting it into .26.
>
>josh
^ permalink raw reply [flat|nested] 4+ messages in thread
[parent not found: <47b8524c.1286460a.1307.7530SMTPIN_ADDED@mx.google.com>]
* Re: Sequoia NAND - others missing?
[not found] ` <47b8524c.1286460a.1307.7530SMTPIN_ADDED@mx.google.com>
@ 2008-02-17 20:56 ` Josh Boyer
0 siblings, 0 replies; 4+ messages in thread
From: Josh Boyer @ 2008-02-17 20:56 UTC (permalink / raw)
To: Steve Heflin; +Cc: linuxppc-embedded
On Sun, 17 Feb 2008 10:27:22 -0500
Steve Heflin <sheflin@newagemicro.com> wrote:
> Are there other devices (beside the NAND Flash Controller) that exist
> on the AMCC-440EPx chip and are not supported by the current
> Linux-2.6.25 ARCH=powerpc?
i2c, GPIO, the security stuff (if your version has that), and GPT.
Thought GPT has never really been supported in any kernel that I
remember.
Patches for i2c and GPIO are floating around somewhere I think. Just
need to get them polished up and device-tree compliant.
josh
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2008-02-18 16:17 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-02-18 16:18 Sequoia NAND - others missing? Steve Heflin
-- strict thread matches above, loose matches on Subject: below --
2008-02-17 11:39 Sequoia NAND Steve Heflin
2008-02-17 13:18 ` Josh Boyer
2008-02-17 15:27 ` Sequoia NAND - others missing? Steve Heflin
2008-02-17 15:27 ` Steve Heflin
[not found] ` <47b8524c.1286460a.1307.7530SMTPIN_ADDED@mx.google.com>
2008-02-17 20:56 ` Josh Boyer
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).