Thanks for that.
I had a look around and was able to work out how to do a "tftpboot" with my current kernel and also the latest kernel from the linux-kirkwood-dt package.
Using my current kernel worked (so I proved I could do it):
$this->bbcode_second_pass_code('', 'Marvell>> tftpboot 00800000 uImage
Using egiga0 device
TFTP from server 192.168.1.10; our IP address is 192.168.1.11
Filename 'uImage'.
Load address: 0x800000
Loading: #################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
######################################################
done
Bytes transferred = 4600064 (463100 hex)
Marvell>> bootm
## Booting image at 00800000 ...
Image Name: Linux-4.4.97-1-ARCH
Created: 2017-11-11 4:51:55 UTC
Image Type: ARM Linux Kernel Image (uncompressed)
Data Size: 4600000 Bytes = 4.4 MB
Load Address: 00008000
Entry Point: 00008000
Verifying Checksum ... OK
OK
Starting kernel ...
[ 0.000000] Booting Linux on physical CPU 0x0
[ 0.000000] Initializing cgroup subsys cpuset
[ 0.000000] Initializing cgroup subsys cpu
[ 0.000000] Initializing cgroup subsys cpuacct
[ 0.000000] Linux version 4.4.97-1-ARCH (builduser@leming) (gcc version 7.2.0 (GCC) ) #1 PREEMPT Sat Nov 11 04:51:38 UTC 2017
[ 0.000000] CPU: Feroceon 88FR131 [56251311] revision 1 (ARMv5TE), cr=0005397f
[ 0.000000] CPU: VIVT data cache, VIVT instruction cache
etc...
')
I extracted the kernel from the latest linux-kirkwood-dt package and got:
$this->bbcode_second_pass_code('', 'Marvell>> tftpboot 00800000 zImage
Using egiga0 device
TFTP from server 192.168.1.10; our IP address is 192.168.1.11
Filename 'zImage'.
Load address: 0x800000
Loading: #################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
##############################
done
Bytes transferred = 5141928 (4e75a8 hex)
Marvell>> bootm
## Booting image at 00800000 ...
Bad Magic Number
Saving Environment to NAND...
Erasing Nand...Writing to Nand... done
Marvell>>
')
I think this proved that my old version isn't up to it (I believe).
Looking at the U-Boots available via pacman:
$this->bbcode_second_pass_code('', '[root@crusty dev]# pacman -Ss uboot
alarm/uboot-dockstar 2016.09-1
U-Boot for the Seagate FreeAgent DockStar
alarm/uboot-goflexhome 2016.09-1
U-Boot for the Seagate GoFlex Home
alarm/uboot-goflexnet 2016.09-1
U-Boot for the Seagate GoFlex Net
alarm/uboot-guruplug 2016.09-1
U-Boot for the Guruplug (plus)
alarm/uboot-nsa310 2016.09-1
U-Boot for the Zyxel NSA310
alarm/uboot-nsa320 2016.09-1
U-Boot for the Zyxel NSA320
alarm/uboot-nsa325 2016.09-1
U-Boot for the Zyxel NSA325
alarm/uboot-olinuxino 2016.07-1
U-Boot for i.MX233-OLinuXino
alarm/uboot-oxnas 2013.10-2
U-Boot for PLX/Oxford Semiconductor NAS7820
alarm/uboot-pogo_e02 2016.09-1
U-Boot for the Pogoplug V2 (E02)
alarm/uboot-pogoplugv4 2016.09-1
U-Boot for the Pogoplug V4 & Pogoplug Mobile
alarm/uboot-sheevaplug 2016.09-1
U-Boot for the Sheevaplug (esata)
alarm/uboot-tools 2018.03-1
U-Boot Tools
')
there isn't one for my Tonidoplug2.
Any pointers as to how I go about getting the latest U-Boot for my Tnidoplug2?
Thanks in advance,
Brian