public inbox for linux-mtd@lists.infradead.org
 help / color / mirror / Atom feed
* boot from diskonchip with jffs2
@ 2005-03-26 11:18 Zeri Virgo
  2005-03-26 15:03 ` Thomas Gleixner
  0 siblings, 1 reply; 5+ messages in thread
From: Zeri Virgo @ 2005-03-26 11:18 UTC (permalink / raw)
  To: linux-mtd

Hi,
I'm in search of an update to the issues discussed in this thread... 
http://lists.infradead.org/pipermail/linux-mtd/2003-August/008327.html

I'm trying to determine the best method to boot and run from an old NAND 
DiskOnChip (*not* TSOP). A while ago, I had success with the doc2000.c 
driver...
/dev/mtd0 -> /dev/nftla -> /dev/nftla1 -> ext2 -> /(root of 64MB)

Is it feasile to use jffs2 for the root filesystem?

I understand the diskonchip.c code is ready for NFTL, reading the media 
headers and mapping a separate "BDTL partition" for use.

So, should I...

1) not try to use jffs2 and just move over to a similar method as above 
but with the diskonchip.c driver and root on the BDTL partition.

2) continue to use the deprecated doc2000.c driver and hack it to map 
some "fake" partitions...
/dev/mtd0 -> /dev/nftla -> /dev/nftla1 -> ext2 -> /boot 2MB
/dev/mtd1 (/dev/mtdblock1) -> jffs2 /(root of 62MB)

3) use DOCBoot - right now I only need it for i586, but I may need it 
for PowerPC and ARM/XScale eventually...and the README says NFTL DOCs 
aren't yet supported.

4) use U-Boot http://www.denx.de/twiki/bin/view/DULG/DiskOnChip

5) use RedBoot - would need update on 
http://lists.infradead.org/pipermail/linux-mtd/2005-January/011361.html 
re. status of DiskOnChip support for the platforms I mentioned in 3 
above? I'm going to look at the RedBoot code now...willing to have a go at 
it if necessary.

6) use something else...?

- Zeri

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

* Re: boot from diskonchip with jffs2
  2005-03-26 15:03 ` Thomas Gleixner
@ 2005-03-26 14:09   ` David Woodhouse
  2005-03-26 14:54     ` Zeri Virgo
  0 siblings, 1 reply; 5+ messages in thread
From: David Woodhouse @ 2005-03-26 14:09 UTC (permalink / raw)
  To: tglx; +Cc: Zeri Virgo, linux-mtd

On Sat, 2005-03-26 at 16:03 +0100, Thomas Gleixner wrote:
> > Is it feasile to use jffs2 for the root filesystem?
> 
> The new DoC driver in drivers/mtd/nand supports JFFS2.

Yes, but you'll need a bootloader capable of reading the kernel from it.


-- 
dwmw2

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

* Re: boot from diskonchip with jffs2
  2005-03-26 14:09   ` David Woodhouse
@ 2005-03-26 14:54     ` Zeri Virgo
  2005-03-26 14:59       ` David Woodhouse
  0 siblings, 1 reply; 5+ messages in thread
From: Zeri Virgo @ 2005-03-26 14:54 UTC (permalink / raw)
  To: David Woodhouse; +Cc: tglx, linux-mtd

On Sat, 26 Mar 2005 14:09:01 +0000, David Woodhouse <dwmw2@infradead.org> wrote:
> On Sat, 2005-03-26 at 16:03 +0100, Thomas Gleixner wrote:
> > > Is it feasile to use jffs2 for the root filesystem?
> >
> > The new DoC driver in drivers/mtd/nand supports JFFS2.
> 
> Yes, but you'll need a bootloader capable of reading the kernel from it.

Any recommendations on the bootloader-of-choice for diskonchip + jffs2?

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

* Re: boot from diskonchip with jffs2
  2005-03-26 14:54     ` Zeri Virgo
@ 2005-03-26 14:59       ` David Woodhouse
  0 siblings, 0 replies; 5+ messages in thread
From: David Woodhouse @ 2005-03-26 14:59 UTC (permalink / raw)
  To: Zeri Virgo; +Cc: tglx, linux-mtd

On Sat, 2005-03-26 at 14:54 +0000, Zeri Virgo wrote:
> Any recommendations on the bootloader-of-choice for diskonchip +
> jffs2?

Either RedBoot or u-boot, I suspect.

-- 
dwmw2

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

* Re: boot from diskonchip with jffs2
  2005-03-26 11:18 boot from diskonchip with jffs2 Zeri Virgo
@ 2005-03-26 15:03 ` Thomas Gleixner
  2005-03-26 14:09   ` David Woodhouse
  0 siblings, 1 reply; 5+ messages in thread
From: Thomas Gleixner @ 2005-03-26 15:03 UTC (permalink / raw)
  To: Zeri Virgo; +Cc: linux-mtd

On Sat, 2005-03-26 at 11:18 +0000, Zeri Virgo wrote:
> Hi,
> I'm in search of an update to the issues discussed in this thread... 
> http://lists.infradead.org/pipermail/linux-mtd/2003-August/008327.html
> 
> I'm trying to determine the best method to boot and run from an old NAND 
> DiskOnChip (*not* TSOP). A while ago, I had success with the doc2000.c 
> driver...
> /dev/mtd0 -> /dev/nftla -> /dev/nftla1 -> ext2 -> /(root of 64MB)
> 
> Is it feasile to use jffs2 for the root filesystem?

The new DoC driver in drivers/mtd/nand supports JFFS2.

tglx

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

end of thread, other threads:[~2005-03-26 14:59 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-03-26 11:18 boot from diskonchip with jffs2 Zeri Virgo
2005-03-26 15:03 ` Thomas Gleixner
2005-03-26 14:09   ` David Woodhouse
2005-03-26 14:54     ` Zeri Virgo
2005-03-26 14:59       ` David Woodhouse

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