All of lore.kernel.org
 help / color / mirror / Atom feed
* flash filesystem
@ 2000-07-24 17:36 Mike Coy
  2000-07-24 18:33 ` Daris Nevil
  2000-07-25 21:36 ` Scott Anderson
  0 siblings, 2 replies; 5+ messages in thread
From: Mike Coy @ 2000-07-24 17:36 UTC (permalink / raw)
  To: linuxppc-embedded


I've noticed that the size of my initrd is limited not by the size of my
flash, but by the amount of ram I have to decompress it into.
I would like to put a filesystem in the unused portion of my flash and read
it (read-only) without first copying it into ram.
I'm not entirely sure how to get at this filesystem, though.  The only way
I've seen flash accessed is with the initrd at boottime.
Has anyone done this?

The best that I can come up with is that the flash is probably mapped into
memory somewhere, and maybe I could fool the ramdisk code into reading a
pre-existant ramdisk at a given address.  This didn't appear to be too
trivial at my first browse through the code, though.
What is the right way to get at data in flash?

Thanks,
Mike


** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/

^ permalink raw reply	[flat|nested] 5+ messages in thread
* Flash Filesystem
@ 2007-09-07  7:34 schardt
  2007-09-13  8:39 ` Laurent Pinchart
  0 siblings, 1 reply; 5+ messages in thread
From: schardt @ 2007-09-07  7:34 UTC (permalink / raw)
  To: Linux PPC Linux PPC

Hi

i've some problems using the on board flash memory with linux.
i added the support for adm/fujittsu flash in kernel config and add the
right parameters for the "cfi  flash device in physical memory".

cat /proc/mtd gives me

dev:    size   erasesize  name
mtd0: 00400000 00010000 "physmap-flash.0"

i added /dev/mtd0 c 90 0 and /dev/mtdblock0 b 31 0

how do i add a partition and filesystem ????
fdisk /dev/mtd0  seems me not to be correct :)

Greets
Georg





-----------------------------------------------------------------------------------------
-----------------------------------------------------------------------------------------
Forschungszentrum Jülich GmbH
52425 Jülich

Sitz der Gesellschaft: Jülich
Eingetragen im Handelsregister des Amtsgerichts Düren Nr. HR B 3498
Vorsitzende des Aufsichtsrats: MinDirig'in Bärbel Brumme-Bothe
Vorstand: Prof. Dr. Achim Bachem (Vorsitzender), Dr. Ulrich Krafft (stellv. 
Vorsitzender)
-----------------------------------------------------------------------------------------
-----------------------------------------------------------------------------------------

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

end of thread, other threads:[~2007-09-13  8:40 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2000-07-24 17:36 flash filesystem Mike Coy
2000-07-24 18:33 ` Daris Nevil
2000-07-25 21:36 ` Scott Anderson
  -- strict thread matches above, loose matches on Subject: below --
2007-09-07  7:34 Flash Filesystem schardt
2007-09-13  8:39 ` Laurent Pinchart

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.