OK Yves.
I did all of this but still having the same problems.
I just have one question now. Is it normal that I have mtd devices
mapped to <NULL> ?
(see the trace below)
and can you tell me some about the "wrong magic" trace below ??
JFFS version 1.0, (C) 1999, 2000 Axis Communications AB
loop: loaded (max 8 devices)
SA1100 serial driver version 1.3
ttyS0 on SA1100 UART1 (irq 15)
ttyS1 on SA1100 UART3 (irq 17)
ttyS2 on SA1100 UART2 (irq 16), using IRDA
UCB1200 generic module installed
ucb1200 touch screen driver initialized
UDA1341 audio driver initialized
SA1100 flash: probing for 3 partitions (buswidth = 4)
SA1100: Found 2 x16 CFI devices at location 0 in 16 bit mode
JEDEC ID: 89 18
mtd: Giving out device 0 to <NULL>
mtd: Giving out device 1 to <NULL>
mtd: Giving out device 2 to <NULL>
SA1100 flash access initialized
NET4: Linux TCP/IP 1.0 for NET4.0
IP Protocols: ICMP, UDP, TCP
IP: routing cache hash table of 512 buckets, 4Kbytes
TCP: Hash tables configured (established 2048 bind 2048)
NET4: Unix domain sockets 1.0/SMP for Linux NET4.0.
NetWinder Floating Point Emulator V0.95 (c) 1998-1999 Rebel.com
mtdblock_open
ok
mtdblock: read on "<NULL>" at 0x400, size 0x400
mtdblock: read on "<NULL>" at 0x0, size 0x1000
mtdblock: read on "<NULL>" at 0x1000, size 0x1000
mtdblock: read on "<NULL>" at 0x2000, size 0x1000
mtdblock: read on "<NULL>" at 0x3000, size 0x1000
wrong magic
mtdblock: read on "<NULL>" at 0x0, size 0x400
-----Original Message-----
From: Yves Rutschle [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, March 07, 2001 6:26 PM
To: Cyrille Ngalle; 'John G Dorsey'
Cc: '[EMAIL PROTECTED]'
Subject: RE: bootldr + JFFS on assabet/neponset (2)
> But I can launch the JFFS file because my Flash seems to be dirty
You might want to double check that the mtd partition you use
as a root is at the proper address (or alternatively, that you
wrote the JFFS image at the beginning of /dev/mtd2).
(Mentionning that because the first dump:
> *************** Dirty flash memory or bad inode: hexdump(pos
> = 0x0, len
> = 128):
> 0: 0000 a0e1 0000 a0e1 0000 a0e1 0000 a0e1 ...?...?...?...?
> 16: 0000 a0e1 0000 a0e1 0000 a0e1 0000 a0e1 ...?...?...?...?
> 32: 0200 00ea 1828 6f01 0080 00c0 6069 0ac0 ...?.(o....?`i.?
> 48: 0170 a0e1 0080 a0e3 1f20 cfe3 0139 82e2 .p.?...?..??.9.?
> 64: 2000 92e4 0300 32e1 fcff ff1a 9a0f 07ee ...?..2?? ....?
> 80: 170f 07ee 100f 11ee 0d00 c0e3 010a c0e3 ...?...?..??..??
> 96: 100f 01ee 0000 0000 0000 0000 0000 0000 ...?............
> 112: 0000 0000 0000 0000 0000 0000 0000 0000 ................
looks very much like the beginning of a Linux kernel, which
shouldn't be there)
> And now comes my question:
> as I'm using an assabet card, is there any mean or tool for
> me to erase it ?
Maybe you can do that with JFlash. Otherwise, if you have an
otherwise running system (with a ramdisk for example), you'll
find two utilities in the MTD package called erase and eraseall
that do just that.
eraseall /dev/mtd2
will erase the complete corresponding partition
HTH,
Yves
_______________________________________________
http://lists.arm.linux.org.uk/mailman/listinfo/linux-arm
Please visit the above address for information on this list.