Skip to content

Instantly share code, notes, and snippets.

@skygunner
Created March 9, 2018 17:21
Show Gist options
  • Save skygunner/1ed7a0ecd3646c2dc3b0e0b61d9509f6 to your computer and use it in GitHub Desktop.
Save skygunner/1ed7a0ecd3646c2dc3b0e0b61d9509f6 to your computer and use it in GitHub Desktop.
PogoPlug V3 Oxnas OX820 U-Boot 2015.10-tld-2 Debian rootfs 4.4.54-oxnas-tld-1
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.1.3
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=1
ncip=192.168.1.10
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.1.10
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=nc
stdin=nc
stdout=nc
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
U-Boot 2015.10-tld-2 (Oct 21 2017 - 22:00:02 -0700)
OXNAS OX820
gcc (Debian 6.3.0-18) 6.3.0 20170516
GNU ld (GNU Binutils for Debian) 2.28
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... 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 7568704 20cb7919-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 199 ms (0 Bytes/s)
Found bootable drive on usb 0
loading uImage ...
4621824 bytes read in 484 ms (9.1 MiB/s)
loading uInitrd ...
4594376 bytes read in 458 ms (9.6 MiB/s)
loading DTB /boot/dts/ox820-pogoplug-classic.dtb ...
7075 bytes read in 194 ms (35.2 KiB/s)
## Booting kernel from Legacy Image at 60500000 ...
Image Name: Linux-4.4.54-oxnas-tld-1
Created: 2017-08-01 4:45:36 UTC
Image Type: ARM Linux Kernel Image (uncompressed)
Data Size: 4621760 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.4.54-oxnas-tld-1
Created: 2017-08-01 7:51:04 UTC
Image Type: ARM Linux RAMDisk Image (gzip compressed)
Data Size: 4594312 Bytes = 4.4 MiB
Load Address: 60000000
Entry Point: 60000000
Verifying Checksum ... OK
## Flattened Device Tree blob at 62c00000
Booting using the fdt blob at 0x62c00000
Starting kernel ...
[ 0.000000] Booting Linux on physical CPU 0x0
[ 0.000000] Linux version 4.4.54-oxnas-tld-1 (root@tldDebian) (gcc version 4.9.2 (Debian 4.9.2-10) ) #2 SMP PREEMPT Sat Mar 18 23:09:58 PDT 2017
[ 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] Machine model: Pogoplug V3 Classic
[ 0.000000] Memory policy: Data cache writealloc
[ 0.000000] On node 0 totalpages: 32768
[ 0.000000] free_area_init_node: node 0, pgdat c08a69c0, node_mem_map c7ef9000
[ 0.000000] Normal zone: 256 pages used for memmap
[ 0.000000] Normal zone: 0 pages reserved
[ 0.000000] Normal zone: 32768 pages, LIFO batch:7
[ 0.000000] DT missing boot CPU MPIDR[23:0], fall back to default cpu_logical_map
[ 0.000000] PERCPU: Embedded 12 pages/cpu @c7eda000 s17696 r8192 d23264 u49152
[ 0.000000] pcpu-alloc: s17696 r8192 d23264 u49152 alloc=12*4096
[ 0.000000] pcpu-alloc: [0] 0 [0] 1
[ 0.000000] Built 1 zonelists in Zone order, mobility grouping on. Total pages: 32512
[ 0.000000] Kernel command line: console=ttyS0,115200 root=LABEL=rootfs rootdelay=10 mtdparts=41000000.nand:14m(boot),-(data)
[ 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: 116204K/131072K available (6410K kernel code, 288K rwdata, 1908K rodata, 224K init, 247K bss, 14868K reserved, 0K cma-reserved)
[ 0.000000] Virtual kernel memory layout:
vector : 0xffff0000 - 0xffff1000 ( 4 kB)
fixmap : 0xffc00000 - 0xfff00000 (3072 kB)
vmalloc : 0xc8800000 - 0xff800000 ( 880 MB)
lowmem : 0xc0000000 - 0xc8000000 ( 128 MB)
modules : 0xbf000000 - 0xc0000000 ( 16 MB)
.text : 0xc0008000 - 0xc0827e14 (8320 kB)
.init : 0xc0828000 - 0xc0860000 ( 224 kB)
.data : 0xc0860000 - 0xc08a8378 ( 289 kB)
.bss : 0xc08a8378 - 0xc08e6350 ( 248 kB)
[ 0.000000] SLUB: HWalign=32, Order=0-3, MinObjects=0, CPUs=2, Nodes=1
[ 0.000000] Preemptible hierarchical RCU implementation.
[ 0.000000] NR_IRQS:160
[ 0.000000] clocksource: rps_clocksource_timer: mask: 0xffffff max_cycles: 0xffffff, max_idle_ns: 19112603332 ns
[ 0.000010] sched_clock: 24 bits at 390kHz, resolution 2560ns, wraps every 21474835200ns
[ 0.000166] Console: colour dummy device 80x30
[ 0.000197] Calibrating delay loop... 339.14 BogoMIPS (lpj=1695744)
[ 0.050017] pid_max: default: 32768 minimum: 301
[ 0.050183] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes)
[ 0.050201] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes)
[ 0.051023] Initializing cgroup subsys net_cls
[ 0.051105] CPU: Testing write buffer coherency: ok
[ 0.051522] Setting up static identity map for 0x60008220 - 0x60008258
[ 0.190131] Brought up 2 CPUs
[ 0.190154] SMP: Total of 2 processors activated (678.29 BogoMIPS).
[ 0.190929] devtmpfs: initialized
[ 0.196300] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[ 0.196346] futex hash table entries: 512 (order: 2, 16384 bytes)
[ 0.196654] prandom: seed boundary self test passed
[ 0.201070] prandom: 100 self tests passed
[ 0.201098] pinctrl core: initialized pinctrl subsystem
[ 0.201940] NET: Registered protocol family 16
[ 0.202503] DMA: preallocated 256 KiB pool for atomic coherent allocations
[ 0.230021] cpuidle: using governor ladder
[ 0.260011] cpuidle: using governor menu
[ 0.264857] gpio-oxnas 44000000.gpio: at address c8848000
[ 0.265264] gpio-oxnas 44100000.gpio: at address c884a000
[ 0.265809] pinctrl-oxnas pinctrl: initialized OX820 pinctrl driver
[ 0.278796] vgaarb: loaded
[ 0.279278] SCSI subsystem initialized
[ 0.279613] libata version 3.00 loaded.
[ 0.280192] usbcore: registered new interface driver usbfs
[ 0.280304] usbcore: registered new interface driver hub
[ 0.280468] usbcore: registered new device driver usb
[ 0.280665] pps_core: LinuxPPS API ver. 1 registered
[ 0.280678] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <[email protected]>
[ 0.280727] PTP clock support registered
[ 0.282887] clocksource: Switched to clocksource rps_clocksource_timer
[ 0.301972] NET: Registered protocol family 2
[ 0.302835] TCP established hash table entries: 1024 (order: 0, 4096 bytes)
[ 0.302876] TCP bind hash table entries: 1024 (order: 1, 8192 bytes)
[ 0.302912] TCP: Hash tables configured (established 1024 bind 1024)
[ 0.303011] UDP hash table entries: 256 (order: 1, 8192 bytes)
[ 0.303055] UDP-Lite hash table entries: 256 (order: 1, 8192 bytes)
[ 0.303319] NET: Registered protocol family 1
[ 0.303848] RPC: Registered named UNIX socket transport module.
[ 0.303869] RPC: Registered udp transport module.
[ 0.303882] RPC: Registered tcp transport module.
[ 0.303895] RPC: Registered tcp NFSv4.1 backchannel transport module.
[ 0.303928] PCI: CLS 0 bytes, default 32
[ 0.304281] Unpacking initramfs...
[ 0.779197] Freeing initrd memory: 4488K (c79c5000 - c7e27000)
[ 0.780907] Initialise system trusted keyring
[ 0.793820] zbud: loaded
[ 0.799040] NFS: Registering the id_resolver key type
[ 0.799104] Key type id_resolver registered
[ 0.799116] Key type id_legacy registered
[ 0.799162] nfs4filelayout_init: NFSv4 File Layout Driver Registering...
[ 0.799185] Installing knfsd (copyright (C) 1996 [email protected]).
[ 0.800263] fuse init (API version 7.23)
[ 0.802234] Key type big_key registered
[ 0.892282] Key type asymmetric registered
[ 0.892313] Asymmetric key parser 'x509' registered
[ 0.892462] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 252)
[ 0.892487] io scheduler noop registered
[ 0.892508] io scheduler deadline registered
[ 0.892572] io scheduler cfq registered (default)
[ 0.893204] Serial: 8250/16550 driver, 1 ports, IRQ sharing disabled
[ 0.894666] console [ttyS0] disabled
[ 0.894760] 44200000.uart: ttyS0 at MMIO 0x44200000 (irq = 6, base_baud = 390625) is a 16550A
[ 1.420270] console [ttyS0] enabled
[ 1.435269] loop: module loaded
[ 1.440427] scsi host0: sata_oxnas
[ 1.444259] ata1: SATA max UDMA/133 irq 7
[ 1.448348] sata_oxnas: resetting SATA core
[ 1.449425] nand: Could not find valid ONFI parameter page; aborting
[ 1.449466] nand: device found, Manufacturer ID: 0xad, Chip ID: 0xf1
[ 1.449472] nand: Hynix NAND 128MiB 3,3V 8-bit
[ 1.449479] nand: 128 MiB, SLC, erase size: 128 KiB, page size: 2048, OOB size: 64
[ 1.449497] Scanning device for bad blocks
[ 1.532377] 2 cmdlinepart partitions found on MTD device 41000000.nand
[ 1.538877] Creating 2 MTD partitions on "41000000.nand":
[ 1.544279] 0x000000000000-0x000000e00000 : "boot"
[ 1.551060] 0x000000e00000-0x000008000000 : "data"
[ 1.558348] oxnas-gmac 40400000.ethernet: no reset control found
[ 1.564392] stmmac - user ID: 0x12, Synopsys ID: 0x35
[ 1.569418] Ring mode enabled
[ 1.572469] DMA HW capability register supported
[ 1.576975] Enhanced/Alternate descriptors
[ 1.581327] Enabled extended descriptors
[ 1.585315] RX Checksum Offload Engine supported (type 2)
[ 1.590801] TX Checksum insertion supported
[ 1.595046] Wake-Up On Lan supported
[ 1.598686] Enable RX Mitigation via HW Watchdog Timer
[ 1.634859] libphy: stmmac: probed
[ 1.638256] eth%d: PHY ID 001cc914 at 0 IRQ POLL (stmmac-0:00) active
[ 1.644718] eth%d: PHY ID 001cc914 at 3 IRQ POLL (stmmac-0:03)
[ 1.651430] PPP generic driver version 2.4.2
[ 1.656263] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[ 1.662876] ehci-pci: EHCI PCI platform driver
[ 1.667829] oxnas-ehci 40200100.ehci: EHCI Host Controller
[ 1.673400] oxnas-ehci 40200100.ehci: new USB bus registered, assigned bus number 1
[ 1.681236] oxnas-ehci 40200100.ehci: irq 10, io mem 0x40200100
[ 1.700011] oxnas-ehci 40200100.ehci: USB 2.0 started, EHCI 1.00
[ 1.706324] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002
[ 1.713141] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[ 1.720360] usb usb1: Product: EHCI Host Controller
[ 1.725217] usb usb1: Manufacturer: Linux 4.4.54-oxnas-tld-1 ehci_hcd
[ 1.731660] usb usb1: SerialNumber: 40200100.ehci
[ 1.737300] hub 1-0:1.0: USB hub found
[ 1.741168] hub 1-0:1.0: 2 ports detected
[ 1.746263] usbcore: registered new interface driver cdc_acm
[ 1.751956] cdc_acm: USB Abstract Control Model driver for USB modems and ISDN adapters
[ 1.760069] usbcore: registered new interface driver cdc_wdm
[ 1.765875] usbcore: registered new interface driver usb-storage
[ 1.772090] usbcore: registered new interface driver usbserial
[ 1.777978] usbcore: registered new interface driver usbserial_generic
[ 1.784578] usbserial: USB Serial support registered for generic
[ 1.791040] mousedev: PS/2 mouse device common for all mice
[ 1.796759] i2c /dev entries driver
[ 1.801548] hidraw: raw HID events driver (C) Jiri Kosina
[ 1.807170] usbcore: registered new interface driver usbhid
[ 1.812779] usbhid: USB HID core driver
[ 1.818631] NET: Registered protocol family 10
[ 1.824440] sit: IPv6 over IPv4 tunneling driver
[ 1.830138] NET: Registered protocol family 17
[ 1.830182] ata1: SATA link down (SStatus 0 SControl 310)
[ 1.840430] Key type dns_resolver registered
[ 1.846110] registered taskstats version 1
[ 1.850275] Loading compiled-in X.509 certificates
[ 1.855168] zswap: loaded using pool lzo/zbud
[ 1.874099] Key type encrypted registered
[ 1.881336] Freeing unused kernel memory: 224K (c0828000 - c0860000)
[ 2.060154] usb 1-1: new high-speed USB device number 2 using oxnas-ehci
[ 2.070458] random: systemd-udevd: uninitialized urandom read (16 bytes read, 0 bits of entropy available)
[ 2.073871] random: udevadm: uninitialized urandom read (16 bytes read, 0 bits of entropy available)
[ 2.076085] random: udevadm: uninitialized urandom read (16 bytes read, 0 bits of entropy available)
[ 2.076257] random: udevadm: uninitialized urandom read (16 bytes read, 0 bits of entropy available)
[ 2.077327] random: udevadm: uninitialized urandom read (16 bytes read, 0 bits of entropy available)
[ 2.081431] random: udevadm: uninitialized urandom read (16 bytes read, 0 bits of entropy available)
[ 2.082373] random: udevadm: uninitialized urandom read (16 bytes read, 0 bits of entropy available)
[ 2.083310] random: udevadm: uninitialized urandom read (16 bytes read, 0 bits of entropy available)
[ 2.084439] random: udevadm: uninitialized urandom read (16 bytes read, 0 bits of entropy available)
[ 2.085877] random: udevadm: uninitialized urandom read (16 bytes read, 0 bits of entropy available)
[ 2.252072] usb 1-1: New USB device found, idVendor=05e3, idProduct=0608
[ 2.258767] usb 1-1: New USB device strings: Mfr=0, Product=1, SerialNumber=0
[ 2.280158] usb 1-1: Product: USB2.0 Hub
[ 2.291302] hub 1-1:1.0: USB hub found
[ 2.300241] hub 1-1:1.0: 4 ports detected
[ 2.590100] usb 1-1.4: new high-speed USB device number 3 using oxnas-ehci
[ 2.714800] usb 1-1.4: New USB device found, idVendor=0930, idProduct=1400
[ 2.721986] usb 1-1.4: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[ 2.729272] usb 1-1.4: Product: TOSHIBA USB DRV
[ 2.733926] usb 1-1.4: Manufacturer: TOSHIBA
[ 2.738176] usb 1-1.4: SerialNumber: 070B2CB16D8A6E61
[ 2.744588] usb-storage 1-1.4:1.0: USB Mass Storage device detected
[ 2.751472] scsi host1: usb-storage 1-1.4:1.0
[ 2.770380] usbcore: registered new interface driver uas
[ 3.752616] scsi 1:0:0:0: Direct-Access TOSHIBA TOSHIBA USB DRV PMAP PQ: 0 ANSI: 4
[ 3.763182] sd 1:0:0:0: [sda] 7570752 512-byte logical blocks: (3.88 GB/3.61 GiB)
[ 3.772170] sd 1:0:0:0: [sda] Write Protect is off
[ 3.776972] sd 1:0:0:0: [sda] Mode Sense: 23 00 00 00
[ 3.779883] sd 1:0:0:0: [sda] No Caching mode page found
[ 3.785479] sd 1:0:0:0: [sda] Assuming drive cache: write through
[ 3.799664] sda: sda1
[ 3.808460] sd 1:0:0:0: [sda] Attached SCSI removable disk
[ 18.058626] EXT4-fs (sda1): mounting ext3 file system using the ext4 subsystem
[ 18.082260] EXT4-fs (sda1): mounted filesystem with ordered data mode. Opts: (null)
[ 22.081820] EXT4-fs (sda1): re-mounted. Opts: (null)
[ 22.228390] random: nonblocking pool is initialized
[ 23.681024] EXT4-fs (sda1): re-mounted. Opts: errors=remount-ro
[ 31.290160] oxnas-gmac 40400000.ethernet eth0: Link is Up - 100Mbps/Full - flow control rx/tx
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment