Hi, I have a ramdisk running on my Assabet with Linux version
2.4.10-ac11-rmk1-np1 and it works ok. I use mkfs.jffs2 to create a similar
jffs2 image and try to use it as a root disk, but it won't boot this image.
I can mount the jffs2 image from my ramdisk and use it, but I can't boot
from it.

I've also tried to erase the jffs2 partition from the ramdisk and then
manually copy everything into the flash.

I use blob 2.0.5-pre1 as bootloader.

I have the jffs2 image as my fifth partition on my flash so I set
root=/dev/mtdblock4. I also get different results when I have JFFS2, JFFS
and FAT enabled or if I only have JFFS2 enabled.

Below are two outputs. The first is when I disabled FAT and JFFS support but
with JFFS2 support. The second one is with FAT, JFFS and JFFS2 support. Why
do I get the FAT output in the latter case?

I have the /dev/mtd4 and /dev/mtdblock4 devices. I also have the
/dev/console so why does it say "Warning: unable to open an initial console"
below? Anyone having a clue?

Cheers
/J�rgen


***jffs2, no fat, no jffs***

Linux version 2.4.10-ac11-rmk1-np1 (jfr@ubo) (gcc version 2.95.2
19991024 (1Processor: 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: root=/dev/mtdblock4 mem=32M
Warning: uninitialized Real Time Clock
Console: colour dummy device 80x30
Calibrating delay loop... 147.04 BogoMIPS
Memory: 32MB = 32MB total
Memory: 26340KB available (1365K code, 302K data, 72K init)
Dentry-cache hash table entries: 4096 (order: 3, 32768 bytes)
Inode-cache hash table entries: 2048 (order: 2, 16384 bytes)
Mount-cache hash table entries: 512 (order: 0, 4096 bytes)
Buffer-cache hash table entries: 1024 (order: 0, 4096 bytes)
Page-cache hash table entries: 8192 (order: 3, 32768 bytes)
POSIX conformance testing by UNIFIX
Linux NET4.0 for Linux 2.4
Based upon Swansea University Computer Society NET3.039
CPU clock: 221.200 MHz (max 221.200 MHz)
Starting kswapd v1.8
JFFS2 version 2.1. (C) 2001 Red Hat, Inc., designed by Axis Communications
AB.
Console: switching to colour frame buffer device 40x30
pty: 256 Unix98 ptys configured
SA1100 Real Time Clock driver v1.00
block: queued sectors max/low 17280kB/5760kB, 64 slots per queue
RAMDISK driver initialized: 16 RAM disks of 8192K size 1024 blocksize
Uniform Multi-Platform E-IDE driver Revision: 6.31
ide: Assuming 50MHz system bus speed for PIO modes; override with idebus=xx
Assabet UDA1341 audio driver initialized
SA1100 flash: probing 32-bit flash bus
Using static partition definition
Creating 5 MTD partitions on "SA1100 flash":
0x00000000-0x00040000 : "bootloader"
0x00040000-0x00080000 : "bootloader params"
0x00080000-0x00180000 : "zImage"
0x00180000-0x00980000 : "ramdisk.gz"
0x00980000-0x02000000 : "jffs2"
Linux Kernel Card Services 3.1.22
  options:  [pm]
SA-1100 PCMCIA (CS release 3.1.22)
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
VFS: Mounted root (jffs2 filesystem).
Freeing init memory: 72K
Warning: unable to open an initial console.
Kernel panic: Attempted to kill init!



***jffs2 and jffs and FAT***

Linux version 2.4.10-ac11-rmk1-np1 (jfr@ubo) (gcc version 2.95.2
19991024 (1Processor: 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: root=/dev/mtdblock4 mem=32M
Warning: uninitialized Real Time Clock
Console: colour dummy device 80x30
Calibrating delay loop... 147.04 BogoMIPS
Memory: 32MB = 32MB total
Memory: 30388KB available (1413K code, 310K data, 64K init)
Dentry-cache hash table entries: 4096 (order: 3, 32768 bytes)
Inode-cache hash table entries: 2048 (order: 2, 16384 bytes)
Mount-cache hash table entries: 512 (order: 0, 4096 bytes)
Buffer-cache hash table entries: 1024 (order: 0, 4096 bytes)
Page-cache hash table entries: 8192 (order: 3, 32768 bytes)
POSIX conformance testing by UNIFIX
Linux NET4.0 for Linux 2.4
Based upon Swansea University Computer Society NET3.039
CPU clock: 221.200 MHz (max 221.200 MHz)
Starting kswapd v1.8
JFFS version 1.0, (C) 1999, 2000  Axis Communications AB
JFFS2 version 2.1. (C) 2001 Red Hat, Inc., designed by Axis Communications
AB.
Console: switching to colour frame buffer device 40x30
pty: 256 Unix98 ptys configured
SA1100 Real Time Clock driver v1.00
block: queued sectors max/low 19978kB/6659kB, 64 slots per queue
Uniform Multi-Platform E-IDE driver Revision: 6.31
ide: Assuming 50MHz system bus speed for PIO modes; override with idebus=xx
Assabet UDA1341 audio driver initialized
SA1100 flash: probing 32-bit flash bus
Using static partition definition
Creating 5 MTD partitions on "SA1100 flash":
0x00000000-0x00040000 : "bootloader"
0x00040000-0x00080000 : "bootloader params"
0x00080000-0x00180000 : "zImage"
0x00180000-0x00980000 : "ramdisk.gz"
0x00980000-0x02000000 : "jffs2"
Linux Kernel Card Services 3.1.22
  options:  [pm]
SA-1100 PCMCIA (CS release 3.1.22)
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
FAT: bogus logical sector size 408
jffs_scan_flash(): Did not find even a single chunk of free space. This is
BAD!
jffs_scan_falsh():Free size accounting screwed
jfffs_scan_flash():free_chunk_size1 == 0x1680000, free_chunk_size2 == 0x0,
fmc-0JFFS: Failed to mount device 1f:04.
VFS: Mounted root (jffs2 filesystem).
Freeing init memory: 64K
Warning: unable to open an initial console.
Kernel panic: Attempted to kill init!



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

Reply via email to