Ich halte also in der Konsole den u-boot an und ändere die Variable bootargs ab mit
-> setenv bootargs console=ttyS0,9600 root=/dev/nfs rw nfsroot=192.168.0.14:/home/martin/dbox-neutrino/dbox/cdk/ ip=192.168.0.202:192.168.0.14:192.168.0.1:255.255.255.0:dbox::off
(der 114er ist mein Linux PC auf dem läuft ein NFS server. Ich habe auch mal Probeweise von meiner TD das Verzeichnis gemounted. )
Nachdem die die Variable neu gesetzt habe
lade ich in der Konsole das filesystem mit
-> fsload
das scheint auch noch zu klappen.
danach starte ich mit
->bootm
danach bleibt aber der Kernel mit "panic" hängen
irgendwie versteh ich nicht warum es nicht geht.
das Bootlog
vermutlich übersehe ich was.=> setenv bootargs console=ttyS0,9600 root=/dev/nfs rw nfsroot=192.168.0.14:/hom
e/martin/dbox-neutrino/dbox/cdk/ ip=192.168.0.202:192.168.0.14:192.168.0.1:255.2
55.255.0:dbox::off
=> printenv
bootcmd=setenv bootargs console=$(console),$(baudrate) dbox_duplex=$(dbox_duplex
) root=/dev/mtdblock2 rw rootfstype=jffs2; fsload; protect off
10020000 107fffff; bootm
bootdelay=1
baudrate=9600
console=ttyS0
stdin=serial
stdout=serial
stderr=serial
ethaddr=00:50:9c:42:6a:d9
ethact=SCC ETHERNET
bootargs=console=ttyS0,9600 root=/dev/nfs rw nfsroot=192.168.0.14:/home/martin/d
box-neutrino/dbox/cdk/ ip=192.168.0.202:192.168.0.14:192.168.0.1:255.255.255.0:d
box::off
Environment size: 470/16380 bytes
=> fsload
### FS (jffs2) loading 'vmlinuz' to 0x100000
### FS load complete: 670500 bytes loaded to 0x100000
=> bootm
## Booting image at 00100000 ...
Image Name: dbox2
Image Type: PowerPC Linux Kernel Image (gzip compressed)
Data Size: 670436 Bytes = 654.7 kB
Load Address: 00000000
Entry Point: 00000000
Verifying Checksum ... OK
Uncompressing Kernel Image ... OK
Linux version 2.4.37-dbox2 (dietmarw@s2.dvdvd.de) (gcc version 3.4.6) #2 Sat Apr
18 07:37:52 CEST 2009
On node 0 totalpages: 32768
zone(0): 32768 pages.
zone(1): 0 pages.
zone(2): 0 pages.
Kernel command line: console=ttyS0,9600 root=/dev/nfs rw nfsroot=192.168.0.14:/h
ome/martin/dbox-neutrino/dbox/cdk/ ip=192.168.0.202:192.168.0.14:192.168.0.1:255
.255.255.0:dbox::off
Decrementer Frequency = 251625000/60
m8xx_wdt: active wdt found (SWTC: 0xFFFF, SWP: 0x1)
m8xx_wdt: keep-alive trigger installed (PITC: 0x2580)
Console: colour dummy device 80x25
Calibrating delay loop... 66.76 BogoMIPS
Memory: 127972k available (1140k kernel code, 344k data, 60k init, 0k highmem)
Dentry cache hash table entries: 16384 (order: 5, 131072 bytes)
Inode cache hash table entries: 8192 (order: 4, 65536 bytes)
Mount cache hash table entries: 512 (order: 0, 4096 bytes)
Buffer cache hash table entries: 8192 (order: 3, 32768 bytes)
Page-cache hash table entries: 32768 (order: 5, 131072 bytes)
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
devfs: v1.12c (20020818) Richard Gooch (rgooch@atnf.csiro.au)
devfs: boot_options: 0x1
JFFS2 version 2.2. (NAND) (C) 2001-2003 Red Hat, Inc.
squashfs: version 3.0 (2006/03/15) Phillip Lougher
i2c-core.o: i2c core module version 2.6.1 (20010830)
i2c-dev.o: i2c /dev entries driver module version 2.6.1 (20010830)
CPM UART driver version 0.04
ttyS0 at 0x0280 is on SMC1 using BRGttyS1 at 0x0380 is on SMC2 using BRG2
pty: 256 Unix98 ptys configured
half-duplex mode enabled
eth0: CPM ENET Version 0.2.dbox2 on SCC2, 00:50:9c:42:6a:d9
loop: loaded (max 8 devices)
D-Box 2 flash driver (size->0x800000 mem->0x10000000)
D-Box 2 flash memory: Found 2 x16 devices at 0x0 in 32-bit bank
Intel/Sharp Extended Query Table at 0x0035
cfi_cmdset_0001: Erase suspend on write enabled
Creating 5 MTD partitions on "D-Box 2 flash memory":
0x00000000-0x00020000 : "BR bootloader"
0x00020000-0x00040000 : "FLFS (U-Boot)"
0x00040000-0x00800000 : "root (jffs2)"
0x00020000-0x00800000 : "Flash without bootloader"
0x00000000-0x00800000 : "Complete Flash"
Linux video capture interface: v1.00
mice: PS/2 mouse device common for all mice
NET4: Linux TCP/IP 1.0 for NET4.0
IP Protocols: ICMP, UDP, TCP
IP: routing cache hash table of 1024 buckets, 8Kbytes
TCP: Hash tables configured (established 8192 bind 16384)
NET4: Unix domain sockets 1.0/SMP for Linux NET4.0.
VFS: Cannot open root device "nfs" or 00:ff
Please append a correct "root=" boot option
Kernel panic: VFS: Unable to mount root fs on 00:ff
<0>Rebooting in 180 seconds..
Martin