Dear Experts
I've upgraded my Pogo E02 to the mainline uboot - all went smoothly which is great, but... I can't get netconsole working. Would really like to have it for troubleshooting since uboot no longer supports boot-to-stock Pogo.
During boot I see nothing at all on the listener. It's driving me mad because it must be something obvious!
- If I boot into Alarm and install openbsd-netcat then i can correctly see output on my laptop; so seems like firewall etc. is all fine.
- nc listener: I've tried various version of nc & socat on Fedora 20, Ubuntu and Win7!
- I don't know if it worked on older uboot (never tried).
- Both pooters are using DCHP but having fixed IP set on the router.
- Laptop is 192.168.0.70 (wifi). Pogo is 192.168.0.11 (wired).
- gnu-netcat doesn't seem work when run on the pogo, it just returns immediately no matter what I do. Might be a clue there?
UBoot version and environment below.
Thanks in advance for any help!
Rob
$this->bbcode_second_pass_code('', '
U-Boot 2014.04.R3-1 (May 26 2014 - 19:45:55) Arch Linux ARM
[root@alarm ~]# fw_printenv
baudrate=115200
bootcmd=usb start; setenv letter 9;for type in usb; do for disk in 0 1 2 3; do if ${type} part ${disk};then setexpr letter $letter + 1;run load;fi;done;done;
bootdelay=3
bootm=echo Booting from ${disk} ...; run setargs; bootm ${loadaddr};
bootz=echo Booting from ${disk} ...; run setargs; bootz ${loadaddr} - ${fdt_addr};
console=ttyS0
fdt_addr=0x800000
fdt_file=/boot/dtbs/kirkwood-pogo_e02.dtb
importbootenv=echo Importing environment (uEnv.txt)...; env import -t $loadaddr $filesize
load=echo Attempting to boot from ${type} ${disk}:1...;if run loadbootenv; then run importbootenv;fi;echo Checking if uenvcmd is set ...;if test -n $uenvcmd; then echo Running uenvcmd ...;run uenvcmd;fi;echo Running default loadzimage ...;if run loadzimage; then run loadfdt;run bootz;fi;echo Running default loaduimage ...;if run loaduimage; then run bootm;fi;
loadaddr=0x810000
loadbootenv=load ${type} ${disk}:1 ${loadaddr} /boot/uEnv.txt
loadfdt=load ${type} ${disk}:1 ${fdt_addr} ${fdt_file}
loaduimage=load ${type} ${disk}:1 ${loadaddr} ${uimage}
loadzimage=load ${type} ${disk}:1 ${loadaddr} ${zimage}
mtdids=nand0=orion_nand
mtdparts=mtdparts=orion_nand:1M(u-boot),-(rootfs)
setargs=setenv bootargs console=${console},${baudrate} ${optargs} root=/dev/sd${letter}1 rw rootwait ${mtdparts}
uimage=/boot/uImage
zimage=/boot/zImage
ethaddr=00:25:31:00:56:F6
usb_rootfstype=ext3
ipaddr=192.168.0.11
start_netconsole=setenv ncip $serverip; setenv bootdelay 10; setenv stdin nc; setenv stdout nc; setenv stderr nc; version;
preboot=run if_netconsole start_netconsole
if_netconsole=ping $serverip
serverip=192.168.0.70
')