booten meiner dbox2 philips per dhcp/bootp

Anlaufschwierigkeiten? Was ist was? Worum geht's?
Antworten
msrx111
Interessierter
Interessierter
Beiträge: 95
Registriert: Dienstag 14. Juni 2011, 17:50
Image: eigenkompilat neutrino
Image: eigenkompilat neutrino

booten meiner dbox2 philips per dhcp/bootp

Beitrag von msrx111 »

Ich habe zwei philips dbox2 sat 2x. Beide werden von meinem Gateway per bootp/dhcp mit neutrino versorgt. Wenn ich die eine aus dem deep standby starte, dann wird sofort per dhcp/bootp gebootet. Die andere bootet erst immer das flash und erst nach einem reboot übers Netzwerk. Kann mir vielleicht jemand sagen warum das so ist und eventuell wie ich erreichen kann dass beide Boxen sofort übers Netzwerk booten. Beide booten vom selben Server und sind über Kabel und demselben switch mit diesem verbunden.
msrx111
Interessierter
Interessierter
Beiträge: 95
Registriert: Dienstag 14. Juni 2011, 17:50
Image: eigenkompilat neutrino
Image: eigenkompilat neutrino

Re: booten meiner dbox2 philips per dhcp/bootp

Beitrag von msrx111 »

Vielen Dank für die zahlreichen Antworten. Hat sich damit wohl erledigt
MarcM
Foren-Moderator
Beiträge: 1119
Registriert: Sonntag 9. Juni 2002, 13:28

Re: booten meiner dbox2 philips per dhcp/bootp

Beitrag von MarcM »

uuuuhhh, warum gleich so zickig :wink:

mach doch mal nen Bootlog von beiden Boxen....

ich meine man kann im Bootloader der Dbox (BMon, nicht das UBoot, den mit dem Memtest mein ich), die Bootreihenfolge verstellen, stand glaub ich irgendwo hier im Forum. Eventuell ist da irgendwas murks... mach halt mal nen Bootlog ob man da was sehen kann...

Marc
msrx111
Interessierter
Interessierter
Beiträge: 95
Registriert: Dienstag 14. Juni 2011, 17:50
Image: eigenkompilat neutrino
Image: eigenkompilat neutrino

Re: booten meiner dbox2 philips per dhcp/bootp

Beitrag von msrx111 »

Alle klar mach dann mal. Bin aber gerade umgezogen und muss erstmal mein Nullmodemkabel finden. grins :D
Danke für den freundlichen Vorschlag. War wohl ein bisschen ungeduldig. Sorry :oops:
msrx111
Interessierter
Interessierter
Beiträge: 95
Registriert: Dienstag 14. Juni 2011, 17:50
Image: eigenkompilat neutrino
Image: eigenkompilat neutrino

Re: booten meiner dbox2 philips per dhcp/bootp

Beitrag von msrx111 »

Ich hab dann mal die bootlogs erstellt:

1.Wohnzimmerbox aus dem deep standby bootet das image (das passiert immer)

Code: Alles auswählen

odebug: DDF: Calibrating delay loop... debug: DDF: 66.76 BogoMIPS
debug: BMon V1.0  mID 02
debug: feID 00    enxID 03
debug: fpID 52     dsID 01-66.14.cd.07.00.00-f1
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 #0008
debug: Got Block #0012
debug: Got Block #0016
debug: Got Block #0020
debug: Got Block #0024
debug: Got Block #0028
debug: Got Block #0032
debug: Got Block #0036
debug: Got Block #0040
debug: Got Block #0044


will verify ELF image, start= 0x800000, size= 174720
verify sig: 262
Branching to 0x40100


U-Boot 2011.06 (Tuxbox) (Sep 22 2011 - 19:00:40)

CPU:   PPC823ZTnnB2 at 66 MHz: 2 kB I-Cache 1 kB D-Cache
Board: DBOX2, Philips, BMon V1.0
       Watchdog enabled
I2C:   ready
DRAM:  32 MiB
Flash: 8 MiB
Scanning JFFS2 FS:   .  | / - \ |  done.

env: found console with value ttyS0
env: found baudrate with value 9600
env: found dbox_duplex with value 0
env: found lcd_inverse with value 0
env: found lcd_contrast with value 15
env: found lcd_bias with value 0
FB:    ready
In:    serial
Out:   serial
Err:   serial
Net:   SCC
LCD:   ready

Options:
  1: Console on null
  2: Console on ttyS0
  3: Console on framebuffer
Select option (1-3), other keys to stop autoboot:  1  0 
............................................................... done
Un-Protected 63 sectors
### FS (squashfs) loading 'vmlinuz' to 0x200000
### FS load complete: 665585 bytes loaded to 0x200000
## Booting kernel from Legacy Image at 00200000 ...
   Image Name:   Linux-2.4.37.11-dbox2
   Image Type:   PowerPC Linux Kernel Image (gzip compressed)
   Data Size:    665521 Bytes = 649.9 KiB
   Load Address: 00000000
   Entry Point:  00000000
   Verifying Checksum ... OK
   Uncompressing Kernel Image ... OK
Linux version 2.4.37.11-dbox2 (dbox@linux) (gcc version 3.4.6) #4 Do 22. Sep 19:00:59 CEST 2011

On node 0 totalpages: 8192

zone(0): 8192 pages.

zone(1): 0 pages.

zone(2): 0 pages.

Kernel command line: root=/dev/mtdblock2 rootfstype=squashfs console=ttyS0,9600 dbox_duplex=0

Decrementer Frequency = 247500000/60

m8xx_wdt: active wdt found (SWTC: 0xFFFF, SWP: 0x1)

m8xx_wdt: keep-alive trigger installed (PITC: 0x2000)

Console: colour dummy device 80x25

Calibrating delay loop... 65.74 BogoMIPS

Memory: 30840k available (1132k kernel code, 336k data, 60k 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.2. (NAND) (C) 2001-2003 Red Hat, Inc.

squashfs: version 3.0 (2006/03/15) Phillip Lougher

i2c-core.o: i2c core module version 2.6.1 (20010830)

i2c-dev.o: i2c /dev entries driver module version 2.6.1 (20010830)

CPM UART driver version 0.04

ttyS0 at 0x0280 is on SMC1 using BRGÿttyS1 at 0x0380 is on SMC2 using BRG2

pty: 256 Unix98 ptys configured

half-duplex mode enabled

eth0: CPM ENET Version 0.2.dbox2 on SCC2, 00:50:9c:2b:c2:ed

loop: loaded (max 8 devices)

D-Box 2 flash driver (size->0x800000 mem->0x10000000)

D-Box 2 flash memory: Found 2 x16 devices at 0x0 in 32-bit bank

 Intel/Sharp Extended Query Table at 0x0035

cfi_cmdset_0001: Erase suspend on write enabled

Creating 6 MTD partitions on "D-Box 2 flash memory":

0x00000000-0x00020000 : "BR bootloader"

0x00020000-0x00040000 : "FLFS (U-Boot)"

0x00040000-0x006a0000 : "root (squashfs+lzma)"

0x006a0000-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)

NET4: Unix domain sockets 1.0/SMP for Linux NET4.0.

VFS: Mounted root (squashfs filesystem) readonly.

Mounted devfs on /dev

Freeing unused kernel memory: 60k init


init started: BusyBox v1.18.5 (2011-09-22 19:01:36 CEST)

starting pid 8, tty '': '/etc/init.d/sysinit'
[BOOT] running /etc/init.d/sysinit
Thu Jan  1 01:00:00 UTC 1970

starting pid 22, tty '': '/etc/init.d/rcS'

Please press Enter to activate this console. starting /etc/init.d/S05drivers ...
[BOOT] running /etc/init.d/S05drivers
tuxbox: IDE-Interface detected, Vendor: DboxBaer or kpt.ahab/Stingray

Detected STB:
	Vendor: Philips
	Model: D-BOX2  (2 flash chips)
2.Wohnzimmerbox nach reebot lädt das yadd (das passiert immer)

Code: Alles auswählen

debug: DDF: Calibrating delay loop... debug: DDF: 66.76 BogoMIPS
debug: BMon V1.0  mID 02
debug: feID 00    enxID 03
debug: fpID 52     dsID 01-66.14.cd.07.00.00-f1
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: Unknown RFC1048-tag debug: 3 debug: 4 debug: c0 debug: a8 debug: 1 debug: 1 debug: 

debug: Unknown RFC1048-tag debug: 6 debug: 8 debug: c0 debug: a8 debug: 1 debug: 1 debug: c0 debug: a8 debug: 1 debug: a debug: 

debug: Unknown RFC1048-tag debug: 11 debug: 1a debug: 2f debug: 68 debug: 6f debug: 6d debug: 65 debug: 2f debug: 64 debug: 62 debug: 6f debug: 78 debug: 70 debug: 68 debug: 69 debug: 6c debug: 69 debug: 70 debug: 73 debug: 31 debug: 2f debug: 63 debug: 64 debug: 6b debug: 72 debug: 6f debug: 6f debug: 74 debug: 

debug: Unknown RFC1048-tag debug: 1c debug: 4 debug: c0 debug: a8 debug: 1 debug: ff debug: 

debug: Got BOOTP reply from Server IP 192.168.1.10, My IP 192.168.1.13
debug: Sending TFTP-request for file u-boot-dboxphilips1
debug: Got Block #0050
debug: Got Block #0100
debug: Got Block #0150
debug: Got Block #0200
debug: Got Block #0250
debug: Got Block #0300
will verify ELF image, start= 0x800000, size= 161976
verify sig: 262
boot net: boot file has no valid signature
Branching to 0x40100


U-Boot 2011.06 (Tuxbox) (Sep 21 2011 - 12:42:55)

CPU:   PPC823ZTnnB2 at 66 MHz: 2 kB I-Cache 1 kB D-Cache
Board: DBOX2, Philips, BMon V1.0
       Watchdog enabled
I2C:   ready
DRAM:  32 MiB
Flash: 8 MiB
Using default environment

FB:    ready
In:    serial
Out:   serial
Err:   serial
Net:   SCC
BOOTP broadcast 1
DHCP client bound to address 192.168.1.13
Using SCC device
File transfer via NFS from server 192.168.1.10; our IP address is 192.168.1.13
Filename '/home/dboxphilips1/cdkroot/var/tuxbox/boot/boot.conf'.
Load address: 0x200000
Loading: *#
done
Bytes transferred = 83 (53 hex)
env: found console with value ttyS0
env: found baudrate with value 9600
env: found dbox_duplex with value 0
env: found lcd_inverse with value 0
env: found lcd_contrast with value 15
env: found lcd_bias with value 0
LCD:   ready
BOOTP broadcast 1
DHCP client bound to address 192.168.1.13
Using SCC device
File transfer via NFS from server 192.168.1.10; our IP address is 192.168.1.13
Filename '/home/dboxphilips1/cdkroot/var/tuxbox/boot/logo-lcd'.
Load address: 0x200000
Loading: *##
done
Bytes transferred = 7680 (1e00 hex)
BOOTP broadcast 1
DHCP client bound to address 192.168.1.13
Using SCC device
File transfer via NFS from server 192.168.1.10; our IP address is 192.168.1.13
Filename '/home/dboxphilips1/cdkroot/var/tuxbox/boot/logo-fb'.
Load address: 0x200000
Loading: *###
done
Bytes transferred = 13442 (3482 hex)

Options:
  1: Console on null
  2: Console on ttyS0
  3: Console on framebuffer
Select option (1-3), other keys to stop autoboot:  1  0 
BOOTP broadcast 1
DHCP client bound to address 192.168.1.13
Using SCC device
TFTP from server 192.168.1.10; our IP address is 192.168.1.13
Filename 'kernel-cdk-dboxphilips1'.
Load address: 0x200000
Loading: *#####################################################
done
Bytes transferred = 766145 (bb0c1 hex)
............................................................... done
Un-Protected 63 sectors
## Booting kernel from Legacy Image at 00200000 ...
   Image Name:   Linux-2.4.37.11-dbox2
   Image Type:   PowerPC Linux Kernel Image (gzip compressed)
   Data Size:    766081 Bytes = 748.1 KiB
   Load Address: 00000000
   Entry Point:  00000000
   Verifying Checksum ... OK
   Uncompressing Kernel Image ... OK
Linux version 2.4.37.11-dbox2 (dbox@linux) (gcc version 3.4.6) #1 Mi 21. Sep 14:22:39 CEST 2011

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=/home/dboxphilips1/cdkroot ip=192.168.1.13:192.168.1.10:192.168.1.1:255.255.255.0:::off console=ttyS0,9600 dbox_duplex=0

Decrementer Frequency = 247500000/60

m8xx_wdt: active wdt found (SWTC: 0xFFFF, SWP: 0x1)

m8xx_wdt: keep-alive trigger installed (PITC: 0x2000)

Console: colour dummy device 80x25

Calibrating delay loop... 65.74 BogoMIPS

Memory: 30628k available (1312k kernel code, 360k 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.2. (NAND) (C) 2001-2003 Red Hat, Inc.

squashfs: version 3.0 (2006/03/15) Phillip Lougher

i2c-core.o: i2c core module version 2.6.1 (20010830)

i2c-dev.o: i2c /dev entries driver module version 2.6.1 (20010830)

CPM UART driver version 0.04

ttyS0 at 0x0280 is on SMC1 using BRGttyS1 at 0x0380 is on SMC2 using BRG2

pty: 256 Unix98 ptys configured

half-duplex mode enabled

eth0: CPM ENET Version 0.2.dbox2 on SCC2, 00:50:9c:2b:c2:ed

loop: loaded (max 8 devices)

D-Box 2 flash driver (size->0x800000 mem->0x10000000)

D-Box 2 flash memory: Found 2 x16 devices at 0x0 in 32-bit bank

 Intel/Sharp Extended Query Table at 0x0035

cfi_cmdset_0001: Erase suspend on write enabled

Creating 6 MTD partitions on "D-Box 2 flash memory":

0x00000000-0x00020000 : "BR bootloader"

0x00020000-0x00040000 : "FLFS (U-Boot)"

0x00040000-0x006a0000 : "root (squashfs+lzma)"

0x006a0000-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: Complete:

      device=eth0, addr=192.168.1.13, mask=255.255.255.0, gw=192.168.1.1,

     host=192.168.1.13, domain=, nis-domain=(none),

     bootserver=192.168.1.10, rootserver=192.168.1.10, rootpath=

NET4: Unix domain sockets 1.0/SMP for Linux NET4.0.

Looking up port of RPC 100003/2 on 192.168.1.10

Looking up port of RPC 100005/1 on 192.168.1.10

VFS: Mounted root (nfs filesystem).

Mounted devfs on /dev

Freeing unused kernel memory: 68k init


init started: BusyBox v1.18.5 (2011-09-21 14:28:34 CEST)

starting pid 9, tty '': '/etc/init.d/sysinit'
[BOOT] running /etc/init.d/sysinit
Thu Jan  1 01:00:00 UTC 1970

starting pid 19, tty '': '/etc/init.d/rcS'

Please press Enter to activate this console. starting /etc/init.d/S05drivers ...
[BOOT] running /etc/init.d/S05drivers
tuxbox: IDE-Interface detected, Vendor: DboxBaer or kpt.ahab/Stingray

Detected STB:
	Vendor: Philips
	Model: D-BOX2  (2 flash chips)
3. Bürobox bootet nach dem Zufallsprinzip das Flashimage:

Code: Alles auswählen

ìdebug: DDF: Calibrating delay loop... debug: DDF: 66.76 BogoMIPS
debug: BMon V1.0  mID 02
debug: feID 00    enxID 03
debug: fpID 52     dsID 01-00.02.02.08.00.00-9c
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 #0008
debug: Got Block #0012
debug: Got Block #0016
debug: Got Block #0020
debug: Got Block #0024
debug: Got Block #0028
debug: Got Block #0032
debug: Got Block #0036
debug: Got Block #0040
debug: Got Block #0044


will verify ELF image, start= 0x800000, size= 173832
verify sig: 262
Branching to 0x40000


U-Boot 2010.03 (Tuxbox) (Jan 24 2011 - 15:32:30)

CPU:   PPC823ZTnnB2 at 65.900 MHz: 2 kB I-Cache 1 kB D-Cache
Board: DBOX2, Philips, BMon V1.0
       Watchdog enabled
I2C:   ready
DRAM:  32 MB
FLASH:  8 MB
Scanning JFFS2 FS:   .  | / .  - \ | / .  - \  done.

env: found console with value null
env: found baudrate with value 9600
env: found dbox_duplex with value 0
env: found lcd_inverse with value 0
env: found lcd_contrast with value 34
env: found lcd_bias with value 1
FB:    ready
In:    serial
Out:   serial
Err:   serial
Net:   SCC ETHERNET
LCD:   ready

Options:
  1: Console on null
  2: Console on ttyS0
  3: Console on framebuffer
Select option (1-3), other keys to stop autoboot:  1  0 
............................................................... done
Un-Protected 63 sectors
### FS (squashfs) loading 'vmlinuz' to 0x200000
### FS load complete: 671100 bytes loaded to 0x200000
## Booting kernel from Legacy Image at 00200000 ...
   Image Name:   Linux-2.4.37.10-dbox2
   Image Type:   PowerPC Linux Kernel Image (gzip compressed)
   Data Size:    671036 Bytes = 655.3 kB
   Load Address: 00000000
   Entry Point:  00000000
   Verifying Checksum ... OK
   Uncompressing Kernel Image ... OK
4. Bürobox bootet nach dem Zufallsprinzip das Yadd/CDK übers Netzwerk

Code: Alles auswählen

ídebug: DDF: Calibrating delay loop... debug: DDF: 66.76 BogoMIPS
debug: BMon V1.0  mID 02
debug: feID 00    enxID 03
debug: fpID 52     dsID 01-00.02.02.08.00.00-9c
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: Unknown RFC1048-tag debug: 3 debug: 4 debug: c0 debug: a8 debug: 1 debug: 1 debug: 

debug: Unknown RFC1048-tag debug: 6 debug: 8 debug: c0 debug: a8 debug: 1 debug: 1 debug: c0 debug: a8 debug: 1 debug: a debug: 

debug: Unknown RFC1048-tag debug: 11 debug: 1a debug: 2f debug: 68 debug: 6f debug: 6d debug: 65 debug: 2f debug: 64 debug: 62 debug: 6f debug: 78 debug: 70 debug: 68 debug: 69 debug: 6c debug: 69 debug: 70 debug: 73 debug: 32 debug: 2f debug: 63 debug: 64 debug: 6b debug: 72 debug: 6f debug: 6f debug: 74 debug: 

debug: Unknown RFC1048-tag debug: 1c debug: 4 debug: c0 debug: a8 debug: 1 debug: ff debug: 

debug: Got BOOTP reply from Server IP 192.168.1.10, My IP 192.168.1.14
debug: Sending TFTP-request for file u-boot-dboxphilips2
debug: Got Block #0050
debug: Got Block #0100
debug: Got Block #0150
debug: Got Block #0200
debug: Got Block #0250
debug: Got Block #0300
will verify ELF image, start= 0x800000, size= 161976
verify sig: 262
boot net: boot file has no valid signature
Branching to 0x40100


U-Boot 2011.06 (Tuxbox) (Sep 21 2011 - 12:42:55)

CPU:   PPC823ZTnnB2 at 66 MHz: 2 kB I-Cache 1 kB D-Cache
Board: DBOX2, Philips, BMon V1.0
       Watchdog enabled
I2C:   ready
DRAM:  32 MiB
Flash: 8 MiB
Using default environment

FB:    ready
In:    serial
Out:   serial
Err:   serial
Net:   SCC
BOOTP broadcast 1
DHCP client bound to address 192.168.1.14
Using SCC device
File transfer via NFS from server 192.168.1.10; our IP address is 192.168.1.14
Filename '/home/dboxphilips2/cdkroot/var/tuxbox/boot/boot.conf'.
Load address: 0x200000
Loading: *#
done
Bytes transferred = 83 (53 hex)
env: found console with value ttyS0
env: found baudrate with value 9600
env: found dbox_duplex with value 0
env: found lcd_inverse with value 0
env: found lcd_contrast with value 15
env: found lcd_bias with value 0
LCD:   ready
BOOTP broadcast 1
DHCP client bound to address 192.168.1.14
Using SCC device
File transfer via NFS from server 192.168.1.10; our IP address is 192.168.1.14
Filename '/home/dboxphilips2/cdkroot/var/tuxbox/boot/logo-lcd'.
Load address: 0x200000
Loading: *##
done
Bytes transferred = 7680 (1e00 hex)
BOOTP broadcast 1
DHCP client bound to address 192.168.1.14
Using SCC device
File transfer via NFS from server 192.168.1.10; our IP address is 192.168.1.14
Filename '/home/dboxphilips2/cdkroot/var/tuxbox/boot/logo-fb'.
Load address: 0x200000
Loading: *###
done
Bytes transferred = 13442 (3482 hex)

Options:
  1: Console on null
  2: Console on ttyS0
  3: Console on framebuffer
Select option (1-3), other keys to stop autoboot:  1  0 
BOOTP broadcast 1
DHCP client bound to address 192.168.1.14
Using SCC device
TFTP from server 192.168.1.10; our IP address is 192.168.1.14
Filename 'kernel-cdk-dboxphilips2'.
Load address: 0x200000
Loading: *#####################################################
done
Bytes transferred = 766145 (bb0c1 hex)
............................................................... done
Un-Protected 63 sectors
## Booting kernel from Legacy Image at 00200000 ...
   Image Name:   Linux-2.4.37.11-dbox2
   Image Type:   PowerPC Linux Kernel Image (gzip compressed)
   Data Size:    766081 Bytes = 748.1 KiB
   Load Address: 00000000
   Entry Point:  00000000
   Verifying Checksum ... OK
   Uncompressing Kernel Image ... OK
Linux version 2.4.37.11-dbox2 (dbox@linux) (gcc version 3.4.6) #1 Mi 21. Sep 14:22:39 CEST 2011

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=/home/dboxphilips2/cdkroot ip=192.168.1.14:192.168.1.10:192.168.1.1:255.255.255.0:::off console=ttyS0,9600 dbox_duplex=0

Decrementer Frequency = 247500000/60

m8xx_wdt: active wdt found (SWTC: 0xFFFF, SWP: 0x1)

m8xx_wdt: keep-alive trigger installed (PITC: 0x2000)

Console: colour dummy device 80x25

Calibrating delay loop... 65.74 BogoMIPS

Memory: 30628k available (1312k kernel code, 360k 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.2. (NAND) (C) 2001-2003 Red Hat, Inc.

squashfs: version 3.0 (2006/03/15) Phillip Lougher

i2c-core.o: i2c core module version 2.6.1 (20010830)

i2c-dev.o: i2c /dev entries driver module version 2.6.1 (20010830)

CPM UART driver version 0.04

ttyS0 at 0x0280 is on SMC1 using BRGttyS1 at 0x0380 is on SMC2 using BRG2

pty: 256 Unix98 ptys configured

half-duplex mode enabled

eth0: CPM ENET Version 0.2.dbox2 on SCC2, 00:50:9c:2c:33:e2

loop: loaded (max 8 devices)

D-Box 2 flash driver (size->0x800000 mem->0x10000000)

D-Box 2 flash memory: Found 2 x16 devices at 0x0 in 32-bit bank

 Intel/Sharp Extended Query Table at 0x0035

cfi_cmdset_0001: Erase suspend on write enabled

Creating 6 MTD partitions on "D-Box 2 flash memory":

0x00000000-0x00020000 : "BR bootloader"

0x00020000-0x00040000 : "FLFS (U-Boot)"

0x00040000-0x006a0000 : "root (squashfs+lzma)"

0x006a0000-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: Complete:

      device=eth0, addr=192.168.1.14, mask=255.255.255.0, gw=192.168.1.1,

     host=192.168.1.14, domain=, nis-domain=(none),

     bootserver=192.168.1.10, rootserver=192.168.1.10, rootpath=

NET4: Unix domain sockets 1.0/SMP for Linux NET4.0.

Looking up port of RPC 100003/2 on 192.168.1.10

Looking up port of RPC 100005/1 on 192.168.1.10

VFS: Mounted root (nfs filesystem).

Mounted devfs on /dev

Freeing unused kernel memory: 68k init


init started: BusyBox v1.18.5 (2011-09-21 14:28:34 CEST)

starting pid 9, tty '': '/etc/init.d/sysinit'
[BOOT] running /etc/init.d/sysinit
Thu Jan  1 01:00:00 UTC 1970

starting pid 19, tty '': '/etc/init.d/rcS'

Please press Enter to activate this console. starting /etc/init.d/S05drivers ...
[BOOT] running /etc/init.d/S05drivers
tuxbox: IDE-Interface detected, Vendor: DboxBaer or kpt.ahab/Stingray

Detected STB:
	Vendor: Philips
	Model: D-BOX2  (2 flash chips)
Ich hoffe dass Ihr da mehr sehen könnt!
Und es geht nicht unbedingt darum das Verhalten der Boxen jetzt zu verändern, in erster Linie würde ich gern wissen warum das so ist. Klar, wenn es einen Lösungsansatz gibt der dazu führt dass immer sofort übers Netzwerk gebootet werden kann, dann wäre das schön. Aber das ist nicht meine Intention.

Ich poste hier jetzt auch noch die Server config des ISC-DHCP-Servers, der auf einem aktuellen Debian-Squeeze rennt:

Code: Alles auswählen

host dbox1 {
  option root-path "/home/dboxphilips1/cdkroot";
  next-server 192.168.1.10;
  hardware ethernet 00:50:9C:2B:C2:ED;
  fixed-address 192.168.1.13;
  allow bootp;
  server-name "192.168.1.10";
  if exists vendor-class-identifier {
    filename "kernel-cdk-dboxphilips1";
    option root-path "/home/dboxphilips1/cdkroot";
  } else {
    filename "u-boot-dboxphilips1";
  }
}

host dbox2 {
  option root-path "/home/dboxphilips2/cdkroot";
  next-server 192.168.1.10;
  hardware ethernet 00:50:9C:2C:33:E2;
  fixed-address 192.168.1.14;
  allow bootp;
  server-name "192.168.1.10";
  if exists vendor-class-identifier {
    filename "kernel-cdk-dboxphilips2";
    option root-path "/home/dboxphilips2/cdkroot";
  } else {
    filename "u-boot-dboxphilips2";
  }
}
Zuletzt geändert von rhabarber1848 am Sonntag 2. Oktober 2011, 09:41, insgesamt 3-mal geändert.
Grund: Nachtrag BB-Code
GetAway
Contributor
Beiträge: 1509
Registriert: Donnerstag 27. Dezember 2007, 12:59

Re: booten meiner dbox2 philips per dhcp/bootp

Beitrag von GetAway »

Mach mal einen Warmstart mit (Einschaltknopf+Pfeil nach oben gleichzeitig drücken).
Wenn sie startet, Einschlatknopf loslassen und Pfeil nach oben noch etwas länger
gedrückt halten. Dann bist du beim Konsolen-prompt.

Dort gibst du mal...

Code: Alles auswählen

printenv
ein.
Dort sieht man auch die Bootreihenfolge.
Eventuell ist bei einer Box etwas verstellt.
msrx111
Interessierter
Interessierter
Beiträge: 95
Registriert: Dienstag 14. Juni 2011, 17:50
Image: eigenkompilat neutrino
Image: eigenkompilat neutrino

Re: booten meiner dbox2 philips per dhcp/bootp

Beitrag von msrx111 »

Mom muss erstmal rausfinden wie ich der Box übers serielle Kabel Befehle geben kann. Benutze Linux habe also den dboxbootmanager nicht zu meiner Verfügung. Aber ich arbeite dran. Ich melde mich wieder.
MTM
Foren-Moderator
Beiträge: 944
Registriert: Freitag 21. Januar 2005, 16:18

Re: booten meiner dbox2 philips per dhcp/bootp

Beitrag von MTM »

Hallo,
Linux version 2.4.37.11-dbox2 (dbox@cardserver) (gcc version 3.4.6) #1 Mi 21. Sep 14:22:39 CEST 2011
Was ist das denn???

MfG,
MTM.
rhabarber1848
CDK-Experte
Beiträge: 4335
Registriert: Donnerstag 3. April 2008, 14:05

Re: booten meiner dbox2 philips per dhcp/bootp

Beitrag von rhabarber1848 »

MarcM hat geschrieben:ich meine man kann im Bootloader der Dbox (BMon, nicht das UBoot, den mit dem Memtest mein ich), die Bootreihenfolge verstellen, stand glaub ich irgendwo hier im Forum.
Ich denke, Du meinst das hier: http://www.tuxbox-cvs.sourceforge.net/f ... 498#p41498
msrx111
Interessierter
Interessierter
Beiträge: 95
Registriert: Dienstag 14. Juni 2011, 17:50
Image: eigenkompilat neutrino
Image: eigenkompilat neutrino

Re: booten meiner dbox2 philips per dhcp/bootp

Beitrag von msrx111 »

Ich hab das jetzt jedenfalls erledigt. Nebenbei auch mal wieder viel über serielles loggen mit Linux gelernt. :D

Wohnzimmer

Code: Alles auswählen

printenv: 
config_mem: 0x1000091c
name                     value  default
product?:                false  false
diag-switch?:            false  true
auto-boot?:              true   true
watchdog-reboot?:        false  false
boot-cmd:                boot net flash boot net
intopt:                  0x01234567     0x12345678
Büro

Code: Alles auswählen

printenv: 
config_mem: 0x1000091c
name                     value  default
product?:                false  false
diag-switch?:            false  true
auto-boot?:              true   true
watchdog-reboot?:        false  false
boot-cmd:                boot net flash boot net
intopt:                  0x01234567     0x12345678
dbox2:root>
Den Beitrag, den Rhabarber verlinkt hat hab ich mir auch mal angeschaut. Aus diesem kann ich auf jeden Fall schliessen, dass das für mich wohl ein wenig zu weit führt, da rumzuschrauben (ich werde sicher nicht in der Hardware mit dem Lötkolben herumfuhrwerken :D ). So wie das aussieht, scheint das Verhalten der Boxen auf Zufall zu beruhen. Denn die BMon Konfiguration sieht okay aus soweit ich das sehen kann. Scheint also, wenn nicht noch jemand eine zündende Idee hat, dass ich damit leben muss. (ist kein Drama)
Aber ich habe dabei auch sonst für mich und meine Linux Kenntnisse jede Menge mitgenommen.

Edit:
Benutze bitte BBCode! Dann kann man das auch besser lesen.
Ich habe diesen Beitrag entsprechend editiert.
[/edit]
Antworten