problems on building root filesystem using scratchbox and meamo
Menon, Nishanth
x0nishan at ti.com
Thu Dec 8 21:45:23 CST 2005
Hi,
It is the hardware that decides the erase block.
E.g. on L18 (Intel Strata Flash), it will be 128K. This information is used to put the cleanmarker (in JFFS2) or EBH (Erase Block Header) to the start of the block to notify that this block is erased.
Regards,
Nishanth Menon
________________________________
From: linux-omap-open-source-bounces at linux.omap.com on behalf of xuxian
Sent: Thu 12/8/2005 8:54 PM
To: 'Matthew Percival'; 'Linux OMAP Open Source'
Subject: RE: problems on building root filesystem using scratchbox and meamo
Hi,
What part decides the size of erase block? The hardware, the kernel or the
root filesystem?
Best regards,
xuxian
-----Original Message-----
From: linux-omap-open-source-bounces at linux.omap.com
[mailto:linux-omap-open-source-bounces at linux.omap.com] On Behalf Of Matthew
Percival
Sent: Thursday, December 08, 2005 6:05 AM
To: Linux OMAP Open Source
Subject: RE: problems on building root filesystem using scratchbox and meamo
G'Day,
> I use the command:
> mkfs.jffs2 -p -l -e 0x20000 -n -v -r /home/xuxian/rootfs/fs -o
> filesys.jffs2
> to make the root filesystem image.
For my OSK, -e 0x20000 is the correct size; the command I use is
basically the same as you.
> What size of the erase block will be fine? I can't access the file
/proc/mtd
> because I cannot mount the filesystem. Does the kernel determine the size
of
> erase block or anything else? Where can I set the erase block size?
If you mount your filesystem as an NFS root rather than an image,
then
you can read /proc/mtd, but I would say you are most likely correct in
your erase size.
I am not familiar with scratchbox or maemo, so it is possible your
problem relates to them, but I cannot be sure. Sorry, I probably will
not be of much help here.
-- Matthew
_______________________________________________
Linux-omap-open-source mailing list
Linux-omap-open-source at linux.omap.com
http://linux.omap.com/mailman/listinfo/linux-omap-open-source
_______________________________________________
Linux-omap-open-source mailing list
Linux-omap-open-source at linux.omap.com
http://linux.omap.com/mailman/listinfo/linux-omap-open-source
More information about the Linux-omap-open-source
mailing list