the lsprostockuboot.bin that jonli left behind was a version 1.01 - probably from a lsprov1 ... it works w/ foonas just fine, even on the lsprov2... you can see the version string below (
buffalo_ver=BOOTVER=1.01 )... the only change that is needed between V1 and V2 is that the v2 needs 0:1 ...
Code:
root@lsarm:~# fw_printenv
MTD_open
MTD_read
MTD_read
MTD_close
baudrate=115200
loads_echo=0
ipaddr=192.168.11.150
serverip=192.168.11.1
rootpath=/nfs/arm
cpuName=926
CASset=min
MALLOC_len=4
ethprime=egiga0
bootargs_end=:::DB88FXX81:eth0:none
buffalo_ver=BOOTVER=1.01
build_time=10:35:38
kernel=uImage.buffalo
bootargs_base=console=ttyS0,115200
bootargs_root=root=/dev/sda2 rw initrd=0x00800040,15M panic=5
def_tftp=tftp 0x00100000 $(kernel);tftp 0x00800000 $(initrd);setenv bootargs $(bootargs_base) $(bootargs_root) $(buffalo_ver);bootm 0x001000
usb0Mode=host
usb1Mode=host
ethact=egiga0
ethaddr=00:16:01:41:4E:2B
filesize=22D270
bootargs=console=ttyS0,115200 root=/dev/sda1 rw
initrd=uImage
stdin=serial
stdout=serial
stderr=serial
enaMonExt=no
enaFlashBuf=yes
enaCpuStream=no
bootdelay=3
disaMvPnp=no
overEthAddr=no
force_tftp=1
bootcmd=ext2load ide 0:1 0x00100000 /boot/uImage; setenv bootargs console=ttyS0,115200 root=/dev/sda1 rw ; bootm 0x00100000
the version 109 stuff for sure does have some sort of blocks built in that either by intent or otherwise make it difficult to use w/ anything other than stock OS ... a fresh build of version 109 makes it impossible to start up automatically... the tftp alarm comes on, since it looks for initrd in partition 1 and can't find it...
but if you change the env var "initrd" to have the value "boot/uImage" it does overcome this obstacle... and does boot automatically into foonas...
Code:
root@lsarm:~# fw_printenv
baudrate=115200
loads_echo=0
rootpath=/nfs/arm
cpuName=926
CASset=min
MALLOC_len=4
bootargs_end=:::DB88FXX81:eth0:none
ethact=egiga0
ethaddr=00:16:01:41:4E:2B
bootargs=console=ttyS0,115200 root=/dev/sda1 rw
buffalo_ver=BOOTVER=1.09
build_time=14:15:16
kernel=uImage.buffalo
bootargs_base=console=ttyS0,115200
bootargs_root=root=/dev/sda2 rw initrd=0x00800040,15M panic=5
def_tftp=tftp 0x00100000 $(kernel);tftp 0x00800000 $(initrd);setenv bootargs $(bootargs_base) $(bootargs_root) $(buffalo_ver) tftpboot=yes;bootm 0x00100000 0x00800000
stdin=serial
stdout=serial
stderr=serial
enaMonExt=no
enaFlashBuf=yes
enaCpuStream=no
ethprime=egiga0
bootdelay=3
disaMvPnp=no
overEthAddr=no
usb0Mode=host
usb1Mode=host
force_tftp=1
filesize=1b9c38
fileaddr=100000
ipaddr=192.168.11.150
serverip=192.168.11.149
bootcmd=ext2load ide 0:1 0x00100000 /boot/uImage; setenv bootargs console=ttyS0,115200 root=/dev/sda1 rw ; bootm 0x00100000
initrd=boot/uImage
EDIT: I've also confirmed that the custom uboot w/ widened commands here
http://buffalo.nas-central.org/download ... bin.tar.gz works for foonas, as long as you set the initrd env var to boot/uImage ... and changes are persistent...
I'll try this again w/ the netconsole version again tomorrow... but maybe with the non-netconsole 1.1.4 uboot source first, to see if perhaps there was some minor change in 1.1.4 that we need to patch...
EDIT2: there are some differences in ext2 stuff, so this may be why the ext2 command set wasn't working right... the ide commands seem to work correctly though ...
_________________
LS1 (foonas, nfs,
Tranmission &
p910nd print server,
Firefly for my
Roku)
LS-HG500 (Lenny)
Various LS-Pros v1,v2 (unbricked w/ serial & jtag)
KuroPro, LS2 & KuroHG (foonas)
Working on
davysweather.dyndns.org lately...
=> wooohooo!
wooohooo!
Unknown command 'wooohooo!' - try 'help'