nachdem es mir endlich gelungen ist, mein erstes Image zu kompilieren, will dieses leider nicht starten .
Das Bootlog sagt folgendes:
Code: Alles auswählen
U-Boot 0.4.0 (TuxBox) (Jul 21 2003 - 20:18:06)
CPU: PPC823ZTnnB2 at 66 MHz: 2 kB I-Cache 1 kB D-Cache
Board: DBOX2, Phillips
Watchdog enabled
I2C: ready
DRAM: 32 MB
FLASH: 8 MB
Scanning JFFS2 FS: . done.
find_inode failed for name=tuxbox
load: Failed to find inode
FB: ready
LCD: ready
In: serial
Out: serial
Err: serial
Net: SCC ETHERNET
find_inode failed for name=tuxbox
load: Failed to find inode
ready - can't find logo in flash
find_inode failed for name=tuxbox
load: Failed to find inode
can't find logo in flash
Options:
1: Console on null
2: Console on ttyS0
3: Console on framebuffer
Select option (1-3), other keys to stop autoboot: 0
...............................................................
Un-Protected 63 sectors
### FS (cramfs) loading 'vmlinuz' to 0x100000
### FS load complete: 659916 bytes loaded to 0x100000
## Booting image at 00100000 ...
Image Name: dbox2
Image Type: PowerPC Linux Kernel Image (gzip compressed)
Data Size: 659852 Bytes = 644.4 kB
Load Address: 00000000
Entry Point: 00000000
Verifying Checksum ... OK
Uncompressing Kernel Image ... OK
Linux version 2.4.22-pre9 (root@linux) (gcc version 3.2.3) #1 Mon Aug 11 08:06:2
1 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 = 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.74 BogoMIPS
Memory: 30780k available (1136k kernel code, 384k 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.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:2c:e7:23
D-Box 2 flash driver (size->0x800000 mem->0x10000000)
cfi_cmdset_0001: Erase suspend on write enabled
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"
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, 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.
cramfs: wrong magic
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00000200: 0x453d in
stead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00000204: 0x00a0 in
stead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00000208: 0x0300 in
stead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00000210: 0x436f in
stead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00000214: 0x7265 in
stead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00000218: 0x6564 in
stead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x0000021c: 0x4f4d in
stead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00000220: 0xdbbd in
stead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00000228: 0x680a in
stead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x0000022c: 0xbb01 in
stead
Further such events for this erase block will not be printed
JFFS2: Erase block at 0x00000000 is not formatted. It will be erased
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00020000: 0xf03d in
stead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00020004: 0xe547 in
stead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00020008: 0x94f9 in
stead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x0002000c: 0xd703 in
stead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00020010: 0x133d in
stead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00020014: 0x7907 in
stead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00020018: 0xd857 in
stead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x0002001c: 0xefca in
stead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00020020: 0x9374 in
stead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00020024: 0x7f69 in
stead
Further such events for this erase block will not be printed
da scheint irgendwas mit dem jffs2 nicht hinzuhauen, Weiss jemand Rat?
PS: das Image wurde mit folgender rule erstellt, und sollte eigentlich ein cramfs-Image werden...
Auszug ausm Makefile
--------------------------------------------------
flash-cramfs: $(flashprefix)/root-cramfs.img
flash-var-jffs2: $(flashprefix)/var-jffs2.img
flash-root-jffs2: $(flashprefix)/root-jffs2.img
flash-cramfsimage: $(flashprefix)/cramfsjffs2.img
flash-jffs2image: $(flashprefix)/jffs2only.img
------------------------------------------------------
ich denke das war das richtige für ein 'normales' cramfs-Image, oder
Das ganze lief auch ohne Fehler durch...
argggh, wenn ich doch nur mehr Ahnung hätte...
Axso, noch vergessen: ich hab das Image mal mit den NewTux Flashtools geöffnet, und so auf den ersten Blich scheint alles ok zu sein...aber wie gesagt, nur auf meinen ersten Blick