davy_gravy wrote:
...will work on making sure this is all just right for stock firmware, as well ... test this in both boxes for another week or so, code in persistent commands/scripts for:
- setting foonas booting env vars & hdd boot after a tftp-switch done
- restoring default/stock booting env vars (maybe different scripts for V1 and V2) done
- keep-alive when no hdd is found done
- & anything else you all request... (whatever is feasible)
need to document which env vars need to be changed in order for it to work in both V1 and V2 for the stock OS, but this will have to wait until my extra hdd arrives...
would anyone be interesting in adding flash/NAND support for 256MB flash in the KuroPro?
I just tested your Netconsole_enabled_UBoot-beta_4-12-08-1318.tar.gz today on my LS Live v2 with stock OS. I can get into U-Boot upon system reboot at 192.168.11.150, however, after LS Live v2 fully boot into stock OS I found the IP address being changed to 192.168.11.145. I figured out that MAC Address of the Ethernet port actually being changed to a very odd number:
eth0 Link encap:Ethernet HWaddr 00:00:00:00:51:81
inet addr:192.168.11.145 Bcast:192.168.11.255 Mask:255.255.255.0
I can connect to U-Boot via nc using 192.168.11.145:
>nc -u -p 6666 -v 192.168.11.145 6666
HS-DHGL2B4 [192.168.11.145] 6666 (?) open
but it disconnected as soon as I press the enter key, is this normal?
The most strange behavior is that upon reboot and between it fully boot into the OS, MAC address of the Ethernet port seems able restore to it's original value, I can only use nc to connect U-Boot via 192.168.11.150 during this short period of time. Any idea what's going wrong with the change of MAC address value after using your new U-Boot and how to fix it? Many thanks!
Current U-Boot settings:
Code:
=> version
version
U-Boot 1.1.4 (Apr 12 2008 - 11:43:20) Marvell version: 1.12.1 - TINY + DG's Netconsole
=> printenv
printenv
bootargs=$(bootargs_base) $(bootargs_root)
baudrate=115200
loads_echo=0
ipaddr=192.168.11.150
serverip=192.168.11.149
rootpath=/nfs/arm
cpuName=926
CASset=min
MALLOC_len=4
bootargs_end=:::DB88FXX81:eth0:none
buffalo_ver=BOOTVER=1.09
build_time=11:43:12
initrd=initrd.buffalo
kernel=uImage.buffalo
bootargs_base=netconsole=6666@192.168.11.150/,@192.168.11.149/
bootargs_root=root=/dev/sda2 rw initrd=0x00800040,15M panic=5
autoload=no
stdin=nc
stdout=nc
stderr=nc
netmask=255.255.255.0
ncip=192.168.11.149
nc=setenv stdin nc;setenv stdout nc;setenv stderr nc
ser=setenv stdin serial;setenv stdout serial;setenv stderr serial
envfoohdd=setenv bootcmd 'ide reset; ext2load ide 0:1 0x00100000 /boot/uImage; setenv bootargs netconsole=6666@192.168.11.150/,@192.
168.11.149/ root=/dev/sda1 rw ;bootm 0x00100000'
envfooem=setenv def_tftp 'tftp 0x00800000 uImage_em ; setenv bootargs netconsole=6666@192.168.11.150/,@192.168.11.149/ root=/dev/ram
0 rw ; bootm 0x00800000'
fooboot=ide reset; ext2load ide 0:1 0x00100000 /boot/uImage; setenv bootargs netconsole=6666@192.168.11.150/,@192.168.11.149/ root=/
dev/sda1 rw ;bootm 0x00100000
foobootem=tftp 0x00800000 uImage_em ; setenv bootargs netconsole=6666@192.168.11.150/,@192.168.11.149/ root=/dev/ram0 rw ; bootm 0x0
0800000
keepalive=micon -0x01 -0x35
envreset=protect off fffff000 ffffffff ; erase fffff000 ffffffff ; protect on fffff000 ffffffff
def_tftp=tftp 0x00100000 $(kernel);tftp 0x00800000 $(initrd);setenv bootargs $(bootargs_base) $(bootargs_root) $(buffalo_ver) tftpbo
ot=yes;bootm 0x00100000 0x00800000
ethaddr=00:00:00:00:51:81
ethact=egiga0
enaMonExt=no
enaFlashBuf=yes
enaCpuStream=no
ethprime=egiga0
bootdelay=3
disaMvPnp=no
overEthAddr=no
usb0Mode=host
usb1Mode=host
filesize=4DC3E0
force_tftp=1
bootcmd=tftp 0x00100000 $(kernel);tftp 0x00800000 $(initrd);setenv bootargs $(bootargs_base) $(bootargs_root) $(buffalo_ver) tftpboo
t=yes;bootm 0x00100000 0x00800000
Environment size: 1921/4092 bytes
=>
Regrades
Samson