Welcome! Log In Create A New Profile

Advanced

[Solved] OX820 Pogplug Pro stops during booting from the kernel

Posted by zauberseppl 
[Solved] OX820 Pogplug Pro stops during booting from the kernel
January 27, 2023 02:11PM
Hi all,

I followed bodhis Post to upgrade uBoot and OS of my PogoPlug Pro. I had no difficulties and it seemed like it was working. Unfortunately, the system always stops in the same place when booting and I don't know what the problem is. I have already searched the forum here and can't find the problem one more time.


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
dwmac.40400000 Waiting for PHY auto negotiation to complete.. done
Speed: 1000, full duplex
Using dwmac.40400000 device
host 192.168.0.1 is alive
Speed: 1000, full duplex
Using dwmac.40400000 device
host 192.168.0.1 is alive
Speed: 1000, full duplex
Using dwmac.40400000 device
host 192.168.0.1 is alive
Speed: 1000, full duplex
Using dwmac.40400000 device
host 192.168.0.1 is alive
Speed: 1000, full duplex
Using dwmac.40400000 device
host 192.168.0.1 is alive
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.000015] sched_clock: 24 bits at 390kHz, resolution 2560ns, wraps every 21474835200ns
[    0.008166] 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.334817] devtmpfs: initialized
[    0.343354] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[    0.353295] futex hash table entries: 512 (order: 2, 16384 bytes)
[    0.359797] prandom: seed boundary self test passed
[    0.368965] prandom: 100 self tests passed
[    0.373127] pinctrl core: initialized pinctrl subsystem
[    0.379118] NET: Registered protocol family 16
[    0.385192] DMA: preallocated 256 KiB pool for atomic coherent allocations
[    0.394695] cpuidle: using governor ladder
[    0.398988] cpuidle: using governor menu
[    0.421258] vgaarb: loaded
[    0.424509] SCSI subsystem initialized
[    0.429186] usbcore: registered new interface driver usbfs
[    0.434805] usbcore: registered new interface driver hub
[    0.440414] usbcore: registered new device driver usb
[    0.445713] pps_core: LinuxPPS API ver. 1 registered
[    0.450800] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
[    0.460055] PTP clock support registered
[    0.465080] clocksource: Switched to clocksource oxnas_rps_clocksource_timer
[    0.490662] NET: Registered protocol family 2
[    0.496038] TCP established hash table entries: 1024 (order: 0, 4096 bytes)
[    0.503078] TCP bind hash table entries: 1024 (order: 1, 8192 bytes)
[    0.509570] TCP: Hash tables configured (established 1024 bind 1024)
[    0.516167] UDP hash table entries: 256 (order: 1, 8192 bytes)
[    0.522088] UDP-Lite hash table entries: 256 (order: 1, 8192 bytes)
[    0.528724] NET: Registered protocol family 1
[    0.533962] RPC: Registered named UNIX socket transport module.
[    0.540001] RPC: Registered udp transport module.
[    0.544768] RPC: Registered tcp transport module.
[    0.549573] RPC: Registered tcp NFSv4.1 backchannel transport module.
[    0.557637] Initialise system trusted keyrings
[    0.562188] Key type blacklist registered
[    0.566627] workingset: timestamp_bits=30 max_order=15 bucket_order=0
[    0.580057] zbud: loaded
[    0.587351] NFS: Registering the id_resolver key type
[    0.592494] Key type id_resolver registered
[    0.596830] Key type id_legacy registered
[    0.600926] nfs4filelayout_init: NFSv4 File Layout Driver Registering...
[    0.607723] Installing knfsd (copyright (C) 1996 okir@monad.swb.de).
[    0.615037] fuse init (API version 7.26)
[    0.620006] orangefs_debugfs_init: called with debug mask: :none: :0:
[    0.626813] orangefs_init: module version upstream loaded
[    2.580185] Key type asymmetric registered
[    2.584358] Asymmetric key parser 'x509' registered
[    2.589452] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 249)
[    2.596956] io scheduler noop registered
[    2.600944] io scheduler deadline registered
[    2.605409] io scheduler cfq registered (default)
[    2.612367] Serial: 8250/16550 driver, 1 ports, IRQ sharing disabled
[    2.620305] console [ttyS0] disabled
[    2.624074] 44200000.serial: ttyS0 at MMIO 0x44200000 (irq = 55, base_baud = 390625) is a 16550A
[    2.633049] console [ttyS0] enabled
[    2.633049] console [ttyS0] enabled
[    2.640117] bootconsole [earlycon0] disabled
[    2.640117] bootconsole [earlycon0] disabled
[    2.659504] loop: module loaded
[    2.664381] scsi host0: sata_oxnas
[    2.668136] ata1: SATA max UDMA/133 irq 57
[    2.672330] sata_oxnas: resetting SATA core
[    2.735429] nand: Could not find valid ONFI parameter page; aborting
[    2.741767] nand: device found, Manufacturer ID: 0xad, Chip ID: 0xf1
[    2.748136] nand: Hynix NAND 128MiB 3,3V 8-bit
[    2.752563] nand: 128 MiB, SLC, erase size: 128 KiB, page size: 2048, OOB size: 64
[    2.760140] Scanning device for bad blocks
[    2.846556] 2 ofpart partitions found on MTD device 41000000.nand-controller
[    2.853573] Creating 2 MTD partitions on "41000000.nand-controller":
[    2.859937] 0x000000000000-0x000000e00000 : "boot"
[    2.866403] 0x000000e00000-0x000008000000 : "data"
[    2.874296] libphy: Fixed MDIO Bus: probed
[    2.878873] oxnas-dwmac 40400000.ethernet: PTP uses main clock
[    2.884695] oxnas-dwmac 40400000.ethernet: no reset control found
[    2.955184] stmmac - user ID: 0x12, Synopsys ID: 0x35
[    2.960227] oxnas-dwmac 40400000.ethernet: Ring mode enabled
[    2.965913] oxnas-dwmac 40400000.ethernet: DMA HW capability register supported
[    2.973194] oxnas-dwmac 40400000.ethernet: Enhanced/Alternate descriptors
[    2.979980] oxnas-dwmac 40400000.ethernet: Enabled extended descriptors
[    2.986590] oxnas-dwmac 40400000.ethernet: RX Checksum Offload Engine supported
[    2.993871] oxnas-dwmac 40400000.ethernet: COE Type 2
[    2.998929] oxnas-dwmac 40400000.ethernet: TX Checksum insertion supported
[    3.005806] oxnas-dwmac 40400000.ethernet: Wake-Up On Lan supported
[    3.012062] oxnas-dwmac 40400000.ethernet (unnamed net_device) (uninitialized): device MAC address 3e:62:45:8a:1c:e7
[    3.017008] ata1: SATA link down (SStatus 0 SControl 310)
[    3.022568] oxnas-dwmac 40400000.ethernet: Enable RX Mitigation via HW Watchdog Timer
[    3.045132] libphy: stmmac: probed
[    3.048542] mdio_bus stmmac-0:00: attached PHY driver [unbound] (mii_bus:phy_addr=stmmac-0:00, irq=POLL)
[    3.058030] mdio_bus stmmac-0:03: attached PHY driver [unbound] (mii_bus:phy_addr=stmmac-0:03, irq=POLL)
[    3.068416] PPP generic driver version 2.4.2
[    3.072952] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[    3.079549] ehci-pci: EHCI PCI platform driver
[    3.285143] oxnas-ehci 40200100.ehci: EHCI Host Controller
[    3.290657] oxnas-ehci 40200100.ehci: new USB bus registered, assigned bus number 1
[    3.298524] oxnas-ehci 40200100.ehci: irq 52, io mem 0x40200100
[    3.325145] oxnas-ehci 40200100.ehci: USB 2.0 started, EHCI 1.00
[    3.331466] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002
[    3.338286] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    3.345512] usb usb1: Product: EHCI Host Controller
[    3.350369] usb usb1: Manufacturer: Linux 4.14.180-oxnas-tld-1 ehci_hcd
[    3.356989] usb usb1: SerialNumber: 40200100.ehci
[    3.362529] hub 1-0:1.0: USB hub found
[    3.366389] hub 1-0:1.0: 2 ports detected
[    3.371379] usbcore: registered new interface driver cdc_wdm
[    3.377221] usbcore: registered new interface driver usb-storage
[    3.383331] usbcore: registered new interface driver usbserial
[    3.389242] usbcore: registered new interface driver usbserial_generic
[    3.395863] usbserial: USB Serial support registered for generic
[    3.402196] mousedev: PS/2 mouse device common for all mice
[    3.407918] i2c /dev entries driver
[    3.412605] hidraw: raw HID events driver (C) Jiri Kosina
[    3.418250] usbcore: registered new interface driver usbhid
[    3.423797] usbhid: USB HID core driver
[    3.428902] NET: Registered protocol family 10
[    3.434752] Segment Routing with IPv6
[    3.438597] sit: IPv6, IPv4 and MPLS over IPv4 tunneling driver
[    3.446274] NET: Registered protocol family 17
[    3.450818] Key type dns_resolver registered
[    3.456404] registered taskstats version 1
[    3.460487] Loading compiled-in X.509 certificates
[    3.465405] zswap: loaded using pool lzo/zbud
[    3.477739] Key type big_key registered
[    3.484103] Key type encrypted registered

Well, in an other Posting I can see that the kernel should continue with

[    3.734958] oxnas-pcie 47c00000.pcie-controller: PCIe version/deviceID 0x82510b5
[    3.742430] oxnas-pcie 47c00000.pcie-controller: link up
[    3.748226] oxnas-pcie 47c00000.pcie-controller: PCI host bridge to bus 0000:00

...

I have no clue what to do here, could someone give me a hint? And as I understood, should use the kernel 4.14.180-oxnas-tld-1 that I copied to the USB stick. From there uBoot also fetches the kernel, so the file system is also okay. I have now repeated the procedure several times, swapped USB sticks and compared hashes of the files.

Further output

OX820> printenv
bootcmd=run bootcmd_uenv; run scan_disk; run set_bootargs; run bootcmd_exec; 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_uenv=run uenv_load; if test $uenv_loaded -eq 1; then run uenv_import; fi
bootdelay=10
bootdev=usb
device=0:1
devices=usb ide
disks=0 1 2 3
dtb_file=/boot/dts/ox820-pogoplug-pro.dtb
ethact=dwmac.40400000
ethaddr=52:3b:20:9c:11:51
if_netconsole=ping $serverip
ipaddr=192.168.0.88
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)
nc_ready=0
preboot=run preboot_nc
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.1
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

Environment size: 2755/131068 bytes
OX820> bdinfo
arch_number = 0x00000480
boot_params = 0x60000100
DRAM bank   = 0x00000000
-> start    = 0x60000000
-> size     = 0x08000000
eth0name    = dwmac.40400000
ethaddr     = 52:3b:20:9c:11:51
current eth = dwmac.40400000
ip_addr     = 192.168.0.88
baudrate    = 115200 bps
TLB addr    = 0x67FF0000
relocaddr   = 0x67F28000
reloc off   = 0x03F28000
irq_sp      = 0x67E27EF0
sp start    = 0x67E27EE0
OX820>

Your help would be appreciated.

br sepp



Edited 1 time(s). Last edit at 02/06/2023 10:18AM by zauberseppl.
Re: OX820 Pogplug Pro stops during booting from the kernel
January 27, 2023 03:26PM
sepp,

I think you might have the Popo V3 Classic, not the Pro version. Look on the label sticker outside the case. What does it say? Pro, P21, B1,...?

If it is the Classic version then do this to temporarily set the DTB to the correct version

Take the USB rootfs to another Linux box, mount it. Assuming it is mounted as /media/sdb1.

cd  /media/sdb1/boot
echo "dtb_file=/boot/dts/ox820-pogoplug-classic.dtb" > uEnv.txt
sync

And bring it back to the Pogo and boot.

=====

By the way, you have set up netconsole during u-boot installation and it is interfering with serial console. After you got it booted into Debian, you should remove netconsole. Only when you don't want serial console anymore then set up netconsole so you can monitor boot progress.

-bodhi
===========================
Forum Wiki
bodhi's corner (buy bodhi a beer)
Re: OX820 Pogplug Pro stops during booting from the kernel
January 30, 2023 01:47PM
Hi bodhi,

thanks a lot four your hint, but unfortunately it doesn't work. I found out that the settings are stored in the environment variable. Probably nothing is read from the uEnv.txt. I changed dtb_file in the env of the NAND/EEPROM?

OX820> printenv
bootcmd=run bootcmd_uenv; run scan_disk; run set_bootargs; run bootcmd_exec; 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_uenv=run uenv_load; if test $uenv_loaded -eq 1; then run uenv_import; fi
bootdelay=10
bootdev=usb
device=0:1
devices=usb ide
disks=0 1 2 3
dtb_file=/boot/dts/ox820-pogoplug-classic.dtb
ethact=dwmac.40400000
ethaddr=52:3b:20:9c:11:51
if_netconsole=ping $serverip
ipaddr=192.168.0.88
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)
nc_ready=0
preboot=run preboot_nc
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.1
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

Environment size: 2759/131068 bytes
OX820>

It booted until it should do the PCIE stuff.

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
...
starting USB...
USB0:   USB EHCI 1.00
scanning bus 0 for devices... 3 USB Device(s) found
       scanning usb for storage devices... 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      	60086272  	0114e8ac-01	83
loading envs from usb 0 ...
1887 bytes read in 237 ms (6.8 KiB/s)

no IDE devices available
importing envs ...
running scan_disk ...
Scan device usb
device usb 0:1
1 bytes read in 200 ms (0 Bytes/s)
Found bootable drive on usb 0
loading uImage ...
4609480 bytes read in 353 ms (12.5 MiB/s)
loading uInitrd ...
6464907 bytes read in 451 ms (13.7 MiB/s)
loading DTB /boot/dts/ox820-pogoplug-classic.dtb ...
8892 bytes read in 183 ms (46.9 KiB/s)
## Booting kernel from Legacy Image at 60500000 ...
   Image Name:   Linux-4.14.180-oxnas-tld-1
   Created:      1970-01-01   1:17:27 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 677fb2bb ... 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.000015] sched_clock: 24 bits at 390kHz, resolution 2560ns, wraps every 21474835200ns
[    0.008163] clocksource: oxnas_rps_clocksource_timer: mask: 0xffffff max_cycles: 0xffffff, max_idle_ns: 19112603332 ns
[    0.018892] timer_oxnas_rps: Registered clocksource rate 390625Hz
[    0.025052] timer_oxnas_rps: Registered clock event rate 6250000Hz prescaler 0 period 62500
[    0.033579] GIC: PPI13 is secure or misconfigured
[    0.038382] GIC: PPI13 is secure or misconfigured
[    0.043297] Console: colour dummy device 80x30
[    0.047833] Calibrating delay loop... 339.14 BogoMIPS (lpj=1695744)
[    0.094784] pid_max: default: 32768 minimum: 301
[    0.099735] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes)
[    0.106411] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes)
[    0.114534] CPU: Testing write buffer coherency: ok
[    0.158535] Setting up static identity map for 0x60100000 - 0x60100038
[    0.165352] Hierarchical SRCU implementation.
[    0.208440] smp: Bringing up secondary CPUs ...
[    0.258547] GIC: PPI13 is secure or misconfigured
[    0.318727] smp: Brought up 1 node, 2 CPUs
[    0.327659] SMP: Total of 2 processors activated (678.29 BogoMIPS).
[    0.334830] devtmpfs: initialized
[    0.343229] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[    0.353172] futex hash table entries: 512 (order: 2, 16384 bytes)
[    0.359674] prandom: seed boundary self test passed
[    0.368839] prandom: 100 self tests passed
[    0.373004] pinctrl core: initialized pinctrl subsystem
[    0.379002] NET: Registered protocol family 16
[    0.385082] DMA: preallocated 256 KiB pool for atomic coherent allocations
[    0.394347] cpuidle: using governor ladder
[    0.398643] cpuidle: using governor menu
[    0.421416] vgaarb: loaded
[    0.424668] SCSI subsystem initialized
[    0.429288] usbcore: registered new interface driver usbfs
[    0.434905] usbcore: registered new interface driver hub
[    0.440519] usbcore: registered new device driver usb
[    0.445816] pps_core: LinuxPPS API ver. 1 registered
[    0.450908] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
[    0.460154] PTP clock support registered
[    0.465162] clocksource: Switched to clocksource oxnas_rps_clocksource_timer
[    0.490178] NET: Registered protocol family 2
[    0.495559] TCP established hash table entries: 1024 (order: 0, 4096 bytes)
[    0.502599] TCP bind hash table entries: 1024 (order: 1, 8192 bytes)
[    0.509086] TCP: Hash tables configured (established 1024 bind 1024)
[    0.515688] UDP hash table entries: 256 (order: 1, 8192 bytes)
[    0.521612] UDP-Lite hash table entries: 256 (order: 1, 8192 bytes)
[    0.528271] NET: Registered protocol family 1
[    0.533501] RPC: Registered named UNIX socket transport module.
[    0.539540] RPC: Registered udp transport module.
[    0.544307] RPC: Registered tcp transport module.
[    0.549104] RPC: Registered tcp NFSv4.1 backchannel transport module.
[    0.557171] Initialise system trusted keyrings
[    0.561725] Key type blacklist registered
[    0.566164] workingset: timestamp_bits=30 max_order=15 bucket_order=0
[    0.580638] zbud: loaded
[    0.588229] NFS: Registering the id_resolver key type
[    0.593372] Key type id_resolver registered
[    0.597696] Key type id_legacy registered
[    0.601789] nfs4filelayout_init: NFSv4 File Layout Driver Registering...
[    0.608591] Installing knfsd (copyright (C) 1996 okir@monad.swb.de).
[    0.615956] fuse init (API version 7.26)
[    0.620956] orangefs_debugfs_init: called with debug mask: :none: :0:
[    0.627773] orangefs_init: module version upstream loaded
[    2.582725] Key type asymmetric registered
[    2.586959] Asymmetric key parser 'x509' registered
[    2.591989] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 249)
[    2.599493] io scheduler noop registered
[    2.603481] io scheduler deadline registered
[    2.607941] io scheduler cfq registered (default)
[    2.614886] Serial: 8250/16550 driver, 1 ports, IRQ sharing disabled
[    2.622883] console [ttyS0] disabled
[    2.626741] 44200000.serial: ttyS0 at MMIO 0x44200000 (irq = 55, base_baud = 390625) is a 16550A
[    2.635696] console [ttyS0] enabled
[    2.635696] console [ttyS0] enabled
[    2.642713] bootconsole [earlycon0] disabled
[    2.642713] bootconsole [earlycon0] disabled
[    2.662013] loop: module loaded
[    2.667002] scsi host0: sata_oxnas
[    2.670714] ata1: SATA max UDMA/133 irq 57
[    2.674890] sata_oxnas: resetting SATA core
[    2.735511] nand: Could not find valid ONFI parameter page; aborting
[    2.741844] nand: device found, Manufacturer ID: 0xad, Chip ID: 0xf1
[    2.748213] nand: Hynix NAND 128MiB 3,3V 8-bit
[    2.752640] nand: 128 MiB, SLC, erase size: 128 KiB, page size: 2048, OOB size: 64
[    2.760217] Scanning device for bad blocks
[    2.846597] 2 ofpart partitions found on MTD device 41000000.nand-controller
[    2.853611] Creating 2 MTD partitions on "41000000.nand-controller":
[    2.859975] 0x000000000000-0x000000e00000 : "boot"
[    2.866508] 0x000000e00000-0x000008000000 : "data"
[    2.874467] libphy: Fixed MDIO Bus: probed
[    2.879029] oxnas-dwmac 40400000.ethernet: PTP uses main clock
[    2.884848] oxnas-dwmac 40400000.ethernet: no reset control found
[    2.955266] stmmac - user ID: 0x12, Synopsys ID: 0x35
[    2.960307] oxnas-dwmac 40400000.ethernet: Ring mode enabled
[    2.965992] oxnas-dwmac 40400000.ethernet: DMA HW capability register supported
[    2.973271] oxnas-dwmac 40400000.ethernet: Enhanced/Alternate descriptors
[    2.980055] oxnas-dwmac 40400000.ethernet: Enabled extended descriptors
[    2.986664] oxnas-dwmac 40400000.ethernet: RX Checksum Offload Engine supported
[    2.993940] oxnas-dwmac 40400000.ethernet: COE Type 2
[    2.998993] oxnas-dwmac 40400000.ethernet: TX Checksum insertion supported
[    3.005867] oxnas-dwmac 40400000.ethernet: Wake-Up On Lan supported
[    3.012119] oxnas-dwmac 40400000.ethernet (unnamed net_device) (uninitialized): device MAC address 26:a9:5b:c0:8d:ce
[    3.017034] ata1: SATA link down (SStatus 0 SControl 310)
[    3.022620] oxnas-dwmac 40400000.ethernet: Enable RX Mitigation via HW Watchdog Timer
[    3.045112] libphy: stmmac: probed
[    3.048616] mdio_bus stmmac-0:00: attached PHY driver [unbound] (mii_bus:phy_addr=stmmac-0:00, irq=POLL)
[    3.058109] mdio_bus stmmac-0:03: attached PHY driver [unbound] (mii_bus:phy_addr=stmmac-0:03, irq=POLL)
[    3.068574] PPP generic driver version 2.4.2
[    3.073121] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[    3.079710] ehci-pci: EHCI PCI platform driver
[    3.285224] oxnas-ehci 40200100.ehci: EHCI Host Controller
[    3.290736] oxnas-ehci 40200100.ehci: new USB bus registered, assigned bus number 1
[    3.298606] oxnas-ehci 40200100.ehci: irq 52, io mem 0x40200100
[    3.325232] oxnas-ehci 40200100.ehci: USB 2.0 started, EHCI 1.00
[    3.331558] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002
[    3.338375] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    3.345597] usb usb1: Product: EHCI Host Controller
[    3.350453] usb usb1: Manufacturer: Linux 4.14.180-oxnas-tld-1 ehci_hcd
[    3.357063] usb usb1: SerialNumber: 40200100.ehci
[    3.362590] hub 1-0:1.0: USB hub found
[    3.366448] hub 1-0:1.0: 2 ports detected
[    3.371407] usbcore: registered new interface driver cdc_wdm
[    3.377249] usbcore: registered new interface driver usb-storage
[    3.383357] usbcore: registered new interface driver usbserial
[    3.389265] usbcore: registered new interface driver usbserial_generic
[    3.395886] usbserial: USB Serial support registered for generic
[    3.402216] mousedev: PS/2 mouse device common for all mice
[    3.407941] i2c /dev entries driver
[    3.412600] hidraw: raw HID events driver (C) Jiri Kosina
[    3.418252] usbcore: registered new interface driver usbhid
[    3.423800] usbhid: USB HID core driver
[    3.428945] NET: Registered protocol family 10
[    3.434762] Segment Routing with IPv6
[    3.438612] sit: IPv6, IPv4 and MPLS over IPv4 tunneling driver
[    3.446228] NET: Registered protocol family 17
[    3.450767] Key type dns_resolver registered
[    3.456320] registered taskstats version 1
[    3.460403] Loading compiled-in X.509 certificates
[    3.465313] zswap: loaded using pool lzo/zbud
[    3.477893] Key type big_key registered
[    3.484236] Key type encrypted registered

Aboout the type... It should be a "B04" that is what i found on the sticker on the bottom. I made a picture of the board and attached it to this post. Do you have any further ideas where I can look for the problem?

Thanks in advance,

sepp
Attachments:
open | download - motherboard.jpg (837.3 KB)
open | download - uEnv.txt (1.8 KB)
Re: OX820 Pogplug Pro stops during booting from the kernel
January 30, 2023 03:01PM
> Aboout the type... It should be a "B04" that is
> what i found on the sticker on the bottom. I made
> a picture of the board and attached it to this
> post. Do you have any further ideas where I can
> look for the problem?

Yes, B04 is one of the V3 models that we call Pogo V3 Classic (no Wifi card, no PCIe slot).

> loading DTB /boot/dts/ox820-pogoplug-classic.dtb ...

That indicated the uEnv.tx works.

The reason you still have problem is the uImage has the DTB embbeded in in. You should not do Step4, because you are booting with the new u-boot, not stock u-boot.

Quote

4. Create uImage with embedded DTB for booting with stock u-boot. Skip this step if you have installed the latest released uboot for OXNAS, or are installing this u-boot at the same time.

- If you have the Pogo V3 Classic (without Wifi), then the DTB name below should be ox820-pogoplug-classic.dtb (see below for the list of OX820 DTBs).

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

So mount the rootfs on another LInux box and restore the original
cp -a uImage.orig uImage
sync

And boot the Pogo again, this time it should boot. And then you can change the DTB name permanently with fw_setenv.

-bodhi
===========================
Forum Wiki
bodhi's corner (buy bodhi a beer)
Re: OX820 Pogplug Pro stops during booting from the kernel
February 06, 2023 10:17AM
Hi bodhi,

changing the kernel to the original one was the right hint. System runs now without any problems. Thanks a lot for your effort.

br sepp.
Re: OX820 Pogplug Pro stops during booting from the kernel
February 06, 2023 03:03PM
Cool!

-bodhi
===========================
Forum Wiki
bodhi's corner (buy bodhi a beer)
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: