public inbox for linux-mtd@lists.infradead.org
 help / color / mirror / Atom feed
* howto
@ 2001-01-04 17:48 Livio Plos
  2001-01-04 17:57 ` howto David Woodhouse
  0 siblings, 1 reply; 6+ messages in thread
From: Livio Plos @ 2001-01-04 17:48 UTC (permalink / raw)
  To: mtd

Hi,

I'm trying to build a system with flash chips instead of an
hard disk or a disk on module and this seems to be the 
most advanced project to help me doing this.

Neverthless, it is not easy to begin understanding how to 
move between sources, configuration, modules...

Can I boot totally from flash without any other storage support?

Is there any howto or high level docs to configure and compile?


Thank you very much.

Livio





To unsubscribe, send "unsubscribe mtd" to majordomo@infradead.org

^ permalink raw reply	[flat|nested] 6+ messages in thread
* Re: howto
@ 2001-01-10 22:15 Michael Stumpf
  2001-01-11 18:58 ` howto Bjorn Wesen
  0 siblings, 1 reply; 6+ messages in thread
From: Michael Stumpf @ 2001-01-10 22:15 UTC (permalink / raw)
  To: Livio Plos; +Cc: mtd


Sorry for the slow response; been on vacation.

> Can I boot totally from flash without any other storage support?

I'm doing some work requiring precisely this--flash chips, preprogrammed,
intended to boot linux with a read-only filesystem, preferrably compressed,
from a well-known ROM address.

I originally hacked up mtdram.c to do what has already been done, quite
elegantly infact..

There is a patch out there somewhere (search this list, if you can't find it,
let me know and I'll get it to you.) that adds a block device to the kernel
called "/dev/rom".. it has two modes of operation:

1)  Encodes the binary filesystem image and compiles it directly into the
kernel, bloating its final size

or 2)  Allow you to point it to a "well known" memory address that has (this is
unclear) 4 bytes containing the filesystem size (in bytes), 4 bytes of "00",
and then the filesystem image, whatever that may be.  I use cramfs with great
success on a very memory-constrained target.
 
> Is there any howto or high level docs to configure and compile?

Patch it in, enable it in config, refer to above notes.  Let me know if you're
still lost.

Regards,
Michael


=====
=====================================================================
Michael J. Stumpf                              
LinuxPPC enablement
IBM-Austin, TX     512.838.1524 [lab]  512.838.5335 [work]   
http://www.pobox.com/~mstumpf

__________________________________________________
Do You Yahoo!?
Yahoo! Photos - Share your holiday photos online!
http://photos.yahoo.com/


To unsubscribe, send "unsubscribe mtd" to majordomo@infradead.org

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

end of thread, other threads:[~2001-01-11 16:50 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2001-01-04 17:48 howto Livio Plos
2001-01-04 17:57 ` howto David Woodhouse
2001-01-04 19:31   ` mtdchar.c and vmalloc Alice Hennessy
2001-01-05 10:31     ` David Woodhouse
  -- strict thread matches above, loose matches on Subject: below --
2001-01-10 22:15 howto Michael Stumpf
2001-01-11 18:58 ` howto Bjorn Wesen

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