ich habe mir vor kurzem unter VMWare Debian 4.0 etch installiert, CVS ausgecheckt und neu compiliert. Als Ergebnis hätte ich gerne ein Enigma jffs2-Only-Image und habe dazu die dbox2-flash.c enstprechend geändert.
Wenn ich nun mein Image flashe und starte bekomm ich diese Log-Ausgabe.
Code: Alles auswählen
debug: DDF: Calibrating delay loop... debug: DDF: 66.76 BogoMIPS
debug: BMon V1.0 mID 02
debug: feID 00 enxID 03
debug: fpID 52 dsID 01-7b.8c.ce.07.00.00-e1
debug: HWrev 01 FPrev 0.30
debug: B/Ex/Fl(MB) 32/00/08
dbox2:root> debug:
BOOTP/TFTP bootstrap loader (v0.3)
debug:
debug: Transmitting BOOTP request via broadcast
debug: Given up BOOTP/TFTP boot
boot net failed
Flash-FS bootstrap loader (v1.5)
Flash superblock not ok: Invalid argument
boot flash /root/platform/philips-dbox2/kernel/os failed
Flash-FS bootstrap loader (v1.5)
Flash superblock not ok: Invalid argument
boot flash /root/platform/mpc8xx-dbox2/kernel/os failed
Flash-FS bootstrap loader (v1.5)
Flash superblock not ok: Invalid argument
boot flash /root/platform/kernel/os failed
Flash-FS bootstrap loader (v1.5)
Flash superblock not ok: Invalid argument
boot flash /root.new/platform/philips-dbox2/kernel/os failed
Flash-FS bootstrap loader (v1.5)
Flash superblock not ok: Invalid argument
boot flash /root.new/platform/mpc8xx-dbox2/kernel/os failed
Flash-FS bootstrap loader (v1.5)
Flash superblock not ok: Invalid argument
boot flash /root.new/platform/kernel/os failed
Flash-FS bootstrap loader (v1.5)
Flash superblock not ok: Invalid argument
boot flash /lost+found/root/platform/philips-dbox2/kernel/os failed
Flash-FS bootstrap loader (v1.5)
Flash superblock not ok: Invalid argument
boot flash /lost+found/root/platform/mpc8xx-dbox2/kernel/os failed
Flash-FS bootstrap loader (v1.5)
Flash superblock not ok: Invalid argument
boot flash /lost+found/root/platform/kernel/os failed
dbox2:root>
Code: Alles auswählen
debug: DDF: Calibrating delay loop... debug: DDF: 66.76 BogoMIPS
debug: BMon V1.0 mID 02
debug: feID 00 enxID 03
debug: fpID 52 dsID 01-7b.8c.ce.07.00.00-e1
debug: HWrev 01 FPrev 0.30
debug: B/Ex/Fl(MB) 32/00/08
dbox2:root> debug:
BOOTP/TFTP bootstrap loader (v0.3)
debug:
debug: Transmitting BOOTP request via broadcast
debug: Given up BOOTP/TFTP boot
boot net failed
Flash-FS bootstrap loader (v1.5)
Found Flash-FS superblock version 3.1
Found file /root/platform/philips-dbox2/kernel/os in Flash-FS
debug: Got Block #0040
will verify ELF image, start= 0x800000, size= 154180
verify sig: 262
Branching to 0x40000
U-Boot 1.2.0 (Tuxbox) (Feb 22 2007 - 17:50:29)
CPU: PPC823ZTnnB2 at 66 MHz: 2 kB I-Cache 1 kB D-Cache
Board: DBOX2, Philips, BMon V1.0
Watchdog enabled
I2C: ready
DRAM: 32 MB
FLASH: 8 MB
Scanning JFFS2 FS: ............. done.
FB: ready
LCD: ready
In: serial
Out: serial
Err: serial
Net: SCC ETHERNET
Options:
1: Console on null
2: Console on ttyS0
3: Console on framebuffer
Select option (1-3), other keys to stop autoboot: 0
............................................................... done
Un-Protected 63 sectors
### FS (jffs2) loading 'vmlinuz' to 0x100000
### FS load complete: 663451 bytes loaded to 0x100000
## Booting image at 00100000 ...
Image Name: dbox2
Image Type: PowerPC Linux Kernel Image (gzip compressed)
Data Size: 663387 Bytes = 647.8 kB
Load Address: 00000000
Entry Point: 00000000
Verifying Checksum ... OK
Uncompressing Kernel Image ... OK
Linux version 2.4.34-dbox2 (root@debian) (gcc version 3.4.4) #8 Sa 4. Aug 16:09:
07 CEST 2007
On node 0 totalpages: 8192
zone(0): 8192 pages.
zone(1): 0 pages.
zone(2): 0 pages.
Kernel command line: root=/dev/mtdblock2 rw console=ttyS0
Decrementer Frequency = 247500000/60
m8xx_wdt: active wdt found (SWTC: 0xFFFF, SWP: 0x1)
m8xx_wdt: keep-alive trigger installed (PITC: 0x2000)
Console: colour dummy device 80x25
Calibrating delay loop... 65.74 BogoMIPS
Memory: 30840k available (1132k kernel code, 336k data, 60k init, 0k highmem)
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
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
eth0: CPM ENET Version 0.2.dbox2 on SCC2, 00:50:9c:2b:de:22
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 512 buckets, 4Kbytes
TCP: Hash tables configured (established 2048 bind 4096)
NET4: Unix domain sockets 1.0/SMP for Linux NET4.0.
VFS: Cannot open root device "mtdblock2" or 00:00
Please append a correct "root=" boot option
Kernel panic: VFS: Unable to mount root fs on 00:00
<0>Rebooting in 180 seconds..

Was läuft denn da falsch ? Ich hatte ursprünglich ne alte Suse unter VMWare installiert und von dort ein paar Änderungen und Scripts mit nach Debian übernommen. Da es aber zu obigen Problemen kam, hab ich dann komplett neu ausgecheckt und neu gebaut aber am Ergebnis hat sich leider nix geändert, die Logausgaben bleiben die gleichen.
Wäre für nen Tip echt dankbar, ich tüftel hier schon nen paar Stunden rum und komme einfach nicht weiter.
Gruß
Liveplayer