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.
Well, in an other Posting I can see that the kernel should continue with
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
Your help would be appreciated.
br sepp
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