Welcome! Log In Create A New Profile

Advanced

Pogo V3 Pro internal Dual SD Card (USB 2.0) using mPCIe slot

Posted by echowarrior108 
Pogo V3 Pro internal Dual SD Card (USB 2.0) using mPCIe slot
April 09, 2018 02:34PM
After much help from Bodhi, thank you! ,

I have attempted and made work a microUSB dual card in the minipcie slot, this was mainly because I don't use the wifi card and also I wanted to free up all my usb ports! Keep in mind I used a working USB rootfs with debian installed.

Please read entirely before trying this ! I claim no responsibility for personal injury or bricked unit!

How I did this was not too complicated but I wanted to log it all so others with this will be able to bypass the roadblocks I ran into, first I ordered a minipcie with dual slot microusb ports ( i'm sure others will work) :

https://www.amazon.com/gp/product/B00S6AQUK0/ref=oh_aui_detailpage_o01_s00?ie=UTF8&psc=1

next I ordered 2 micro pcie usb cards, I used sandisk 16gb, the reason for two was that I was hoping to use the second as a swap however I have not tested that at this time but I did format it as a linux-swap.

next I took the working usb rootfs and put it in my pc, (I used windows and miniTool Partition Wizard Edition, however I am sure you could do this in gparted or cp in terminal) then inserted the micro usb and ran the program. then I simply copied the partition. It took some time btw:)

after that i took out the micro usb and inserted the second one and formatted it to linux-swap.

next I placed both cards in the mpcie adapter ( they insert by sliding the clips and placing them in and putting the little covers back over the cards and sliding them back, yes it took me a bit to figure it out, my eyes are not what they used to be:)

I then unplugged and took apart the pogoplug, removed the wifi card on the back of the board.
next I inserted the card and tested it by powering it up out of the case, (not recommended because it has live 120v when exposed) and it did absolutely nothing!
The issue was that the card touches the board very slightly and I almost bricked the board. my fix was some small strips of electrical tape placed between the card and the board then snugging down the retaining screws. plugged it back in and had lights! simple successes excite me:) after testing it out I had net console access just like with the usb rootfs. so then i re-assembled the unit and rebooted and am keeping the usb rootfs as a backup in case I get crazy and mess up the working micro usb....


I hope this helps someone that is looking for more ports and I am no expert so feel free to let me know if there are other things I can do with this!!

Thanks and good luck! Echowarrior108



Edited 2 time(s). Last edit at 04/10/2018 10:00PM by bodhi.
Re: Pogoplug V3 (OXNAS OX820) mpcie altenatives
April 09, 2018 04:45PM
echowarrior108 Wrote:
-------------------------------------------------------
> After much help from Bodhi, thank you! ,
>
> I have attempted and made work a microUSB dual
> card in the minipcie slot, this was mainly because
> I don't use the wifi card and also I wanted to
> free up all my usb ports! Keep in mind I used a
> working USB rootfs with debian installed.
>
> Please read entirely before trying this ! I claim
> no responsibility for personal injury or bricked
> unit!
>
> How I did this was not too complicated but I
> wanted to log it all so others with this will be
> able to bypass the roadblocks I ran into, first I
> ordered a minipcie with dual slot microusb ports (
> i'm sure others will work) :
>
> https://www.amazon.com/gp/product/B00S6AQUK0/ref=oh_aui_detailpage_o01_s00?ie=UTF8&psc=1
>
>
> next I ordered 2 micro pcie usb cards, I used
> sandisk 16gb, the reason for two was that I was
> hoping to use the second as a swap however I have
> not tested that at this time but I did format it
> as a linux-swap.
>
> next I took the working usb rootfs and put it in
> my pc, (I used windows and miniTool Partition
> Wizard Edition, however I am sure you could do
> this in gparted or cp in terminal) then inserted
> the micro usb and ran the program. then I simply
> copied the partition. It took some time btw:)
>
> after that i took out the micro usb and inserted
> the second one and formatted it to linux-swap.
>
> next I placed both cards in the mpcie adapter (
> they insert by sliding the clips and placing them
> in and putting the little covers back over the
> cards and sliding them back, yes it took me a bit
> to figure it out, my eyes are not what they used
> to be:)
>
> I then unplugged and took apart the pogoplug,
> removed the wifi card on the back of the board.
> next I inserted the card and tested it by powering
> it up out of the case, (not recommended because it
> has live 120v when exposed) and it did absolutely
> nothing!
> The issue was that the card touches the board very
> slightly and I almost bricked the board. my fix
> was some small strips of electrical tape placed
> between the card and the board then snugging down
> the retaining screws. plugged it back in and had
> lights! simple successes excite me:) after testing
> it out I had net console access just like with the
> usb rootfs. so then i re-assembled the unit and
> rebooted and am keeping the usb rootfs as a backup
> in case I get crazy and mess up the working micro
> usb....
>
>
> I hope this helps someone that is looking for more
> ports and I am no expert so feel free to let me
> know if there are other things I can do with
> this!!
>
> Thanks and good luck! Echowarrior108

Do you have a pic of the board with this card fully installed? It would be nice if you can take a few pics (without and with the Pogo case assembled)!

-bodhi
===========================
Forum Wiki
bodhi's corner
Re: Pogoplug V3 (OXNAS OX820) mpcie altenatives
April 09, 2018 11:23PM
>
> Do you have a pic of the board with this card
> fully installed? It would be nice if you can take
> a few pics (without and with the Pogo case
> assembled)!

>-bodhi
>===========================



Bodhi, good idea, I do in fact plan to open it up again, I can take pics of the board, the on both sides with and without along with what I have done as far as keeping the sata cable and serial cable both ready by placing a small hole in the back:) probably by tomorrow some time:)

Thanks for the idea!
Echowarrior108
Re: Pogoplug V3 (OXNAS OX820) mpcie altenatives
April 10, 2018 12:42AM
Attached are the pics of the open port on the back side of the pogoplug board the tape its to keep the card from shorting out (because it will and the unit won't start) so be sure not to over tighten when installing the card!!!!!
Attachments:
open | download - mmpcie open port.jpg (679.7 KB)
open | download - mpcieangle view.jpg (525.2 KB)
open | download - mpcie open port with one guard tape.jpg (676.6 KB)
Re: Pogoplug V3 (OXNAS OX820) mpcie altenatives
April 10, 2018 12:49AM
in these pics, as the forum only allows 3 per message,I'm showing the taped back side of the mpcie dual usb card, they are labelled 1 and 2 on the top side . Do not tape over the top side!!! just 2 precut pieces of tape will suffice. Again I did not tighten down hard on the screws they are tight but not manhandled.
Attachments:
open | download - back side mpcie usb card.jpg (644 KB)
open | download - installed mpcie .jpg (660.4 KB)
open | download - installed mpcie usb with cover open.jpg (678.9 KB)
Re: Pogoplug V3 (OXNAS OX820) mpcie altenatives
April 10, 2018 12:56AM
in these pics are the board installed with the serial port and sata cable run through the back of the opening I drilled while apart( I used a 1/1/2 inch spade bit and a lot of care then filed the sides of it to accommodate the sata plug end.

on the next two pics I wanted to be sure there were no shorts so I taped the antenna wire ends for possible future use if i decide on wifi again.
Attachments:
open | download - fully wired plug.jpg (649.6 KB)
open | download - inside cover2.jpg (891.8 KB)
open | download - inside cover1.jpg (751.1 KB)
Re: Pogoplug V3 (OXNAS OX820) mpcie altenatives
April 10, 2018 01:00AM
here is the completed upgrade with the cables ready for use, I plan to silicon the opening but have not done so yet.

remember there needs to be a power supply for the sata to work and the serial needs a ttyl to usb adapter attached to actually function!
hope these help anyone trying this method!!!!!
Echowarrior108
Attachments:
open | download - rear plugs1.jpg (349.6 KB)
open | download - rear plugs side.jpg (727.7 KB)
Re: Pogoplug V3 (OXNAS OX820) mpcie altenatives
April 10, 2018 01:29AM
Echowarrior108,

Nicely done :)

I've added this to the Wiki.

Quote

Under/Over the hood Modding

Pogoplug Pro / V3 Internal SSD Mod
Pogoplug Pro HW mods
USB Wireless Extender (homemade antenna)
Adding 2nd SATA to HP Thin Client T5325 - Mod 1
Adding 2nd SATA to HP Thin Client T5325 - Mod 2
Connect to external SATA drives (or eSATA enclosures) from a Pogoplug V4
Dual Wireless Antenna on Pogo V3
A quiet and movable fan for your desktop case
NSA320 mod for an additional usb port
Pogoplug Pro V3 Dual Antenna for Wifi
Sata DOM hardware mod to Canvio NAS
Pogoplug Network Stack with PiHole: pics, and description
Reset button for Pogoplug V3 (OXNAS)
Pogo V3 Pro internal Dual SD Card (USB 2.0) using mPCIe slot

When you have a serial boot log with both drives attached, please post that too.

-bodhi
===========================
Forum Wiki
bodhi's corner



Edited 2 time(s). Last edit at 04/10/2018 07:47PM by bodhi.
Re: Pogoplug V3 (OXNAS OX820) mpcie altenatives
April 10, 2018 07:08PM
ok here is serial log, I have no usb ports plugged in at this time except the 2 cards in the mpcie card,
I'm sure there are more things to clear up but it does boot ok.
I also did some work on the swap drive which had to be set up, when I formatted it I was using partition magic and it somehow lost the UUID, after some search I was able to get that installed without tearing apart the PP again:)



 picocom -b 115200 /dev/ttyUSB0
picocom v2.2

port is        : /dev/ttyUSB0
flowcontrol    : none
baudrate is    : 115200
parity is      : none
databits are   : 8
stopbits are   : 1
escape is      : C-a
local echo is  : no
noinit is      : no
noreset is     : no
nolock is      : no
send_cmd is    : sz -vv
receive_cmd is : rz -vv -E
imap is        : 
omap is        : 
emap is        : crcrlf,delbs,

Type [C-a] [C-h] to see available commands

Terminal ready

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
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... 2 Storage Device(s) found
4119448 bytes read in 414 ms (9.5 MiB/s)
4596388 bytes read in 478 ms (9.2 MiB/s)
7067 bytes read in 195 ms (35.2 KiB/s)
## Booting kernel from Legacy Image at 60500000 ...
   Image Name:   Linux-4.4.124-oxnas-tld-1
   Created:      2018-03-31  23:59:44 UTC
   Image Type:   ARM Linux Kernel Image (uncompressed)
   Data Size:    4119384 Bytes = 3.9 MiB
   Load Address: 60008000
   Entry Point:  60008000
   Verifying Checksum ... OK
## Loading init Ramdisk from Legacy Image at 60e00000 ...
   Image Name:   initramfs-4.4.124-oxnas-tld-1
   Created:      2018-04-01   0:00:00 UTC
   Image Type:   ARM Linux RAMDisk Image (gzip compressed)
   Data Size:    4596324 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 679c4000, end 67e26264 ... OK
   Loading Device Tree to 679bf000, end 679c3b9a ... OK

Starting kernel ...

Uncompressing Linux... done, booting the kernel.
[    0.000000] Booting Linux on physical CPU 0x0
[    0.000000] Linux version 4.4.124-oxnas-tld-1 (root@tldDebian) (gcc version 6.3.0 20170516 (Debian 6.3.0-18+deb9u1) ) #1 SMP PREEMPT Wed Mar 28 22:46:38 PDT 2018
[    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=LABEL=rootfs 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: 117264K/131072K available (5693K kernel code, 285K rwdata, 1568K rodata, 224K init, 243K bss, 13808K 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 - 0xc071f858   (7263 kB)
[    0.000000]       .init : 0xc0720000 - 0xc0758000   ( 224 kB)
[    0.000000]       .data : 0xc0758000 - 0xc079f638   ( 286 kB)
[    0.000000]        .bss : 0xc079f638 - 0xc07dc4d8   ( 244 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.000151] Console: colour dummy device 80x30
[    0.000181] Calibrating delay loop... 339.14 BogoMIPS (lpj=1695744)
[    0.050017] pid_max: default: 32768 minimum: 301
[    0.050181] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes)
[    0.050201] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes)
[    0.051020] Initializing cgroup subsys net_cls
[    0.051100] CPU: Testing write buffer coherency: ok
[    0.051522] Setting up static identity map for 0x60008220 - 0x60008258
[    0.190136] Brought up 2 CPUs
[    0.190159] SMP: Total of 2 processors activated (678.29 BogoMIPS).
[    0.190958] devtmpfs: initialized
[    0.195604] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[    0.195648] futex hash table entries: 512 (order: 2, 16384 bytes)
[    0.195944] prandom: seed boundary self test passed
[    0.200355] prandom: 100 self tests passed
[    0.200386] pinctrl core: initialized pinctrl subsystem
[    0.201192] NET: Registered protocol family 16
[    0.201717] DMA: preallocated 256 KiB pool for atomic coherent allocations
[    0.230018] cpuidle: using governor ladder
[    0.260011] cpuidle: using governor menu
[    0.264960] gpio-oxnas 44000000.gpio: at address c8848000
[    0.265341] gpio-oxnas 44100000.gpio: at address c884a000
[    0.265886] pinctrl-oxnas pinctrl: initialized OX820 pinctrl driver
[    0.387176] oxnas-pcie 47c00000.pcie-controller: PCIe version/deviceID 0x82510b5
[    1.389957] oxnas-pcie 47c00000.pcie-controller: link down
[    1.390297] oxnas-pcie 47c00000.pcie-controller: PCI host bridge to bus 0000:00
[    1.390320] pci_bus 0000:00: root bus resource [mem 0x48000000-0x49ffffff]
[    1.390336] pci_bus 0000:00: root bus resource [mem 0x4a000000-0x4bdfffff pref]
[    1.390351] pci_bus 0000:00: root bus resource [io  0x0000-0xfffff]
[    1.390369] pci_bus 0000:00: root bus resource [bus 00-7f]
[    1.390407] PCI: bus0: Fast back to back transfers enabled
[    1.390840] vgaarb: loaded
[    1.391308] SCSI subsystem initialized
[    1.392158] usbcore: registered new interface driver usbfs
[    1.392261] usbcore: registered new interface driver hub
[    1.392412] usbcore: registered new device driver usb
[    1.392634] pps_core: LinuxPPS API ver. 1 registered
[    1.392650] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
[    1.392696] PTP clock support registered
[    1.393984] clocksource: Switched to clocksource rps_clocksource_timer
[    1.411952] NET: Registered protocol family 2
[    1.413017] TCP established hash table entries: 1024 (order: 0, 4096 bytes)
[    1.413058] TCP bind hash table entries: 1024 (order: 1, 8192 bytes)
[    1.413091] TCP: Hash tables configured (established 1024 bind 1024)
[    1.413194] UDP hash table entries: 256 (order: 1, 8192 bytes)
[    1.413235] UDP-Lite hash table entries: 256 (order: 1, 8192 bytes)
[    1.413488] NET: Registered protocol family 1
[    1.413967] RPC: Registered named UNIX socket transport module.
[    1.413987] RPC: Registered udp transport module.
[    1.413998] RPC: Registered tcp transport module.
[    1.414008] RPC: Registered tcp NFSv4.1 backchannel transport module.
[    1.414392] Unpacking initramfs...
[    1.887569] Freeing initrd memory: 4492K
[    1.888960] Initialise system trusted keyring
[    1.901570] zbud: loaded
[    1.906595] NFS: Registering the id_resolver key type
[    1.906652] Key type id_resolver registered
[    1.906664] Key type id_legacy registered
[    1.906708] nfs4filelayout_init: NFSv4 File Layout Driver Registering...
[    1.906731] Installing knfsd (copyright (C) 1996 okir@monad.swb.de).
[    1.907619] fuse init (API version 7.23)
[    1.909565] Key type big_key registered
[    1.989373] Key type asymmetric registered
[    1.989409] Asymmetric key parser 'x509' registered
[    1.989534] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 251)
[    1.989562] io scheduler noop registered
[    1.989585] io scheduler deadline registered
[    1.989644] io scheduler cfq registered (default)
[    1.990433] Serial: 8250/16550 driver, 1 ports, IRQ sharing disabled
[    1.991928] console [ttyS0] disabled
[    1.992023] 44200000.uart: ttyS0 at MMIO 0x44200000 (irq = 6, base_baud = 390625) is a 16550A
[    2.564403] console [ttyS0] enabled
[    2.579015] loop: module loaded
[    2.830973] scsi host0: sata_oxnas
[    2.884203] ata1: SATA max UDMA/133 irq 7
[    2.888294] sata_oxnas: resetting SATA core
[    2.889369] nand: Could not find valid ONFI parameter page; aborting
[    2.889413] nand: device found, Manufacturer ID: 0xad, Chip ID: 0xf1
[    2.889420] nand: Hynix NAND 128MiB 3,3V 8-bit
[    2.889428] nand: 128 MiB, SLC, erase size: 128 KiB, page size: 2048, OOB size: 64
[    2.889443] Scanning device for bad blocks
[    2.909521] Bad eraseblock 249 at 0x000001f20000
[    2.972113] 2 ofpart partitions found on MTD device 41000000.nand
[    2.978181] Creating 2 MTD partitions on "41000000.nand":
[    2.983585] 0x000000000000-0x000000e00000 : "boot"
[    2.990336] 0x000000e00000-0x000008000000 : "data"
[    2.997647] oxnas-gmac 40400000.ethernet: no reset control found
[    3.003686] stmmac - user ID: 0x12, Synopsys ID: 0x35
[    3.008709]  Ring mode enabled
[    3.011765]  DMA HW capability register supported
[    3.016268]  Enhanced/Alternate descriptors
[    3.020620] 	Enabled extended descriptors
[    3.024606]  RX Checksum Offload Engine supported (type 2)
[    3.030080]  TX Checksum insertion supported
[    3.034324]  Wake-Up On Lan supported
[    3.037962]  Enable RX Mitigation via HW Watchdog Timer
[    3.074844] libphy: stmmac: probed
[    3.078243] eth%d: PHY ID 001cc914 at 0 IRQ POLL (stmmac-0:00) active
[    3.084710] eth%d: PHY ID 001cc914 at 3 IRQ POLL (stmmac-0:03)
[    3.091404] PPP generic driver version 2.4.2
[    3.095982] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[    3.102589] ehci-pci: EHCI PCI platform driver
[    3.107412] oxnas-ehci 40200100.ehci: EHCI Host Controller
[    3.112975] oxnas-ehci 40200100.ehci: new USB bus registered, assigned bus number 1
[    3.120832] oxnas-ehci 40200100.ehci: irq 10, io mem 0x40200100
[    3.140008] oxnas-ehci 40200100.ehci: USB 2.0 started, EHCI 1.00
[    3.146309] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002
[    3.153128] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    3.160358] usb usb1: Product: EHCI Host Controller
[    3.165214] usb usb1: Manufacturer: Linux 4.4.124-oxnas-tld-1 ehci_hcd
[    3.171742] usb usb1: SerialNumber: 40200100.ehci
[    3.177390] hub 1-0:1.0: USB hub found
[    3.181242] hub 1-0:1.0: 2 ports detected
[    3.186286] usbcore: registered new interface driver cdc_wdm
[    3.192174] usbcore: registered new interface driver usb-storage
[    3.198320] usbcore: registered new interface driver usbserial
[    3.204234] usbcore: registered new interface driver usbserial_generic
[    3.210836] usbserial: USB Serial support registered for generic
[    3.217254] mousedev: PS/2 mouse device common for all mice
[    3.223016] i2c /dev entries driver
[    3.227704] hidraw: raw HID events driver (C) Jiri Kosina
[    3.233392] usbcore: registered new interface driver usbhid
[    3.238940] usbhid: USB HID core driver
[    3.244736] NET: Registered protocol family 10
[    3.250562] sit: IPv6 over IPv4 tunneling driver
[    3.256158] NET: Registered protocol family 17
[    3.260843] Key type dns_resolver registered
[    3.266432] registered taskstats version 1
[    3.270617] Loading compiled-in X.509 certificates
[    3.275504] zswap: loaded using pool lzo/zbud
[    3.280163] ata1: SATA link down (SStatus 0 SControl 300)
[    3.298946] Key type encrypted registered
[    3.320547] hctosys: unable to open rtc device (rtc0)
[    3.327726] Freeing unused kernel memory: 224K
Loading, please wait...
starting version 232
[    3.500160] usb 1-1: new high-speed USB device number 2 using oxnas-ehci
[    3.509319] random: systemd-udevd: uninitialized urandom read (16 bytes read, 0 bits of entropy available)
[    3.512857] random: udevadm: uninitialized urandom read (16 bytes read, 0 bits of entropy available)
[    3.515184] random: udevadm: uninitialized urandom read (16 bytes read, 0 bits of entropy available)
[    3.515356] random: udevadm: uninitialized urandom read (16 bytes read, 0 bits of entropy available)
[    3.516436] random: udevadm: uninitialized urandom read (16 bytes read, 0 bits of entropy available)
[    3.520519] random: udevadm: uninitialized urandom read (16 bytes read, 0 bits of entropy available)
[    3.521448] random: udevadm: uninitialized urandom read (16 bytes read, 0 bits of entropy available)
[    3.522375] random: udevadm: uninitialized urandom read (16 bytes read, 0 bits of entropy available)
[    3.523504] random: udevadm: uninitialized urandom read (16 bytes read, 0 bits of entropy available)
[    3.524546] random: udevadm: uninitialized urandom read (16 bytes read, 0 bits of entropy available)
[    3.752186] usb 1-1: New USB device found, idVendor=05e3, idProduct=0608
[    3.758873] usb 1-1: New USB device strings: Mfr=0, Product=1, SerialNumber=0
[    3.780252] usb 1-1: Product: USB2.0 Hub
[    3.796741] hub 1-1:1.0: USB hub found
[    3.801036] hub 1-1:1.0: 4 ports detected
[    3.930316] usb 1-2: new high-speed USB device number 3 using oxnas-ehci
[    4.085135] usb 1-2: New USB device found, idVendor=058f, idProduct=6465
[    4.095672] usb 1-2: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[    4.107724] usb 1-2: Product: Flash Card Reader/Writer
[    4.112990] usb 1-2: Manufacturer: Generic
[    4.117076] usb 1-2: SerialNumber: 058F64656473
[    4.125670] usb-storage 1-2:1.0: USB Mass Storage device detected
[    4.150382] scsi host1: usb-storage 1-2:1.0
[    4.173473] usbcore: registered new interface driver uas
Begin: Loading essential drivers ... done.
[    5.151226] scsi 1:0:0:0: Direct-Access     Generic  SD/MMC/MS/xD     1.07 PQ: 0 ANSI: 0
[    5.733611] scsi 1:0:0:1: Direct-Access     Generic  MicroSD/M2       1.08 PQ: 0 ANSI: 0
[    5.744931] sd 1:0:0:0: [sda] 31116288 512-byte logical blocks: (15.9 GB/14.8 GiB)
[    5.755287] sd 1:0:0:0: [sda] Write Protect is off
[    6.305323] sd 1:0:0:0: [sda] No Caching mode page found
[    6.310873] sd 1:0:0:0: [sda] Assuming drive cache: write through
[    6.319889] sd 1:0:0:1: [sdb] 31116288 512-byte logical blocks: (15.9 GB/14.8 GiB)
[    6.329333] sd 1:0:0:1: [sdb] Write Protect is off
[    6.335941] sd 1:0:0:1: [sdb] No Caching mode page found
[    6.341406] sd 1:0:0:1: [sdb] Assuming drive cache: write through
[    6.356270]  sda: sda1
[    6.365399] sd 1:0:0:0: [sda] Attached SCSI removable disk
[    6.385779] sd 1:0:0:1: [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
[/sbin/fsck.ext4 (1) -- /dev/sda1] fsck.ext4 -a -C0 /dev/sda1 
rootfs: recovering journal
rootfs: clean, 49153/958464 files, 414364/3828224 blocks
done.
[   17.169602] 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 [   19.180986] random: nonblocking pool is initialized
.
[ ok ] Synthesizing the initial hotplug events...done.
[ ok ] Waiting for /dev to be fully populated...done.
[ ok ] Activating swap...done.
[   21.350374] EXT4-fs (sda1): re-mounted. Opts: errors=remount-ro
mount: /etc/fstab: parse error at line 11 -- ignored
mount: /etc/fstab: parse error at line 11 -- ignored
mount: /etc/fstab: parse error at line 11 -- ignored
mount: /etc/fstab: parse error at line 11 -- ignored
mount: /etc/fstab: parse error at line 11 -- ignored
mount: /etc/fstab: parse error at line 11 -- ignored
[ ok ] Activating lvm and md swap...done.
[....] Checking file systems...fsck from util-linux 2.29.2
fsck: /etc/fstab: parse error at line 11 -- ignored
done.
[ ok ] Loading kernel modules...done.
[ ok ] Cleaning up temporary files... /tmp.
[....] Mounting local filesystems...mount: /etc/fstab: parse error at line 11 -- ignored
mount: mount point /media/Drivesde1 does not exist
failed.
[ ok ] Activating swapfile swap...done.
[ ok ] Cleaning up temporary files....
[ ok ] Setting kernel variables...done.
[   27.270284] oxnas-gmac 40400000.ethernet eth0: Link is Up - 1Gbps/Full - flow control off
[....] 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
DHCPREQUEST of 192.168.5.97 on eth0 to 255.255.255.255 port 67
DHCPACK of 192.168.5.97 from 192.168.5.72
invoke-rc.d: could not determine current runlevel
Reloading /etc/samba/smb.conf: smbd.
bound to 192.168.5.97 -- renewal in 16603 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...
1284 (syslogd)
. ok 
[ ok ] Starting NFS common utilities: statd idmapd.
[....] Starting cgroup management daemon: cgmanager[....] Starting cgroup manage[ ok proxy daemon: cgproxy.
[....] Starting busybox' klogd implementation : klogdStarting /sbin/klogd...
1283 (klogd)
. ok 
[ ok ] Starting system message bus: dbus.
[ ok ] Starting Avahi mDNS/DNS-SD Daemon: avahi-daemon.
[warn] Not starting NFS kernel daemon: no exports. ... (warning).
[ ok ] Starting OpenBSD Secure Shell server: sshd.
[ ok ] Starting NTP server: ntpd[....] Starting NetBIOS name server: nmbd.
. ok 
[ ok ] Starting Remote Desktop Protocol server: xrdp-sesman xrdp.
[ ok ] Starting SMB/CIFS daemon: smbd.

Debian GNU/Linux 9 debian ttyS0

debian login:




MANY THANKS -echowarrior108
Re: Pogoplug V3 (OXNAS OX820) mpcie altenatives
April 10, 2018 07:46PM
Nice! Let me revise that topic name:

Pogo V3 Pro internal Dual SD Card (USB 2.0) using mPCIe slot

-bodhi
===========================
Forum Wiki
bodhi's corner
Re: Pogoplug V3 (OXNAS OX820) mpcie altenatives
April 10, 2018 07:52PM
A related note on this topic.

When you use the SD card for swapping, you should activate zswap. See the first post in the kernel release thread.

-bodhi
===========================
Forum Wiki
bodhi's corner
Re: Pogoplug V3 (OXNAS OX820) mpcie altenatives
April 10, 2018 09:05PM
Bodhi, working on zswap right now good idea on topic name change , easier to find:)

thanks! echowarrior108
Re: Pogoplug V3 (OXNAS OX820) mpcie altenatives
April 12, 2018 09:41PM
Bodhi, came up with a good plan, being that the mpcie is on the back of the board I have determined that it is a complete teardown just to access the two micro sd cards which is a pain, also the electric tape was a good bandaid but ..... so I purchased an extender cable which I will wrap around to the top side of the main board of the pogoplug which in case of needed removal will be more easily accessible, I will post pics when it arrives and hope it works the way I intend it to. have a good day ! Echowarrior108
Re: Pogoplug V3 (OXNAS OX820) mpcie altenatives
April 12, 2018 10:46PM
echowarrior108,

That configuration would defeat the purpose of having an internal storage drive contained inside the box.

If you need to add SD card reader/writer to this box and access it outside, then why don't you just plug in an external USB SD card reader/writer? There are 4 USB ports available, which you can also plug in more USB hubs.

The mods you did is nice because it works like having a 16 GB NAND space to store the kernel and rootfs.

-bodhi
===========================
Forum Wiki
bodhi's corner
Re: Pogoplug V3 (OXNAS OX820) mpcie altenatives
April 13, 2018 11:25AM
Bodhi, my intention is to leave it inside the case, its just that access to the card requires unscrewing the entire board from the case, what I want to do is make it accessible without a full teardown but not to the point of making it open like the usb ports , this way if a sd card were to fail I could open up the case to change it out without unscrewing the board and disturbing the power wires and all that, it may be overkill though, lol. :)
Echowarrior108
Re: Pogoplug V3 (OXNAS OX820) mpcie altenatives
April 13, 2018 04:22PM
echowarrior,

> this way if a sd card were to
> fail I could open up the case to change it out
> without unscrewing the board and disturbing the
> power wires and all that, it may be overkill
> though, lol. :)

Sounds good! not overkill at all. It is true that SD card will need to be replaced at some point if writing too much to it.

-bodhi
===========================
Forum Wiki
bodhi's corner
Re: Pogoplug V3 (OXNAS OX820) mpcie altenatives
April 13, 2018 05:21PM
Thanks bodhi, yes I read those cards are not infinite in use, and its a big hassle unscrewing when I mess with the system so much and have to pull the card...lol which has happened enough to prompt me to take this action anyway, but it will work well for people who don't experiment too much and just want to put it in as I first set it up to work :)

-echowarrior108
Hi,

I've tried the same setup with the same type of mini pcie card plugged into an Iomega Iconnect. The led on the pcie card is green so it does get power but it doesn't read the contents of the micro SD card somehow. The same micro SD card plugged into an usb card reader boots into Debian without issues so I know the micro SD card and uboot works. Does this setup require any changes to the u-boot environment? or is it just bad luck that my setup doesn't work? The output of my current printenv is included below.

Thanks,

Koen

picocom -b 115200 /dev/ttyUSB0
picocom v2.2

port is        : /dev/ttyUSB0
flowcontrol    : none
baudrate is    : 115200
parity is      : none
databits are   : 8
stopbits are   : 1
escape is      : C-a
local echo is  : no
noinit is      : no
noreset is     : no
nolock is      : no
send_cmd is    : sz -vv
receive_cmd is : rz -vv -E
imap is        : 
omap is        : 
emap is        : crcrlf,delbs,

Type [C-a] [C-h] to see available commands

Terminal ready


U-Boot 2017.07-tld-1 (Sep 05 2017 - 00:29:48 -0700)
Iomega iConnect

SoC:   Kirkwood 88F6281_A0
DRAM:  256 MiB
WARNING: Caches not enabled
NAND:  512 MiB
*** Warning - bad CRC, using default environment

In:    serial
Out:   serial
Err:   serial
Net:   egiga0
Hit any key to stop autoboot:  0 
iConnect> printenv
arcNumber=2870
baudrate=115200
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 $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
bootcmd_uenv=run uenv_load; if test $uenv_loaded -eq 1; then run uenv_import; fi
bootdelay=10
bootdev=usb
console=console=ttyS0,115200
device=0:1
devices=usb
disks=0 1 2 3
dtb_file=/boot/dts/kirkwood-iconnect.dtb
ethact=egiga0
ethaddr=52:3b:20:9c:11:51
if_netconsole=ping $serverip
ipaddr=192.168.0.231
led_error=orange blinking
led_exit=green off
led_init=green blinking
load_dtb=echo loading DTB $dtb_file ...; load $bootdev $device $load_dtb_addr $dtb_file
load_dtb_addr=0x1c00000
load_initrd=echo loading uInitrd ...; load $bootdev $device $load_initrd_addr /boot/uInitrd
load_initrd_addr=0x1100000
load_uimage=echo loading uImage ...; load $bootdev $device $load_uimage_addr /boot/uImage
load_uimage_addr=0x800000
mainlineLinux=yes
mtdids=nand0=orion_nand
mtdparts=mtdparts=orion_nand:0x80000@0x0(uboot),0x20000@0x80000(uboot_env),-@0xa0000(rootfs)
partition=nand0,2
preboot_nc=run if_netconsole start_netconsole
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 $load_uimage_addr /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_addr=0x810000
uenv_import=echo importing envs ...; env import -t $uenv_addr $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 $uenv_addr /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_ready_retry=15

Environment size: 2914/131068 bytes
iConnect> 

and some more info which may be useful:

iConnect> usb start  
starting USB...
USB0:   USB EHCI 1.00
scanning bus 0 for devices... 2 USB Device(s) found
       scanning usb for storage devices... 0 Storage Device(s) found
iConnect> 
iConnect> usb storage
No storage devices, perhaps not 'usb start'ed..?
iConnect> usb tree   
USB device tree:
  1  Hub (480 Mb/s, 0mA)
  |  u-boot EHCI Host Controller 
  |
  +-2  Hub (480 Mb/s, 100mA)
     
iConnect> 
USB device tree:
  1  Hub (480 Mb/s, 0mA)
  |  u-boot EHCI Host Controller 
  |
  +-2  Hub (480 Mb/s, 100mA)
     
iConnect> usb info
1: Hub,  USB Revision 2.0
 - u-boot EHCI Host Controller 
 - Class: Hub
 - PacketSize: 64  Configurations: 1
 - Vendor: 0x0000  Product 0x0000 Version 1.0
   Configuration: 1
   - Interfaces: 1 Self Powered 0mA
     Interface: 0
     - Alternate Setting 0, Endpoints: 1
     - Class Hub
     - Endpoint 1 In Interrupt MaxPacket 8 Interval 255ms

2: Hub,  USB Revision 2.0
 - Class: Hub
 - PacketSize: 64  Configurations: 1
 - Vendor: 0x058f  Product 0x6254 Version 1.0
   Configuration: 1
   - Interfaces: 1 Self Powered Remote Wakeup 100mA
     Interface: 0
     - Alternate Setting 0, Endpoints: 1
     - Class Hub
     - Endpoint 1 In Interrupt MaxPacket 1 Interval 12ms

iConnect> 

Re: Pogo V3 Pro internal Dual SD Card (USB 2.0) using mPCIe slot
June 06, 2018 11:26PM
koen,

The tutorial in the 1st post is applicable only to the Pogo V3 (OXNAS SoC). The Pogo V3 has a different bootROM in hardware and different u-boot installed as for the Iomaga iConnect (Marvell Kirkwood SoC).

> iConnect> usb start
> starting USB...
> USB0: USB EHCI 1.00
> scanning bus 0 for devices... 2 USB Device(s)
> found
> scanning usb for storage devices... 0
> Storage Device(s) found

This means u-boot did not detect the mPCIe card that was plugged in.

The iConnect u-boot I've released (U-Boot 2017.07-tld-1) does not have PCI supports. On the iConnect, you are supposed to boot with USB rootfs and then use the mPCIe slot for other purpose.

I might revisit this PCI capability in the next u-boot release to see if it is easy to add it to all Kirkwood u-boots. In the mean time. you can only use it inside Debian after the kernel has booted.

-bodhi
===========================
Forum Wiki
bodhi's corner
Thanks for the explanation. I'll use an external USB stick instead.

Koen
Re: Pogoplug V3 (OXNAS OX820) mpcie altenatives
June 29, 2018 10:18AM
Just an update, My first pogoplug had a board issue, the power wire leads had came out and I am horrible at soldering, I have 2 new pogoplugs so I simply moved the cards and reconfigured the new pogoplug and the setup worked flawlessly, the reason i posted in this forum was to say that the card configuration here works and has not had issues for a few months now, thanks Bodhi for being a great mentor through this!
Re: Pogo V3 Pro internal Dual SD Card (USB 2.0) using mPCIe slot
October 25, 2018 01:53PM
Well its been over 6 months with this setup, I haven't made any changes on this plug and its been running full time with no hick-ups. Been using another plug to experiment with but nothing noteworthy. currently on this plug I am running 2 5tb usb hdd's on raid on my home network. I am using ES File explorer to connect my android phones and filezilla for my home pc's and using this as a backup setup for all of them. Just kinda to give an update about this setup in general:)

Echowarrior108
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: