[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: adding flash memory
----- Forwarded by Mark Schapira/DEN/HID on 04/30/2002 02:09 PM -----
To: Jonas Holmberg <email@example.com>
02:13 PM Subject: Re: adding flash memory(Document link: Mark Schapira)
Thanks for your help.
I now have my new platform up and running.
If someone wants to configure the kernel using
the parameter to change is:
in the Hardware setup menu
the "Root device name" would be changed from
<jonas.holmberg To: firstname.lastname@example.org
Sent by: Subject: Re: adding flash memory
On Tue, 2002-04-30 at 16:00, email@example.com
> In the past we have successfully added a flash memory module to our
> development board. However, I believe that we were using kernel 2.4.5 and
> devboard_lx software 2.0.0.
> We have since upgraded to devboard_lx software 2.1.0 and kernel 2.4.14.
> would I go about changing our configuration to enable the addition of
> board. In particular I need to add a /dev/flashx to the /dev devices. In
> addition I have to add a new partition to the ptablespec and I have to
> create a directory to the /mnt directory. I have tried to edit entries
> the packages Makefiles but I wind up with 5 partitions on axis flash the
> last being the romfs partition.
The romfs-partition (i.e. the cramfs-partition) is nowadays added as the
last partition (unless you boot from RAM). It is the part of the
kernel+romfs partition that contains cramfs.img. If you have 5
partitions, /dev/flash[0-4], then /dev/flash3 is your partition and the
last partition (/dev/flash4) is the romfs-partition. The only problem is
that kernelconfig says that the root partition is /dev/mtdblock3 (which
we call /dev/flash3 in the filesystem) so the kernel will try to mount
your new partition (instead of the cramfs-partition) as the root
partition. So you need to change CONFIG_ETRAX_ROOT_DEVICE to
"/dev/mtdblock4" in kernelconfig.