Als YADD läuft das Kompilat ganz anständig; jetzt würde ich gern mal ein image machen.
also configure mit flash-ruleset
make all
make flash-lib
make flash-lcdmenu
make flash-neutrino
make flash-compress
danach hab ich auf meiner box (1.6.3 mit cramfs vom 10.10.02) ein var/lib/modules/2.4.19 angelegt und die modules.dep etc dorthin kopiert
danach das root-cramfs.img mittels der Expertenfunktionen geflasht und: sie bootet nicht

hier mal das log
debug: DDF: Calibrating delay loop... debug: DDF: 66.76 BogoMIP
S
debug: BMon V1.0 mID 02
debug: feID 00 enxID 03
debug: fpID 52 dsID 01-d8.a4.f3.07.00.00-f7
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 #0052
will verify ELF image, start= 0x800000, size= 202996
verify sig: 262
Branching to 0x40000
PPCBoot 1.1.6 (TuxBox) (Aug 5 2002 - 09:06:03)
CPU: PPC823ZTnnB2 at 66 MHz: 2 kB I-Cache 1 kB D-Cache
Watchdog enabled
Board: DBOX2, Phillips
I2C: ready
DRAM: 32 MB
FLASH: 8 MB
Scanning JFFS2 FS: .

LCD: ready
FB: loading - ready
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: 647324 bytes loaded to 0x100000
## Booting image at 00100000 ...
Image Name: dbox2
Image Type: PowerPC Linux Kernel Image (gzip compressed)
Data Size: 647260 Bytes = 632 kB = 0 MB
Load Address: 00000000
Entry Point: 00000000
Verifying Checksum ... OK
Uncompressing Kernel Image ... OK
Linux version 2.4.19 (tuxbox@localhost) (gcc version 3.2) #3 Thu Jan 30 23:51:11
GMT+1 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 = 247500000/60
mpc8xx-wdt: active wdt found (SWTC: 0xFFFF, SWP: 0x1)
mpc8xx-wdt: keep-alive trigger activated (PITC: 0x2000)
Console: colour dummy device 80x25
Calibrating delay loop... 65.53 BogoMIPS
Memory: 30788k available (1136k kernel code, 376k data, 68k 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.12a (20020514) Richard Gooch (rgooch@atnf.csiro.au)
devfs: boot_options: 0x1
JFFS2 version 2.1. (C) 2001, 2002 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:2d:73:a0
D-Box 2 flash driver (size->0x800000 mem->0x10000000)
Using word write method
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"
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.
VFS: Mounted root (cramfs filesystem) readonly.
Mounted devfs on /dev
Freeing unused kernel memory: 68k init
kmod: runaway modprobe loop assumed and stopped
kmod: runaway modprobe loop assumed and stopped
kmod: runaway modprobe loop assumed and stopped
kmod: runaway modprobe loop assumed and stopped
kmod: runaway modprobe loop assumed and stopped
modprobe: modprobe: Can't open dependencies file /var/lib/modules/2.4.19/modules
.dep (No such file or directory)
modprobe: modprobe: Can't open dependencies file /var/lib/modules/2.4.19/modules
.dep (No such file or directory)
usw, usw
mit der suchfunktion hab ich nix anständiges gefunden - nur soviel, dass man noch Hand anlegen muss, um ein laufendes image aus seinem kompilat zu erstellen (q.e.d.)
aber wo muss ich was machen ?
ich hab schon mal im kernel in die init.c reingeschaut und auch mal messages ausgeben lassen, aber dort wird eigentlich nur die 'init' aufgerufen, die dann mit 'busybox' verlinkt ist.
und in der busysbox init wird auch nix mit den modules gemacht
Das ganze liegt wohl daran, dass das jffs2 zu dem zeitpunkt noch nicht gemountet ist, oder ?
Ich hab auch schon mal versucht, die modules.conf zu löschen oder zu entleeren - so wie's im AlexW ist, aber dann kommt nach dem 'starting kernel' sofort ein 'kein system'
kann mir ma einer auf die Sprünge helfen ?
Danke !