Ich scheitere wie es aussieht daran, dass einige Verzeichnisse im read-only Bereich landen. z.B. /lib sollte nach meinem Verständniss im rw Bereich sein, da dort ja u.a. auch eine Datei angelegt werden soll
depmod: Can't open /lib/modules/2.4.20-dbox2/modules.dep for writing
Nur wieso? Ich habe das ganze CDK heute nochmal kompiliert, mit targetruleset=flash. Funktioniert mittlerweile ohne Probleme. Auch erstellen eines Images geht ohne Fehler durch. Nur mit dem booten haperts

Das unten ist der Log von einem cramfsjffs2.img, ein jffs2only.img bootet garnicht, bricht mit "BAD MAGIC" oder so ab.
debug: DDF: Calibrating delay loop... debug: DDF: 67.79 BogoMIPS
debug: BMon V1.2 mID 01
debug: feID dd gtxID 0b
debug: fpID 5a dsID 01-f1.64.1d.07.00.00-a9
debug: HWrev 09 FPrev 0.81
debug: B/Ex/Fl(MB) 32/00/08
WATCHDOG reset enabled
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/nokia-dbox2/kernel/os in Flash-FS
debug: Got Block #0044
will verify ELF image, start= 0x800000, size= 203620
verify sig: 262
Branching to 0x40000
PPCBoot 1.1.6 (TuxBox) (Mar 13 2003 - 12:11:32)
CPU: PPC823ZTnnB2 at 67.100 MHz: 2 kB I-Cache 1 kB D-Cache
Watchdog enabled
Board: DBOX2, Nokia
I2C: ready
DRAM: 32 MB
FLASH: 8 MB
Scanning JFFS2 FS:

find_inode failed for name=tuxbox
load: Failed to find inode
LCD: Scanning JFFS2 FS:

find_inode failed for name=tuxbox
load: Failed to find inode
ready - can't find logo in flash
FB: Scanning JFFS2 FS:

find_inode failed for name=tuxbox
load: Failed to find inode
can't find logo in flash - no init
In: serial
Out: serial
Err: serial
Options:
1: Console on null
2: Console on ttyS0
3: Console on framebuffer
Select (1-3), other keys to stop autoboot: 0
...............................................................
Un-Protected 63 sectors
### FS (cramfs) loading 'vmlinuz' to 0x100000
### FS load compleate: 734591 bytes loaded to 0x100000
## Booting image at 00100000 ...
Image Name: dbox2
Image Type: PowerPC Linux Kernel Image (gzip compressed)
Data Size: 734527 Bytes = 717 kB = 0 MB
Load Address: 00000000
Entry Point: 00000000
Verifying Checksum ... OK
Uncompressing Kernel Image ... OK
Linux version 2.4.20-dbox2 (root@debian) (gcc version 3.2.3) #1 Thu Jul 24 18:47
:32 CEST 2003
On node 0 totalpages: 8192
zone(0): 8192 pages.
zone(1): 0 pages.
zone(2): 0 pages.
Kernel command line: root=/dev/mtdblock2 console=ttyS0
Decrementer Frequency = 251625000/60
mpc8xx-wdt: active wdt found (SWTC: 0xFFFF, SWP: 0x1)
mpc8xx-wdt: keep-alive trigger activated (PITC: 0x2000)
Warning: real time clock seems stuck!
Console: colour dummy device 80x25
Calibrating delay loop... 66.76 BogoMIPS
Memory: 30604k available (1288k kernel code, 400k data, 76k 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.1. (C) 2001 Red Hat, Inc., designed by Axis Communications AB.
i2c-core.o: i2c core module
CPM UART driver version 0.03
ttyS00 at 0x0280 is a SMC
ttyS01 at 0x0380 is a SMC
pty: 256 Unix98 ptys configured
eth0: CPM ENET Version 0.2 on SCC2, 00:50:9c:40:ba:de
RAMDISK driver initialized: 16 RAM disks of 4096K size 1024 blocksize
D-Box 2 flash driver (size->0x800000 mem->0x10000000)
Creating 6 MTD partitions on "D-Box 2 flash memory":
0x00000000-0x00020000 : "BR bootloader"
0x00020000-0x00040000 : "flfs (ppcboot)"
0x00040000-0x00700000 : "root (cramfs)"
0x00700000-0x00800000 : "var (jffs2)"
0x00020000-0x00800000 : "flash without bootloader"
0x00000000-0x00800000 : "complete flash"
mice: PS/2 mouse device common for all mice
NET4: Linux TCP/IP 1.0 for NET4.0
IP Protocols: ICMP, UDP, TCP, IGMP
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.
IPv6 v0.8 for NET4.0
IPv6 over IPv4 tunneling driver
802.1Q VLAN Support v1.7 Ben Greear <greearb@candelatech.com>
All bugs added by David S. Miller <davem@redhat.com>
VFS: Mounted root (cramfs filesystem) readonly.
Mounted devfs on /dev
Freeing unused kernel memory: 76k init
init started: BusyBox v0.61.pre (2003.07.24-16:42+0000) multi-catouch: /etc/mod
ules.conf: Read-only file system
depmod: Can't open /lib/modules/2.4.20-dbox2/modules.dep for writing
modprobe: Can't open dependencies file /lib/modules/2.4.20-dbox2/modules.dep (No
such file or directory)
/proc/bus/tuxbox/vendor: No such file or directory
/proc/bus/tuxbox/vendor: No such file or directory
/proc/bus/tuxbox/model: No such file or directory
/proc/bus/tuxbox/model: No such file or directory
/proc/bus/tuxbox/submodel: No such file or directory
/proc/bus/tuxbox/submodel: No such file or directory
Detected STB:
Vendor: Unknown
Model: Unknown Unknown
modprobe: Can't open dependencies file /lib/modules/2.4.20-dbox2/modules.dep (No
such file or directory)
/etc/init.d/rcS: cannot create /etc/issue.net: Read-only file system
ln: /dev/dvb/adapter0/demux1: No such file or directory
ln: /dev/dvb/adapter0/dvr1: No such file or directory
Please press Enter to activate this console. LCD (/dev/dbox/lcd0): No such file
or directory
/dev/input/event0: No such file or directory
BusyBox v0.61.pre (2003.07.24-16:42+0000) Built-in shell (ash)
Enter 'help' for a list of built-in commands.
sh: can't access tty; job control turned off