openwrt on pogoplug pro v3 October 25, 2020 11:21AM |
Registered: 6 years ago Posts: 183 |
Re: openwrt on pogoplug pro v3 October 25, 2020 11:30AM |
Registered: 6 years ago Posts: 183 |
Quote
have working openwrt on pogoplug v3 runnning on nand, the trouble I run into is switching from nand to usb boot when I want to run debian from the usb. Here is what I have to do so far and its probably a simple fix.
if I want to run openwrt I have to interrupt boot on serial connection and run the following:
setenv bootcmd 'nboot 60500000 0 440000; bootm' saveenv boot
to run debian usb I have to interrupt boot on serial connection runs run the following:
setenv bootcmd 'run dt_bootcmd_usb' saveenv boot
now this will work if I want to always connect to the serial to switch between them however that is cumbersome, how can I set it to run openwrt if no usb and run debian if usb is inserted?
little bit stuck on that! any help would be nice ! Thanks!!
OX820> printenv autoload=no baudrate=115200 bootargs=console=ttyS0,115200n8 bootcmd=run dt_bootcmd_usb bootcmd_exec=if run load_uimage; then; if run load_initrd; then if run load_dtb; then bootm $load_uimage_addr $load_initrd_addr $load_dtb_addr; else bootm $load_uimage_addr $load_initrd_addr; fi; else if run load_dtb; then bootm $load_uimage_addr - $load_dtb_addr; else bootm $load_uimage_addr; fi; fi; fi bootcmd_uenv=run uenv_load; if test $uenv_loaded -eq 1; then run uenv_import; fi bootdelay=10 console=console=ttyS0,115200n8 devices=usb ide dt_bootcmd_usb=usb start; run dt_usb_bootcmd; usb stop; reset dt_bootm=bootm $uimage_addr $uinitrd_addr $dtb_addr dt_load_dtb=ext4load usb 0:1 $dtb_addr /boot/dts/ox820-pogoplug-pro.dtb dt_load_initrd=ext4load usb 0:1 $uinitrd_addr /boot/uInitrd dt_load_uimage=ext4load usb 0:1 $uimage_addr /boot/uImage dt_usb_boot=run dt_load_uimage; run dt_load_initrd; run dt_load_dtb; run dt_bootm dt_usb_bootcmd=run usb_set_bootargs; run dt_usb_boot dtb_addr=0x62c00000 dtb_file=/boot/dts/ox820-pogoplug-pro.dtb ethact=dwmac.40400000 ethaddr=xxxxxxxxxxxx fileaddr=64000000 filesize=61202a if_netconsole=ping $serverip ipaddr=xxxxxxxx mtdids=nand0=41000000.nand mtdparts=mtdparts=41000000.nand:14m(boot),-(data) preboot_nc=run if_netconsole start_netconsole serverip=xxxxxxxxxx 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 0x60500000 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 uimage_addr=0x60500000 uinitrd_addr=0x60e00000 usb_custom_params=zswap.enabled=1 usb_device=0:1 usb_set_bootargs=setenv bootargs console=ttyS0,115200 root=LABEL=rootfs rootdelay=10
OX820> printenv autoload=no baudrate=115200 bootargs=console=ttyS0,115200n8 bootcmd=nboot 60500000 0 440000; bootm bootcmd_exec=if run load_uimage; then; if run load_initrd; then if run load_dtb; then bootm $load_uimage_addr $load_initrd_addr $load_dtb_addr; else bootm $load_uimage_addr $load_initrd_addr; fi; else if run load_dtb; then bootm $load_uimage_addr - $load_dtb_addr; else bootm $load_uimage_addr; fi; fi; fi bootcmd_uenv=run uenv_load; if test $uenv_loaded -eq 1; then run uenv_import; fi bootdelay=10 console=console=ttyS0,115200n8 devices=usb ide dt_bootcmd_usb=usb start; run dt_usb_bootcmd; usb stop; reset dt_bootm=bootm $uimage_addr $uinitrd_addr $dtb_addr dt_load_dtb=ext4load usb 0:1 $dtb_addr /boot/dts/ox820-pogoplug-pro.dtb dt_load_initrd=ext4load usb 0:1 $uinitrd_addr /boot/uInitrd dt_load_uimage=ext4load usb 0:1 $uimage_addr /boot/uImage dt_usb_boot=run dt_load_uimage; run dt_load_initrd; run dt_load_dtb; run dt_bootm dt_usb_bootcmd=run usb_set_bootargs; run dt_usb_boot dtb_addr=0x62c00000 dtb_file=/boot/dts/ox820-pogoplug-pro.dtb ethact=dwmac.40400000 ethaddr=xxxxxxxxxxxx fileaddr=64000000 filesize=61202a if_netconsole=ping $serverip ipaddr=xxxxxxxx mtdids=nand0=41000000.nand mtdparts=mtdparts=41000000.nand:14m(boot),-(data) preboot_nc=run if_netconsole start_netconsole serverip=xxxxxxxxxxx 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 0x60500000 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 uimage_addr=0x60500000 uinitrd_addr=0x60e00000 usb_custom_params=zswap.enabled=1 usb_device=0:1 usb_set_bootargs=setenv bootargs console=ttyS0,115200 root=LABEL=rootfs rootdelay=10
Re: openwrt on pogoplug pro v3 October 26, 2020 11:24PM |
Admin Registered: 13 years ago Posts: 19,102 |
setenv bootcmd_openwrt 'nboot 60500000 0 440000; bootm' setenv bootcmd_exec 'if run load_uimage; then; if run load_initrd; then if run load_dtb; then bootm $load_uimage_addr $load_initrd_addr $load_dtb_addr; else bootm $load_uimage_addr $load_initrd_addr; fi; else if run load_dtb; then bootm $load_uimage_addr - $load_dtb_addr; else bootm $load_uimage_addr; fi; fi; else run bootcmd_openwrt; fi'And then boot
boot
Re: openwrt on pogoplug pro v3 October 26, 2020 11:26PM |
Admin Registered: 13 years ago Posts: 19,102 |
Quote
"2: also is it possible to move the nand openwrt to a bootable usb so I have more room for the OS?"
Re: openwrt on pogoplug pro v3 October 27, 2020 03:11PM |
Registered: 6 years ago Posts: 183 |
> setenv bootcmd_openwrt 'nboot 60500000 0 440000; > bootm' > setenv bootcmd_exec 'if run load_uimage; then; if > run load_initrd; then if run load_dtb; then bootm > $load_uimage_addr $load_initrd_addr > $load_dtb_addr; else bootm $load_uimage_addr > $load_initrd_addr; fi; else if run load_dtb; then > bootm $load_uimage_addr - $load_dtb_addr; else > bootm $load_uimage_addr; fi; fi; else run > bootcmd_openwrt; fi' >> And then boot
> boot >>
OX820> setenv bootcmd_openwrt 'nboot 60500000 0 440000; bootm' OX820> setenv bootcmd_exec 'if run load_uimage; then; if run load_initrd; then if run load_dtb; then bootm $load_uimage_addr $load_initrd_addr $load_dtb_addr; else bootm $load_uimage_addr $load_initrd_addr; fi; else if run load_dtb; then bootm $load_uimage_addr - $load_dtb_addr; else bootm $load_uimage_addr; fi; fi; else run bootcmd_openwrt; fi' OX820> boot Loading from nand0, offset 0x440000 Image Name: ARM OpenWrt Linux-4.14.195 Created: 2020-09-06 16:19:39 UTC Image Type: ARM Linux Kernel Image (uncompressed) Data Size: 2765936 Bytes = 2.6 MiB Load Address: 60008000 Entry Point: 60008000 ## Booting kernel from Legacy Image at 60500000 ... Image Name: ARM OpenWrt Linux-4.14.195 Created: 2020-09-06 16:19:39 UTC Image Type: ARM Linux Kernel Image (uncompressed) Data Size: 2765936 Bytes = 2.6 MiB Load Address: 60008000 Entry Point: 60008000 Verifying Checksum ... OK Loading Kernel Image ... OK Starting kernel ... [ 0.000000] Booting Linux on physical CPU 0x0 [ 0.000000] Linux version 4.14.195 (builder@buildhost) (gcc version 7.5.0 (OpenWrt GCC 7.5.0 r11208-ce6496d796)) #0 SMP Sun Sep 6 16:19:39 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: Cloud Engines PogoPlug Pro [ 0.000000] Memory policy: Data cache writealloc [ 0.000000] cma: Reserved 64 MiB at 0x64000000 [ 0.000000] random: get_random_bytes called from 0xc07008b8 with crng_init=0 [ 0.000000] percpu: Embedded 15 pages/cpu s29100 r8192 d24148 u61440 [ 0.000000] Built 1 zonelists, mobility grouping on. Total pages: 32512 [ 0.000000] Kernel command line: earlyprintk console=ttyS0,115200 [ 0.000000] Bootloader command line (ignored): console=ttyS0,115200n8 [ 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: 56564K/131072K available (5120K kernel code, 128K rwdata, 620K rodata, 1024K init, 208K bss, 8972K reserved, 65536K 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 - 0xc0600000 (6112 kB) [ 0.000000] .init : 0xc0700000 - 0xc0800000 (1024 kB) [ 0.000000] .data : 0xc0800000 - 0xc0820320 ( 129 kB) [ 0.000000] .bss : 0xc0823a1c - 0xc0857da8 ( 209 kB) [ 0.000000] SLUB: HWalign=32, Order=0-3, MinObjects=0, CPUs=2, Nodes=1 [ 0.000000] Hierarchical RCU implementation. [ 0.000000] RCU event tracing is enabled. [ 0.000000] RCU restricting CPUs from NR_CPUS=16 to nr_cpu_ids=2. [ 0.000000] RCU: Adjusting geometry for rcu_fanout_leaf=16, nr_cpu_ids=2 [ 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.000046] clocksource: oxnas_rps_clocksource_timer: mask: 0xffffff max_cycles: 0xffffff, max_idle_ns: 19112603332 ns [ 0.000058] timer_oxnas_rps: Registered clocksource rate 390625Hz [ 0.000081] timer_oxnas_rps: Registered clock event rate 6250000Hz prescaler 0 period 62500 [ 0.000225] GIC: PPI13 is secure or misconfigured [ 0.000273] GIC: PPI13 is secure or misconfigured [ 0.000373] Calibrating delay loop... 339.14 BogoMIPS (lpj=1695744) [ 0.050362] pid_max: default: 32768 minimum: 301 [ 0.050524] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes) [ 0.050547] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes) [ 0.051253] CPU: Testing write buffer coherency: ok [ 0.052413] Setting up static identity map for 0x60100000 - 0x6010005c [ 0.052628] Hierarchical SRCU implementation. [ 0.053427] smp: Bringing up secondary CPUs ... [ 0.054241] GIC: PPI13 is secure or misconfigured [ 0.110574] smp: Brought up 1 node, 2 CPUs [ 0.110602] SMP: Total of 2 processors activated (678.29 BogoMIPS). [ 0.115415] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns [ 0.115448] futex hash table entries: 512 (order: 2, 16384 bytes) [ 0.120232] pinctrl core: initialized pinctrl subsystem [ 0.120954] NET: Registered protocol family 16 [ 0.124610] DMA: preallocated 256 KiB pool for atomic coherent allocations [ 0.126717] cpuidle: using governor menu [ 0.126801] No ATAGs? [ 0.137912] pps_core: LinuxPPS API ver. 1 registered [ 0.137932] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it> [ 0.137978] PTP clock support registered [ 0.138864] clocksource: Switched to clocksource oxnas_rps_clocksource_timer [ 0.140103] NET: Registered protocol family 2 [ 0.141007] TCP established hash table entries: 1024 (order: 0, 4096 bytes) [ 0.141045] TCP bind hash table entries: 1024 (order: 1, 8192 bytes) [ 0.141079] TCP: Hash tables configured (established 1024 bind 1024) [ 0.141214] UDP hash table entries: 256 (order: 1, 8192 bytes) [ 0.141260] UDP-Lite hash table entries: 256 (order: 1, 8192 bytes) [ 0.141493] NET: Registered protocol family 1 [ 0.142863] No memory allocated for crashlog [ 0.143111] workingset: timestamp_bits=30 max_order=15 bucket_order=0 [ 0.149534] squashfs: version 4.0 (2009/01/31) Phillip Lougher [ 0.152913] io scheduler noop registered [ 0.152934] io scheduler deadline registered [ 0.153180] io scheduler cfq registered (default) [ 0.155233] Serial: 8250/16550 driver, 16 ports, IRQ sharing enabled [ 0.158789] console [ttyS0] disabled [ 0.158996] 44200000.serial: ttyS0 at MMIO 0x44200000 (irq = 55, base_baud = 390625) is a 16550A [ 0.622435] console [ttyS0] enabled [ 0.638960] brd: module loaded [ 0.649699] loop: module loaded [ 0.719152] nand: Could not find valid ONFI parameter page; aborting [ 0.725486] nand: device found, Manufacturer ID: 0xad, Chip ID: 0xf1 [ 0.731852] nand: Hynix NAND 128MiB 3,3V 8-bit [ 0.736281] nand: 128 MiB, SLC, erase size: 128 KiB, page size: 2048, OOB size: 64 [ 0.743851] Scanning device for bad blocks [ 0.830615] 5 fixed-partitions partitions found on MTD device 41000000.nand-controller [ 0.838492] Creating 5 MTD partitions on "41000000.nand-controller": [ 0.844853] 0x000000000000-0x000000040000 : "stage1" [ 0.850872] 0x000000040000-0x0000003c0000 : "u-boot" [ 0.856768] 0x0000003c0000-0x000000440000 : "u-boot-env" [ 0.863088] 0x000000440000-0x000000e00000 : "kernel" [ 0.869168] 0x000000e00000-0x000008000000 : "ubi" [ 0.875883] libphy: Fixed MDIO Bus: probed [ 0.880645] oxnas-dwmac 40400000.ethernet: PTP uses main clock [ 0.886461] oxnas-dwmac 40400000.ethernet: no reset control found [ 0.958940] stmmac - user ID: 0x12, Synopsys ID: 0x35 [ 0.963980] oxnas-dwmac 40400000.ethernet: Ring mode enabled [ 0.969664] oxnas-dwmac 40400000.ethernet: DMA HW capability register supported [ 0.976939] oxnas-dwmac 40400000.ethernet: Enhanced/Alternate descriptors [ 0.983720] oxnas-dwmac 40400000.ethernet: Enabled extended descriptors [ 0.990333] oxnas-dwmac 40400000.ethernet: RX Checksum Offload Engine supported [ 0.997603] oxnas-dwmac 40400000.ethernet: COE Type 2 [ 1.002657] oxnas-dwmac 40400000.ethernet: TX Checksum insertion supported [ 1.009525] oxnas-dwmac 40400000.ethernet: Wake-Up On Lan supported [ 1.015841] oxnas-dwmac 40400000.ethernet (unnamed net_device) (uninitialized): device MAC address fa:15:67:81:91:1f [ 1.026352] oxnas-dwmac 40400000.ethernet: Enable RX Mitigation via HW Watchdog Timer [ 1.043356] libphy: stmmac: probed [ 1.046758] RTL8211DN Gigabit Ethernet stmmac-0:00: attached PHY driver [RTL8211DN Gigabit Ethernet] (mii_bus:phy_addr=stmmac-0:00, irq=POLL) [ 1.059443] RTL8211DN Gigabit Ethernet stmmac-0:03: attached PHY driver [RTL8211DN Gigabit Ethernet] (mii_bus:phy_addr=stmmac-0:03, irq=POLL) [ 1.074032] ledtrig-cpu: registered to indicate activity on CPUs [ 1.080192] hidraw: raw HID events driver (C) Jiri Kosina [ 1.086860] NET: Registered protocol family 10 [ 1.092869] Segment Routing with IPv6 [ 1.096606] NET: Registered protocol family 17 [ 1.101209] bridge: filtering via arp/ip/ip6tables is no longer available by default. Update your scripts to load br_netfilter if you need this. [ 1.114176] 8021q: 802.1Q VLAN Support v1.8 [ 1.368898] oxnas-pcie 47c00000.pcie-controller: PCIe version/deviceID 0x82510b5 [ 1.376271] oxnas-pcie 47c00000.pcie-controller: link up [ 1.381890] oxnas-pcie 47c00000.pcie-controller: PCI host bridge to bus 0000:00 [ 1.389224] pci_bus 0000:00: root bus resource [mem 0x48000000-0x49ffffff] [ 1.396067] pci_bus 0000:00: root bus resource [mem 0x4a000000-0x4bdfffff pref] [ 1.403376] pci_bus 0000:00: root bus resource [io 0x0000-0xfffff] [ 1.409648] pci_bus 0000:00: root bus resource [bus 00-7f] [ 1.415610] PCI: bus0: Fast back to back transfers disabled [ 1.421230] pci 0000:00:00.0: BAR 0: assigned [mem 0x48000000-0x4800ffff] [ 1.428454] UBI: auto-attach mtd4 [ 1.431838] ubi0: attaching mtd4 [ 1.557806] ubi0: scanning is finished [ 1.570529] ubi0: attached mtd4 (name "ubi", size 114 MiB) [ 1.575994] ubi0: PEB size: 131072 bytes (128 KiB), LEB size: 129024 bytes [ 1.582894] ubi0: min./max. I/O unit sizes: 2048/2048, sub-page size 512 [ 1.589593] ubi0: VID header offset: 512 (aligned 512), data offset: 2048 [ 1.596346] ubi0: good PEBs: 912, bad PEBs: 0, corrupted PEBs: 0 [ 1.602352] ubi0: user volume: 2, internal volumes: 1, max. volumes count: 128 [ 1.609569] ubi0: max/mean erase counter: 4/2, WL threshold: 4096, image sequence number: 1761439147 [ 1.618657] ubi0: available PEBs: 0, total reserved PEBs: 912, PEBs reserved for bad PEB handling: 20 [ 1.627916] ubi0: background thread "ubi_bgt0d" started, PID 44 [ 1.629145] block ubiblock0_0: created from ubi0:0(rootfs) [ 1.639326] ubiblock: device ubiblock0_0 (rootfs) set to be root filesystem [ 1.646261] hctosys: unable to open rtc device (rtc0) [ 1.657059] VFS: Mounted root (squashfs filesystem) readonly on device 254:0. [ 1.665984] Freeing unused kernel memory: 1024K [ 1.996367] init: Console is alive [ 2.542476] kmodloader: loading kernel modules from /etc/modules-boot.d/* [ 2.616153] usbcore: registered new interface driver usbfs [ 2.621775] usbcore: registered new interface driver hub [ 2.627176] usbcore: registered new device driver usb [ 2.633182] Button Hotplug driver version 0.4.1 [ 2.639546] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver [ 2.647011] ehci-platform: EHCI generic platform driver [ 2.858905] oxnas-ehci 40200100.ehci: EHCI Host Controller [ 2.864432] oxnas-ehci 40200100.ehci: new USB bus registered, assigned bus number 1 [ 2.872604] oxnas-ehci 40200100.ehci: irq 52, io mem 0x40200100 [ 2.898903] oxnas-ehci 40200100.ehci: USB 2.0 started, EHCI 1.00 [ 2.905930] hub 1-0:1.0: USB hub found [ 2.909818] hub 1-0:1.0: 2 ports detected [ 2.916700] kmodloader: done loading kernel modules from /etc/modules-boot.d/* [ 2.930334] init: - preinit - [ 3.288998] usb 1-1: new high-speed USB device number 2 using oxnas-ehci [ 3.504097] random: jshn: uninitialized urandom read (4 bytes read) [ 3.542039] random: procd: uninitialized urandom read (4 bytes read) [ 3.542190] hub 1-1:1.0: USB hub found [ 3.552657] hub 1-1:1.0: 4 ports detected [ 3.568501] random: jshn: uninitialized urandom read (4 bytes read) [ 3.628421] RTL8211DN Gigabit Ethernet stmmac-0:00: attached PHY driver [RTL8211DN Gigabit Ethernet] (mii_bus:phy_addr=stmmac-0:00, irq=POLL) [ 3.648957] oxnas-dwmac 40400000.ethernet eth0: IEEE 1588-2008 Advanced Timestamp supported [ 3.657518] oxnas-dwmac 40400000.ethernet eth0: registered PTP clock [ 3.665671] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready Press the [f] key and hit [enter] to enter failsafe mode Press the [1], [2], [3] or [4] key and hit [enter] to select the debug level [ 3.888890] usb 1-1.3: new high-speed USB device number 3 using oxnas-ehci [ 6.898234] mount_root: loading kmods from internal overlay [ 6.920581] kmodloader: loading kernel modules from //etc/modules-boot.d/* [ 6.928499] kmodloader: done loading kernel modules from //etc/modules-boot.d/* [ 7.152281] __nand_correct_data: uncorrectable ECC error [ 7.157578] __nand_correct_data: uncorrectable ECC error [ 7.162944] print_req_error: I/O error, dev mtdblock1, sector 2048 [ 7.169456] __nand_correct_data: uncorrectable ECC error [ 7.174748] __nand_correct_data: uncorrectable ECC error [ 7.180088] print_req_error: I/O error, dev mtdblock1, sector 2048 [ 7.186242] Buffer I/O error on dev mtdblock1, logical block 256, async page read [ 7.293035] UBIFS (ubi0:1): background thread "ubifs_bgt0_1" started, PID 111 [ 7.327042] UBIFS (ubi0:1): recovery needed [ 7.506700] UBIFS (ubi0:1): recovery completed [ 7.511915] UBIFS (ubi0:1): UBIFS: mounted UBI device 0, volume 1, name "rootfs_data" [ 7.519754] UBIFS (ubi0:1): LEB size: 129024 bytes (126 KiB), min./max. I/O unit sizes: 2048 bytes/2048 bytes [ 7.529653] UBIFS (ubi0:1): FS size: 110057472 bytes (104 MiB, 853 LEBs), journal size 5548032 bytes (5 MiB, 43 LEBs) [ 7.540239] UBIFS (ubi0:1): reserved for root: 4952683 bytes (4836 KiB) [ 7.546828] UBIFS (ubi0:1): media format: w4/r0 (latest is w5/r0), UUID 25EAB2F5-5759-49E0-9B6A-9300CB685771, small LPT model [ 7.558881] block: attempting to load /tmp/ubifs_cfg/upper/etc/config/fstab [ 7.568565] block: extroot: device not present, retrying in 5 seconds [ 12.635781] __nand_correct_data: uncorrectable ECC error [ 12.641134] __nand_correct_data: uncorrectable ECC error [ 12.646435] print_req_error: I/O error, dev mtdblock1, sector 2048 [ 12.652915] __nand_correct_data: uncorrectable ECC error [ 12.658204] __nand_correct_data: uncorrectable ECC error [ 12.663534] print_req_error: I/O error, dev mtdblock1, sector 2048 [ 12.669690] Buffer I/O error on dev mtdblock1, logical block 256, async page read [ 12.769175] block: extroot: cannot find device with UUID 763e1760-6b36-42ae-aaf5-b64aaa25e05b [ 12.809113] UBIFS (ubi0:1): un-mount UBI device 0 [ 12.813862] UBIFS (ubi0:1): background thread "ubifs_bgt0_1" stops [ 12.825533] UBIFS (ubi0:1): background thread "ubifs_bgt0_1" started, PID 112 [ 12.884533] UBIFS (ubi0:1): UBIFS: mounted UBI device 0, volume 1, name "rootfs_data" [ 12.892410] UBIFS (ubi0:1): LEB size: 129024 bytes (126 KiB), min./max. I/O unit sizes: 2048 bytes/2048 bytes [ 12.902336] UBIFS (ubi0:1): FS size: 110057472 bytes (104 MiB, 853 LEBs), journal size 5548032 bytes (5 MiB, 43 LEBs) [ 12.912924] UBIFS (ubi0:1): reserved for root: 4952683 bytes (4836 KiB) [ 12.919539] UBIFS (ubi0:1): media format: w4/r0 (latest is w5/r0), UUID 25EAB2F5-5759-49E0-9B6A-9300CB685771, small LPT model [ 12.932436] mount_root: loading kmods from internal overlay [ 12.979453] kmodloader: loading kernel modules from /tmp/overlay/upper/etc/modules-boot.d/* [ 13.111114] SCSI subsystem initialized [ 13.125949] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver [ 13.133273] ohci-platform: OHCI generic platform driver [ 13.142753] uhci_hcd: USB Universal Host Controller Interface driver [ 13.157509] usb-storage 1-1.3:1.0: USB Mass Storage device detected [ 13.164597] scsi host0: usb-storage 1-1.3:1.0 [ 13.169728] usbcore: registered new interface driver usb-storage [ 13.175984] kmodloader: done loading kernel modules from /tmp/overlay/upper/etc/modules-boot.d/* [ 13.255398] __nand_correct_data: uncorrectable ECC error [ 13.260764] __nand_correct_data: uncorrectable ECC error [ 13.266063] print_req_error: I/O error, dev mtdblock1, sector 2048 [ 13.272555] __nand_correct_data: uncorrectable ECC error [ 13.277847] __nand_correct_data: uncorrectable ECC error [ 13.283187] print_req_error: I/O error, dev mtdblock1, sector 2048 [ 13.289338] Buffer I/O error on dev mtdblock1, logical block 256, async page read [ 13.393904] block: attempting to load /tmp/ubifs_cfg/upper/etc/config/fstab [ 13.402833] block: extroot: device not present, retrying in 5 seconds [ 14.250408] scsi 0:0:0:0: Direct-Access SanDisk Cruzer Glide 1.00 PQ: 0 ANSI: 6 [ 14.261079] sd 0:0:0:0: [sda] 123174912 512-byte logical blocks: (63.1 GB/58.7 GiB) [ 14.270679] sd 0:0:0:0: [sda] Write Protect is off [ 14.276303] sd 0:0:0:0: [sda] Write cache: disabled, read cache: enabled, doesn't support DPO or FUA [ 14.382384] sda: sda1 sda2 [ 14.390184] sd 0:0:0:0: [sda] Attached SCSI removable disk [ 18.470320] __nand_correct_data: uncorrectable ECC error [ 18.475617] __nand_correct_data: uncorrectable ECC error [ 18.480977] print_req_error: I/O error, dev mtdblock1, sector 2048 [ 18.487390] __nand_correct_data: uncorrectable ECC error [ 18.492736] __nand_correct_data: uncorrectable ECC error [ 18.498032] print_req_error: I/O error, dev mtdblock1, sector 2048 [ 18.504184] Buffer I/O error on dev mtdblock1, logical block 256, async page read [ 18.654213] random: fast init done [ 18.784637] block: extroot: cannot find device with UUID 763e1760-6b36-42ae-aaf5-b64aaa25e05b [ 18.840384] mount_root: switching to ubifs overlay [ 18.864965] urandom-seed: Seeding with /etc/urandom.seed [ 18.963330] procd: - early - [ 19.647219] procd: - ubus - [ 19.702691] urandom_read: 1 callbacks suppressed [ 19.702702] random: ubusd: uninitialized urandom read (4 bytes read) [ 19.715008] random: ubusd: uninitialized urandom read (4 bytes read) [ 19.721948] random: ubusd: uninitialized urandom read (4 bytes read) [ 19.730170] procd: - init - Please press Enter to activate this console. [ 20.316968] Adding 5119996k swap on /dev/sda2. Priority:-2 extents:1 across:5119996k [ 20.351843] urngd: v1.0.2 started. [ 20.380518] kmodloader: loading kernel modules from /etc/modules.d/* [ 20.406184] tun: Universal TUN/TAP device driver, 1.6 [ 20.423797] Loading modules backported from Linux version v4.19.137-0-gc076c79e03c6 [ 20.431516] Backport generated by backports.git v4.19.137-1-0-g60c3a249 [ 20.444779] random: crng init done [ 20.448261] random: 3 urandom warning(s) missed due to ratelimiting [ 20.460106] nf_conntrack version 0.5.0 (2048 buckets, 8192 max) [ 20.526776] xt_time: kernel timezone is -0000 [ 20.549821] ip_tables: (C) 2000-2006 Netfilter Core Team [ 20.611287] rt2800pci 0000:00:00.0: enabling device (0140 -> 0142) [ 20.617643] ieee80211 phy0: rt2x00_set_rt: Info - RT chipset 3090, rev 3213 detected [ 20.628920] ieee80211 phy0: rt2x00_set_rf: Info - RF chipset 0005 detected [ 20.641169] kmodloader: done loading kernel modules from /etc/modules.d/* [ 24.441159] __nand_correct_data: uncorrectable ECC error [ 24.446458] __nand_correct_data: uncorrectable ECC error [ 24.451883] print_req_error: I/O error, dev mtdblock1, sector 2048 [ 24.463362] __nand_correct_data: uncorrectable ECC error [ 24.468666] __nand_correct_data: uncorrectable ECC error [ 24.474137] print_req_error: I/O error, dev mtdblock1, sector 2048 [ 24.480302] Buffer I/O error on dev mtdblock1, logical block 256, async page read [ 25.809152] RTL8211DN Gigabit Ethernet stmmac-0:00: attached PHY driver [RTL8211DN Gigabit Ethernet] (mii_bus:phy_addr=stmmac-0:00, irq=POLL) [ 25.849064] oxnas-dwmac 40400000.ethernet eth0: IEEE 1588-2008 Advanced Timestamp supported [ 25.857712] oxnas-dwmac 40400000.ethernet eth0: registered PTP clock [ 25.866449] br-lan: port 1(eth0) entered blocking state [ 25.871802] br-lan: port 1(eth0) entered disabled state [ 25.877445] device eth0 entered promiscuous mode [ 25.888396] IPv6: ADDRCONF(NETDEV_UP): br-lan: link is not ready [ 28.460070] ieee80211 phy0: rt2x00lib_request_firmware: Info - Loading firmware file 'rt2860.bin' [ 28.469742] ieee80211 phy0: rt2x00lib_request_firmware: Info - Firmware detected - version: 0.40 [ 34.707141] IPv6: ADDRCONF(NETDEV_UP): wlan0-1: link is not ready [ 34.717772] br-lan: port 2(wlan0-1) entered blocking state [ 34.723358] br-lan: port 2(wlan0-1) entered disabled state [ 34.729231] device wlan0-1 entered promiscuous mode [ 35.020741] IPv6: ADDRCONF(NETDEV_UP): wlan0: link is not ready [ 36.331422] wlan0: authenticate with 60:38:e0:c5:00:01 [ 36.341235] wlan0: send auth to 60:38:e0:c5:00:01 (try 1/3) [ 36.348288] wlan0: authenticated [ 36.358983] wlan0: associate with 60:38:e0:c5:00:01 (try 1/3) [ 36.375672] wlan0: RX AssocResp from 60:38:e0:c5:00:01 (capab=0x511 status=0 aid=4) [ 36.383587] wlan0: associated [ 36.402301] IPv6: ADDRCONF(NETDEV_CHANGE): wlan0: link becomes ready [ 36.479500] wlan0: Limiting TX power to 30 (30 - 0) dBm as advertised by 60:38:e0:c5:00:01 [ 36.582663] IPv6: ADDRCONF(NETDEV_CHANGE): wlan0-1: link becomes ready [ 36.589493] br-lan: port 2(wlan0-1) entered blocking state [ 36.595008] br-lan: port 2(wlan0-1) entered forwarding state [ 36.601233] IPv6: ADDRCONF(NETDEV_CHANGE): br-lan: link becomes ready
Re: openwrt on pogoplug pro v3 October 27, 2020 03:17PM |
Registered: 6 years ago Posts: 183 |
>Quote
"2: also is it possible to move the nand
> openwrt to a bootable usb so I have more room for
> the OS?"
Re: openwrt on pogoplug pro v3 October 27, 2020 04:28PM |
Admin Registered: 13 years ago Posts: 19,102 |
Quote
goes to openwrt regardless, won't pick up usb rootfs.
Re: openwrt on pogoplug pro v3 October 27, 2020 06:05PM |
Registered: 6 years ago Posts: 183 |
Re: openwrt on pogoplug pro v3 October 27, 2020 06:48PM |
Admin Registered: 13 years ago Posts: 19,102 |
Re: openwrt on pogoplug pro v3 October 27, 2020 10:10PM |
Registered: 6 years ago Posts: 183 |
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.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
Re: openwrt on pogoplug pro v3 October 27, 2020 10:57PM |
Registered: 6 years ago Posts: 183 |
Re: openwrt on pogoplug pro v3 October 28, 2020 05:34AM |
Admin Registered: 13 years ago Posts: 19,102 |
Re: openwrt on pogoplug pro v3 October 28, 2020 11:16AM |
Registered: 6 years ago Posts: 183 |