Help Needed -> Initial Ramdisk (Initrd) for Hitach SH3 Linux port

Help Needed -> Initial Ramdisk (Initrd) for Hitach SH3 Linux port

Post by Crea » Tue, 28 Jan 2003 19:23:26



Hi,

We are 2 student that are trying to port linux (Timesys GPL) to an
Embedded SH3 system.
Everything works fine until we need to boot from the filesystem.

We tried a few Ramdisk and Initrd Howto's but nothing seems to work.

Is there anybody outthere that could provide us an initrd or ramdisk
from approximataly 4Mb or less?

this is what we tried, so far:
We tried busybox. put the right libs in Ramdisk. > negative
We tried busybox. build it static . > aren't able to compile.
The initrd is found.

Take a look at the terminal logfile:

Stagiair Version nr 0.01.
SH3 Linux Pre Loader.
De head.s file wordt geladen!
.

version 3.0.1) #42 Wed Jan 22 17:40:27 CET 2003
On node 0 totalpages: 4096
zone(0): 4096 pages.
zone(1): 0 pages.
zone(2): 0 pages.
Kernel command line: console=ttySC1
CPU clock: 88.47MHz
Bus clock: 44.23MHz
Module clock: 22.11MHz
Interval = 13824
Memory: 8956k/16384k available (1668k kernel code, 7428k reserved,
106k data, 48k init)
Calibrating delay loop... 44.13 BogoMIPS
Dentry-cache hash table entries: 2048 (order: 2, 16384 bytes)
Inode-cache hash table entries: 1024 (order: 1, 8192 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: 4096 (order: 2, 16384 bytes)
CPU: SH7709A/SH7729
POSIX conformance testing by UNIFIX
Linux NET4.0 for Linux 2.4
Based upon Swansea University Computer Society NET3.039
Initializing RT netlink socket
Starting kswapd v1.8

devfs: boot_options: 0x2
pty: 256 Unix98 ptys configured
Serial driver version 5.05c (2001-07-08) with no serial options
enabled
ttyS01 at 0x02f8 (irq = 3) is a 16450
SuperH SCI(F) driver initialized
ttySC0 at 0xfffffe80 is a SCI
ttySC1 at 0xa4000150 is a SCIF
ttySC2 at 0xa4000140 is a SCIF
Real Time Clock Driver v1.10d
block: queued sectors max/low 5754kB/1918kB, 64 slots per queue
RAMDISK driver initialized: 16 RAM disks of 4096K size 1024 blocksize
loop: loaded (max 8 devices)
NET4: Linux TCP/IP 1.0 for NET4.0
IP Protocols: ICMP, UDP, TCP
IP: routing cache hash table of 16 buckets, 2Kbytes
TCP: Hash tables configured (established 32 bind 52)
NET4: Unix domain sockets 1.0/SMP for Linux NET4.0.
RAMDISK: Compressed image found at block 0
Freeing initrd memory: 4096k freed
VFS: Mounted root (ext2 filesystem).
Mounted devfs on /dev
Voert linuxrc uit
kmod: failed to exec /sbin/modprobe -s -k block-major-2, errno = 2
VFS: Cannot open root device "" or 02:00
Please append a correct "root=" boot option
Kernel panic: VFS: Unable to mount root fs on 02:00

Regards

Bart & Dennis