public inbox for linux-mtd@lists.infradead.org
 help / color / mirror / Atom feed
* Boot from NAND flash ???
@ 2002-05-13  7:20 franck.fleter
  2002-05-13  9:29 ` David Woodhouse
  0 siblings, 1 reply; 13+ messages in thread
From: franck.fleter @ 2002-05-13  7:20 UTC (permalink / raw)
  To: linux-mtd

Hi,

I read in mails archive that Linux kernel can't boot from NAND flash. It

can  boot from NOR flash.
Does Linux  kernel not able to boot  from NAND flash because :
    1) a NAND flash is connected to an I/O controller and not to a BUS.
    2)  access to a NAND flash would be only handled  by JFFS with the
handling of bad blocks.
    3)  it doesn't exist bootloader for NAND flash.
    4) other reasons.

If someone could help me to understand  why Linux can't boot from
NAND flash, I would appreciate.


Thanks,

Franck FLETER
Software Engineer
NETBRICK - France.
email : franck.fleter@netbricks.com

^ permalink raw reply	[flat|nested] 13+ messages in thread
* RE: Boot from NAND flash ???
@ 2002-05-13 16:47 Vadim Khmelnitsky
  2000-01-12 11:50 ` Thomas Gleixner
  0 siblings, 1 reply; 13+ messages in thread
From: Vadim Khmelnitsky @ 2002-05-13 16:47 UTC (permalink / raw)
  To: 'gleixner@autronix.de', manningc2, David Woodhouse,
	franck.fleter
  Cc: linux-mtd

[Thomas]
There's another important limitation. Who guarantees you, that your 
"boot-page" does not get bad or is a bad block already. That's the reason, 
why DOC has 4 blocks with the same code.

[Vadim]
Actually, in Diskonchip Millennium 8MB we have first erasable unit
guaranteed to be good .
We do have two copies of a boot-code stored one after another in page 0 and
1 of the first erasable unit .

Vadim

-----Original Message-----
From: Thomas Gleixner [mailto:gleixner@autronix.de]
Sent: Mon, May 13, 2002 4:19 AM
To: manningc2@actrix.gen.nz; David Woodhouse;
franck.fleter@netbricks.com
Cc: linux-mtd@lists.infradead.org
Subject: Re: Boot from NAND flash ???


On Monday, 13. May 2002 12:11, Charles Manning wrote:

> There are however two mechanisms to get around this:
> * Some people and micros implement a "data pump" state machine to extract
> an executable sequence from a NAND device.
> * Some of the newer NAND devices can be accessed directly from the bus and
> can do the job of a boot ROM.
>
> There is however a limitation to both of these. The NAND can only be
> accessed sequentially (it is not random access like NOR) which limits the
> types of instruction the boot code can perform. In particular it can't
> branch or fetch from elsewhere in ROM.

There's another important limitation. Who guarantees you, that your 
"boot-page" does not get bad or is a bad block already. That's the reason, 
why DOC has 4 blocks with the same code. 

-- 
Thomas
___________________________________
autronix automation GmbH
http://www.autronix.de gleixner@autronix.de

______________________________________________________
Linux MTD discussion mailing list
http://lists.infradead.org/mailman/listinfo/linux-mtd/

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

end of thread, other threads:[~2002-06-16  8:31 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-05-13  7:20 Boot from NAND flash ??? franck.fleter
2002-05-13  9:29 ` David Woodhouse
2002-05-13 10:11   ` Charles Manning
2002-05-13 11:18     ` Thomas Gleixner
2002-05-14  7:37       ` Charles Manning
2002-06-16  5:58         ` Der Herr Hofrat
2002-06-16  8:18           ` Charles Manning
2002-05-13 12:05     ` David Woodhouse
2002-05-15  9:14       ` Charles Manning
2002-05-15  9:21         ` David Woodhouse
  -- strict thread matches above, loose matches on Subject: below --
2002-05-13 16:47 Vadim Khmelnitsky
2000-01-12 11:50 ` Thomas Gleixner
2002-05-20  8:17   ` Charles Manning

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