
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
Environment size: 1834/65532 bytesboot_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 bytesboot_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
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
Hab das mal etwas übersichtlicher Strukturiert -gismotro- 29.01.2012 13:50Environment 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 ...
Dann läuft das automatisch.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
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'
Falsch rum, richtig wäre 00:1D:EC:00:4D:E4Gismotro hat geschrieben:ethaddr=00:4D:E4:00:1D:EC => MAC (Auszug aus Log zwei Posts höher)
Genau, an diese Stelle gehört eine Variable namens ${ethaddr} ansonsten ist es nämlich egal was in ethaddr steht.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