I try to reactivate my old goflex net box but cannot get it to boot.
I used a USB drive formatted in ext3 with label 'rootfs'. Put the 5.13.6 kirkwood on it. With serial console, I got this:
Here is the uboot environment on board:
Please give me some suggestions how to change the uEnv to make it boot. My plan is to boot into 5.13.6, then update uboot to 2017 (latest).
I note the current uEnv has nothing about dtb. So I tried to add "dtb_file=/boot/dts/kirkwood-goflexnet.dtb" but still get the same error.
Meanwhile, I have a Pogo E02, which was updated to uboot 2017 last month. I compared the parameters and they look almost the same. Maybe there are some differences between them that I missed?
I used a USB drive formatted in ext3 with label 'rootfs'. Put the 5.13.6 kirkwood on it. With serial console, I got this:
U-Boot 2014.07-tld-1 (Jul 18 2014 - 00:35:50)
Seagate GoFlex Net
SoC: Kirkwood 88F6281_A1
DRAM: 128 MiB
WARNING: Caches not enabled
NAND: 256 MiB
In: serial
Out: serial
Err: serial
Net: egiga0
88E1116 Initialized on egiga0
Hit any key to stop autoboot: 0
(Re)start USB...
USB0: USB EHCI 1.00
scanning bus 0 for devices... 2 USB Device(s) found
scanning usb for storage devices... 1 Storage Device(s) found
** Bad device usb 0x800000 **
** Bad device usb 0x1100000 **
Wrong Image Format for bootm command
ERROR: can't get kernel image!
Unknown command 'mmc' - try 'help'
** Bad device mmc 0 **
** Bad device mmc 0 **
Wrong Image Format for bootm command
ERROR: can't get kernel image!
Reset IDE: ide_preinit failed
** Bad device size - ide 0 **
** Bad device size - ide 0 **
Wrong Image Format for bootm command
ERROR: can't get kernel image!
resetting ...
Here is the uboot environment on board:
arcNumber=3089 baudrate=115200 bootcmd=run bootcmd_usb; run bootcmd_mmc; run bootcmd_sata; reset bootcmd_mmc=run mmc_init; run set_bootargs_mmc; run mmc_boot bootcmd_sata=run sata_init; run set_bootargs_sata; run sata_boot; bootcmd_usb=run usb_init; run set_bootargs_usb; run usb_boot; bootdelay=10 console=ttyS0,115200 device=0:1 ethact=egiga0 ethaddr=00:00 if_netconsole=ping $serverip ipaddr=192.168.1.30 led_error=orange blinking led_exit=green off led_init=green blinking mainlineLinux=yes mmc_boot=mw 0x800000 0 1; run mmc_load_uimage; if run mmc_load_uinitrd; then bootm 0x800000 0x1100000; else bootm 0x800000; fi mmc_init=mmc rescan mmc_load_uimage=ext2load mmc $device 0x800000 /boot/uImage mmc_load_uinitrd=ext2load mmc $device 0x1100000 /boot/uInitrd mmc_root=/dev/mmcblk0p1 mtddevname=rootfs mtddevnum=2 mtdids=nand0=orion_nand mtdparts=mtdparts=orion_nand:1M(u-boot),4M(uImage),32M(rootfs),-(data) partition=nand0,2 preboot_nc=run if_netconsole start_netconsole rootdelay=10 rootfstype=ext4 sata_boot=mw 0x800000 0 1; run sata_load_uimage; if run sata_load_uinitrd; then bootm 0x800000 0x1100000; else bootm 0x800000; fi sata_init=ide reset sata_load_uimage=ext2load ide $device 0x800000 /boot/uImage sata_load_uinitrd=ext2load ide $device 0x1100000 /boot/uInitrd sata_root=/dev/sda1 serverip=192.168.1.15 set_bootargs_mmc=setenv bootargs console=$console root=$mmc_root rootdelay=$rootdelay rootfstype=$rootfstype $mtdparts set_bootargs_sata=setenv bootargs console=$console root=$sata_root rootdelay=$rootdelay rootfstype=$rootfstype $mtdparts set_bootargs_usb=setenv bootargs console=$console root=$usb_root rootdelay=$rootdelay rootfstype=$rootfstype $mtdparts start_netconsole=setenv ncip $serverip; setenv bootdelay 10; setenv stdin nc; setenv stdout nc; setenv stderr nc; version; stderr=serial stdin=serial stdout=serial usb_boot=mw 0x800000 0 1; run usb_load_uimage; if run usb_load_uinitrd; then bootm 0x800000 0x1100000; else bootm 0x800000; fi usb_init=usb start usb_load_uimage=ext4load usb 0x800000 /boot/uImage usb_load_uinitrd=ext4load usb 0x1100000 /boot/uInitrd usb_root=LABEL=rootfs
Please give me some suggestions how to change the uEnv to make it boot. My plan is to boot into 5.13.6, then update uboot to 2017 (latest).
I note the current uEnv has nothing about dtb. So I tried to add "dtb_file=/boot/dts/kirkwood-goflexnet.dtb" but still get the same error.
Meanwhile, I have a Pogo E02, which was updated to uboot 2017 last month. I compared the parameters and they look almost the same. Maybe there are some differences between them that I missed?