In this instruction, the Pogo E02 is used as example. The current installed u-boot is uboot.2016.05-tld-1 or later.
It will work if you have uboot.2016.05-tld-1 or later installed on your box. Earlier u-boot will work with some more adjustment.
Preparation:
Download the uboot.2016.05-tld-1.environment.bodhi.tar tarball from the u-boot release thread:
https://forum.doozan.com/read.php?3,12381
Instruction:
1. Extract the tarball uboot.2016.05-tld-1.environment.bodhi.tar and copy the envs file in text format to the Debian-4.12.1-kirkwood-tld-1-rootfs-bodhi.tar.bz2 rootfs on USB.
(Assuming the USB rootfs is mounted on another Linux box as /media/sdb1)
2. Modify the envs in uEnv.txt to make it usable in netconsole (that you already has set up and working).
Remove the following lines in uEnv.txt
3. sync and umount the USB rootfs
4. Plug the USB rootfs into the Pogo E02 and power up, interrupt netconsole. At the prompt:
5. At this point your current u-boot envs are set to a correct set of u-boot envs to boot the USB rootfs (If you want confirmation, post the log of netconsole up until this point here).
Go ahead and boot
It will work if you have uboot.2016.05-tld-1 or later installed on your box. Earlier u-boot will work with some more adjustment.
Preparation:
Download the uboot.2016.05-tld-1.environment.bodhi.tar tarball from the u-boot release thread:
https://forum.doozan.com/read.php?3,12381
Quote
a. Download the default u-boot envs at Dropbox:
uboot.2016.05-tld-1.environment.bodhi.tar
md5:
3823eef10011b864859d31a76470e0e3
sha256:
c8db95a4225e8d78bdaaaa372bd5a87e4b98f3448dd9c62fc96c72b2df1a997c
Instruction:
1. Extract the tarball uboot.2016.05-tld-1.environment.bodhi.tar and copy the envs file in text format to the Debian-4.12.1-kirkwood-tld-1-rootfs-bodhi.tar.bz2 rootfs on USB.
(Assuming the USB rootfs is mounted on another Linux box as /media/sdb1)
cp -a uboot.2016.05-tld-1.environment /media/sdb1/boot/uEnv.txt
2. Modify the envs in uEnv.txt to make it usable in netconsole (that you already has set up and working).
Remove the following lines in uEnv.txt
ethaddr=52:3b:20:9c:11:51 ipaddr=192.168.0.231 serverip=192.168.0.220 stderr=serial stdin=serial stdout=serial
3. sync and umount the USB rootfs
cd sync
4. Plug the USB rootfs into the Pogo E02 and power up, interrupt netconsole. At the prompt:
usb start ext2load usb 0:1 0x810000 /boot/uEnv.txt env import -t 0x810000 $filesize printenv
5. At this point your current u-boot envs are set to a correct set of u-boot envs to boot the USB rootfs (If you want confirmation, post the log of netconsole up until this point here).
Go ahead and boot
boot