yadd problem

Anlaufschwierigkeiten? Was ist was? Worum geht's?
satbob
Neugieriger
Neugieriger
Beiträge: 18
Registriert: Mittwoch 14. Januar 2004, 19:53

yadd problem

Beitrag von satbob »

hallo

nachdem ich ganze Nacht und halben Tag rumprobiert habe, kriege ich keine yadd zum laufen.
Meine eigene kann schon sein das da etwas falsch gelaufen ist. Vor allem bei der Verschiebung von lin auf win.
Da habe mir gedacht, nimm doch eine fertige.
yadd snap von DBox Update genommen. Mit WinRar entpackt( ist ein *.tar.tar Archiv)
Dann meine u-codes nach yaddroot\var\tuxbox\ucodes kopiert
ppcboot, u-boot und logos nach tftpboot kopiert
Bootmanager - alles eingestellt- start:

bei u-boot (kernel-yadd in kernel-cdk und yaddroot in cdkroot umbennant) bleibt hier stehen:

debug: DDF: Calibrating delay loop... debug: DDF: 67.79 BogoMIPS
debug: WATCHDOG RESET
debug: BMon V1.0 mID 01
debug: feID dd gtxID 0b
debug: fpID 5a dsID 01-f5.5f.29.07.00.00-c7
debug: HWrev X5 SWrev 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: Got BOOTP reply from Server IP 192.168.1.2, My IP 192.168.1.10
debug: Sending TFTP-request for file F/yadd/tftpboot/u-boot
will verify ELF image, start= 0x800000, size= 145172
verify sig: 262
boot net: boot file has no valid signature
Branching to 0x40000


U-Boot 0.4.0 (TuxBox) (Sep 9 2003 - 14:18:35)

CPU: PPC823ZTnnA at 67.200 MHz: 2 kB I-Cache 1 kB D-Cache
*** Warning: CPU Core has Silicon Bugs -- Check the Errata ***
Board: DBOX2, Nokia
Watchdog enabled
I2C: ready
DRAM: 32 MB
FLASH: 8 MB
Scanning JFFS2 FS: . done.
find_inode failed for name=u-boot.conf
load: Failed to find inode
FB: ready
LCD: ready
In: serial
Out: serial
Err: serial
Net: SCC ETHERNET
find_inode failed for name=logo-lcd
load: Failed to find inode
ready - can't find logo in flash - try network
BOOTP broadcast 1
TFTP from server 192.168.1.2; our IP address is 192.168.1.10
Filename 'logo-lcd'.
Load address: 0x100000
Loading: ##
done
Bytes transferred = 7680 (1e00 hex)
find_inode failed for name=logo-fb
load: Failed to find inode
can't find logo in flash - try network
BOOTP broadcast 1
TFTP from server 192.168.1.2; our IP address is 192.168.1.10
Filename 'logo-fb'.
Load address: 0x100000
Loading: #########
done
Bytes transferred = 43045 (a825 hex)

Options:
1: Bootmeldungen auf Seriell (ttyS0) - standard
2: Bootmeldungen auf TV (fb0)
3: Keine Bootmeldungen
4: Flashen via YADD
- Flashimage umbennenn in dboxflash.img
- in das Verzeichniss tftpboot kopieren
- beim Bootvorgang die Taste 4 drcken.
HAVE FUN...

...special u-boot for DboxII Boot-Manager
V0.2 patched by Homar 2003 :-P


Select option (1-4), other keys to stop autoboot: 0
TFTP from server 192.168.1.2; our IP address is 192.168.1.10
Filename 'kernel-cdk'.
Load address: 0x100000
Loading: #################################################################
#################################################################
done
Bytes transferred = 661040 (a1630 hex)
..............................................................
Un-Protected 62 sectors
## Booting image at 00100000 ...
Image Name: dbox2
Image Type: PowerPC Linux Kernel Image (gzip compressed)
Data Size: 660976 Bytes = 645.5 kB
Load Address: 00000000
Entry Point: 00000000
Verifying Checksum ... OK
Uncompressing Kernel Image ... OK
Linux version 2.4.22-dbox2 (von alexW) (gcc version 3.2.3) #1 Di Nov 4 11:38:02
CET 2003
On node 0 totalpages: 8192
zone(0): 8192 pages.
zone(1): 0 pages.
zone(2): 0 pages.
Kernel command line: root=/dev/nfs rw nfsroot=192.168.1.2:/F/yadd/cdkroot/ ip=19
2.168.1.10:192.168.1.2:::::off console=ttyS0
Decrementer Frequency = 252000000/60
mpc8xx-wdt: active wdt found (SWTC: 0xFFFF, SWP: 0x1)
mpc8xx-wdt: keep-alive trigger activated (PITC: 0x1000)
Console: colour dummy device 80x25
Calibrating delay loop... 66.96 BogoMIPS
Memory: 30780k available (1132k kernel code, 388k 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 (2002081 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:xx:xx:xx
D-Box 2 flash driver (size->0x800000 mem->0x10000000)
D-Box 2 flash memory: Found 2 x16 devices at 0x0 in 32-bit mode
Intel/Sharp Extended Query Table at 0x0035
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-0x00720000 : "root (cramfs)"
0x00720000-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
IP: routing cache hash table of 512 buckets, 4Kbytes
TCP: Hash tables configured (established 2048 bind 4096)
IP-Config: Guessing netmask 255.255.255.0
IP-Config: Complete:
device=eth0, addr=192.168.1.10, mask=255.255.255.0, gw=255.255.255.255,
host=192.168.1.10, domain=, nis-domain=(none),
bootserver=192.168.1.2, rootserver=192.168.1.2, rootpath=
NET4: Unix domain sockets 1.0/SMP for Linux NET4.0.
Looking up port of RPC 100003/2 on 192.168.1.2
Looking up port of RPC 100005/1 on 192.168.1.2
VFS: Mounted root (nfs filesystem).
Mounted devfs on /dev
Freeing unused kernel memory: 68k init
Kernel panic: No init found. Try passing init= option to kernel.
<0>Rebooting in 180 seconds..

Auf dem Bildschirm steht:

DBox II Boot-Manager
is working with your flash...


bei ppcboot (im yadd snap nichts veändert) bleibt hier stehen:

debug: DDF: Calibrating delay loop... debug: DDF: 67.79 BogoMIPS
debug: BMon V1.0 mID 01
debug: feID dd gtxID 0b
debug: fpID 5a dsID 01-f5.5f.29.07.00.00-c7
debug: HWrev X5 SWrev 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: Got BOOTP reply from Server IP 192.168.1.2, My IP 192.168.1.10
debug: Sending TFTP-request for file F/yadd/tftpboot/ppcboot
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: PPC823ZTnnA at 68 MHz: 2 kB I-Cache 1 kB D-Cache
*** Warning: CPU Core has Silicon Bugs -- Check the Errata ***
Board: ### No HW ID - assuming TQM8xxL
DRAM: (faked) 32 MB
Ethernet: 00-50-9c-xx-xx-xx
FLASH: 8 MB
LCD driver (KS0713) initialized
BOOTP broadcast 1
TFTP from server 192.168.1.2; our IP address is 192.168.1.10
Filename 'F/yadd/tftpboot/logo-lcd'.
Load address: 0x130000
Loading: ##
done
LCD logo at: 0x130000 (0x1FD2814 bytes)
BOOTP broadcast 1
TFTP from server 192.168.1.2; our IP address is 192.168.1.10
Filename 'F/yadd/tftpboot/logo-fb'.
Load address: 0x120000
Loading: ############
done
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 192.168.1.2; our IP address is 192.168.1.10
Filename 'F/yadd/tftpboot/kernel-yadd'.
Load address: 0x100000
Loading: #######################################################################
###########################################################
done
## Booting Linux kernel at 00100000 ...
Image Name: dbox2
Image Type: PowerPC Linux Kernel Image (gzip compressed)
Data Size: 660976 Bytes = 645 kB = 0 MB
Load Address: 00000000
Entry Point: 00000000
Verifying Checksum ... OK
Uncompressing Kernel Image ... OK
Linux version 2.4.22-dbox2 (von alexW) (gcc version 3.2.3) #1 Di Nov 4 11:38:02
CET 2003
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=192.168.1.2
:F/yadd/yaddroot/
WARNING: Frequency is not in HZ. Please consider using a newer bootloader!
WARNING: OLD intfreq = 68 busfreq = 68
WARNING: NEW intfreq = 68000000 busfreq = 68000000
Decrementer Frequency = 255000000/60
mpc8xx-wdt: active wdt found (SWTC: 0xFFFF, SWP: 0x1)
mpc8xx-wdt: keep-alive trigger activated (PITC: 0x1000)
Console: colour dummy device 80x25
Calibrating delay loop... 67.58 BogoMIPS
Memory: 30780k available (1132k kernel code, 388k 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 (2002081 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:xx:xx:xx
D-Box 2 flash driver (size->0x800000 mem->0x10000000)
D-Box 2 flash memory: Found 2 x16 devices at 0x0 in 32-bit mode
Intel/Sharp Extended Query Table at 0x0035
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-0x00720000 : "root (cramfs)"
0x00720000-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
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 192.168.1.2, my address is 192.168.1.10
IP-Config: Guessing netmask 255.255.255.0
IP-Config: Complete:
device=eth0, addr=192.168.1.10, mask=255.255.255.0, gw=255.255.255.255,
host=192.168.1.10, domain=, nis-domain=(none),
bootserver=192.168.1.2, rootserver=192.168.1.2, rootpath=
NET4: Unix domain sockets 1.0/SMP for Linux NET4.0.
Looking up port of RPC 100003/2 on 192.168.1.2
Looking up port of RPC 100005/1 on 192.168.1.2
VFS: Mounted root (nfs filesystem).
Mounted devfs on /dev
Freeing unused kernel memory: 68k init
Kernel panic: No init found. Try passing init= option to kernel.
<0>Rebooting in 180 seconds..

Auf dem Bildschirm steht Start Logo


Und keine Ahnung wie soll es weiter gehen.
Ist da etwas mit dem init ?

Bitte um Hilfe

cu satbob
Zuletzt geändert von satbob am Samstag 24. Januar 2004, 16:42, insgesamt 1-mal geändert.
Dietmar
Senior Member
Beiträge: 8282
Registriert: Mittwoch 10. Oktober 2001, 00:00

Beitrag von Dietmar »

Mit WinRar entpackt( ist ein *.tar.tar Archiv)
Winrar entpackt die Symlinks nicht mit.
Nimm die untar-Utils (zumindest für das tar)
http://www.dietmar-h.net/yadd.html
satbob
Neugieriger
Neugieriger
Beiträge: 18
Registriert: Mittwoch 14. Januar 2004, 19:53

Beitrag von satbob »

@Dietmar

Danke für schnelle Antwort.
Mit dem Entpacken bin ich langsam am Ende. Habe schon sehr vieles ausprobiert.
Die Tools von der Seite hab ich auch schon probiert

z.B.

Code: Alles auswählen

F:\yadd1>tar -xvf *.tar
tar: This does not look like a tar archive
tar: Skipping to next header
tar: 434 garbage bytes ignored at end of archive
tar: Error exit delayed from previous errors
Ich wieß nit wie ich das entpacken soll.
Die "yadd-snap.tar.bz2" kommt von DBox Update, beim Download kommt yadd-snap.tar.tar.
Auf der gleichen Seite steht mit WinRar oder Bzip2 entpacken,
mit WinRar konnte ich entpacken, mit Bunzip2:

Code: Alles auswählen

F:\yadd1>bunzip2 *.tar
bunzip2: Can't guess original name for yadd-snap.tar.tar -- using yadd-snap.tar.
tar.out
Kannst Du mir bitte genau sagen wie ich die entpacken soll.

cu satbob
Dietmar
Senior Member
Beiträge: 8282
Registriert: Mittwoch 10. Oktober 2001, 00:00

Beitrag von Dietmar »

Das ganze Zeugs ist 2 mal gepackt.
Wenn Du das bz2 auspackst, solltest Du ein tar kriegen (kann aber sein, dass winrar da Unfug macht)
In den untarutils sollte aber bunzip drinsein, lass das mal auf das Archiv los.
bunzip2 *.bz2

Ach ja:
beim Download kommt yadd-snap.tar.tar.
Da macht wohl Dein Browser Unfug, hier kommt ein .bz2 raus.
satbob
Neugieriger
Neugieriger
Beiträge: 18
Registriert: Mittwoch 14. Januar 2004, 19:53

Beitrag von satbob »

@Dietmar

danke für Deine Antwort.
Jetzt hat es funktioniert. Habe die Datei einfach in yadd-snap.tar.bz2 umbennant.
Darauf muß man erst kommen.

Jetzt geh ich wieder an meine yadd ran. Die packe ich unter linux so:

tar -cvf yadd.tar cdkroot tftpboot
chmod 755 cdkroot -R
chgrp 100 cdkroot -R
chown 500 cdkroot -R
gzip -9 yadd.tar

dann im KDE per Drag&Drop auf eine FAT Partition,
dann winxp start, entpacken mit:

gunzip yadd.tar.gz
tar -xf yadd.tar

aber geht nicht. Die Symlinks sind nicht dabei.

Kannst Du hier irgendwo Fehler sehen.

Nochmal danke.

cu satbob