
Hallo Gemeinde !
.. ich weiss, das ist ein altes Thema (aus einem Image ein yadd zu machen) und es steht auch einiges im Forum drin. Ich habe aber nie das Ende (mit Lösung) gesehen. Ich probiere es noch mal, und wenn ich ne Lösung habe kann ich ja ein Howto draus machen.
ich habe ein Image mit den NewTuxFlash nach tar exportiert und dieses mit den un_tar Tools entpackt. Von einem funktionierendem yadd habe ich das Directory tftpboot genommen und und in das "neue" yadd-Directory getan.
Beim Booten passiert folgendes:
debug: DDF: Calibrating delay loop... debug: DDF: 66.76 BogoMIPS
debug: BMon V1.2 mID 03
debug: feID 00 enxID 03
debug: fpID 52 dsID 01-14.cd.b8.07.00.00-83
debug: HWrev 61 FPrev 0.23
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: Got BOOTP reply from Server IP 140.140.140.10, My IP 140.140.140.14
debug: Sending TFTP-request for file D/dbox_test/Images/1xi/yadd/tftpboot/ppcboo
t
will verify ELF image, start= 0x800000, size= 204200
verify sig: 262
boot net: boot file has no valid signature
Branching to 0x40000
ppcboot 0.6.4 (Jun 24 2002 - 20:39:15)
Initializing...
CPU: PPC823ZTnnB2 at 66 MHz: 2 kB I-Cache 1 kB D-Cache
Board: ### No HW ID - assuming TQM8xxL
DRAM: (faked) 32 MB
Ethernet: 00-50-9c-3c-9a-88
FLASH: 8 MB
LCD driver (KS0713) initialized
BOOTP broadcast 1
TFTP from server 140.140.140.10; our IP address is 140.140.140.14
Filename 'D/dbox_test/Images/1xi/yadd/tftpboot/logo-lcd'.
Load address: 0x130000
Loading: ##

LCD logo at: 0x130000 (0x1FD2814 bytes)
BOOTP broadcast 1
TFTP from server 140.140.140.10; our IP address is 140.140.140.14
Filename 'D/dbox_test/Images/1xi/yadd/tftpboot/logo-fb'.
Load address: 0x120000
Loading: ##############

FB logo at: 0x0 (0x1FC0000 bytes)
AVIA Frambuffer
Input: serial
Output: serial
1: Console on ttyS0
2: Console on null
3: Console on framebuffer
Select (1-3), other keys to stop autoboot: 0
...............................................................
Un-Protected 63 sectors
BOOTP broadcast 1
TFTP from server 140.140.140.10; our IP address is 140.140.140.14
Filename 'D/dbox_test/Images/1xi/yadd/tftpboot/kernel-yadd'.
Load address: 0x100000
Loading: #######################################################################
#############################################

## Booting Linux kernel at 00100000 ...
Image Name: dbox2
Image Type: PowerPC Linux Kernel Image (gzip compressed)
Data Size: 590089 Bytes = 576 kB = 0 MB
Load Address: 00000000
Entry Point: 00000000
Verifying Checksum ... OK
Uncompressing Kernel Image ... OK
Linux version 2.4.19 (von alexW) Wer Kernels nachmacht, oder faelscht, wird best
raft ;-) #1 Mon Sep 23 08:56:15 CEST 2002
On node 0 totalpages: 8192
zone(0): 8192 pages.
zone(1): 0 pages.
zone(2): 0 pages.
Kernel command line: console=ttyS0 ip=bootp root=/dev/nfs rw nfsroot=140.140.140
.10:D/dbox_test/Images/1xi/yadd/yaddroot/
WARNING: Frequency is not in HZ. Please consider using a newer bootloader!
WARNING: OLD intfreq = 66 busfreq = 66
WARNING: NEW intfreq = 66000000 busfreq = 66000000
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: 30944k available (1036k kernel code, 320k 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
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:3c:9a:88
D-Box 2 flash driver (size->0x800000 mem->0x10000000)
CFI: Found no D-Box 2 flash memory device at location zero
Using buffer write method
Creating 3 MTD partitions on "D-Box 2 flash memory":
0x00000000-0x00020000 : "BR bootloader"
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
IP: routing cache hash table of 512 buckets, 4Kbytes
TCP: Hash tables configured (established 2048 bind 4096)
Sending BOOTP requests . OK
IP-Config: Got BOOTP answer from 140.140.140.10, my address is 140.140.140.14
IP-Config: Guessing netmask 255.255.0.0
IP-Config: Complete:
device=eth0, addr=140.140.140.14, mask=255.255.0.0, gw=255.255.255.255,
host=140.140.140.14, domain=, nis-domain=(none),
bootserver=140.140.140.10, rootserver=140.140.140.10, rootpath=
NET4: Unix domain sockets 1.0/SMP for Linux NET4.0.
Looking up port of RPC 100003/2 on 140.140.140.10
Looking up port of RPC 100005/1 on 140.140.140.10
VFS: Mounted root (nfs filesystem).
Mounted devfs on /dev
Freeing unused kernel memory: 68k init
an der Stelle zeigt das Display nur noch Booting... an.
Mit ethereal sehe ich, dass die Box die Files "ld-2.2.5" und "busybox" via NFS liest.
Wenn ich den Netwerktrace richtig versehe, funktioniert das auch, weil ich keine negativen Responses vom DboxBootManager sehe.
Das muss doch irgendwie machbar sein ! - Nur wie ?