you need to generate the filesystem an the hoist with a tool called
mkfs.jffs2 (I assume you want to use jffs2).
erase the flash before with erase ....
If you have network running you may copy this file down via the cp <src>
/dev/mtd0
you can find those tools on the mtd site
or use a jtag tool to download the image
to mount it as root you have to tell the kernel something like
root=/dev/mtd0
These are just hints, I don't have such aboard
Heinz
S�bastien Judenherc
<[EMAIL PROTECTED]> An:
[EMAIL PROTECTED]
Gesendet von: Kopie:
[EMAIL PROTECTED] Thema: mtd
partitions
07.01.02 16:26
Bitte antworten an S�bastien Judenherc
Hello,
still working on a cdb89712 a with 2.4.6-rmk1-rayl1 kernel, I have a
system which boots with a rootf on ramdisk.
I would like to use the flash with a jffs filesystem. However, I don't
know how to "format" the flash or how to inform the kernel that a jffs
image can be found at address xxx.
Also, concerning flash, I get these messages at boot time:
Cirrus CDB89712 MTD mappings:
Flash 0x800000 at 0x0
SRAM 0xc000 at 0x60000000
BootROM 0x80 at 0x70000000
flash: Found no CFI device at location zero
mtd: Giving out device 0 to flash
SRAM probe failed
mtd: Giving out device 1 to BootROM
physmap flash device: 8388608 at 0
Physically mapped flash: Found no CFI device at location zero
$Id: ftl.c,v 1.35 2001/06/09 00:40:17 dwmw2 Exp $
ftl_cs: FTL header not found.
ftl_cs: FTL header corrupt!
/proc/mtd gives
dev: size erasesize name
mtd0: 00800000 00010000 "flash"
mtd1: 00000080 00010000 "BootROM"
Can anybody tell me where to look for informations about mtd/jffs ?
Cannot see anything in linux/Documentation about this.
Actually, I would like to prepare everything from the host machine:
download bootloader, kernel, ramdisk, jffs image and then, boot from
target and mount jffs. Is this possible ? I mean is it possible to
configure flash before having a running system ?
regards
s�bastien
PS: concerning cdb89712-revA, I get a working system if I download
bootloader+kernel+ramdisk to flash during the same session ie without
rebooting with JP31 open.
_______________________________________________
http://lists.arm.linux.org.uk/mailman/listinfo/linux-arm
Please visit the above address for information on this list.
_______________________________________________
http://lists.arm.linux.org.uk/mailman/listinfo/linux-arm
Please visit the above address for information on this list.