Welcome! Log In Create A New Profile

Advanced

Tutorial of native sata boot for pogoplug pro

Posted by youxiaojie 
Re: Tutorial of native sata boot for pogoplug pro
March 23, 2018 10:11PM
Bodhi, I believe when I was messing around figuring it all out I may have attempted typing it in by error, I had put all the files in the usb so it may have just booted either one. kinda just glad it boots up every time:) I am now wondering if it is something I should fix,lol...Echowarrior108



followup on last question, what happened was I was was looking up different versions and made a backup copy, I then pasted the name into the backup file and when I was having trouble getting it all to work I sent the files to my laptop and ran everything else from there instead and must have copied the edited file. It is funny that it actually works. I guess my question now is should I try to upgrade to the newer version or edit the file name in u-boot?also here is a reboot with just the usb inserted it starts with this very well:

root@debian:~# reboot

Broadcast message from root@debian (ttyS0) (Fri Mar 23 23:48:00 2018):

INIT: Sending p[info] Using makefile-style concurrent boot in runlevel 6.
[....] Stopping busybox' klogd implementation: klogd1243 (klogd)
Stopped klogd (pid 1243).
. ok 
[ ok ] Stopping Avahi mDNS/DNS-SD Daemon: avahi-daemon.
[....] Stopping busybox' syslogd implementation: syslogd1244 (syslogd)
. ok 
[ ok ] Stopping NFS kernel daemon: mountd nfsd.
[ ok ] Unexporting directories for NFS kernel daemon....
[ ok ] Asking all remaining processes to terminate...done.
[ ok ] All processes ended within 1 seconds...done.
[ ok ] Stopping RPC port mapper daemon: rpcbind.
[ ok ] Stopping NFS common utilities: idmapd statd.
[....] Deconfiguring network interfaces...Removed stale PID file
Internet Systems Consortium DHCP Client 4.3.5
Copyright 2004-2016 Internet Systems Consortium.
All rights reserved.
For info, please visit https://www.isc.org/software/dhcp/

Listening on LPF/eth0/00:25:31:01:0c:d5
Sending on   LPF/eth0/00:25:31:01:0c:d5
Sending on   Socket/fallback
DHCPRELEASE on eth0 to 192.168.5.72 port 67
done.
[ ok ] Unmounting temporary filesystems...done.
[ ok ] Deactivating swap...done.
[  107.043120] EXT4-fs (sda1): re-mounted. Opts: (null)
[info] Will now restart.
[  109.184688] reboot: Restarting system

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.5.72 is alive
Speed: 1000, full duplex
Using dwmac.40400000 device
host 192.168.5.72 is alive
Speed: 1000, full duplex
Using dwmac.40400000 device
host 192.168.5.72 is alive
Speed: 1000, full duplex
Using dwmac.40400000 device
host 192.168.5.72 is alive
Speed: 1000, full duplex
Using dwmac.40400000 device
host 192.168.5.72 is alive
Uncompressing Linux... done, booting the 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 Pro
[    0.000000] Memory policy: Data cache writealloc
[    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] 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:
[    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 - 0xc0827e14   (8320 kB)
[    0.000000]       .init : 0xc0828000 - 0xc0860000   ( 224 kB)
[    0.000000]       .data : 0xc0860000 - 0xc08a8378   ( 289 kB)
[    0.000000]        .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.000007] sched_clock: 24 bits at 390kHz, resolution 2560ns, wraps every 21474835200ns
[    0.000163] 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.051525] Setting up static identity map for 0x60008220 - 0x60008258
[    0.190133] Brought up 2 CPUs
[    0.190156] SMP: Total of 2 processors activated (678.29 BogoMIPS).
[    0.190929] devtmpfs: initialized
[    0.196395] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[    0.196441] futex hash table entries: 512 (order: 2, 16384 bytes)
[    0.196743] prandom: seed boundary self test passed
[    0.201159] prandom: 100 self tests passed
[    0.201190] pinctrl core: initialized pinctrl subsystem
[    0.202022] NET: Registered protocol family 16
[    0.202585] DMA: preallocated 256 KiB pool for atomic coherent allocations
[    0.230018] cpuidle: using governor ladder
[    0.260008] cpuidle: using governor menu
[    0.265044] gpio-oxnas 44000000.gpio: at address c8848000
[    0.265431] gpio-oxnas 44100000.gpio: at address c884a000
[    0.265994] pinctrl-oxnas pinctrl: initialized OX820 pinctrl driver
[    0.388838] oxnas-pcie 47c00000.pcie-controller: PCIe version/deviceID 0x82510b5
[    0.388917] oxnas-pcie 47c00000.pcie-controller: link up
[    0.389248] oxnas-pcie 47c00000.pcie-controller: PCI host bridge to bus 0000:00
[    0.389273] pci_bus 0000:00: root bus resource [mem 0x48000000-0x49ffffff]
[    0.389294] pci_bus 0000:00: root bus resource [mem 0x4a000000-0x4bdfffff pref]
[    0.389309] pci_bus 0000:00: root bus resource [io  0x0000-0xfffff]
[    0.389329] pci_bus 0000:00: root bus resource [bus 00-7f]
[    0.389882] PCI: bus0: Fast back to back transfers disabled
[    0.390033] pci 0000:00:00.0: BAR 0: assigned [mem 0x48000000-0x4800ffff]
[    0.390502] vgaarb: loaded
[    0.390986] SCSI subsystem initialized
[    0.391841] usbcore: registered new interface driver usbfs
[    0.391943] usbcore: registered new interface driver hub
[    0.392094] usbcore: registered new device driver usb
[    0.392304] pps_core: LinuxPPS API ver. 1 registered
[    0.392320] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
[    0.392363] PTP clock support registered
[    0.394496] clocksource: Switched to clocksource rps_clocksource_timer
[    0.413273] NET: Registered protocol family 2
[    0.414156] TCP established hash table entries: 1024 (order: 0, 4096 bytes)
[    0.414197] TCP bind hash table entries: 1024 (order: 1, 8192 bytes)
[    0.414231] TCP: Hash tables configured (established 1024 bind 1024)
[    0.414328] UDP hash table entries: 256 (order: 1, 8192 bytes)
[    0.414371] UDP-Lite hash table entries: 256 (order: 1, 8192 bytes)
[    0.414635] NET: Registered protocol family 1
[    0.415175] RPC: Registered named UNIX socket transport module.
[    0.415198] RPC: Registered udp transport module.
[    0.415208] RPC: Registered tcp transport module.
[    0.415221] RPC: Registered tcp NFSv4.1 backchannel transport module.
[    0.415633] Unpacking initramfs...
[    0.891537] Freeing initrd memory: 4488K (c79c5000 - c7e27000)
[    0.893040] Initialise system trusted keyring
[    0.922828] zbud: loaded
[    0.941350] NFS: Registering the id_resolver key type
[    0.941422] Key type id_resolver registered
[    0.941434] Key type id_legacy registered
[    0.941475] nfs4filelayout_init: NFSv4 File Layout Driver Registering...
[    0.941498] Installing knfsd (copyright (C) 1996 okir@monad.swb.de).
[    0.942430] fuse init (API version 7.23)
[    0.944448] Key type big_key registered
[    1.032890] Key type asymmetric registered
[    1.032924] Asymmetric key parser 'x509' registered
[    1.033057] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 252)
[    1.033085] io scheduler noop registered
[    1.033103] io scheduler deadline registered
[    1.033164] io scheduler cfq registered (default)
[    1.033825] Serial: 8250/16550 driver, 1 ports, IRQ sharing disabled
[    1.035376] console [ttyS0] disabled
[    1.035473] 44200000.uart: ttyS0 at MMIO 0x44200000 (irq = 6, base_baud = 390625) is a 16550A
[    1.618416] console [ttyS0] enabled
[    1.633182] loop: module loaded
[    1.638341] scsi host0: sata_oxnas
[    1.642224] ata1: SATA max UDMA/133 irq 7
[    1.646310] sata_oxnas: resetting SATA core
[    1.647342] nand: Could not find valid ONFI parameter page; aborting
[    1.647383] nand: device found, Manufacturer ID: 0xad, Chip ID: 0xf1
[    1.647390] nand: Hynix NAND 128MiB 3,3V 8-bit
[    1.647400] nand: 128 MiB, SLC, erase size: 128 KiB, page size: 2048, OOB size: 64
[    1.647416] Scanning device for bad blocks
[    1.667496] Bad eraseblock 249 at 0x000001f20000
[    1.729712] 2 cmdlinepart partitions found on MTD device 41000000.nand
[    1.736227] Creating 2 MTD partitions on "41000000.nand":
[    1.741639] 0x000000000000-0x000000e00000 : "boot"
[    1.748321] 0x000000e00000-0x000008000000 : "data"
[    1.755571] oxnas-gmac 40400000.ethernet: no reset control found
[    1.761594] stmmac - user ID: 0x12, Synopsys ID: 0x35
[    1.766615]  Ring mode enabled
[    1.769651]  DMA HW capability register supported
[    1.774169]  Enhanced/Alternate descriptors
[    1.778501] 	Enabled extended descriptors
[    1.782520]  RX Checksum Offload Engine supported (type 2)
[    1.787973]  TX Checksum insertion supported
[    1.792235]  Wake-Up On Lan supported
[    1.795875]  Enable RX Mitigation via HW Watchdog Timer
[    1.816253] libphy: stmmac: probed
[    1.819648] eth%d: PHY ID 001cc914 at 0 IRQ POLL (stmmac-0:00) active
[    1.826112] eth%d: PHY ID 001cc914 at 3 IRQ POLL (stmmac-0:03)
[    1.832796] PPP generic driver version 2.4.2
[    1.837473] rt2800pci 0000:00:00.0: enabling device (0140 -> 0142)
[    1.843847] ieee80211 phy0: rt2x00_set_rt: Info - RT chipset 3090, rev 3213 detected
[    1.855032] ieee80211 phy0: rt2x00_set_rf: Info - RF chipset 0005 detected
[    1.864168] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[    1.870725] ehci-pci: EHCI PCI platform driver
[    1.875525] oxnas-ehci 40200100.ehci: EHCI Host Controller
[    1.881077] oxnas-ehci 40200100.ehci: new USB bus registered, assigned bus number 1
[    1.888872] oxnas-ehci 40200100.ehci: irq 10, io mem 0x40200100
[    1.910141] oxnas-ehci 40200100.ehci: USB 2.0 started, EHCI 1.00
[    1.916439] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002
[    1.923238] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    1.930447] usb usb1: Product: EHCI Host Controller
[    1.935306] usb usb1: Manufacturer: Linux 4.4.54-oxnas-tld-1 ehci_hcd
[    1.941731] usb usb1: SerialNumber: 40200100.ehci
[    1.947415] hub 1-0:1.0: USB hub found
[    1.951275] hub 1-0:1.0: 2 ports detected
[    1.956387] usbcore: registered new interface driver cdc_acm
[    1.962063] cdc_acm: USB Abstract Control Model driver for USB modems and ISDN adapters
[    1.970178] usbcore: registered new interface driver cdc_wdm
[    1.975984] usbcore: registered new interface driver usb-storage
[    1.982205] usbcore: registered new interface driver usbserial
[    1.988080] usbcore: registered new interface driver usbserial_generic
[    1.994688] usbserial: USB Serial support registered for generic
[    2.001146] mousedev: PS/2 mouse device common for all mice
[    2.006881] i2c /dev entries driver
[    2.011845] hidraw: raw HID events driver (C) Jiri Kosina
[    2.017484] usbcore: registered new interface driver usbhid
[    2.023068] usbhid: USB HID core driver
[    2.028907] NET: Registered protocol family 10
[    2.034923] sit: IPv6 over IPv4 tunneling driver
[    2.040048] ata1: SATA link down (SStatus 0 SControl 310)
[    2.040655] NET: Registered protocol family 17
[    2.040842] Key type dns_resolver registered
[    2.042155] registered taskstats version 1
[    2.042201] Loading compiled-in X.509 certificates
[    2.042324] zswap: loaded using pool lzo/zbud
[    2.074147] Key type encrypted registered
[    2.081461] Freeing unused kernel memory: 224K (c0828000 - c0860000)
Loading, please wait...
starting version 232
[    2.263557] random: systemd-udevd: uninitialized urandom read (16 bytes read, 0 bits of entropy available)
[    2.274880] random: systemd-udevd: uninitialized urandom read (16 bytes read, 0 bits of entropy available)
[    2.276154] random: udevadm: uninitialized urandom read (16 bytes read, 0 bits of entropy available)
[    2.278433] random: udevadm: uninitialized urandom read (16 bytes read, 0 bits of entropy available)
[    2.278604] random: udevadm: uninitialized urandom read (16 bytes read, 0 bits of entropy available)
[    2.279682] random: udevadm: uninitialized urandom read (16 bytes read, 0 bits of entropy available)
[    2.280204] usb 1-1: new high-speed USB device number 2 using oxnas-ehci
[    2.281006] random: udevadm: uninitialized urandom read (16 bytes read, 0 bits of entropy available)
[    2.285160] random: udevadm: uninitialized urandom read (16 bytes read, 0 bits of entropy available)
[    2.286136] random: udevadm: uninitialized urandom read (16 bytes read, 0 bits of entropy available)
[    2.287093] random: udevadm: uninitialized urandom read (16 bytes read, 0 bits of entropy available)
[    2.432033] usb 1-1: New USB device found, idVendor=05e3, idProduct=0608
[    2.438714] usb 1-1: New USB device strings: Mfr=0, Product=1, SerialNumber=0
[    2.460190] usb 1-1: Product: USB2.0 Hub
[    2.470661] hub 1-1:1.0: USB hub found
[    2.474859] hub 1-1:1.0: 4 ports detected
[    2.599805] rt2800pci 0000:00:00.0 wlp0s0: renamed from wlan0
[    2.770278] usb 1-1.3: new high-speed USB device number 3 using oxnas-ehci
[    2.892080] usb 1-1.3: New USB device found, idVendor=0781, idProduct=5530
[    2.898969] usb 1-1.3: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[    2.913512] usb 1-1.3: Product: Cruzer
Begin: Loading e[    2.925209] usb 1-1.3: Manufacturer: SanDisk
ssential drivers[    2.930560] usb 1-1.3: SerialNumber: 20053248121181F0AC47
 ... done.
[    2.939584] usb-storage 1-1.3:1.0: USB Mass Storage device detected
[    2.970393] scsi host1: usb-storage 1-1.3:1.0
[    2.983413] usbcore: registered new interface driver uas
[    3.971397] scsi 1:0:0:0: Direct-Access     SanDisk  Cruzer           1.20 PQ: 0 ANSI: 5
[    3.987402] sd 1:0:0:0: [sda] 15633408 512-byte logical blocks: (8.00 GB/7.45 GiB)
[    3.997020] sd 1:0:0:0: [sda] Write Protect is off
[    4.003013] sd 1:0:0:0: [sda] Write cache: disabled, read cache: enabled, doesn't support DPO or FUA
[    4.022474]  sda: sda1
[    4.031298] sd 1:0:0:0: [sda] Attached SCSI removable disk
Begin: Running /scripts/init-premount ... done.
Begin: Mounting root file system ... Begin: Running /scripts/local-top ... done.
Begin: Running /scripts/local-premount ... done.
Begin: Will now check root file system ... fsck from util-linux 2.29.2
[/sbin/fsck.ext4 (1) -- /dev/sda1] fsck.ext4 -a -C0 /dev/sda1 
rootfs: clean, 17933/488640 files, 192152/1953792 blocks
done.
[   13.272248] EXT4-fs (sda1): mounted filesystem with ordered data mode. Opts: (null)
done.
Begin: Running /scripts/local-bottom ... done.
Begin: Running /scripts/init-bottom ... done.
INIT: version 2.88 booting
[info] Using makefile-style concurrent boot in runlevel S.
[....] Starting the hotplug events dispatcher: systemd-udevdstarting version 232
. ok 
[ ok ] Synthesizing the initial hotplug events...done.
[ ok ] Waiting for /dev to be fully populated...done.
[ ok ] Activating swap...done.
[   17.345896] EXT4-fs (sda1): re-mounted. Opts: errors=remount-ro
[ ok ] Activating lvm and md swap...done.
[....] Checking file systems...fsck from util-linux 2.29.2
done.
[   18.676275] random: nonblocking pool is initialized
[ ok ] Loading kernel modules...done.
[ ok ] Cleaning up temporary files... /tmp.
[ ok ] Mounting local filesystems...done.
[ ok ] Activating swapfile swap...done.
[ ok ] Cleaning up temporary files....
[ ok ] Setting kernel variables...done.
[....] Configuring network interfaces...Internet Systems Consortium DHCP Client 4.3.5
Copyright 2004-2016 Internet Systems Consortium.
All rights reserved.
For info, please visit https://www.isc.org/software/dhcp/

Listening on LPF/eth0/00:25:31:01:0c:d5
Sending on   LPF/eth0/00:25:31:01:0c:d5
Sending on   Socket/fallback
DHCPREQUEST of 192.168.5.97 on eth0 to 255.255.255.255 port 67
[   27.000161] oxnas-gmac 40400000.ethernet eth0: Link is Up - 1Gbps/Full - flow control off
DHCPREQUEST of 192.168.5.97 on eth0 to 255.255.255.255 port 67
DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 7
DHCPREQUEST of 192.168.5.97 on eth0 to 255.255.255.255 port 67
DHCPOFFER of 192.168.5.97 from 192.168.5.72
DHCPACK of 192.168.5.97 from 192.168.5.72
bound to 192.168.5.97 -- renewal in 19365 seconds.
done.
[ ok ] Starting RPC port mapper daemon: rpcbind.
[ ok ] Starting NFS common utilities: statd idmapd.
[ ok ] Cleaning up temporary files....
INIT: Entering runlevel: 2
[info] Using makefile-style concurrent boot in runlevel 2.
[....] Starting busybox' syslogd implementation : syslogdStarting /sbin/syslogd...
1241 (syslogd)
. ok 
[ ok ] Starting NFS common utilities: statd idmapd.
[ ok ] Starting system message bus: dbus.
[warn] Not starting NFS kernel daemon: no exports. ... (warning).
[ ok ] Starting Avahi mDNS/DNS-SD Daemon: avahi-daemon.
[ ok ] Starting OpenBSD Secure Shell server: sshd.
[....] Starting busybox' klogd implementation : klogdStarting /sbin/klogd...
1240 (klogd)
. ok 
[ ok ] Starting NTP server: ntpd.

Debian GNU/Linux 9 debian ttyS0

debian login: root
Password: 
Last login: Fri Mar 23 23:47:48 EDT 2018 on ttyS0
Linux debian 4.4.54-oxnas-tld-1 #2 SMP PREEMPT Sat Mar 18 23:09:58 PDT 2017 armv6l

The programs included with the Debian GNU/Linux system are free software;
the exact distribution terms for each program are described in the
individual files in /usr/share/doc/*/copyright.

Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent
permitted by applicable law.
root@debian:~#


thanks,
EW108



Edited 2 time(s). Last edit at 03/23/2018 10:52PM by echowarrior108.
Re: Tutorial of native sata boot for pogoplug pro
March 23, 2018 11:02PM
echowarrior108,

Dont worry about it. That was just a name for the image. What actually inside the image is what count! That name could be anything you want it to be.

The images were from kernel 4.4.54- oxnas-tld-1. So the kernel identification after it is running is always going to be 4.4.54-oxnas-tld-1.

After you have running this rootfs for a while, and then decide to upgrade the the latest kernel to the new version I release, that will be corrected at that time.

-bodhi
===========================
Forum Wiki
bodhi's corner (buy bodhi a beer)
Re: Tutorial of native sata boot for pogoplug pro
March 23, 2018 11:39PM
Bodhi, thanks this is huge earning experience and I have a great backup in case I mess it up too bad!:) I can't wait to make this more functional:)

Echowarrior108
Re: Tutorial of native sata boot for pogoplug pro
February 27, 2019 03:02PM
Hi Bodhi,

I try to reactivate my pogo-pro as well, but unfortunately booting is stocked at a certain point:

setenv
dt_bootm=bootm $uimage_addr $uinitrd_addr $dtb_addr
autoload=no
baudrate=115200
bootargs=console=ttyS0,115200n8
bootcmd=run dt_bootcmd_usb
bootdelay=10
console=console=ttyS0,115200n8
dt_bootcmd_usb=usb start; run dt_usb_bootcmd; usb stop; reset
dt_load_dtb=ext2load usb 0:1 $dtb_addr /boot/dts/ox820-pogoplug-pro.dtb
dt_load_initrd=ext2load usb 0:1 $uinitrd_addr /boot/uInitrd
dt_load_uimage=ext2load 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
ethact=mii0
ethaddr= (removed)
if_netconsole=ping 192.168.1.110
ipaddr=192.168.0.100
mtdids=nand0=41000000.nand
mtdparts=mtdparts=41000000.nand:14m(boot),-(data)
preboot_nc=run if_netconsole start_netconsole
serverip=192.168.1.110
start_netconsole=setenv ncip $serverip; setenv bootdelay 10; setenv stdin nc; setenv stdout nc; setenv stderr nc; version
stderr=serial
stdin=serial
stdout=serial
uimage_addr=0x60500000
uinitrd_addr=0x60e00000
usb_device=0:1
usb_set_bootargs=setenv bootargs console=ttyS0,115200 root=/dev/sda1 rootdelay=10

Boot log:

U-Boot SPL 2013.10-g3a0f380-dirty (Jul 26 2014 - 14:31:34)
  Boot device: SATA
Attempting to set PLLA to 850 MHz ...
  plla_ctrl0 : 0000020a
  plla_ctrl1 : 00330000
  plla_ctrl2 : 0065008b
  plla_ctrl3 : 000000f1

PLLA Set
Bus 0: OK
  Device 0:
** File not found /boot/bootargs.bin **


U-Boot 2013.10-g3a0f380-dirty (Jul 26 2014 - 10:18:57) for OXNAS

DRAM:  128 MiB
IDE:   Bus 0: OK
  Device 0: Model: Hitachi HTS543216L9A300  Firm: FB2OC40C Ser#: 080911FB2200LCD8RJBB
            Type: Hard Disk
            Supports 48-bit addressing
            Capacity: 152627.8 MB = 149.0 GB (312581808 x 512)
NAND:  128 MiB
In:    serial
Out:   serial
Err:   serial
Net:
Led:    GREEN
mii0
Main Loop
Hit any key to stop autoboot:  0
(Re)start 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
4231768 bytes read in 356 ms (11.3 MiB/s)
4640526 bytes read in 395 ms (11.2 MiB/s)
7067 bytes read in 194 ms (35.2 KiB/s)
## Booting kernel from Legacy Image at 60500000 ...
   Image Name:   Linux-4.4.174-oxnas-tld-1
   Image Type:   ARM Linux Kernel Image (uncompressed)
   Data Size:    4231704 Bytes = 4 MiB
   Load Address: 60008000
   Entry Point:  60008000
   Verifying Checksum ... OK
## Loading init Ramdisk from Legacy Image at 60e00000 ...
   Image Name:   initramfs-4.4.174-oxnas-tld-1
   Image Type:   ARM Linux RAMDisk Image (gzip compressed)
   Data Size:    4640462 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
   Loading Kernel Image ... OK
   Loading Ramdisk to 679bb000, end 67e27ece ... OK
   Loading Device Tree to 679b6000, end 679bab9a ... OK

Led:    GREEN

Starting kernel ...

Uncompressing Linux... done, booting the kernel.
[    0.000000] Booting Linux on physical CPU 0x0
[    0.000000] Linux version 4.4.174-oxnas-tld-1 (root@tldDebian) (gcc version 6.3.0 20170516 (Debian 6.3.0-18+deb9u1) ) #1 SMP PREEMPT Fri Feb 8 16:54:19 PST 2019
[    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 Pro
[    0.000000] Memory policy: Data cache writealloc
[    0.000000] DT missing boot CPU MPIDR[23:0], fall back to default cpu_logical_map
[    0.000000] PERCPU: Embedded 12 pages/cpu @c7eda000 s17612 r8192 d23348 u49152
[    0.000000] Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 32512
[    0.000000] Kernel command line: console=ttyS0,115200 root=/dev/sda1 rootdelay=10
[    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: 117056K/131072K available (5873K kernel code, 286K rwdata, 1572K rodata, 224K init, 227K bss, 14016K 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 - 0xc074d974   (7447 kB)
[    0.000000]       .init : 0xc074e000 - 0xc0786000   ( 224 kB)
[    0.000000]       .data : 0xc0786000 - 0xc07cd8c0   ( 287 kB)
[    0.000000]        .bss : 0xc07cd8c0 - 0xc0806750   ( 228 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.000156] Console: colour dummy device 80x30
[    0.000189] Calibrating delay loop... 339.14 BogoMIPS (lpj=1695744)
[    0.050014] pid_max: default: 32768 minimum: 301
[    0.050196] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes)
[    0.050214] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes)
[    0.051059] Initializing cgroup subsys net_cls
[    0.051138] CPU: Testing write buffer coherency: ok
[    0.051612] Setting up static identity map for 0x60008220 - 0x60008258
[    0.190138] Brought up 2 CPUs
[    0.190164] SMP: Total of 2 processors activated (678.29 BogoMIPS).
[    0.191001] devtmpfs: initialized
[    0.196313] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[    0.196359] futex hash table entries: 512 (order: 2, 16384 bytes)
[    0.196689] prandom: seed boundary self test passed
[    0.200929] prandom: 100 self tests passed
[    0.200960] pinctrl core: initialized pinctrl subsystem
[    0.201840] NET: Registered protocol family 16
[    0.202378] DMA: preallocated 256 KiB pool for atomic coherent allocations
[    0.230018] cpuidle: using governor ladder
[    0.260014] cpuidle: using governor menu
[    0.265121] gpio-oxnas 44000000.gpio: at address c8848000
[    0.265510] gpio-oxnas 44100000.gpio: at address c884a000
[    0.266065] pinctrl-oxnas pinctrl: initialized OX820 pinctrl driver
[    0.387993] oxnas-pcie 47c00000.pcie-controller: PCIe version/deviceID 0x82510b5
[    0.388116] oxnas-pcie 47c00000.pcie-controller: link up
[    0.388454] oxnas-pcie 47c00000.pcie-controller: PCI host bridge to bus 0000:00
[    0.388482] pci_bus 0000:00: root bus resource [mem 0x48000000-0x49ffffff]
[    0.388503] pci_bus 0000:00: root bus resource [mem 0x4a000000-0x4bdfffff pref]
[    0.388523] pci_bus 0000:00: root bus resource [io  0x0000-0xfffff]
[    0.388544] pci_bus 0000:00: root bus resource [bus 00-7f]
[    0.389091] PCI: bus0: Fast back to back transfers disabled
[    0.389184] pci 0000:00:00.0: BAR 0: assigned [mem 0x48000000-0x4800ffff]
[    0.389655] vgaarb: loaded
[    0.390231] SCSI subsystem initialized
[    0.391121] usbcore: registered new interface driver usbfs
[    0.391229] usbcore: registered new interface driver hub
[    0.391403] usbcore: registered new device driver usb
[    0.391613] pps_core: LinuxPPS API ver. 1 registered
[    0.391628] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
[    0.391674] PTP clock support registered
[    0.392939] clocksource: Switched to clocksource rps_clocksource_timer
[    0.411860] NET: Registered protocol family 2
[    0.412981] TCP established hash table entries: 1024 (order: 0, 4096 bytes)
[    0.413027] TCP bind hash table entries: 1024 (order: 1, 8192 bytes)
[    0.413061] TCP: Hash tables configured (established 1024 bind 1024)
[    0.413163] UDP hash table entries: 256 (order: 1, 8192 bytes)
[    0.413209] UDP-Lite hash table entries: 256 (order: 1, 8192 bytes)
[    0.413519] NET: Registered protocol family 1
[    0.414031] RPC: Registered named UNIX socket transport module.
[    0.414051] RPC: Registered udp transport module.
[    0.414064] RPC: Registered tcp transport module.
[    0.414074] RPC: Registered tcp NFSv4.1 backchannel transport module.
[    0.414502] Unpacking initramfs...
[    0.895009] Freeing initrd memory: 4532K
[    0.896458] Initialise system trusted keyring
[    0.909516] zbud: loaded
[    0.914936] NFS: Registering the id_resolver key type
[    0.914995] Key type id_resolver registered
[    0.915010] Key type id_legacy registered
[    0.915051] nfs4filelayout_init: NFSv4 File Layout Driver Registering...
[    0.915074] Installing knfsd (copyright (C) 1996 okir@monad.swb.de).
[    0.915947] fuse init (API version 7.23)
[    0.917905] Key type big_key registered
[    0.998627] Key type asymmetric registered
[    0.998658] Asymmetric key parser 'x509' registered
[    0.998791] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 251)
[    0.998819] io scheduler noop registered
[    0.998842] io scheduler deadline registered
[    0.998901] io scheduler cfq registered (default)
[    0.999623] Serial: 8250/16550 driver, 1 ports, IRQ sharing disabled
[    1.001433] console [ttyS0] disabled
[    1.001530] 44200000.uart: ttyS0 at MMIO 0x44200000 (irq = 6, base_baud = 390625) is a 16550A
[    1.580490] console [ttyS0] enabled
[    1.665157] loop: module loaded
[    1.670430] scsi host0: sata_oxnas
[    1.674273] ata1: SATA max UDMA/133 irq 7
[    1.678366] sata_oxnas: resetting SATA core
[    1.679449] nand: Could not find valid ONFI parameter page; aborting
[    1.679495] nand: device found, Manufacturer ID: 0xad, Chip ID: 0xf1
[    1.679500] nand: Hynix NAND 128MiB 3,3V 8-bit
[    1.679511] nand: 128 MiB, SLC, erase size: 128 KiB, page size: 2048, OOB size: 64
[    1.679528] Scanning device for bad blocks
[    1.697745] Bad eraseblock 225 at 0x000001c20000
[    1.761771] 2 ofpart partitions found on MTD device 41000000.nand
[    1.767841] Creating 2 MTD partitions on "41000000.nand":
[    1.773245] 0x000000000000-0x000000e00000 : "boot"
[    1.780170] 0x000000e00000-0x000008000000 : "data"
[    1.787425] oxnas-gmac 40400000.ethernet: no reset control found
[    1.793464] stmmac - user ID: 0x12, Synopsys ID: 0x35
[    1.798489]  Ring mode enabled
[    1.801543]  DMA HW capability register supported
[    1.806046]  Enhanced/Alternate descriptors
[    1.810406]  Enabled extended descriptors
[    1.814394]  RX Checksum Offload Engine supported (type 2)
[    1.819847]  TX Checksum insertion supported
[    1.824110]  Wake-Up On Lan supported
[    1.827750]  Enable RX Mitigation via HW Watchdog Timer
[    1.848002] libphy: stmmac: probed
[    1.851458] eth%d: PHY ID 001cc914 at 0 IRQ POLL (stmmac-0:00) active
[    1.857871] eth%d: PHY ID 001cc914 at 3 IRQ POLL (stmmac-0:03)
[    1.864593] PPP generic driver version 2.4.2
[    1.869207] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[    1.875778] ehci-pci: EHCI PCI platform driver
[    1.880622] oxnas-ehci 40200100.ehci: EHCI Host Controller
[    1.886123] oxnas-ehci 40200100.ehci: new USB bus registered, assigned bus number 1
[    1.893980] oxnas-ehci 40200100.ehci: irq 10, io mem 0x40200100
[    1.910008] oxnas-ehci 40200100.ehci: USB 2.0 started, EHCI 1.00
[    1.916334] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002
[    1.923153] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    1.930373] usb usb1: Product: EHCI Host Controller
[    1.935229] usb usb1: Manufacturer: Linux 4.4.174-oxnas-tld-1 ehci_hcd
[    1.941760] usb usb1: SerialNumber: 40200100.ehci
[    1.947417] hub 1-0:1.0: USB hub found
[    1.951270] hub 1-0:1.0: 2 ports detected
[    1.956321] usbcore: registered new interface driver cdc_wdm
[    1.962211] usbcore: registered new interface driver usb-storage
[    1.968360] usbcore: registered new interface driver usbserial
[    1.974282] usbcore: registered new interface driver usbserial_generic
[    1.980887] usbserial: USB Serial support registered for generic
[    1.987304] mousedev: PS/2 mouse device common for all mice
[    1.993062] i2c /dev entries driver
[    1.997793] hidraw: raw HID events driver (C) Jiri Kosina
[    2.003473] usbcore: registered new interface driver usbhid
[    2.009024] usbhid: USB HID core driver
[    2.014950] NET: Registered protocol family 10
[    2.040645] sit: IPv6 over IPv4 tunneling driver
[    2.046238] NET: Registered protocol family 17
[    2.051105] Key type dns_resolver registered
[    2.056760] registered taskstats version 1
[    2.060938] Loading compiled-in X.509 certificates
[    2.065835] zswap: loaded using pool lzo/zbud
[    2.084802] Key type encrypted registered
[    2.089730] hctosys: unable to open rtc device (rtc0)
[    2.230149] ata1: SATA link up 1.5 Gbps (SStatus 113 SControl 310)
[    2.237265] ata1.00: ATA-8: Hitachi HTS543216L9A300, FB2OC40C, max UDMA/133
[    2.244244] ata1.00: 312581808 sectors, multi 0: LBA48 NCQ (depth 0/32)
[    2.252006] ata1.00: configured for UDMA/133
[    2.270005] usb 1-1: new high-speed USB device number 2 using oxnas-ehci
[    2.277519] scsi 0:0:0:0: Direct-Access     ATA      Hitachi HTS54321 C40C PQ: 0 ANSI: 5
[    2.287267] sd 0:0:0:0: [sda] 312581808 512-byte logical blocks: (160 GB/149 GiB)
[    2.295457] sd 0:0:0:0: [sda] Write Protect is off
[    2.300544] sd 0:0:0:0: [sda] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
[    2.431884] usb 1-1: New USB device found, idVendor=05e3, idProduct=0608
[    2.438568] usb 1-1: New USB device strings: Mfr=0, Product=1, SerialNumber=0
[    2.445721] usb 1-1: Product: USB2.0 Hub
[    2.450726] hub 1-1:1.0: USB hub found
[    2.454891] hub 1-1:1.0: 4 ports detected
[    2.654120]  sda: sda1
[    2.658327] sd 0:0:0:0: [sda] Attached SCSI disk
[    2.663362] Freeing unused kernel memory: 224K
Loading, please wait...
[    2.740090] usb 1-1.1: new high-speed USB device number 3 using oxnas-ehci
starting version 232
[    2.845765] random: systemd-udevd: uninitialized urandom read (16 bytes read, 9 bits of entropy available)
[    2.857021] random: systemd-udevd: uninitialized urandom read (16 bytes read, 9 bits of entropy available)
[    2.857896] random: udevadm: uninitialized urandom read (16 bytes read, 9 bits of entropy available)
[    2.860019] random: udevadm: uninitialized urandom read (16 bytes read, 9 bits of entropy available)
[    2.860436] random: udevadm: uninitialized urandom read (16 bytes read, 9 bits of entropy available)
[    2.861509] random: udevadm: uninitialized urandom read (16 bytes read, 9 bits of entropy available)
[    2.862558] random: udevadm: uninitialized urandom read (16 bytes read, 9 bits of entropy available)
[    2.863595] random: udevadm: uninitialized urandom read (16 bytes read, 9 bits of entropy available)
[    2.864629] random: udevadm: uninitialized urandom read (16 bytes read, 9 bits of entropy available)
[    2.870520] random: udevadm: uninitialized urandom read (16 bytes read, 9 bits of entropy available)
[    2.972794] usb 1-1.1: New USB device found, idVendor=090c, idProduct=1000
[    2.979655] usb 1-1.1: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[    2.987128] usb 1-1.1: Product: USB Flash Disk
[    2.991662] usb 1-1.1: Manufacturer: General
[    2.995924] usb 1-1.1: SerialNumber: 0321120400011208
[    3.008683] usb-storage 1-1.1:1.0: USB Mass Storage device detected
[    3.050152] scsi host1: usb-storage 1-1.1:1.0
[    3.067530] usbcore: registered new interface driver uas
Begin: Loading essential drivers ... done.
[    4.254492] scsi 1:0:0:0: Direct-Access     General  USB Flash Disk   1100 PQ: 0 ANSI: 4
[    4.270632] sd 1:0:0:0: [sdb] 15851520 512-byte logical blocks: (8.12 GB/7.56 GiB)
[    4.279001] sd 1:0:0:0: [sdb] Write Protect is off
[    4.289349] sd 1:0:0:0: [sdb] No Caching mode page found
[    4.299732] sd 1:0:0:0: [sdb] Assuming drive cache: write through
[    4.315130]  sdb: sdb1
[    4.323246] sd 1:0:0:0: [sdb] Attached SCSI removable disk
Begin: Running /scripts/init-premount ... done.
Begin: Mounting root file system ... Begin: Running /scripts/local-top ... done.
Begin: Running /scripts/local-premount ... done.
Begin: Will now check root file system ... fsck from util-linux 2.29.2
fsck: error 2 (No such file or directory) while executing fsck.ext4 for /dev/sda1
fsck exited with status code 8
done.
Warning: File system check failed but did not detect errors
[   19.207938] EXT4-fs (sda1): ext4_check_descriptors: Checksum for group 0 failed (27545!=0)
[   19.216304] EXT4-fs (sda1): ext4_check_descriptors: Checksum for group 1 failed (15146!=0)
[   19.224629] EXT4-fs (sda1): ext4_check_descriptors: Checksum for group 2 failed (62161!=0)
[   19.233003] EXT4-fs (sda1): ext4_check_descriptors: Checksum for group 3 failed (22316!=0)
[   19.241310] EXT4-fs (sda1): ext4_check_descriptors: Checksum for group 4 failed (5258!=0)
[   19.249456] EXT4-fs (sda1): ext4_check_descriptors: Checksum for group 5 failed (4895!=0)
[   19.257681] EXT4-fs (sda1): ext4_check_descriptors: Checksum for group 6 failed (59910!=0)
[   19.265945] EXT4-fs (sda1): ext4_check_descriptors: Checksum for group 7 failed (11796!=0)
[   19.649730] JBD2: journal checksum error
[   19.653693] EXT4-fs (sda1): error loading journal
mount: mounting /dev/sda1 on /root failed: Bad message
done.
Begin: Running /scripts/local-bottom ... done.
Begin: Running /scripts/init-bottom ... mount: mounting /dev on /root/dev failed: No such file or directory
mount: mounting /dev on /root/dev failed: No such file or directory
done.
mount: mounting /run on /root/run failed: No such file or directory
run-init: current directory on the same filesystem as the root: error 0
Target filesystem doesn't have requested /sbin/init.
run-init: current directory on the same filesystem as the root: error 0
run-init: current directory on the same filesystem as the root: error 0
run-init: current directory on the same filesystem as the root: error 0
run-init: current directory on the same filesystem as the root: error 0
run-init: current directory on the same filesystem as the root: error 0
No init found. Try passing init= bootarg.


BusyBox v1.22.1 (Debian 1:1.22.0-19+b3) built-in shell (ash)
Enter 'help' for a list of built-in commands.

(initramfs)

The rootfs stick runs fine with my other pogo v3 so the issue should be either on the sata disk or the setenv? Any ideas?
Re: Tutorial of native sata boot for pogoplug pro
February 27, 2019 09:01PM
herb,

It’s the present of SATA disk.

Change your bootargs like this:
setenv usb_set_bootargs ‘setenv bootargs console=ttyS0,115200 root=LABEL=rootfs rootdelay=10’

And then
boot

-bodhi
===========================
Forum Wiki
bodhi's corner (buy bodhi a beer)
Re: Tutorial of native sata boot for pogoplug pro
March 01, 2019 03:47PM
Thx Bodhi, works perfect. My Pogo is alive again.
Re: Tutorial of native sata boot for pogoplug pro
July 07, 2019 07:23PM
I am trying to follow the instructions from the 1st post. Prepared everything and now i am ready to boot. However i get an error:
U-Boot SPL 2013.10-g3a0f380-dirty (Jul 26 2014 - 14:31:34)
  Boot device: SATA
Attempting to set PLLA to 850 MHz ...
  plla_ctrl0 : 0000020a
  plla_ctrl1 : 00330000
  plla_ctrl2 : 0065008b
  plla_ctrl3 : 000000f1

PLLA Set
Bus 0: OK 
  Device 0: 
** File not found /boot/bootargs.bin **
** File not found /boot/u-boot.img **
### ERROR ### Please RESET the board ###

I have u-boot.img in /boot
drwxr-xr-x 2 root root    4096 Jul  7 19:51 dts
-rwxr-xr-x 1 root root   16384 Dec 31  1969 u-boot.env
-rwxr-xr-x 1 root root  525880 Aug  3  2014 u-boot.img
-rw-r--r-- 1 root root 4621824 Jul  7 19:51 uImage
-rw-r--r-- 1 root root 4594376 Jul  7 19:51 uInitrd

I tried to play around with the permissions on u-boot.img, but nothing seems to be helping.

Any idea what i am doing wrong?

Thanks
Re: Tutorial of native sata boot for pogoplug pro
July 07, 2019 08:00PM
Just a thought, is it the power supply?
Re: Tutorial of native sata boot for pogoplug pro
July 07, 2019 08:04PM
echowarrior108 Wrote:
-------------------------------------------------------
> Just a thought, is it the power supply?


Don't think so. I use the same powersupply when attaching it to my desktop and it works fine. Also the SPL is loaded from the disk.
Re: Tutorial of native sata boot for pogoplug pro
July 10, 2019 09:54PM
schnee Wrote:
-------------------------------------------------------
> I am trying to follow the instructions from the
> 1st post. Prepared everything and now i am ready
> to boot. However i get an error:
>
> U-Boot SPL 2013.10-g3a0f380-dirty (Jul 26 2014 -
> 14:31:34)
>   Boot device: SATA
> Attempting to set PLLA to 850 MHz ...
>   plla_ctrl0 : 0000020a
>   plla_ctrl1 : 00330000
>   plla_ctrl2 : 0065008b
>   plla_ctrl3 : 000000f1
> 
> PLLA Set
> Bus 0: OK 
>   Device 0: 
> ** File not found /boot/bootargs.bin **
> ** File not found /boot/u-boot.img **
> ### ERROR ### Please RESET the board ###
>
>
> I have u-boot.img in /boot
>
> drwxr-xr-x 2 root root    4096 Jul  7 19:51 dts
> -rwxr-xr-x 1 root root   16384 Dec 31  1969
> u-boot.env
> -rwxr-xr-x 1 root root  525880 Aug  3  2014
> u-boot.img
> -rw-r--r-- 1 root root 4621824 Jul  7 19:51
> uImage
> -rw-r--r-- 1 root root 4594376 Jul  7 19:51
> uInitrd
>
>
> I tried to play around with the permissions on
> u-boot.img, but nothing seems to be helping.
>
> Any idea what i am doing wrong?
>
> Thanks


I found the solution here: https://archlinuxarm.org/forum/viewtopic.php?f=48&t=10563

Create the ext4 filesystem:
For e2fsprogs < 1.43:
mkfs.ext4 /dev/sdX1
For e2fsprogs >= 1.43:
mkfs.ext4 -O ^metadata_csum,^64bit /dev/sdX1

As for me e2fsprogs = 1.44 i tried the last line to create the rootfs, and now u-boot.bin is loading.
Re: Tutorial of native sata boot for pogoplug pro
July 11, 2019 07:23PM
thanks for heads up in case I ever have to do that again myself!
Re: Tutorial of native sata boot for pogoplug pro
October 19, 2020 10:53PM
just hooked up a hdd through sata after modding a power adapter to the main board, this helped a ton getting it up and running, I added your settings for ide above and it fired right up!! Many thanks!

Echowarrior108

device: pogoplug-pro v3

Currently running:
Debian GNU/Linux Bullseye 12-9-22
Linux 5.4.224-oxnas-tld-1 armv6l GNU/Linux 11-27-22
Re: Tutorial of native sata boot for pogoplug pro
November 01, 2020 09:23PM
bodhi, I was terribly stuck after messing around with the sata install and the env's you posted here was what got it back, granted its not my main plug but sometimes you go all the way back to save things. never lost uboot but the settings were so far out of whack I didn't even save how bad they got,lol. just if anyone gets stuck with uboot the settings I did do were:

env default -a


then your easy to use instructions however I did amend them for ext4:





setenv usb_set_bootargs 'setenv bootargs console=ttyS0,115200 root=LABEL=rootfs rootdelay=10'
setenv uinitrd_addr 0x60e00000
setenv uimage_addr 0x60500000
setenv dtb_addr 0x62c00000
setenv dt_load_dtb 'ext4load usb 0:1 $dtb_addr /boot/dts/ox820-pogoplug-pro.dtb'
setenv dt_load_initrd 'ext4load usb 0:1 $uinitrd_addr /boot/uInitrd'
setenv dt_load_uimage 'ext4load usb 0:1 $uimage_addr /boot/uImage'
setenv dt_bootm 'bootm $uimage_addr $uinitrd_addr $dtb_addr'
setenv dt_usb_boot 'run dt_load_uimage; run dt_load_initrd; run dt_load_dtb; run dt_bootm'
setenv dt_usb_bootcmd 'run usb_set_bootargs; run dt_usb_boot'
setenv dt_bootcmd_usb 'usb start; run dt_usb_bootcmd; usb stop; reset'
setenv bootcmd 'run dt_bootcmd_usb'


Thanks for saving the day again!

Echowarrior108

device: pogoplug-pro v3

Currently running:
Debian GNU/Linux Bullseye 12-9-22
Linux 5.4.224-oxnas-tld-1 armv6l GNU/Linux 11-27-22
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: