Problems with initrd on linux-2.3.18

kd at kd at
Mon Sep 20 20:37:55 EST 1999


This link was posted to the list a few months ago:

You might also want to search the List archives for postings on

I have the mail somewhere stored. If you want I can dig through my archives
forward it to you.

Any way I have used this work to put a small ext2 file system in AMD flash
chip and
boot from it.

I had to change the code a litle bit because my flash chip was 16 bit wide
but the one that
Alexander used was 8 bit wide. I sent my changes to Alexander and they
might be somewhere on
his ftp site. Both me and Alexander are using AMD flash chips, but getting
any CFI compliant
flash should not be hard.

Hope this helps,


P.S. Using this driver to write new kernels  or fadsroms to the board is
much faster than
using BDM style wiggler. But of course  you have to use the wiggler if you
wrong things to you flash 8-).

Writing becomes as simple as dd if=linuximg of=/dev/flash
maybe with appropriate offsets in the form of ibs=<offset into elf image>
obs=<offset into flash>
where linuximg is on an NFS mounted volume.

Pretty neat! 8-)

Brendan Simon <bsimon at> on 09/20/99 12:41:37 AM

Please respond to bsimon at

cc:   linuxppc-embedded <linuxppc-embedded at> (bcc: Kári
      Davíðsson/Flaga hf/IS)
Subject:  Re: Problems with initrd on linux-2.3.18

-------------- next part --------------

Scott Wood wrote:

> On a somewhat related sidenote, is there any work being done to access
> FLASH from within Linux, either as a file or a filesystem (or anything)?
> It would be *very* useful to read/store machine-specific configuration
> IP address, etc) and/or update the kernel/initrd boot image remotely.
> I hear uC/Linux has a FLASHFS for certain Motorola ColdFire CPU boards.

I don't know the specifics but maybe "romfs" is what you are looking for ?
There are some docs in the linux documentation directory.

Brendan Simon.

More information about the Linuxppc-embedded mailing list