Seite 2 von 3

Re: Kathrein 910 hängt nach USB Flash

Verfasst: So 29. Jan 2012, 13:02
von nonima
nein habe ich nicht :)
Alles wie im Wiki beschrieben.
Mir ist nur beim ablesen der Mac aufgefallen (Aufkleber Scart Stecker), das die MAC Adresse folgendermaßen beginnt 00:1D:EC:00 und dann xxxxxx
Aber ich denke, damit hat es nichts zu tun

Re: Kathrein 910 hängt nach USB Flash

Verfasst: So 29. Jan 2012, 13:07
von DboxOldie
Also die MAC lässt sich am bestem in der U-Boot Konsole ändern !!

Box am Schalter ausschalten !!

NM Kabel dran, Putty starten, ein Taste ( Return ) am PC festhalten, Box am Schalter einschalten.
Jetzt sollte die Box mit STB7100-REF> stehenbleiben
Dann folgendes in Putty eingeben:

set ethaddr '00:1D:EC:12:34:56' ( hier natürlich Deine MAC Adresse )
Return
Kontrolle mit : print ( die MAC sollte dann auftauchen ethaddr=00:1D:EC:12:34:56 )
und dann:
save

Edit : XXXX darf natürlich NICHT in der MAC stehen, dann nimm lieber eine Fantasie MAC

Re: Kathrein 910 hängt nach USB Flash

Verfasst: So 29. Jan 2012, 13:13
von nonima
Hallo Dboxoldie,

genauso habe ich es gemacht. neustart und die MAC steht wieder bei 00.00.00.00.00.00

Grüße
Marco

Re: Kathrein 910 hängt nach USB Flash

Verfasst: So 29. Jan 2012, 13:18
von DboxOldie
Jo, dann ist in Deinen Bootargs die MAC auch noch genullt :wink:

Starte mal die U-Boot Konsole : ( also bei STB7100-REF> )

gib dann print ein, und poste mal die Ausgabe hier.

Re: Kathrein 910 hängt nach USB Flash

Verfasst: So 29. Jan 2012, 13:39
von nonima
Bitte sehr:

maxiU-Boot 1.3.1 (May 19 2010 - 23:05:16) - by SoLaLa

DRAM: 64 MB
Flash: 16 MB
In: serial
Out: serial
Err: serial
selected Image to start: ----Flash----

no originalsoft detected, trying bootargs_0, if empty trying e2-bootargs...
Hit any key to stop autoboot: 0
STB7100-REF> print
boot_param_version=22
board=stb7100ref_27
bootdelay=1
bootargs=console=ttyAS0,115200 root=/dev/mtdblock3 mem=41m bigphysarea=2984 copr ocessor_mem=2m@0x04000000,2m@0x04200000
autoload=n
gateway=192.168.2.106
bootcmd=bootm a0030000
bootdesc_0=----Flash----
bootcmd_0=run bootargs_0; bootm a0040000
bootargs_0=set bootargs console=ttyAS0,115200 root=/dev/mtdblock2 ip=192.168.2.1 08:192.168.2.106:192.168.2.1:255.255.255.0:kathrein:eth0:off mem=64m coprocessor _mem=4m@0x10000000,4m@0x10400000 rootdelay=0 nwhwconf=device:eth0,hwaddr:00:00:0 0:00:00:00 init=/bin/devinit
bootdesc_9=-USB-1-Speed-
bootcmd_9=run bootargs_9; bootm a0040000
bootargs_9=set bootargs console=ttyAS0,115200 root=/dev/sda2 rw ip=192.168.2.108 :192.168.2.106:192.168.2.1:255.255.255.0:kathrein:eth0:off mem=64m coprocessor_m em=4m@0x10000000,4m@0x10400000 rootdelay=6 nwhwconf=device:eth0,hwaddr:00:00:00: 00:00:00 init=/bin/devinit
bootdesc_8=----USB-2----
bootcmd_8=usb reset;ext2load usb 0:3 a5000000 /boot/uImage;run bootargs_8;bootm a5000000
bootargs_8=set bootargs console=ttyAS0,115200 root=/dev/sda3 rw ip=192.168.2.108 :192.168.2.106:192.168.2.1:255.255.255.0:kathrein:eth0:off mem=64m coprocessor_m em=4m@0x10000000,4m@0x10400000 rootdelay=6 nwhwconf=device:eth0,hwaddr:00:00:00:00:00:00 init=/bin/devinit
bootdesc_7=----USB-3----
bootcmd_7=usb reset;ext2load usb 0:4 a5000000 /boot/uImage;run bootargs_7;bootm a5000000
bootargs_7=set bootargs console=ttyAS0,115200 root=/dev/sda4 rw ip=192.168.2.108 :192.168.2.106:192.168.2.1:255.255.255.0:kathrein:eth0:off mem=64m coprocessor_m em=4m@0x10000000,4m@0x10400000 rootdelay=6 nwhwconf=device:eth0,hwaddr:00:00:00:00:00:00 init=/bin/devinit
bootmenutimeout=2
serverip=192.168.2.106
gatewayip=192.168.2.1
ipaddr=192.168.2.108
netmask=255.255.255.0
ethaddr=00:4D:E4:00:1D:EC => MAC
stdin=serial
stdout=serial
stderr=serial
Environment size: 1834/65532 bytes
STB7100-REF>
boot_param_version=22
board=stb7100ref_27
bootdelay=1
bootargs=console=ttyAS0,115200 root=/dev/mtdblock3 mem=41m bigphysarea=2984 coprocessor_mem=2m@0x04000000,2m@0x04200000
autoload=n
gateway=192.168.2.106
bootcmd=bootm a0030000
bootdesc_0=----Flash----
bootcmd_0=run bootargs_0; bootm a0040000
bootargs_0=set bootargs console=ttyAS0,115200 root=/dev/mtdblock2 ip=192.168.2.108:192.168.2.106:192.168.2.1:255.255.255.0:kathrein:eth0:off mem=64m coprocessor_mem=4m@0x10000000,4m@0x10400000 rootdelay=0 nwhwconf=device:eth0,hwaddr:00:00:00:00:00:00 init=/bin/devinit
bootdesc_9=-USB-1-Speed-
bootcmd_9=run bootargs_9; bootm a0040000
bootargs_9=set bootargs console=ttyAS0,115200 root=/dev/sda2 rw ip=192.168.2.108:192.168.2.106:192.168.2.1:255.255.255.0:kathrein:eth0:off mem=64m coprocessor_mem=4m@0x10000000,4m@0x10400000 rootdelay=6 nwhwconf=device:eth0,hwaddr:00:00:00:00:00:00 init=/bin/devinit
bootdesc_8=----USB-2----
bootcmd_8=usb reset;ext2load usb 0:3 a5000000 /boot/uImage;run bootargs_8;bootm a5000000
bootargs_8=set bootargs console=ttyAS0,115200 root=/dev/sda3 rw ip=192.168.2.108:192.168.2.106:192.168.2.1:255.255.255.0:kathrein:eth0:off mem=64m coprocessor_mem=4m@0x10000000,4m@0x10400000 rootdelay=6 nwhwconf=device:eth0,hwaddr:00:00:00:00:00:00 init=/bin/devinit
bootdesc_7=----USB-3----
bootcmd_7=usb reset;ext2load usb 0:4 a5000000 /boot/uImage;run bootargs_7;bootm a5000000
bootargs_7=set bootargs console=ttyAS0,115200 root=/dev/sda4 rw ip=192.168.2.108:192.168.2.106:192.168.2.1:255.255.255.0:kathrein:eth0:off mem=64m coprocessor_mem=4m@0x10000000,4m@0x10400000 rootdelay=6 nwhwconf=device:eth0,hwaddr:00:00:00:00:00:00 init=/bin/devinit
bootmenutimeout=2
serverip=192.168.2.106
gatewayip=192.168.2.1
ipaddr=192.168.2.108
netmask=255.255.255.0
ethaddr=00:4D:E4:00:1D:EC => MAC
stdin=serial
stdout=serial
stderr=serial
Environment size: 1834/65532 bytes
STB7100-REF>
boot_param_version=22
board=stb7100ref_27
bootdelay=1
bootargs=console=ttyAS0,115200 root=/dev/mtdblock3 mem=41m bigphysarea=2984 coprocessor_mem=2m@0x04000000,2m@0x04200000
autoload=n
gateway=192.168.2.106
bootcmd=bootm a0030000
bootdesc_0=----Flash----
bootcmd_0=run bootargs_0; bootm a0040000
bootargs_0=set bootargs console=ttyAS0,115200 root=/dev/mtdblock2 ip=192.168.2.108:192.168.2.106:192.168.2.1:255.255.255.0:kathrein:eth0:off mem=64m coprocessor_mem=4m@0x10000000,4m@0x10400000 rootdelay=0 nwhwconf=device:eth0,hwaddr:00:00:00:00:00:00 init=/bin/devinit
bootdesc_9=-USB-1-Speed-
bootcmd_9=run bootargs_9; bootm a0040000
bootargs_9=set bootargs console=ttyAS0,115200 root=/dev/sda2 rw ip=192.168.2.108:192.168.2.106:192.168.2.1:255.255.255.0:kathrein:eth0:off mem=64m coprocessor_mem=4m@0x10000000,4m@0x10400000 rootdelay=6 nwhwconf=device:eth0,hwaddr:00:00:00:00:00:00 init=/bin/devinit
bootdesc_8=----USB-2----
bootcmd_8=usb reset;ext2load usb 0:3 a5000000 /boot/uImage;run bootargs_8;bootm a5000000
bootargs_8=set bootargs console=ttyAS0,115200 root=/dev/sda3 rw ip=192.168.2.108:192.168.2.106:192.168.2.1:255.255.255.0:kathrein:eth0:off mem=64m coprocessor_mem=4m@0x10000000,4m@0x10400000 rootdelay=6 nwhwconf=device:eth0,hwaddr:00:00:00:00:00:00 init=/bin/devinit
bootdesc_7=----USB-3----
bootcmd_7=usb reset;ext2load usb 0:4 a5000000 /boot/uImage;run bootargs_7;bootm a5000000
bootargs_7=set bootargs console=ttyAS0,115200 root=/dev/sda4 rw ip=192.168.2.108:192.168.2.106:192.168.2.1:255.255.255.0:kathrein:eth0:off mem=64m coprocessor_mem=4m@0x10000000,4m@0x10400000 rootdelay=6 nwhwconf=device:eth0,hwaddr:00:00:00:00:00:00 init=/bin/devinit
bootmenutimeout=2
serverip=192.168.2.106
gatewayip=192.168.2.1
ipaddr=192.168.2.108
netmask=255.255.255.0
ethaddr=00:4D:E4:00:1D:EC => MAC
stdin=serial
stdout=serial
stderr=serial
Environment size: 1834/65532 bytes
STB7100-REF> em=2m@0x04000000,2m@0x04200000
STB7100-REF> autoload=n
ERROR: There is a global environment variable with the same name.
STB7100-REF> gateway=192.168.2.106
ERROR: There is a global environment variable with the same name.
STB7100-REF> bootcmd=bootm a0030000
ERROR: There is a global environment variable with the same name.
Unknown command 'a0030000' - try 'help'
STB7100-REF> bootdesc_0=----Flash----
ERROR: There is a global environment variable with the same name.
STB7100-REF> bootcmd_0=run bootargs_0; bootm a0040000
ERROR: There is a global environment variable with the same name.
Unknown command 'bootargs_0' - try 'help'
## Booting image at a0040000 ...
Image Name: Linux-2.6.17.14_stm22_0041
Image Type: SuperH Linux Kernel Image (gzip compressed)
Data Size: 1412425 Bytes = 1.3 MB
Load Address: 84001000
Entry Point: 84002000
Verifying Checksum ... OK
Uncompressing Kernel Image ... OK

Starting kernel console=ttyAS0,115200 root=/dev/mtdblock3 mem=41m bigphysarea=2984 coprocessor_mem=2m@0x04000000,2m@0x04200000 - 0x00000000 - 0 ...
Hab das mal etwas übersichtlicher Strukturiert -gismotro- 29.01.2012 13:50

Re: Kathrein 910 hängt nach USB Flash

Verfasst: So 29. Jan 2012, 13:42
von nonima
jetzt sehe ich aber die Mäcauch nicht.

Re: Kathrein 910 hängt nach USB Flash

Verfasst: So 29. Jan 2012, 13:54
von Gismotro
Suchst Du diese ?

ethaddr=00:4D:E4:00:1D:EC => MAC (Auszug aus Log zwei Posts höher)

Dein Problem liegt eher hier:

bootargs_0=set bootargs console=ttyAS0,115200 root=/dev/mtdblock2 ip=192.168.2.1 08:192.168.2.106:192.168.2.1:255.255.255.0:kathrein:eth0:off mem=64m coprocessor _mem=4m@0x10000000,4m@0x10400000 rootdelay=0 nwhwconf=device:eth0,hwaddr:00:00:0 0:00:00:00 init=/bin/devinit

Re: Kathrein 910 hängt nach USB Flash

Verfasst: So 29. Jan 2012, 13:56
von nonima
nein, wenn ich in die Bootargs schaue ist dort auch die Mäc genullt

Re: Kathrein 910 hängt nach USB Flash

Verfasst: So 29. Jan 2012, 13:57
von nonima
ok, wie sieht die Lösung hierfür aus?
:angryfire:

Re: Kathrein 910 hängt nach USB Flash

Verfasst: So 29. Jan 2012, 14:02
von Gismotro
Du mußt deine Bootargets anpassen:
set bootargs console=ttyAS0,115200 root=/dev/sda2 rw ip=${ipaddr}:${serverip}:${gatewayip}:${netmask}:kathrein:eth0:off mem=64m coprocessor_mem=4m@0x10000000,4m@0x10400000 rootdelay=${rootdelay} usb-storage.usbwait123=${front}:${backupper}:${backlower} nwhwconf=device:eth0,hwaddr:${ethaddr} init=/bin/devinit
Dann läuft das automatisch.

Mehr zum Thema findest Du im Wiki: http://wiki.mbremer.de/index.php/Haupts ... /#Bootargs

Re: Kathrein 910 hängt nach USB Flash

Verfasst: So 29. Jan 2012, 14:02
von DboxOldie
Kleinen Moment mal eben sortieren...............

Re: Kathrein 910 hängt nach USB Flash

Verfasst: So 29. Jan 2012, 14:20
von DboxOldie
So kopier dies mal in die U-Boot Konsole: ( aber mit Hochkommas !! )

Code: Alles auswählen

set bootargs_0 'set bootargs console=ttyAS0,115200 root=/dev/mtdblock2 ip=192.168.2.108:192.168.2.106:192.168.2.1:255.255.255.0:kathrein:eth0:off mem=64m coprocessor_mem=4m@0x10000000,4m@0x10400000 rootdelay=0 nwhwconf=device:eth0,hwaddr:00:4D:E4:00:1D:EC init=/bin/devinit'
Dann : Return
Dann zur Kontrolle: print

Dann : save
Dann neu starten
Jetzt sollte das Flash starten, und das Netzwerk gehen. Die anderen Bootargs für USB kannst Du dann leicht mit dem BAE (Bootargs Editor) anpassen

Re: Kathrein 910 hängt nach USB Flash

Verfasst: So 29. Jan 2012, 14:33
von BPanther
Gismotro hat geschrieben:ethaddr=00:4D:E4:00:1D:EC => MAC (Auszug aus Log zwei Posts höher)
Falsch rum, richtig wäre 00:1D:EC:00:4D:E4
Gismotro hat geschrieben:Dein Problem liegt eher hier:

bootargs_0=set bootargs console=ttyAS0,115200 root=/dev/mtdblock2 ip=192.168.2.1 08:192.168.2.106:192.168.2.1:255.255.255.0:kathrein:eth0:off mem=64m coprocessor _mem=4m@0x10000000,4m@0x10400000 rootdelay=0 nwhwconf=device:eth0,hwaddr:00:00:0 0:00:00:00 init=/bin/devinit
Genau, an diese Stelle gehört eine Variable namens ${ethaddr} ansonsten ist es nämlich egal was in ethaddr steht.

Re: Kathrein 910 hängt nach USB Flash

Verfasst: So 29. Jan 2012, 14:44
von nonima
ok, vielen dank ich werde es heute abend ausprobieren.
Vielen Dank schonmal für die ganzen Hilfestelölungn, bin ich so aus anderen Boards nicht gewöhnt :bounce:

Re: Kathrein 910 hängt nach USB Flash

Verfasst: So 29. Jan 2012, 15:10
von Gismotro
Das zeichnet dieses Board aus. :bounce: :drinking: