ich versuche unter Linux zu flashen aber irgend was stimmt nicht
dhcp3-server, nfs-kernel-server, atftpd, rarpd... ist installiert
so sehen meine einstellungen aus:
/etc/dhcp3/dhcpd.conf
Code: Alles auswählen
subnet 192.168.2.0 netmask 255.255.255.0 {
}
host dbox {
fixed-address 192.168.2.120;
hardware ethernet 00:50:9c:xx:xx:xx;
allow bootp;
server-name "192.168.2.140";
option root-path "/dbox/dbox2/cdkroot";
filename "/tftpboot/ppcboot";
option domain-name-servers 192.168.2.120;
option routers 192.168.2.120;
}

habe auch mit.... >option root-path "/dbox/dbox2/";< ausprobiert, geht auch nicht
/etc/exports
Code: Alles auswählen
# /etc/exports: the access control list for filesystems which may be exported
# to NFS clients. See exports(5).
/dbox/dbox2/cdkroot 192.168.2.120/24(rw,no_root_squash,async)
/etc/hosts
Code: Alles auswählen
192.168.2.120 dbox
Code: Alles auswählen
in.tftpd: 192.168.2.120
portmap: 192.168.2.120
mountd: 192.168.2.120
Code: Alles auswählen
in.tftpd: ALL
portmap: ALL
mountd: ALL
Code: Alles auswählen
tftp dgram udp wait root /usr/sbin/tcpd /usr/sbin/in.tftpd --tftpd-timeout 300 --retry-timeout 5 --mcast-port 1758 --mcast-addr 239.239.239.0-255 --mcast-ttl 1 --maxthread 100 --verbose=5 /tftpboot
habe dann verteichnis "/dbox/dbox2" ertellt und das
"dbox2.tar" (mit cdkroot und tftpboot u.s.w) dahin entpackt
habe noch eine verzeichnis /tftpboot erstellt und "ppcboot u.s.w" dahin kopiert
wenn ich jetzt alles starte:
/etc/init.d/./dhcp3-server restart
/etc/init.d/./nfs-kernel-server restart
rarpd -e
und als terminal minicom
dann starte die box
minicom:
Code: Alles auswählen
Zdebug: DDF: Calibrating delay loop... debug: DDF: 67.79 BogoMIPS
debug: BMon V1.0 mID 01
debug: feID 7a gtxID 0b
debug: fpID 5a dsID 01-93.72.1b.07.00.00-ed
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: 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 #0032
will verify ELF image, start= 0x800000, size= 155204
verify sig: 262
Branching to 0x40000
U-Boot 1.1.4 (Tuxbox) (Jun 4 2006 - 19:36:18)
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, BMon V1.0
Watchdog enabled
I2C: ready
DRAM: 32 MB
FLASH: 8 MB
Scanning JFFS2 FS: .... done.
FB: ready
LCD: ready
In: serial
Out: serial
Err: serial
Net: SCC ETHERNET
Options:
1: Console on null
2: Console on ttyS0
3: Console on framebuffer
Select option (1-3), other keys to stop autoboot: 0
=>
Code: Alles auswählen
Loading: => bootp
BOOTP broadcast 1
DHCP client bound to address 192.168.2.120
Using SCC ETHERNET device
TFTP from server 192.168.2.140; our IP address is 192.168.2.120
Filename '/tftpboot/ppcboot'.
Load address: 0x100000
Loading: =>
/var/log/syslog
Code: Alles auswählen
Jul 2 04:14:41 localhost dhcpd: DHCPDISCOVER from 00:50:9c:1d:0d:86 via eth0
Jul 2 04:14:41 localhost dhcpd: DHCPOFFER on 192.168.2.120 to 00:50:9c:1d:0d:86 via eth0
Jul 2 04:14:41 localhost dhcpd: DHCPREQUEST for 192.168.2.120 (192.168.2.140) from 00:50:9c:1d:0d:86 via eth0
Jul 2 04:14:41 localhost dhcpd: DHCPACK on 192.168.2.120 to 00:50:9c:1d:0d:86 via eth0
Code: Alles auswählen
Loading: => rarpboot
RARP broadcast 1
Using SCC ETHERNET device
TFTP from server 192.168.2.140; our IP address is 192.168.2.120
Filename '/tftpboot/ppcboot'.
Load address: 0x100000
Loading: T T T
Code: Alles auswählen
Jul 2 04:17:55 localhost rarpd[11597]: RARP response to 192.168.2.120 on
Jul 2 04:17:55 localhost rarpd[7940]: RARP response to 192.168.2.120 on
Jul 2 04:19:01 localhost rarpd[11597]: RARP response to 192.168.2.120 on
Jul 2 04:19:01 localhost rarpd[7940]: RARP response to 192.168.2.120 on
weil nichts passiert STRG+C für abrechen und dann gebe ich "reset" an:
Code: Alles auswählen
Abort
> reset
debug: DDF: Calibrating delay loop... debug: DDF: 66.97 BogoMIPS
debug: BMon V1.0 mID 01
debug: feID 7a gtxID 0b
debug: fpID 5a dsID 01-93.72.1b.07.00.00-ed
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: Unknown RFC1048-tag debug: 3 debug: 4 debug: c0 debug: a8 debug: 2 debug: 78 debug:
debug: Unknown RFC1048-tag debug: 6 debug: 4 debug: c0 debug: a8 debug: 2 debug: 78 debug:
debug: Unknown RFC1048-tag debug: 11 debug: 13 debug: 2f debug: 64 debug: 62 debug: 6f debug: 78 debug: 2f debug
debug: Got BOOTP reply from Server IP 192.168.2.140, My IP 192.168.2.120
debug: Sending TFTP-request for file /tftpboot/ppcboot
debug: Sending TFTP-request for file /tftpboot/ppcboot
debug: Sending TFTP-request for file /tftpboot/ppcboot
debug: Sending TFTP-request for file /tftpboot/ppcboot
debug: Sending TFTP-request for file /tftpboot/ppcboot
debug: Sending TFTP-request for file /tftpboot/ppcboot
debug:
TFTP failed, giving up...
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 #0032
will verify ELF image, start= 0x800000, size= 155204
verify sig: 262
Branching to 0x40000
U-Boot 1.1.4 (Tuxbox) (Jun 4 2006 - 19:36:18)
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, BMon V1.0
Watchdog enabled
I2C: ready
DRAM: 32 MB
FLASH: 8 MB
Scanning JFFS2 FS: .... done.
FB: ready
LCD: ready
In: serial
Out: serial
Err: serial
Net: SCC ETHERNET
Options:
1: Console on null
2: Console on ttyS0
3: Console on framebuffer
Select option (1-3), other keys to stop autoboot: 0
=>
wenn ich "bdinfo" eingebe:
Code: Alles auswählen
=> bdinfo
memstart = 0x00000000
memsize = 0x02000000
flashstart = 0x10000000
flashsize = 0x00800000
flashoffset = 0x00000000
sramstart = 0x00000000
sramsize = 0x00000000
immr_base = 0xFF000000
bootflags = 0x00000001
intfreq = 67.200 MHz
busfreq = 67.200 MHz
ethaddr = 00:50:9C:xx:xx:xx
IP addr = 0.0.0.0
baudrate = 9600 bps
kann sein das es daran liegt? es muss doch die ip: 192.168.2.120 stehen, oder?
wenn ich "tftpboot" eingebe:
Code: Alles auswählen
=> tftpboot
*** ERROR: `serverip' not set
ich weiß, es geht einfache über ftp die image datei in /tmp (dbox) ordner kopieren und dann über dbox Menu das image flashen.... mich interessiert aber warum bei "unter Linux image Flashen" nicht geht!
Danke im vorraus für antwort
Gruss,
Osmanovic