Hi all !!!

And thank you for helping so much.

I did all of what was adviced by you. I succeeded in having the kernel
booting now.
But I can launch the JFFS file because my Flash seems to be dirty (see
traces below).
And now comes my question: 
as I'm using an assabet card, is there any mean or tool for me to erase
it ?
I'm using bootldr from Compaq CVS and the option : eflash chip doesn't
work !!!

Thanks for helping again.
Regards.

Here are my traces (below):
------------------------------------------------------------------------
----------------
boot> boot
booting flash...
boot_magic=5A5ABEEF
kernel_image_first_word=E1A00000
Linux ELF flash_imgstart=5008000C size=000A0080 dest=C0000000
offset=00008000
MMU Control=C19F4071
copying Linux kernel ... done
linuxEntryPoint: C0008000
kernel_image_dest:    C0000000
kernel_image_offset:    00008000
C0008000: E1A00000
C0008004: E1A00000
C0008008: E1A00000
C000800C: E1A00000
C0008010: E1A00000
C0008014: E1A00000
C0008018: E1A00000
C000801C: E1A00000
C0008020: EA000002
C0008024: 016F2818
root_filesystem_name=ramdisk
argc=00000002
args= root=/dev/ram initrd ramdisk_size=8192
setting boot parameters
first_word_of_ramdisk=E1A00000
Setting up Linux parameters at address=C0000100
using_ramdisk=00000001
initrd_start=D0140004
dram_size=02000000
nr_pages=00002000
command line is:  root=/dev/ram initrd ramdisk_size=8192
linuxEntryPoint=C0008000
Booting Linux image
Uncompressing Linux.................................................
done, booting the kernel.
Linux version 2.4.0-rmk2-np2 ([EMAIL PROTECTED]) (gcc
version 2.95.2 19991024 (release)) #1 Wed Mar 7 13:4
3:51 CET 2001
Processor: Intel StrongARM-1110 revision 8
Architecture: Intel-Assabet
On node 0 totalpages: 8192
zone(0): 8192 pages.
zone(1): 0 pages.
zone(2): 0 pages.
Kernel command line: noinitrd root=/dev/mtdblock2 init=/sbin/init
Console: colour dummy device 80x30
Calibrating delay loop... 194.15 BogoMIPS
Memory: 32MB = 32MB total
Memory: 30464KB available (1307K code, 341K data, 64K init)
Dentry-cache hash table entries: 4096 (order: 3, 32768 bytes)
Buffer-cache hash table entries: 1024 (order: 0, 4096 bytes)
Page-cache hash table entries: 8192 (order: 3, 32768 bytes)
Inode-cache hash table entries: 2048 (order: 2, 16384 bytes)
POSIX conformance testing by UNIFIX
Linux NET4.0 for Linux 2.4
Based upon Swansea University Computer Society NET3.039
scale: SA-1110 clock scaling initialized, clock speed is 206 MHz
Starting kswapd v1.8
Console: switching to colour frame buffer device 40x30
pty: 256 Unix98 ptys configured
RAMDISK driver initialized: 16 RAM disks of 8192K size 1024 blocksize
loop: loaded (max 8 devices)
Uniform Multi-Platform E-IDE driver Revision: 6.31
ide: Assuming 50MHz system bus speed for PIO modes; override with
idebus=xx
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
fatfs: bogus cluster size
JFFS: Trying to mount device 1f:02.
jffs_build_fs()
jffs_create_control()
jffs_scan_flash(): start pos = 0x0, end = 0x1ec0000
*************** 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  ................
*************** Dirty flash memory or bad inode: hexdump(pos = 0xc0000,
len = 128):
786432: 8419 02e0 0a04 0000 c500 0000 8000 0000  ...?....?.......
786448: ed81 0000 0000 0000 04a1 0e00 caa5 a43a  ?........í..?Ññ:
786464: caa5 a43a caa5 a43a 1ea9 0700 ca03 0000  ?Ññ:?Ññ:.?..?...
786480: e206 0000 0600 0000 ba95 a3ba e223 5c60  ?.......?.ú??#\`
786496: 785e ac54 4d68 5c55 143e f3de cbcc ebf4  x^¼TMh\U.>??????
786512: 455f c928 3123 f828 2251 2770 9715 b378  E_?(1#°("Q'p..?x
786528: 2b41 52e1 252a 7431 48d4 2cba cca2 3b5b  +ARß%*t1H?,??ó;[
786544: 9d98 9add e080 b596 2964 2e88 bb8a d1a2  ...??.?.)d..?.?ó
*************** Dirty flash memory or bad inode: hexdump(pos = 0x2c0000,
len = 128):
2883584: b139 2dff 0644 bf1b 9265 de6c 392e 28cc  ?9- .D?..e?l9.(?
2883600: 35df 6acb ff22 db9e 29e7 f4c6 e7dc fbe2  5?j? "?.)???????
2883616: bbdb c3cf 88c8 f6a1 485f 9f81 cc73 ffb2  ????.?÷íH_..?s ?
2883632: 9f3e f1fb d1cf dff2 fbb0 eb68 1d47 e667  .>±????????h.Gµg
2883648: 25df 83a0 bebb eea4 ffe1 c1bc 974b fb6e  %?..???ñ ß??.K?n
2883664: 24cb cd31 85dc ef9d e7ec 72e1 1c23 3371  $??1.??.??rß.#3q
2883680: cff9 7b22 3297 1b30 e2bb bdc2 77fd 4ae6  ??{"2..0????w²Jµ
2883696: bb60 5dfa f759 e1fe 977c d74c aeb5 86f1  ?`]·?Yß?.|?L«?.±
*************** Dirty flash memory or bad inode: hexdump(pos = 0x700000,
len = 128):
7340032: 6ba8 6fcc 9814 d773 db45 1b6b 6dac 7b8f  k¿o?..?s?E.km¼{.
7340048: 97f6 90ed 2bfe 3cee 2ce6 af4b 59b7 0c7a  .÷.?+?<?,µ»KY?.z
7340064: fb2d e7ed fd74 7faf 8a28 1b2c bd67 06de  ?-??²t.».(.,?g.?
7340080: 1803 ef0d eff2 fb91 6bd8 db24 eb0d e95a  ..?.???.k??$?.?Z
7340096: 073d 693d d966 600f e547 0bd6 d11b b95f  .=i=?f`.?G.??.?_
7340112: aea3 dab8 07f9 aff0 51ff 6e1e 0f31 7f4f  «ú??.?»?Q n..1.O
7340128: d83f a354 23b1 bebe ce7f afaf 0a9d 2705  ??úT#????.»»..'.
7340144: 470d d1f0 ab43 df43 52df 4b39 ea55 2caa  G.??½C?CR?K9?U,¬
*************** Dirty flash memory or bad inode: hexdump(pos = 0xa80000,
len = 128):
11010048: 950d b982 3ea7 ceff 3136 9a0b acca 0b1b  ..?.>º? 16..¼?..
11010064: 2685 66a6 ba99 ddf7 c21c dd0e b2ca 43de  &.fª?.???.?.??C?
11010080: 3fd0 add5 dae6 ea7a 547d 76db 6913 61aa  ??¡??µ?zT}v?i.a¬
11010096: 8369 eba5 2d50 e479 603f b755 4acc 8067  .i?Ñ-P?y`??UJ?.g
11010112: e193 1dc4 2760 ed07 0930 d8ed 20d8 a973  ß..?'`?..0??.??s
11010128: eeda 35f6 ba57 845e 7b30 d20c 7f97 629f  ??5÷?W.^{0?...b.
11010144: 6d46 2482 14a9 f7ef 4934 5efa 4135 e051  mF$..???I4^·A5?Q
11010160: bbf6 cc1d 8d36 5f86 c531 e986 c711 e91d  ?÷?..6_.?1?.?.?.
*************** Dirty flash memory or bad inode: hexdump(pos =
0x1e40000, len = 128):
31719424: 0600 00ea 44f1 9fe5 44f1 9fe5 44f1 9fe5  ...?D±.?D±.?D±.?
31719440: 44f1 9fe5 0000 a0e1 40f1 9fe5 40f1 9fe5  D±.?...ß@±.?@±.?
31719456: 0800 4fe2 3c11 9fe5 0120 40e0 3811 9fe5  ..O?<..?..@?8..?
31719472: 0400 91e5 0200 c0e3 0400 81e5 0000 91e5  ...?..??...?...?
2883648: 25df 83a0 bebb eea4 ffe1 c1bc 974b fb6e  %?..???ñ ß??.K?n
2883664: 24cb cd31 85dc ef9d e7ec 72e1 1c23 3371  $??1.??.??rß.#3q
2883680: cff9 7b22 3297 1b30 e2bb bdc2 77fd 4ae6  ??{"2..0????w²Jµ
2883696: bb60 5dfa f759 e1fe 977c d74c aeb5 86f1  ?`]·?Yß?.|?L«?.±
*************** Dirty flash memory or bad inode: hexdump(pos = 0x700000,
len = 128):
7340032: 6ba8 6fcc 9814 d773 db45 1b6b 6dac 7b8f  k¿o?..?s?E.km¼{.
7340048: 97f6 90ed 2bfe 3cee 2ce6 af4b 59b7 0c7a  .÷.?+?<?,µ»KY?.z
7340064: fb2d e7ed fd74 7faf 8a28 1b2c bd67 06de  ?-??²t.».(.,?g.?
7340080: 1803 ef0d eff2 fb91 6bd8 db24 eb0d e95a  ..?.???.k??$?.?Z
7340096: 073d 693d d966 600f e547 0bd6 d11b b95f  .=i=?f`.?G.??.?_
7340112: aea3 dab8 07f9 aff0 51ff 6e1e 0f31 7f4f  «ú??.?»?Q n..1.O
7340128: d83f a354 23b1 bebe ce7f afaf 0a9d 2705  ??úT#????.»»..'.
7340144: 470d d1f0 ab43 df43 52df 4b39 ea55 2caa  G.??½C?CR?K9?U,¬
*************** Dirty flash memory or bad inode: hexdump(pos = 0xa80000,
len = 128):
11010048: 950d b982 3ea7 ceff 3136 9a0b acca 0b1b  ..?.>º? 16..¼?..
11010064: 2685 66a6 ba99 ddf7 c21c dd0e b2ca 43de  &.fª?.???.?.??C?
11010080: 3fd0 add5 dae6 ea7a 547d 76db 6913 61aa  ??¡??µ?zT}v?i.a¬
11010096: 8369 eba5 2d50 e479 603f b755 4acc 8067  .i?Ñ-P?y`??UJ?.g
11010112: e193 1dc4 2760 ed07 0930 d8ed 20d8 a973  ß..?'`?..0??.??s
11010128: eeda 35f6 ba57 845e 7b30 d20c 7f97 629f  ??5÷?W.^{0?...b.
11010144: 6d46 2482 14a9 f7ef 4934 5efa 4135 e051  mF$..???I4^·A5?Q
11010160: bbf6 cc1d 8d36 5f86 c531 e986 c711 e91d  ?÷?..6_.?1?.?.?.
*************** Dirty flash memory or bad inode: hexdump(pos =
0x1e40000, len = 128):
31719424: 0600 00ea 44f1 9fe5 44f1 9fe5 44f1 9fe5  ...?D±.?D±.?D±.?
31719440: 44f1 9fe5 0000 a0e1 40f1 9fe5 40f1 9fe5  D±.?...ß@±.?@±.?
31719456: 0800 4fe2 3c11 9fe5 0120 40e0 3811 9fe5  ..O?<..?..@?8..?
31719472: 0400 91e5 0200 c0e3 0400 81e5 0000 91e5  ...?..??...?...?
31719488: 0200 10e3 0200 000a 0000 52e3 0000 001a  ...?......R?....
31719504: 7ef7 a0e3 41e1 00eb 74e1 00eb 74e1 00eb  ~?.?Aß.?tß.?tß.?
31719520: 8ce1 00eb 00a0 a0e1 8de1 00eb 0a00 a0e1  .ß.?...ß.ß.?...ß
31719536: df10 a0e3 01f0 21e1 00d0 a0e1 400a 40e2  ?..?.?!ß.?.ß@.@?
jffs_add_virtual_root(): Creating a virtual root directory.
JFFS: Dumping the file system's hash table...
*** c->hash[1]: "" (ino: 1, pino: 0)
/ (ino: 1, highest_version: 0, size: 0)
jffs_garbage_collect_thread(): Starting infinite loop.
thread_should_wake(): free=20946684, dirty=11297028, blocksize=262144.
thread_should_wake(): Waking due to excessive dirty space
JFFS: GC thread pid=8.
JFFS: Successfully mounted device 1f:02.
VFS: Mounted root (jffs filesystem) readonly.
Freeing init memory: 64K
Warning: unable to open an initial console.
Kernel panic: No init found.  Try passing init= option to kernel.

------------------------------------------------------------------------
-------------

-----Original Message-----
From: John G Dorsey [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, March 06, 2001 9:50 PM
To: Cyrille Ngalle
Cc: [EMAIL PROTECTED]
Subject: Re: bootldr + JFFS on assabet/neponset (2)


Cyrille Ngalle wrote:

> Could one of you who has compiled JFFS on Linux for Assabet send me a
> his .config file please ???

The big one is MTD support. Here's the relevant portion of my .config;
be warned, this is for Spot (shouldn't matter), and is based on the code
from the MTD CVS repository, not the current kernel. You should be able
to piece this into your config, though.

#
# Memory Technology Devices (MTD)
#
CONFIG_MTD=y
# CONFIG_MTD_DEBUG is not set

#
# Disk-On-Chip Device Drivers
#
# CONFIG_MTD_DOC1000 is not set
# CONFIG_MTD_DOC2000 is not set
# CONFIG_MTD_DOC2001 is not set
# CONFIG_MTD_DOCPROBE is not set

#
# RAM/ROM Device Drivers
#
# CONFIG_MTD_PMC551 is not set
# CONFIG_MTD_SLRAM is not set
# CONFIG_MTD_RAM is not set
# CONFIG_MTD_ROM is not set
# CONFIG_MTD_MTDRAM is not set

#
# Linearly Mapped Flash Device Drivers
#
CONFIG_MTD_CFI=y
CONFIG_MTD_CFI_GEOMETRY=y
# CONFIG_MTD_CFI_B1 is not set
# CONFIG_MTD_CFI_B2 is not set
CONFIG_MTD_CFI_B4=y
# CONFIG_MTD_CFI_I1 is not set
CONFIG_MTD_CFI_I2=y
# CONFIG_MTD_CFI_I4 is not set
CONFIG_MTD_CFI_INTELEXT=y
# CONFIG_MTD_CFI_AMDSTD is not set
# CONFIG_MTD_AMDSTD is not set
# CONFIG_MTD_SHARP is not set
# CONFIG_MTD_PHYSMAP is not set
# CONFIG_MTD_NORA is not set
# CONFIG_MTD_PNC2000 is not set
# CONFIG_MTD_RPXLITE is not set
# CONFIG_MTD_SC520CDP is not set
# CONFIG_MTD_SBC_MEDIAGX is not set
# CONFIG_MTD_ELAN_104NC is not set
CONFIG_MTD_SA1100=y
# CONFIG_MTD_DC21285 is not set
# CONFIG_MTD_CSTM_CFI_JEDEC is not set
# CONFIG_MTD_JEDEC is not set
# CONFIG_MTD_MIXMEM is not set
# CONFIG_MTD_OCTAGON is not set
# CONFIG_MTD_VMAX is not set

#
# NAND Flash Device Drivers
#
# CONFIG_MTD_NAND is not set
# CONFIG_MTD_NAND_SPIA is not set

#
# User Modules And Translation Layers
#
CONFIG_MTD_CHAR=y
CONFIG_MTD_BLOCK=y
# CONFIG_FTL is not set
# CONFIG_NFTL is not set


As for JFFS, here's what I have in my kernel:

# CONFIG_JFFS_FS is not set
CONFIG_JFFS2_FS=y
CONFIG_JFFS2_FS_DEBUG=0


You should just say yes to CONFIG_JFFS_FS, since you probably don't have
JFFS2 in your kernel.

-jd

_______________________________________________
http://lists.arm.linux.org.uk/mailman/listinfo/linux-arm
Please visit the above address for information on this list.

Reply via email to