Question about updating Uboot for a PogoPlug V3 classic Oxnas (OX820)
April 28, 2020 01:28PM
Hi Bodhi,

I have another PogoPlug V3 circa 2012 that unfortunately do not have a running system and I would like to update it to newer Uboot to use your Debian rootfs, since I understand that your newer rootfs requires newer Uboot.

What is the best way to achieve this without a serial cable? I was looking for Debian-3.xx rootfs on your dropbox but it appears to be gone.

Thanks in advance for your help.
nnSlick
Re: Question about updating Uboot for a PogoPlug V3 classic Oxnas (OX820)
April 28, 2020 06:04PM
nnSlick,

> I have another PogoPlug V3 circa 2012 that
> unfortunately do not have a running system

Do you recall how it was set up to run in 2012? was it ALARM installation? If I know what you did back then, I could potentially show you how to boot with an old Debian rootfs.

> What is the best way to achieve this without a
> serial cable?

There are a few alternatives.

- Boot old Debian rootfs by guessing what envs are currently in u-boot.
- Boot with a SATA drive, specifically prepared to by pass u-boot on NAND. This requires openning the box and connect a SATA cable to an outside bare disk or eSATA enclosure.
- Connect serial console (easy, no soldering needed).

-bodhi
===========================
Forum Wiki
bodhi's corner (buy bodhi a beer)
Re: Question about updating Uboot for a PogoPlug V3 classic Oxnas (OX820)
April 28, 2020 07:39PM
Bodhi,

As always I really do appreciate your quick response and help.
>
> Do you recall how it was set up to run in 2012?
> was it ALARM installation? If I know what you did
> back then, I could potentially show you how to
> boot with an old Debian rootfs.
>

I have two units, and it looks like back then I 'hacked' them both to boot from a SATA hard drive (via a SATA cable) to run ALARM. One unit boots and I was able to install your new uBoot after booting into ALARM and now have Debian running. The other also has a SATA hard drive connected via a SATA cable but it refuses to boot, the LED keeps flashing.


> There are a few alternatives.
>
> - Boot old Debian rootfs by guessing what envs are
> currently in u-boot.
I was hoping to be able to do this with your old Debian rootfs.

> - Boot with a SATA drive, specifically prepared to
> by pass u-boot on NAND. This requires openning the
> box and connect a SATA cable to an outside bare
> disk or eSATA enclosure.
I think this hardware set up is already done, I have a SATA cable connected to an outside hard drive.

> - Connect serial console (easy, no soldering
> needed).
I remember did build a serial cable, but could not locate it at the moment. I guess this would be the last resort.

Thanks,
nnSlick
Re: Question about updating Uboot for a PogoPlug V3 classic Oxnas (OX820)
April 28, 2020 07:59PM
nnSlick,

To recreate the SATA hack drive is more time consuming.

So I will try to restore the post's part for older rootfs (should be in my saved release notes).

-bodhi
===========================
Forum Wiki
bodhi's corner (buy bodhi a beer)
Re: Question about updating Uboot for a PogoPlug V3 classic Oxnas (OX820)
April 28, 2020 08:12PM
I've hijacked the 2nd post in the release thread to make it an older releases post. You can find rootfs 3.x in there.

https://forum.doozan.com/read.php?2,16044,16065#msg-16065

-bodhi
===========================
Forum Wiki
bodhi's corner (buy bodhi a beer)
Re: Question about updating Uboot for a PogoPlug V3 classic Oxnas (OX820)
April 28, 2020 08:31PM
Bodhi,

Wow, appreciate your prompt response!

The link to Debian-3.17 rootfs on Dropbox seems to be expired though, as I get a 404 error trying to download it.

nnSlick
Re: Question about updating Uboot for a PogoPlug V3 classic Oxnas (OX820)
April 28, 2020 09:08PM
Ok let me check.

-bodhi
===========================
Forum Wiki
bodhi's corner (buy bodhi a beer)
Re: Question about updating Uboot for a PogoPlug V3 classic Oxnas (OX820)
April 28, 2020 09:39PM
Turned out I've removed that file to gain back some Dropbox space when it ran low. I've re-uploaded it just now.


Quote
https://forum.doozan.com/read.php?2,16044,16044#msg-16044


Updated 02 Nov 2014:

Rootfs Debian-3.17.0-oxnas-tld-1-rootfs-bodhi.tar.bz2 was uploaded. This rootfs is to keep in sync with kernel Linux-3.17.0-oxnas-tld-1.

Basic minimal Debian Oxnas rootfs for Popo Pro/Classic V3 plug:

- tarball size: 83M
- install size: 251M
- a basic wheezy rootfs
- Installed packages: nano, avahi, ntp, busybox-syslogd (log to RAM), htop, dialog, bz2.
- see LED controls in /etc/rc.local, and /etc/rc0.d/K08halt
- see some useful aliases in /root/.profile
- root password: root

Download at Dropbox:

Debian-3.17.0-oxnas-tld-1-rootfs-bodhi.tar.bz2 (re-uploaded Apr 28, 2020).

md5:
c8e9df471f331c56befc4051a754bfea

-bodhi
===========================
Forum Wiki
bodhi's corner (buy bodhi a beer)
Re: Question about updating Uboot for a PogoPlug V3 classic Oxnas (OX820)
April 29, 2020 07:26AM
Bodhi,

Thanks for the link and for re-uploading the old rootfs. I downloaded it and try but the plug does not boot.

Since I have another unit working I will put the this one in the garage and will try to revive it with a serial cable.

You are awesome and I really do appreciate your help.

Thanks,
nnSlick.
Re: Question about updating Uboot for a PogoPlug V3 classic Oxnas (OX820)
April 29, 2020 04:37PM
nnSlick,

> Thanks for the link and for re-uploading the old
> rootfs. I downloaded it and try but the plug does
> not boot.
>
> Since I have another unit working I will put the
> this one in the garage and will try to revive it
> with a serial cable.
>

In case you want to give one more shot.

I forgot that you were booting Arch with stock u-boot circa 2012. So the the Debian rootfs needs to have uImage with DTB appended (Step 4). It cannot be used as is, out of the box.


> You are awesome and I really do appreciate your
> help.

My pleasure!

-bodhi
===========================
Forum Wiki
bodhi's corner (buy bodhi a beer)
Re: Question about updating Uboot for a PogoPlug V3 classic Oxnas (OX820)
May 07, 2021 08:44AM
Hello,

I have a similar problem like the original poster. bought an old pogo pro who previously seems to boot with arch, but keep original u-boot. Envs look like a mess. Is it possible to boot debian rootfs 4.4.54 by changing the envs on original uboot or must i try to create an arch usb stick? Log was created with latest rootfs on the usb stick

This is the current status (access via serial):
Printenv
CE>> printenv
baudrate=115200
ethaddr=XX:XX:XX:XX:XX:XX
cesvcid=XXXXXXXXXXXXXXXXXXXXXX
ceboardver=PPRO1
bootdelay=10
loads_echo=0
netmask=255.255.0.0
usb_ready_retry=15
uenv_read=echo loading envs from $devtype $disknum ...; if load $devtype $disknum:1 0x60500000 /boot/uEnv.txt; then setenv uenv_loaded 1; fi
uenv_read_disk=if test $devtype -eq mmc; then if $devtype part; then run uenv_read;  fi; else if $devtype part $disknum; then run uenv_read; fi;  fi
uenv_load=run uenv_init_devices; setenv uenv_loaded 0; for devtype in $devices;  do for disknum in 0; do run uenv_read_disk; done; done;
uenv_init_devices=setenv init_usb "usb start";  setenv init_ide "ide reset";  setenv init_mmc "mmc rescan"; for devtype in $devices; do run init_$devtype; done;
uenv_import=echo importing envs ...; env import -t 0x60510000  $filesize
start_netconsole=setenv ncip $serverip; setenv bootdelay 10; setenv stdin nc; setenv stdout nc; setenv stderr nc; version;
set_bootargs=setenv bootargs console=ttyS0,115200 root=LABEL=rootfs rootdelay=10 $mtdparts $custom_params
mtdparts=mtdparts=41000000.nand:14m(boot),-(data)
mtdids=nand0=41000000.nand
mainlineLinux=yes
load_uimage=echo loading uImage ...; load $bootdev $device 0x60500000 /boot/uImage
load_initrd=echo loading uInitrd ...; load $bootdev $device 0x60e00000 /boot/uInitrd
load_dtb=echo loading DTB $dtb_file ...; load $bootdev $device 0x62c00000 $dtb_file
dtb_file=/boot/dts/ox820-pogoplug-pro.dtb
serverip=192.168.0.220
ipaddr=192.168.0.222
if_netconsole=ping $serverip
ethact=mii0
disks=0 1 2 3
devices=usb ide
device=0:1
usb_custom_params=zswap.enabled=1
bootdev=usb
bootcmd_uenv=run uenv_load; if test $uenv_loaded -eq 1; then run uenv_import; fi
bootcmd_exec=run load_uimage; if run load_initrd; then if run load_dtb; then bootm 0x60500000 0x60e00000 0x62c00000; else bootm 0x60500000 0x60e00000; fi; else if run load_dtb; then bootm 0x60500000 - 0x62c00000; else bootm 0x60500000; fi; fi
preboot_nc=setenv nc_ready 0; for pingstat in 1 2 3 4 5; do; sleep 1; if run if_netconsole; then setenv nc_ready 1; fi; done; if test $nc_ready -eq 1; then run start_netconsole; fi
load_custom_nand2=nboot 60500000 0 B00000
boot_custom=run load_custom_nand boot || run load_custom_nand2 boot
boot=bootm 60500000
boot_nand=run load_nand boot || run load_nand2 boot
load_custom_nand=nboot 60500000 0 500000
bootcmd=run boot_custom
bootargs_stock=root=ubi0:rootfs ubi.mtd=2,512 rootfstype=ubifs console=ttyS0,11s
load_nand2=nboot 60500000 0 800000
load_nand=nboot 60500000 0 200000
autoload=n
bootfile="uImage"
kernflmode=s
stdin=serial
stdout=serial
stderr=serial
bootargs=root=/dev/sda1 ubi.mtd=2,512 rootfstype=ext2 console=ttyS0,115200 elevs mem=128M poweroutage=yes

Bootlog:

Bootloader XCE_STAGE1: 1.1: Tue Feb  8 01:40:26 PST 2011
Attempting to set PLLA to 700MHz ...
  plla_ctrl0 : 0x0000000A
  plla_ctrl1 : 0x000E0000
  plla_ctrl2 : 0x001C01A0
  plla_ctrl3 : 0x00000016
PLLA Set

Setup memory, testing
Reading NAND, Image 0
  Hdr len: 0x0001C030
  Hdr CRC: 0x39F6D832
 OK


U-Boot 1.1.2 (Jul 29 2010 - 19:36:07)

U-Boot code: 60D00000 -> 60D1C030  BSS: -> 60D21800
RAM Configuration:
        Bank #0: 60000000 128 MB
SRAM Configuration:
        64KB at 0x50000000
NAND:128 MiB
In:    serial
Out:   serial
Err:   serial
Setting Linux mem= boot arg value
Hit any key to stop autoboot:  0

Loading from device 0: 128MiB 3,3V 8-bit (offset 0x500000)
   -- Using 1bit ECC style encoding
   Image Name:   Linux-2.6.31.6_SMP_820
   Image Type:   ARM Linux Kernel Image (uncompressed)
   Data Size:    2345664 Bytes =  2.2 MB
   Load Address: 60008000
   Entry Point:  60008000
## Booting image at 60500000 ...
   Image Name:   Linux-2.6.31.6_SMP_820
   Image Type:   ARM Linux Kernel Image (uncompressed)
   Data Size:    2345664 Bytes =  2.2 MB
   Load Address: 60008000
   Entry Point:  60008000
   Verifying Checksum ... OK
OK

Starting kernel ...

Uncompressing Linux.............................................................................................................................................. done, booting the kernel.
[    0.000000] Linux version 2.6.31.6_SMP_820 (root@hunchback) (gcc version 4.7.0 20120505 (prerelease) (GCC) ) #7 SMP Thu Jun 14 20:31:06 CDT 2012
[    0.000000] CPU: ARMv6-compatible processor [410fb025] revision 5 (ARMv7), cr=00c5387f
[    0.000000] CPU: VIPT nonaliasing data cache, VIPT nonaliasing instruction cache
[    0.000000] Machine: Oxsemi NAS
[    0.000000] 1 memory region
[    0.000000] Ignoring unrecognised tag 0x00000000
[    0.000000] Memory policy: ECC disabled, Data cache writealloc
[    0.000000] Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 32512
[    0.000000] Kernel command line: root=/dev/sda1 ubi.mtd=2,512 rootfstype=ext2 console=ttyS0,115200 elevs mem=128M poweroutage=yes
[    0.000000] PID hash table entries: 512 (order: 9, 2048 bytes)
[    0.000000] Dentry cache hash table entries: 16384 (order: 4, 65536 bytes)
[    0.000000] Inode-cache hash table entries: 8192 (order: 3, 32768 bytes)
[    0.000000] Memory: 128MB = 128MB total
[    0.000000] Memory: 125112KB available (4012K code, 316K data, 144K init, 0K highmem)
[    0.000000] Hierarchical RCU implementation.
[    0.000000] NR_IRQS:96
[    0.000000] OX820_RPS_init_irq: interrupts 64 to 96
[    0.010000] Console: colour dummy device 80x30
[    0.010000] console [ttyS0] enabled
[    0.020000] Calibrating delay loop... 279.34 BogoMIPS (lpj=1396736)
[    0.250000] Security Framework initialized
[    0.250000] Mount-cache hash table entries: 512
[    0.260000] CPU: Testing write buffer coherency: ok
[    0.260000] Calibrating local timer... 350.00MHz.
[    0.330000] CPU1: Booted secondary processor
[    0.430000] Calibrating delay loop... 279.34 BogoMIPS (lpj=1396736)
[    0.660000] Brought up 2 CPUs
[    0.670000] SMP: Total of 2 processors activated (558.69 BogoMIPS).
[    0.680000] tmpfs: No value for mount option 'mode'
[    0.680000] devtmpfs: initialized
[    0.690000] NET: Registered protocol family 16
[    0.690000] Number of DMA channels = 4, version = 4
[    0.700000] Reserving a DMA channel for DirectRAID
[    0.700000] Allocating 389 SRAM generic DMA descriptors
[    1.210000] PCIeA version/deviceID 082510b5
[    1.210000] PCIeB version/deviceID 082510b5
[    4.240000] ox820_pci_preinit() PCIEB link up timeout (00001814)
[    4.240000] ox820_pcie_setup_resources() Enabling PCIe Pre-Emphasis
[    4.250000] ox820_pciea_setup_resources() resource c781b140
[    4.250000] ox820_pciea_setup_resources()    io:      0x4be00000 - 0x4befffff
[    4.260000] ox820_pciea_setup_resources()    non-pre: 0x48000000 - 0x49ffffff
[    4.270000] ox820_pciea_setup_resources()    pre:     0x4a000000 - 0x4bdfffff
[    4.270000] PCI: bus0: Fast back to back transfers disabled
[    4.280000] PCI: bus1: Fast back to back transfers enabled
[    4.300000] bio: create slab <bio-0> at 0
[    4.310000] SCSI subsystem initialized
[    4.310000] usbcore: registered new interface driver usbfs
[    4.320000] usbcore: registered new interface driver hub
[    4.320000] usbcore: registered new device driver usb
[    4.370000] NET: Registered protocol family 2
[    4.370000] IP route cache hash table entries: 1024 (order: 0, 4096 bytes)
[    4.380000] Switched to NOHz mode on CPU #0
[    4.380000] TCP established hash table entries: 4096 (order: 3, 32768 bytes)
[    4.380000] Switched to NOHz mode on CPU #1
[    4.390000] TCP bind hash table entries: 4096 (order: 3, 32768 bytes)
[    4.400000] TCP: Hash tables configured (established 4096 bind 4096)
[    4.400000] TCP reno registered
[    4.410000] NET: Registered protocol family 1
[    4.410000] Create fragment cache
[    4.440000] fuse init (API version 7.12)
[    4.440000] msgmni has been set to 244
[    4.450000] alg: No test for stdrng (krng)
[    4.450000] io scheduler noop registered
[    4.460000] io scheduler anticipatory registered (default)
[    4.460000] io scheduler deadline registered
[    4.470000] io scheduler cfq registered
[    4.490000] Serial: 8250/16550 driver, 2 ports, IRQ sharing disabled
[    4.500000] serial8250: ttyS0 at MMIO 0x44200000 (irq = 55) is a 16550A
[    4.520000] brd: module loaded
[    4.520000] loop: module loaded
[    4.530000] ox820sata: OX820 sata core.
[    4.530000] scsi0 : oxnassata
[    4.540000] scsi1 : oxnassata
[    4.540000] ata1: SATA max UDMA/133 irq 50
[    4.540000] ata2: SATA max UDMA/133 irq 50
[    4.550000] ox820sata: reseting SATA core
[    4.910000] ata1: SATA link down (SStatus 0 SControl 300)
[    4.910000] ox820sata: reseting SATA core
[    5.270000] ata2: SATA link down (SStatus 0 SControl 300)
[    5.270000] tun: Universal TUN/TAP device driver, 1.6
[    5.280000] tun: (C) 1999-2004 Max Krasnyansky <maxk@qualcomm.com>
[    5.280000] NAND: Page read time 40ms
[    5.290000] NAND device: Manufacturer ID: 0xad, Chip ID: 0xf1 (Hynix NAND 128MiB 3,3V 8-bit)
[    5.300000] Scanning device for bad blocks
[    5.370000] Creating 2 MTD partitions on "NAND 128MiB 3,3V 8-bit":
[    5.380000] 0x000000000000-0x000000e00000 : "boot"
[    5.380000] 0x000000e00000-0x000008000000 : "rootfs"
[    5.390000] UBI: attaching mtd2 to ubi0
[    5.390000] UBI: physical eraseblock size:   131072 bytes (128 KiB)
[    5.400000] UBI: logical eraseblock size:    129024 bytes
[    5.400000] UBI: smallest flash I/O unit:    2048
[    5.410000] UBI: sub-page size:              512
[    5.410000] UBI: VID header offset:          512 (aligned 512)
[    5.420000] UBI: data offset:                2048
[    5.830000] UBI: attached mtd2 to ubi0
[    5.830000] UBI: MTD device name:            "rootfs"
[    5.840000] UBI: MTD device size:            114 MiB
[    5.840000] UBI: number of good PEBs:        912
[    5.850000] UBI: number of bad PEBs:         0
[    5.850000] UBI: max. allowed volumes:       128
[    5.860000] UBI: wear-leveling threshold:    4096
[    5.860000] UBI: number of internal volumes: 1
[    5.870000] UBI: number of user volumes:     1
[    5.870000] UBI: available PEBs:             0
[    5.870000] UBI: total number of reserved PEBs: 912
[    5.880000] UBI: number of PEBs reserved for bad PEB handling: 9
[    5.880000] UBI: max/mean erase counter: 2/0
[    5.890000] UBI: image sequence number: 0
[    5.890000] UBI: background thread "ubi_bgt0d" started, PID 313
[    5.890000] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[    5.890000] oxnas-ehci oxnas-ehci.0: OXNAS EHCI Host Controller
[    5.890000] oxnas-ehci oxnas-ehci.0: new USB bus registered, assigned bus number 1
[    5.920000] oxnas-ehci oxnas-ehci.0: irq 39, io mem 0x00000000
[    5.940000] oxnas-ehci oxnas-ehci.0: USB 0.0 started, EHCI 1.00
[    5.940000] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002
[    5.950000] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    5.960000] usb usb1: Product: OXNAS EHCI Host Controller
[    5.960000] usb usb1: Manufacturer: Linux 2.6.31.6_SMP_820 ehci_hcd
[    5.970000] usb usb1: SerialNumber: usb
[    5.970000] usb usb1: configuration #1 chosen from 1 choice
[    5.980000] hub 1-0:1.0: USB hub found
[    5.980000] hub 1-0:1.0: 2 ports detected
[    5.990000] Initializing USB Mass Storage driver...
[    5.990000] usbcore: registered new interface driver usb-storage
[    6.000000] USB Mass Storage support registered.
[    6.000000] usbcore: registered new interface driver libusual
[    6.010000] mice: PS/2 mouse device common for all mice
[    6.010000] usbcore: registered new interface driver hiddev
[    6.020000] usbcore: registered new interface driver usbhid
[    6.030000] usbhid: v2.6:USB HID core driver
[    6.030000] TCP cubic registered
[    6.030000] NET: Registered protocol family 10
[    6.040000] lo: Disabled Privacy Extensions
[    6.040000] NET: Registered protocol family 17
[    6.050000] RPC: Registered udp transport module.
[    6.050000] RPC: Registered tcp transport module.
[    6.060000] Root-NFS: No NFS server available, giving up.
[    6.070000] VFS: Unable to mount root fs via NFS, trying floppy.
[    6.070000] VFS: Cannot open root device "sda1" or unknown-block(2,0)
[    6.080000] Please append a correct "root=" boot option; here are the available partitions:
[    6.090000] 1f00          131072 mtdblock0 (driver?)
[    6.090000] 1f01           14336 mtdblock1 (driver?)
[    6.100000] 1f02          116736 mtdblock2 (driver?)
[    6.100000] Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(2,0)
[    6.110000] CPU1: stopping
[    6.110000] [<c0031c10>] (unwind_backtrace+0x0/0xe0) from [<c002c39c>] (do_IPI+0xe8/0x154)
[    6.110000] [<c002c39c>] (do_IPI+0xe8/0x154) from [<c0334878>] (__irq_svc+0x38/0xc0)
[    6.110000] Exception stack(0xc7843f90 to 0xc7843fd8)
[    6.110000] 3f80:                                     0495d748 00000000 c7843fd8 00000000
[    6.110000] 3fa0: c7842000 c7842000 c045c0c4 c04380b4 00000000 410fb025 600240bc 00000000
[    6.110000] 3fc0: 7fffffff c7843fd8 c002d53c c002d540 60000013 ffffffff      
[    6.110000] [<c0334878>] (__irq_svc+0x38/0xc0) from [<c002d540>] (default_idle+0x24/0x28)
[    6.110000] [<c002d540>] (default_idle+0x24/0x28) from [<c002d6f0>] (cpu_idle+0x58/0x94)
[    6.110000] [<c002d6f0>] (cpu_idle+0x58/0x94) from [<60008084>] (0x60008084)

bdinfo:

CE>> bdinfo                                                                     
arch_number = 0x00000480                                                        
env_t       = 0x00000000                                                        
boot_params = 0x60000100                                                        
DRAM bank   = 0x00000000                                                        
-> start    = 0x60000000                                                        
-> size     = 0x08000000                                                        
ethaddr     = XX:XX:XX:XX:XX:XX                                                 
ip_addr     = 192.168.0.222                                                     
baudrate    = 115200 bps  
Re: Question about updating Uboot for a PogoPlug V3 classic Oxnas (OX820)
May 07, 2021 10:14PM
Quote

Envs look like a mess

It is a big mess. And currently it always boots to stock OS.

So if you have not created the USB rootfs, then do so using Debian-4.14.180-oxnas-tld-1-rootfs-bodhi.tar.bz2

However, since you are booting with stock u-boot, the uImage in the rootfs must be appended with the DTB file /boot/dts/ox820-pogoplug-pro.dtb.

So on the Linux host that you use to create the USB rootfs, after you untar the rootfs tarball to the USB drive (assuming the USB drive is mounted as /media/sdb1):

cd /media/sdb1/boot
cp -a uImage uImage.orig
cp -a zImage-4.14.180-oxnas-tld-1  zImage.fdt
cat dts/ox820-pogoplug-pro.dtb >> zImage.fdt
mkimage  -A arm -O linux -C none -T kernel -a 0x60008000 -e 0x60008000 -n Linux-4.14.180-oxnas-tld-1 -d zImage.fdt uImage
sync
Umount the USB drive. Bring it back to the Pogo Pro.

And then post back here, I'll show you how to change envs to boot this Debian rootfs.

-bodhi
===========================
Forum Wiki
bodhi's corner (buy bodhi a beer)
Re: Question about updating Uboot for a PogoPlug V3 classic Oxnas (OX820)
May 08, 2021 03:12PM
Bodhi, thanks for your help.
I was able to get the new uboot to the pogo using the tffp method.

But unfortunatly Debian is not booting. I installed OpenWRT in Nand, which boots fine. I installed the rootfs to 3 different USB Sticks, but non of them works:

printenv:
OX820> printenv
bootcmd=run bootcmd_uenv; run scan_disk; run set_bootargs; run bootcmd_exec; run bootcmd_openwrt; reset
bootcmd_exec=run load_uimage; if run load_initrd; then if run load_dtb; then bootm 0x60500000 0x60e00000 0x62c00000; else bootm 0x60500000 0x60e00000; fi; else if run load_dtb; then bootm 0x60500000 - 0x62c00000; else bootm 0x60500000; fi; fi
bootcmd_openwrt=nboot 60500000 0 440000; bootm
bootcmd_uenv=run uenv_load; if test $uenv_loaded -eq 1; then run uenv_import; fi
bootdelay=10
bootdev=usb
ceboardver=PPRO1
cesvcid=FCQBXJZ35PYNGKCUYW6EC769CA
device=0:1
devices=usb ide
disks=0 1 2 3
dtb_file=/boot/dts/ox820-pogoplug-pro.dtb
ethact=dwmac.40400000
ethaddr=XX:XX:XX:XX:XX:XX
if_netconsole=ping $serverip
ipaddr=192.168.0.222
load_dtb=echo loading DTB $dtb_file ...; load $bootdev $device 0x62c00000 $dtb_file
load_initrd=echo loading uInitrd ...; load $bootdev $device 0x60e00000 /boot/uInitrd
load_uimage=echo loading uImage ...; load $bootdev $device 0x60500000 /boot/uImage
mainlineLinux=yes
mtdids=nand0=41000000.nand
mtdparts=mtdparts=41000000.nand:14m(boot),-(data)
preboot_nc=setenv nc_ready 0; for pingstat in 1 2 3 4 5; do; sleep 1; if run if_netconsole; then setenv nc_ready 1; fi; done; if test $nc_ready -eq 1; then run start_netconsole; fi
scan_disk=echo running scan_disk ...; scan_done=0; setenv scan_usb "usb start";  setenv scan_ide "ide reset";  setenv scan_mmc "mmc rescan"; for dev in $devices; do if test $scan_done -eq 0; then echo Scan device $dev; run scan_$dev; for disknum in $disks; do if test $scan_done -eq 0; then echo device $dev $disknum:1; if load $dev $disknum:1 0x60500000 /boot/uImage 1; then scan_done=1; echo Found bootable drive on $dev $disknum; setenv device $disknum:1; setenv bootdev $dev; fi; fi; done; fi; done
serverip=192.168.0.220
set_bootargs=setenv bootargs console=ttyS0,115200 root=LABEL=rootfs rootdelay=10 $mtdparts $custom_params
start_netconsole=setenv ncip $serverip; setenv bootdelay 10; setenv stdin nc; setenv stdout nc; setenv stderr nc; version;
stderr=serial
stdin=serial
stdout=serial
uenv_import=echo importing envs ...; env import -t 0x60510000  $filesize
uenv_init_devices=setenv init_usb "usb start";  setenv init_ide "ide reset";  setenv init_mmc "mmc rescan"; for devtype in $devices; do run init_$devtype; done;
uenv_load=run uenv_init_devices; setenv uenv_loaded 0; for devtype in $devices;  do for disknum in 0; do run uenv_read_disk; done; done;
uenv_read=echo loading envs from $devtype $disknum ...; if load $devtype $disknum:1 0x60500000 /boot/uEnv.txt; then setenv uenv_loaded 1; fi
uenv_read_disk=if test $devtype -eq mmc; then if $devtype part; then run uenv_read;  fi; else if $devtype part $disknum; then run uenv_read; fi;  fi
usb_custom_params=zswap.enabled=1
usb_ready_retry=15

bootlog
U-Boot SPL 2013.10-tld-4 (Sep 07 2014 - 14:10:12)
  Boot device: NAND
Attempting to set PLLA to 850 MHz ...
  plla_ctrl0 : 0000020a
  plla_ctrl1 : 00330000
  plla_ctrl2 : 0065008b
  plla_ctrl3 : 000000f1

PLLA Set


U-Boot 2015.10-tld-2 (Oct 21 2017 - 22:00:02 -0700)
OXNAS OX820

DRAM:  128 MiB
NAND:  128 MiB
In:    serial
Out:   serial
Err:   serial
Net:   dwmac.40400000
Hit any key to stop autoboot:  0
starting USB...
USB0:   USB EHCI 1.00
scanning bus 0 for devices... 3 USB Device(s) found
       scanning usb for storage devices... EHCI timed out on TD - token=0x80008c80
1 Storage Device(s) found

Reset IDE: SATA PHY not ready for device 0
ide_preinit failed

Partition Map for USB device 0  --   Partition Type: DOS

Part    Start Sector    Num Sectors     UUID            Type
  1     2048            15685632        48e19670-01     83
loading envs from usb 0 ...
** File not found /boot/uEnv.txt **

no IDE devices available
running scan_disk ...
Scan device usb
device usb 0:1
1 bytes read in 215 ms (0 Bytes/s)
Found bootable drive on usb 0
loading uImage ...
4609480 bytes read in 462 ms (9.5 MiB/s)
loading uInitrd ...
6464907 bytes read in 497 ms (12.4 MiB/s)
loading DTB /boot/dts/ox820-pogoplug-pro.dtb ...
9032 bytes read in 216 ms (40 KiB/s)
## Booting kernel from Legacy Image at 60500000 ...
   Image Name:   Linux-4.14.180-oxnas-tld-1
   Created:      2021-05-08  19:10:31 UTC
   Image Type:   ARM Linux Kernel Image (uncompressed)
   Data Size:    4609416 Bytes = 4.4 MiB
   Load Address: 60008000
   Entry Point:  60008000
   Verifying Checksum ... OK
## Loading init Ramdisk from Legacy Image at 60e00000 ...
   Image Name:   initramfs-4.14.180-oxnas-tld-1
   Created:      2020-05-15   3:58:49 UTC
   Image Type:   ARM Linux RAMDisk Image (gzip compressed)
   Data Size:    6464843 Bytes = 6.2 MiB
   Load Address: 60000000
   Entry Point:  60000000
   Verifying Checksum ... OK
## Flattened Device Tree blob at 62c00000
   Booting using the fdt blob at 0x62c00000
   Loading Kernel Image ... OK
   Loading Ramdisk to 677fc000, end 67e2654b ... OK
   Loading Device Tree to 677f6000, end 677fb347 ... OK

Starting kernel ...

Uncompressing Linux... done, booting the kernel.
[    0.000000] Booting Linux on physical CPU 0x0
[    0.000000] Linux version 4.14.180-oxnas-tld-1 (root@tldDebian) (gcc version 8.3.0 (Debian 8.3.0-6)) #1 SMP PREEMPT Wed May 13 02:38:34 PDT 2020
[    0.000000] CPU: ARMv6-compatible processor [410fb025] revision 5 (ARMv7), cr=00c5787d
[    0.000000] CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing instruction cache
[    0.000000] OF: fdt: Machine model: Pogoplug V3 Pro
[    0.000000] bootconsole [earlycon0] enabled
[    0.000000] Memory policy: Data cache writealloc
[    0.000000] random: get_random_bytes called from start_kernel+0x84/0x3f8 with crng_init=0
[    0.000000] percpu: Embedded 15 pages/cpu s29548 r8192 d23700 u61440
[    0.000000] Built 1 zonelists, mobility grouping on.  Total pages: 32512
[    0.000000] Kernel command line: earlyprintk console=ttyS0,115200
[    0.000000] PID hash table entries: 512 (order: -1, 2048 bytes)
[    0.000000] Dentry cache hash table entries: 16384 (order: 4, 65536 bytes)
[    0.000000] Inode-cache hash table entries: 8192 (order: 3, 32768 bytes)
[    0.000000] Memory: 119028K/131072K available (7168K kernel code, 199K rwdata, 1524K rodata, 1024K init, 245K bss, 12044K reserved, 0K cma-reserved)
[    0.000000] Virtual kernel memory layout:
[    0.000000]     vector  : 0xffff0000 - 0xffff1000   (   4 kB)
[    0.000000]     fixmap  : 0xffc00000 - 0xfff00000   (3072 kB)
[    0.000000]     vmalloc : 0xc8800000 - 0xff800000   ( 880 MB)
[    0.000000]     lowmem  : 0xc0000000 - 0xc8000000   ( 128 MB)
[    0.000000]     modules : 0xbf000000 - 0xc0000000   (  16 MB)
[    0.000000]       .text : 0xc0008000 - 0xc0800000   (8160 kB)
[    0.000000]       .init : 0xc0a00000 - 0xc0b00000   (1024 kB)
[    0.000000]       .data : 0xc0b00000 - 0xc0b31f68   ( 200 kB)
[    0.000000]        .bss : 0xc0b383b8 - 0xc0b757c0   ( 246 kB)
[    0.000000] SLUB: HWalign=32, Order=0-3, MinObjects=0, CPUs=2, Nodes=1
[    0.000000] Preemptible hierarchical RCU implementation.
[    0.000000]  Tasks RCU enabled.
[    0.000000] NR_IRQS: 16, nr_irqs: 16, preallocated irqs: 16
[    0.000000] FPGA IRQ chip 0 "interrupt-controller" @ c8804000, 32 irqs, parent IRQ: 16
[    0.000017] sched_clock: 24 bits at 390kHz, resolution 2560ns, wraps every 21474835200ns
[    0.008168] clocksource: oxnas_rps_clocksource_timer: mask: 0xffffff max_cycles: 0xffffff, max_idle_ns: 19112603332 ns
[    0.018895] timer_oxnas_rps: Registered clocksource rate 390625Hz
[    0.025052] timer_oxnas_rps: Registered clock event rate 6250000Hz prescaler 0 period 62500
[    0.033582] GIC: PPI13 is secure or misconfigured
[    0.038382] GIC: PPI13 is secure or misconfigured
[    0.043299] Console: colour dummy device 80x30
[    0.047836] Calibrating delay loop... 339.14 BogoMIPS (lpj=1695744)
[    0.094786] pid_max: default: 32768 minimum: 301
[    0.099735] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes)
[    0.106414] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes)
[    0.114542] CPU: Testing write buffer coherency: ok
[    0.158535] Setting up static identity map for 0x60100000 - 0x60100038
[    0.165347] Hierarchical SRCU implementation.
[    0.208435] smp: Bringing up secondary CPUs ...
[    0.258549] GIC: PPI13 is secure or misconfigured
[    0.318722] smp: Brought up 1 node, 2 CPUs
[    0.327646] SMP: Total of 2 processors activated (678.29 BogoMIPS).
[    0.334819] devtmpfs: initialized
[    0.343895] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[    0.353840] futex hash table entries: 512 (order: 2, 16384 bytes)
[    0.360345] prandom: seed boundary self test passed
[    0.369505] prandom: 100 self tests passed
[    0.373667] pinctrl core: initialized pinctrl subsystem
[    0.379645] NET: Registered protocol family 16
[    0.385717] DMA: preallocated 256 KiB pool for atomic coherent allocations
[    0.395056] cpuidle: using governor ladder
[    0.399336] cpuidle: using governor menu
[    0.421534] vgaarb: loaded
[    0.424788] SCSI subsystem initialized
[    0.429427] usbcore: registered new interface driver usbfs
[    0.435048] usbcore: registered new interface driver hub
[    0.440652] usbcore: registered new device driver usb
[    0.445957] pps_core: LinuxPPS API ver. 1 registered
[    0.451048] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
[    0.460305] PTP clock support registered
[    0.465326] clocksource: Switched to clocksource oxnas_rps_clocksource_timer
[    0.490378] NET: Registered protocol family 2
[    0.495756] TCP established hash table entries: 1024 (order: 0, 4096 bytes)
[    0.502799] TCP bind hash table entries: 1024 (order: 1, 8192 bytes)
[    0.509286] TCP: Hash tables configured (established 1024 bind 1024)
[    0.515891] UDP hash table entries: 256 (order: 1, 8192 bytes)
[    0.521815] UDP-Lite hash table entries: 256 (order: 1, 8192 bytes)
[    0.528450] NET: Registered protocol family 1
[    0.533698] RPC: Registered named UNIX socket transport module.
[    0.539735] RPC: Registered udp transport module.
[    0.544504] RPC: Registered tcp transport module.
[    0.549301] RPC: Registered tcp NFSv4.1 backchannel transport module.
[    0.557337] Initialise system trusted keyrings
[    0.561891] Key type blacklist registered
[    0.566371] workingset: timestamp_bits=30 max_order=15 bucket_order=0
[    0.579545] zbud: loaded
[    0.586728] NFS: Registering the id_resolver key type
[    0.591869] Key type id_resolver registered
[    0.596190] Key type id_legacy registered
[    0.600286] nfs4filelayout_init: NFSv4 File Layout Driver Registering...
[    0.607106] Installing knfsd (copyright (C) 1996 okir@monad.swb.de).
[    0.614423] fuse init (API version 7.26)
[    0.619427] orangefs_debugfs_init: called with debug mask: :none: :0:
[    0.626229] orangefs_init: module version upstream loaded
[    2.581012] Key type asymmetric registered
[    2.585187] Asymmetric key parser 'x509' registered
[    2.590279] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 249)
[    2.597816] io scheduler noop registered
[    2.601804] io scheduler deadline registered
[    2.606256] io scheduler cfq registered (default)
[    2.613173] Serial: 8250/16550 driver, 1 ports, IRQ sharing disabled
[    2.621176] console [ttyS0] disabled
[    2.624944] 44200000.serial: ttyS0 at MMIO 0x44200000 (irq = 55, base_baud = 390625) is a 16550A
[    2.633907] console [ttyS0] enabled
[    2.633907] console [ttyS0] enabled
[    2.640972] bootconsole [earlycon0] disabled
[    2.640972] bootconsole [earlycon0] disabled
[    2.660446] loop: module loaded
[    2.665415] scsi host0: sata_oxnas
[    2.669140] ata1: SATA max UDMA/133 irq 57
[    2.673341] sata_oxnas: resetting SATA core
[    2.735674] nand: Could not find valid ONFI parameter page; aborting
[    2.742013] nand: device found, Manufacturer ID: 0xad, Chip ID: 0xf1
[    2.748387] nand: Hynix NAND 128MiB 3,3V 8-bit
[    2.752814] nand: 128 MiB, SLC, erase size: 128 KiB, page size: 2048, OOB size: 64
[    2.760396] Scanning device for bad blocks
[    2.847303] 2 ofpart partitions found on MTD device 41000000.nand-controller
[    2.854320] Creating 2 MTD partitions on "41000000.nand-controller":
[    2.860687] 0x000000000000-0x000000e00000 : "boot"
[    2.867215] 0x000000e00000-0x000008000000 : "data"
[    2.875151] libphy: Fixed MDIO Bus: probed
[    2.879723] oxnas-dwmac 40400000.ethernet: PTP uses main clock
[    2.885601] oxnas-dwmac 40400000.ethernet: no reset control found
[    2.955432] stmmac - user ID: 0x12, Synopsys ID: 0x35
[    2.960473] oxnas-dwmac 40400000.ethernet: Ring mode enabled
[    2.966159] oxnas-dwmac 40400000.ethernet: DMA HW capability register supported
[    2.973437] oxnas-dwmac 40400000.ethernet: Enhanced/Alternate descriptors
[    2.980221] oxnas-dwmac 40400000.ethernet: Enabled extended descriptors
[    2.986831] oxnas-dwmac 40400000.ethernet: RX Checksum Offload Engine supported
[    2.994106] oxnas-dwmac 40400000.ethernet: COE Type 2
[    2.999160] oxnas-dwmac 40400000.ethernet: TX Checksum insertion supported
[    3.006031] oxnas-dwmac 40400000.ethernet: Wake-Up On Lan supported
[    3.012285] oxnas-dwmac 40400000.ethernet (unnamed net_device) (uninitialized): device MAC address 36:16:d9:cf:46:f0
[    3.017256] ata1: SATA link down (SStatus 0 SControl 310)
[    3.022786] oxnas-dwmac 40400000.ethernet: Enable RX Mitigation via HW Watchdog Timer
[    3.045376] libphy: stmmac: probed
[    3.048785] mdio_bus stmmac-0:00: attached PHY driver [unbound] (mii_bus:phy_addr=stmmac-0:00, irq=POLL)
[    3.058268] mdio_bus stmmac-0:03: attached PHY driver [unbound] (mii_bus:phy_addr=stmmac-0:03, irq=POLL)
[    3.068664] PPP generic driver version 2.4.2
[    3.073213] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[    3.079810] ehci-pci: EHCI PCI platform driver
[    3.285388] oxnas-ehci 40200100.ehci: EHCI Host Controller
[    3.290895] oxnas-ehci 40200100.ehci: new USB bus registered, assigned bus number 1
[    3.298769] oxnas-ehci 40200100.ehci: irq 52, io mem 0x40200100
[    3.325391] oxnas-ehci 40200100.ehci: USB 2.0 started, EHCI 1.00
[    3.331706] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002
[    3.338526] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    3.345753] usb usb1: Product: EHCI Host Controller
[    3.350609] usb usb1: Manufacturer: Linux 4.14.180-oxnas-tld-1 ehci_hcd
[    3.357224] usb usb1: SerialNumber: 40200100.ehci
[    3.362757] hub 1-0:1.0: USB hub found
[    3.366617] hub 1-0:1.0: 2 ports detected
[    3.371630] usbcore: registered new interface driver cdc_wdm
[    3.377484] usbcore: registered new interface driver usb-storage
[    3.383600] usbcore: registered new interface driver usbserial
[    3.389511] usbcore: registered new interface driver usbserial_generic
[    3.396131] usbserial: USB Serial support registered for generic
[    3.402465] mousedev: PS/2 mouse device common for all mice
[    3.408194] i2c /dev entries driver
[    3.412861] hidraw: raw HID events driver (C) Jiri Kosina
[    3.418506] usbcore: registered new interface driver usbhid
[    3.424053] usbhid: USB HID core driver
[    3.429214] NET: Registered protocol family 10
[    3.435033] Segment Routing with IPv6
[    3.438881] sit: IPv6, IPv4 and MPLS over IPv4 tunneling driver
[    3.446556] NET: Registered protocol family 17
[    3.451092] Key type dns_resolver registered
[    3.456655] registered taskstats version 1
[    3.460738] Loading compiled-in X.509 certificates
[    3.465653] zswap: loaded using pool lzo/zbud
[    3.478039] Key type big_key registered
[    3.484359] Key type encrypted registered
[    3.735398] oxnas-pcie 47c00000.pcie-controller: PCIe version/deviceID 0x82510b5
[    3.742871] oxnas-pcie 47c00000.pcie-controller: link up
[    3.748654] oxnas-pcie 47c00000.pcie-controller: PCI host bridge to bus 0000:00
[    3.755998] pci_bus 0000:00: root bus resource [mem 0x48000000-0x49ffffff]
[    3.762846] pci_bus 0000:00: root bus resource [mem 0x4a000000-0x4bdfffff pref]
[    3.770160] pci_bus 0000:00: root bus resource [io  0x0000-0xfffff]
[    3.776437] pci_bus 0000:00: root bus resource [bus 00-7f]
[    3.782458] PCI: bus0: Fast back to back transfers disabled
[    3.788083] pci 0000:00:00.0: BAR 0: assigned [mem 0x48000000-0x4800ffff]
[    3.795543] hctosys: unable to open rtc device (rtc0)
[    3.801292] VFS: Cannot open root device "(null)" or unknown-block(0,0): error -6
[    3.808821] Please append a correct "root=" boot option; here are the available partitions:
[    3.817223] usb 1-1: new high-speed USB device number 2 using oxnas-ehci
[    3.823974] 1f00           14336 mtdblock0
[    3.823984]  (driver?)
[    3.830686] 1f01          116736 mtdblock1
[    3.830694]  (driver?)
[    3.837281] Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(0,0)
[    3.845514] CPU: 0 PID: 1 Comm: swapper/0 Not tainted 4.14.180-oxnas-tld-1 #1
[    3.852608] Hardware name: Generic DT based system
[    3.857397] [<c01095b0>] (unwind_backtrace) from [<c01053bc>] (show_stack+0x10/0x14)
[    3.865116] [<c01053bc>] (show_stack) from [<c07384cc>] (dump_stack+0xb4/0xd0)
[    3.872317] [<c07384cc>] (dump_stack) from [<c0111b88>] (panic+0xec/0x268)
[    3.879173] [<c0111b88>] (panic) from [<c0a012bc>] (mount_block_root+0x1e0/0x2a8)
[    3.886627] [<c0a012bc>] (mount_block_root) from [<c0a0146c>] (mount_root+0xe8/0x128)
[    3.894428] [<c0a0146c>] (mount_root) from [<c0a015dc>] (prepare_namespace+0x130/0x194)
[    3.902400] [<c0a015dc>] (prepare_namespace) from [<c0a00e5c>] (kernel_init_freeable+0x17c/0x1c4)
[    3.911237] [<c0a00e5c>] (kernel_init_freeable) from [<c074b198>] (kernel_init+0x8/0x110)
[    3.919377] [<c074b198>] (kernel_init) from [<c01029b8>] (ret_from_fork+0x14/0x3c)
[    3.926927] CPU1: stopping
[    3.929630] CPU: 1 PID: 0 Comm: swapper/1 Not tainted 4.14.180-oxnas-tld-1 #1
[    3.936729] Hardware name: Generic DT based system
[    3.941514] [<c01095b0>] (unwind_backtrace) from [<c01053bc>] (show_stack+0x10/0x14)
[    3.949227] [<c01053bc>] (show_stack) from [<c07384cc>] (dump_stack+0xb4/0xd0)
[    3.956423] [<c07384cc>] (dump_stack) from [<c01082a8>] (handle_IPI+0x190/0x1dc)
[    3.963791] [<c01082a8>] (handle_IPI) from [<c01014c8>] (gic_handle_irq+0x7c/0x8c)
[    3.971325] [<c01014c8>] (gic_handle_irq) from [<c0106278>] (__irq_svc+0x58/0x8c)
[    3.978772] Exception stack(0xc7865f70 to 0xc7865fb8)
[    3.983797] 5f60:                                     00000001 00000000 00000000 00000000
[    3.991941] 5f80: 00000000 ffffe000 c0b03ae4 c0b03a88 00000000 00000000 c0a39e68 c08f607c
[    4.000076] 5fa0: 00000000 c7865fc0 c0103278 c010327c 60000113 ffffffff
[    4.006666] [<c0106278>] (__irq_svc) from [<c010327c>] (arch_cpu_idle+0x28/0x30)
[    4.014036] [<c010327c>] (arch_cpu_idle) from [<c0149f5c>] (do_idle+0x180/0x1d4)
[    4.021401] [<c0149f5c>] (do_idle) from [<c014a270>] (cpu_startup_entry+0x18/0x1c)
[    4.028938] [<c014a270>] (cpu_startup_entry) from [<60101868>] (0x60101868)
[    4.035875] ---[ end Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(0,0)
Re: Question about updating Uboot for a PogoPlug V3 classic Oxnas (OX820)
May 08, 2021 04:43PM
herb7852,

> I was able to get the new uboot to the pogo using
> the tffp method.

Cool! that looks excellent.


> U-Boot 2015.10-tld-2 (Oct 21 2017 - 22:00:02
> -0700)
> OXNAS OX820

Now, since you are booting with the new u-boot, the uImage must be the original (becasue the DTB is loaded separately)

> ## Booting kernel from Legacy Image at 60500000
> ...
>    Image Name:   Linux-4.14.180-oxnas-tld-1
>    Created:      2021-05-08  19:10:31 UTC
>    Image Type:   ARM Linux Kernel Image
> (uncompressed)
>    Data Size:    4609416 Bytes = 4.4 MiB
>    Load Address: 60008000
>    Entry Point:  60008000
>    Verifying Checksum ... OK
> ## Loading init Ramdisk from Legacy Image at
> 60e00000 ...
>    Image Name:   initramfs-4.14.180-oxnas-tld-1
>    Created:      2020-05-15   3:58:49 UTC
>    Image Type:   ARM Linux RAMDisk Image (gzip
> compressed)
>    Data Size:    6464843 Bytes = 6.2 MiB
>    Load Address: 60000000
>    Entry Point:  60000000
>    Verifying Checksum ... OK
> ## Flattened Device Tree blob at 62c00000
>    Booting using the fdt blob at 0x62c00000
>    Loading Kernel Image ... OK
>    Loading Ramdisk to 677fc000, end 67e2654b ...
> OK

So this step should not be done:

cd /media/sdb1/boot
cp -a uImage uImage.orig
cp -a zImage-4.14.180-oxnas-tld-1  zImage.fdt
cat dts/ox820-pogoplug-pro.dtb >> zImage.fdt
mkimage  -A arm -O linux -C none -T kernel -a 0x60008000 -e 0x60008000 -n Linux-4.14.180-oxnas-tld-1 -d zImage.fdt uImage
sync

Mount the USB rootfs on another Linux box and reverve the uImage to original.

cp -a uImage uImage.fdt
cp -a uImage.orig uImage
sync

And then it should boot fine and mount the rootfs sucessfully.

-bodhi
===========================
Forum Wiki
bodhi's corner (buy bodhi a beer)
Re: Question about updating Uboot for a PogoPlug V3 classic Oxnas (OX820)
May 15, 2021 07:47AM
Works perfect, thanks Bodhi!

Just didn't read your instructions in the debian thread careful enough.
Author:

Your Email:


Subject:


Spam prevention:
Please, enter the code that you see below in the input field. This is for blocking bots that try to post this form automatically. If the code is hard to read, then just try to guess it right. If you enter the wrong code, a new image is created and you get another chance to enter it right.
Message: