Welcome! Log In Create A New Profile

Advanced

Pogo Oxnas V3 with 256MB RAM modding

Posted by youxiaojie 
Pogo Oxnas V3 with 256MB RAM modding
March 04, 2017 03:32AM
I have enlarged mem to 256MB, the original u
boot only recognize 128M does your uboot
support all 256M?



Edited 1 time(s). Last edit at 03/06/2017 01:33PM by bodhi.
Re: Cannot boot with SATA plug in
March 04, 2017 04:59AM
Quote

what is the meanings of spl?in this version the u boot partition need 2M?does it use second boot technology?can I use nanddump to backup original uboot? thanks

- SPL is the stage 1 boot loader.
- Yes, this version needs 2M for u-boot.
- Yes, you can nanddump to backup stock u-boot.

Quote

I have enlarged mem to 256MB, the original u
boot only recognize 128M does your uboot
support all 256M?

- Do you mean you have removed and solder a 256M RAM chip? If that's true, awesome! we want picture :) nobody has done this mods. It would be nice if you could post that and I'll add your mods description to the Wiki thread.
- To use 256M RAM, a second version of u-boot needs to be built (the same version can not be used for both memory size). I could look into this when I build the next u-boot for release.

-bodhi
===========================
Forum Wiki
bodhi's corner (buy bodhi a beer)
Re: Cannot boot with SATA plug in
March 04, 2017 07:42PM
sure , the chip is h5ps2g63emr-s6c
the hardware support this mod ,what I need is to modify source code.I will correct more images later.
Re: Cannot boot with SATA plug in
March 04, 2017 07:52PM
youxiaojie,

You can also try to specify memory in the DTS. But that might be wiped out by u-boot when it loads the kernel. Try that anyway,

If you need help modify/recompile the DTS, post and let me know.

-bodhi
===========================
Forum Wiki
bodhi's corner (buy bodhi a beer)
Re: Cannot boot with SATA plug in
March 04, 2017 08:00PM
thank you.what is spl standard for?s for ? p for and l for?
Re: Cannot boot with SATA plug in
March 04, 2017 08:12PM
youxiaojie Wrote:
-------------------------------------------------------
> thank you.what is spl standard for?s for ? p for a
> nd l for?

Secondary Program Loader.

I knwow :) we call SPL the 1st stage bootloader, but it is actually the 2nd loader that runs. BootROM is the 1st loader, which starts SPL, which initializes memory and load/starts u-boot which is the 2nd stage bootloader.

-bodhi
===========================
Forum Wiki
bodhi's corner (buy bodhi a beer)
Re: Cannot boot with SATA plug in
March 06, 2017 11:50AM
thank you. the mod to 256M is feasible .the post shows how to boot from harddisk purely. https://archlinuxarm.org/forum/viewtopic.php?f=55&t=2146 ,but unfortunately, the file link is unavailable. damn archlinux. in this post, it mentioned 256M users here.
Re: Pogo Oxnas V3 with 256MB RAM modding
March 06, 2017 07:24PM
This is great. I wonder if a Pogoplug Pro can be modded to support 1 GB RAM.
Re: Cannot boot with SATA plug in
March 06, 2017 10:14PM
youxiaojie Wrote:
-------------------------------------------------------
> thank you. the mod to 256M is feasible .the post s
> hows how to boot from harddisk purely. https://arc
> hlinuxarm.org/forum/viewtopic.php?f=55&t=2146 ,but
> unfortunately, the file link is unavailable. damn
> archlinux. in this post, it mentioned 256M users h
> ere.

The link is to the 1st post. I am very my familiar with this thread :) but dont know which posts have the 256M discussion?

-bodhi
===========================
Forum Wiki
bodhi's corner (buy bodhi a beer)
Re: Pogo Oxnas V3 with 256MB RAM modding
March 07, 2017 12:34PM
U-Boot SPL 2013.10 (Jan 03 2014 - 21:30:38)
  Boot device: SATA
Attempting to set PLLA to 800 MHz ...
  plla_ctrl0 : 0000030a
  plla_ctrl1 : 00400000
  plla_ctrl2 : 007f0068
  plla_ctrl3 : 00000193

PLLA Set
Bus 0: OK 
  Device 0: Model: ST3250318AS  Firm: CC38 Ser#: 9VMECCJ6
            Type: Hard Disk
            Supports 48-bit addressing
            Capacity: 238475.1 MB = 232.8 GB (488397168 x 512)


U-Boot 2013.10 (Jan 03 2014 - 22:37:42) for OXNAS

DRAM:  128 MiB
IDE:   Bus 0: OK 
  Device 0: Model: ST3250318AS  Firm: CC38 Ser#: 9VMECCJ6
            Type: Hard Disk
            Supports 48-bit addressing
            Capacity: 238475.1 MB = 232.8 GB (488397168 x 512)
NAND:  128 MiB
In:    serial
Out:   serial
Err:   serial
Net:   mii0
switch to net console
Uncompressing Linux... done, booting the kernel.
[    0.000000] Booting Linux on physical CPU 0x0
[    0.000000] Linux version 3.12.6_OXNAS+ (root@PogoplugPro) (gcc version 4.6.3 (Debian 4.6.3-14) ) #4 SMP Fri Jan 3 11:26:59 CST 2014
[    0.000000] CPU: ARMv6-compatible processor [410fb025] revision 5 (ARMv7), cr=00c5387d
[    0.000000] CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing instruction cache
[    0.000000] Machine: PLXTECH NAS782X SoC (Flattened Device Tree), model: Pogoplug Pro
[    0.000000] Memory policy: ECC disabled, Data cache writealloc
[    0.000000] DT missing boot CPU MPIDR[23:0], fall back to default cpu_logical_map
[    0.000000] PERCPU: Embedded 7 pages/cpu @c07b4000 s6464 r8192 d14016 u32768
[    0.000000] Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 65024
[    0.000000] Kernel command line: root=/dev/sda1 console=ttyS0,115200 elevator=cfq mem=256M
[    0.000000] PID hash table entries: 1024 (order: 0, 4096 bytes)
[    0.000000] Dentry cache hash table entries: 32768 (order: 5, 131072 bytes)
[    0.000000] Inode-cache hash table entries: 16384 (order: 4, 65536 bytes)
[    0.000000] Memory: 253980K/262144K available (4148K kernel code, 206K rwdata, 1064K rodata, 150K init, 208K bss, 8164K reserved)
[    0.000000] Virtual kernel memory layout:
[    0.000000]     vector  : 0xffff0000 - 0xffff1000   (   4 kB)
[    0.000000]     fixmap  : 0xfff00000 - 0xfffe0000   ( 896 kB)
[    0.000000]     vmalloc : 0xd0800000 - 0xff000000   ( 744 MB)
[    0.000000]     lowmem  : 0xc0000000 - 0xd0000000   ( 256 MB)
[    0.000000]     modules : 0xbf000000 - 0xc0000000   (  16 MB)
[    0.000000]       .text : 0xc0008000 - 0xc051f5f0   (5214 kB)
[    0.000000]       .init : 0xc0520000 - 0xc0545940   ( 151 kB)
[    0.000000]       .data : 0xc0546000 - 0xc0579a00   ( 207 kB)
[    0.000000]        .bss : 0xc0579a08 - 0xc05ada38   ( 209 kB)
[    0.000000] SLUB: HWalign=32, Order=0-3, MinObjects=0, CPUs=2, Nodes=1
[    0.000000] Hierarchical RCU implementation.
[    0.000000] NR_IRQS:160
[    0.000000] sched_clock: 24 bits at 390kHz, resolution 2560ns, wraps every 42949ms
[    0.000000] Console: colour dummy device 80x30
[    0.000194] Calibrating delay loop... 319.48 BogoMIPS (lpj=1597440)
[    0.050022] pid_max: default: 32768 minimum: 301
[    0.050255] Mount-cache hash table entries: 512
[    0.051266] CPU: Testing write buffer coherency: ok
[    0.051668] Setting up static identity map for 0xc03f2d28 - 0xc03f2d60
[    0.053004] CPU1: Booted secondary processor
[    0.110187] Brought up 2 CPUs
[    0.110213] SMP: Total of 2 processors activated.
[    0.111336] devtmpfs: initialized
[    0.114229] pinctrl core: initialized pinctrl subsystem
[    0.114585] NET: Registered protocol family 16
[    0.115079] DMA: preallocated 256 KiB pool for atomic coherent allocations
[    0.117944] gpio-oxnas 44000000.gpio: at address d0846000
[    0.118141] gpio-oxnas 44100000.gpio: at address d0848000
[    0.118586] pinctrl-oxnas pinctrl.5: initialized OX820 pinctrl driver
[    0.123783] bio: create slab <bio-0> at 0
[    0.234667] oxnas-pcie 47c0: PCIe version/deviceID 0x82510b5
[    1.239946] oxnas-pcie 47c0: link down
[    1.240130] oxnas-pcie 47c0: PCI host bridge to bus 0000:00
[    1.240153] pci_bus 0000:00: root bus resource [mem 0x48000000-0x49ffffff]
[    1.240168] pci_bus 0000:00: root bus resource [mem 0x4a000000-0x4bdfffff pref]
[    1.240184] pci_bus 0000:00: root bus resource [io  0x4be00000-0x4befffff]
[    1.240199] pci_bus 0000:00: root bus resource [bus 00-7f]
[    1.240238] PCI: bus0: Fast back to back transfers enabled
[    1.240529] vgaarb: loaded
[    1.240924] SCSI subsystem initialized
[    1.241574] usbcore: registered new interface driver usbfs
[    1.241648] usbcore: registered new interface driver hub
[    1.241832] usbcore: registered new device driver usb
[    1.241966] pps_core: LinuxPPS API ver. 1 registered
[    1.241981] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
[    1.242014] PTP clock support registered
[    1.244062] Switched to clocksource rps_clocksource_timer
[    1.244085] cfg80211: Calling CRDA to update world regulatory domain
[    1.255613] NET: Registered protocol family 2
[    1.256279] TCP established hash table entries: 2048 (order: 2, 16384 bytes)
[    1.256348] TCP bind hash table entries: 2048 (order: 2, 16384 bytes)
[    1.256401] TCP: Hash tables configured (established 2048 bind 2048)
[    1.256483] TCP: reno registered
[    1.256506] UDP hash table entries: 256 (order: 1, 8192 bytes)
[    1.256545] UDP-Lite hash table entries: 256 (order: 1, 8192 bytes)
[    1.256860] NET: Registered protocol family 1
[    1.268902] fuse init (API version 7.22)
[    1.269483] msgmni has been set to 496
[    1.271418] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 252)
[    1.271439] io scheduler noop registered
[    1.271449] io scheduler deadline registered
[    1.271674] io scheduler cfq registered (default)
[    1.272017] Serial: 8250/16550 driver, 1 ports, IRQ sharing disabled
[    1.273141] 44200000.uart: ttyS0 at MMIO 0x44200000 (irq = 55, base_baud = 390625) is a 16550A
[    1.724887] console [ttyS0] enabled
[    1.729779] scsi0 : sata_oxnas
[    1.733135] ata1: SATA max UDMA/133 irq 50
[    1.738516] NAND device: Manufacturer ID: 0xad, Chip ID: 0xf1 (Hynix NAND 128MiB 3,3V 8-bit), 128MiB, page size: 2048, OOB size: 64
[    1.740131] ox820sata: reseting SATA core
[    1.754316] Scanning device for bad blocks
[    1.840340] 2 ofpart partitions found on MTD device 41000000.nand
[    1.846415] Creating 2 MTD partitions on "41000000.nand":
[    1.851791] 0x000000000000-0x000000e00000 : "boot"
[    1.857748] 0x000000e00000-0x000008000000 : "data"
[    1.864148] stmmac - user ID: 0x12, Synopsys ID: 0x35
[    1.869178]  Ring mode enabled
[    1.872212]  DMA HW capability register supported
[    1.876751]  Enhanced/Alternate descriptors
[    1.881080]  Enabled extended descriptors
[    1.885081]  RX Checksum Offload Engine supported (type 2)
[    1.890534]  TX Checksum insertion supported
[    1.894791]  Wake-Up On Lan supported
[    1.898429]  Enable RX Mitigation via HW Watchdog Timer
[    1.906606] libphy: stmmac: probed
[    1.910005] eth0: PHY ID 001cc914 at 0 IRQ 0 (stmmac-0:00) active
[    1.916101] eth0: PHY ID 001cc914 at 3 IRQ 0 (stmmac-0:03)
[    1.921617] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[    1.928128] ehci-pci: EHCI PCI platform driver
[    1.932812] oxnas-ehci 40200100.ehci: EHCI Host Controller
[    1.938352] oxnas-ehci 40200100.ehci: new USB bus registered, assigned bus number 1
[    1.946112] oxnas-ehci 40200100.ehci: irq 39, io mem 0x40200100
[    1.973120] oxnas-ehci 40200100.ehci: USB 2.0 started, EHCI 1.00
[    1.979397] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002
[    1.986188] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    1.993408] usb usb1: Product: EHCI Host Controller
[    1.998261] usb usb1: Manufacturer: Linux 3.12.6_OXNAS+ ehci_hcd
[    2.004262] usb usb1: SerialNumber: 40200100.ehci
[    2.009640] hub 1-0:1.0: USB hub found
[    2.013516] hub 1-0:1.0: 2 ports detected
[    2.018042] usbcore: registered new interface driver usb-storage
[    2.024368] mousedev: PS/2 mouse device common for all mice
[    2.030840] usbcore: registered new interface driver usbhid
[    2.036449] usbhid: USB HID core driver
[    2.040527] TCP: cubic registered
[    2.044869] NET: Registered protocol family 10
[    2.050562] sit: IPv6 over IPv4 tunneling driver
[    2.056622] ip6_gre: GRE over IPv6 tunneling driver
[    2.062215] NET: Registered protocol family 17
[    2.259991] ata1: SATA link up 1.5 Gbps (SStatus 113 SControl 310)
[    2.267256] ata1.00: ATA-8: ST3250318AS, CC38, max UDMA/133
[    2.272860] ata1.00: 488397168 sectors, multi 0: LBA48 NCQ (depth 0/32)
[    2.280711] ata1.00: configured for UDMA/133
[    2.285486] scsi 0:0:0:0: Direct-Access     ATA      ST3250318AS      CC38 PQ: 0 ANSI: 5
[    2.294566] sd 0:0:0:0: [sda] 488397168 512-byte logical blocks: (250 GB/232 GiB)
[    2.302638] sd 0:0:0:0: [sda] Write Protect is off
[    2.307612] sd 0:0:0:0: [sda] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
[    2.333163] usb 1-1: new high-speed USB device number 2 using oxnas-ehci
[    2.372060]  sda: sda1 sda2
[    2.376652] sd 0:0:0:0: [sda] Attached SCSI disk
[    2.423086] EXT2-fs (sda1): warning: mounting ext3 filesystem as ext2
[    2.429544] VFS: Mounted root (ext2 filesystem) readonly on device 8:1.
[    2.449886] devtmpfs: mounted
[    2.453102] Freeing unused kernel memory: 148K (c0520000 - c0545000)
[    2.491921] usb 1-1: New USB device found, idVendor=05e3, idProduct=0608
[    2.498677] usb 1-1: New USB device strings: Mfr=0, Product=1, SerialNumber=0
[    2.505832] usb 1-1: Product: USB2.0 Hub
[    2.510819] hub 1-1:1.0: USB hub found
[    2.514915] hub 1-1:1.0: 4 ports detected
INIT: version 2.88 booting
[info] Using makefile-style concurrent boot in runlevel S.
[....] Starting the hotplug events dispatcher: udevd[    4.408153] udevd[160]: starting version 175
. ok 
[....] Synthesizing the initial hotplug events...done.
[....] Waiting for /dev to be fully populated...done.
[....] Setting parameters of disc: (none). ok 
[....] Activating swap...done.
[    6.768896] EXT2-fs (sda1): warning: mounting unchecked fs, running e2fsck is recommended
[....] Cleaning up temporary files... /tmp. ok 
[....] Activating lvm and md swap...done.
[....] Checking file systems...fsck from util-linux 2.20.1
done.
[....] Mounting local filesystems...done.
[....] Activating swapfile swap...done.
[....] Cleaning up temporary files.... ok 
[....] Setting kernel variables ...done.
[....] Configuring network interfaces...[   12.481441] eth0: device MAC address 00:25:31:01:23:45
[   12.673679] eth0: device MAC address 00:25:31:01:23:45
[   12.690624] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready
err, eth0: timed out
warn, eth0: using IPV4LL address 169.254.36.60
dhcpcd.sh: interface eth0 has been configured with new IP=169.254.36.60
done.
[....] Starting rpcbind daemon.... ok 
[....] Starting NFS common utilities: statd[   35.166382] RPC: Registered named UNIX socket transport module.
[   35.172282] RPC: Registered udp transport module.
[   35.177003] RPC: Registered tcp transport module.
[   35.181685] RPC: Registered tcp NFSv4.1 backchannel transport module.
[   35.353843] Installing knfsd (copyright (C) 1996 okir@monad.swb.de).
 idmapd. ok 
[....] Cleaning up temporary files.... ok 
INIT: Entering runlevel: 2
[info] Using makefile-style concurrent boot in runlevel 2.
[....] Starting rpcbind daemon...[....] Already running.. ok 
[....] Starting system message bus: dbus. ok 
[....] Starting NFS common utilities: statd idmapd. ok 
[....] Starting periodic command scheduler: cron. ok 
[....] Starting Samba daemons: nmbd smbd. ok 
[....] Starting OpenBSD Secure Shell server: sshd. ok 
[   39.089264] NFSD: Using /var/lib/nfs/v4recovery as the NFSv4 state recovery directory
[   39.101283] NFSD: starting 90-second grace period (net c05727c0)
[....] Exporting directories for NFS kernel daemon.... ok 
[....] Starting NFS kernel daemon: nfsd mountd. ok 
[....] Starting MTA: exim4. ok 

Debian GNU/Linux 7 OXNAS ttyS0

OXNAS login: root
Password: 

Login incorrect
OXNAS login: root
Password: 
Last login: Thu Jan  1 07:01:05 LONT 1970 on ttyS0
Linux OXNAS 3.12.6_OXNAS+ #4 SMP Fri Jan 3 11:26:59 CST 2014 armv6l

                                                              @ olderzeus
         ________
         ___  __ \    __   _
         __  / / /__ / /  (_)__ ____
         _  /_/ / -_) _ \/ / _ `/ _ \
         /_____/\__/_.__/_/\_,_/_//_/ 

                               Wheezy  ON  Oxford NAS7820 Series 
 
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@OXNAS:~]$.free
             total       used       free     shared    buffers     cached
Mem:        254128      43380     210748          0       1564      28392
-/+ buffers/cache:      13424     240704
Swap:            0          0          0
[root@OXNAS:~]$.


[root@OXNAS:~]$.uname -a
Linux OXNAS 3.12.6_OXNAS+ #4 SMP Fri Jan 3 11:26:59 CST 2014 armv6l GNU/Linux   

well-done, full disk reboot


dmesg
[    0.000000] Booting Linux on physical CPU 0x0
[    0.000000] Linux version 3.12.6_OXNAS+ (root@PogoplugPro) (gcc version 4.6.3 (Debian 4.6.3-14) ) #4 SMP Fri Jan 3 11:26:59 CST 2014
[    0.000000] CPU: ARMv6-compatible processor [410fb025] revision 5 (ARMv7), cr=00c5387d
[    0.000000] CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing instruction cache
[    0.000000] Machine: PLXTECH NAS782X SoC (Flattened Device Tree), model: Pogoplug Pro
[    0.000000] Memory policy: ECC disabled, Data cache writealloc
[    0.000000] On node 0 totalpages: 65536
[    0.000000] free_area_init_node: node 0, pgdat c0578900, node_mem_map c05ae000
[    0.000000]   Normal zone: 512 pages used for memmap
[    0.000000]   Normal zone: 0 pages reserved
[    0.000000]   Normal zone: 65536 pages, LIFO batch:15
[    0.000000] DT missing boot CPU MPIDR[23:0], fall back to default cpu_logical_map
[    0.000000] PERCPU: Embedded 7 pages/cpu @c07b4000 s6464 r8192 d14016 u32768
[    0.000000] pcpu-alloc: s6464 r8192 d14016 u32768 alloc=8*4096
[    0.000000] pcpu-alloc: [0] 0 [0] 1 
[    0.000000] Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 65024
[    0.000000] Kernel command line: root=/dev/sda1 console=ttyS0,115200 elevator=cfq mem=256M
[    0.000000] PID hash table entries: 1024 (order: 0, 4096 bytes)
[    0.000000] Dentry cache hash table entries: 32768 (order: 5, 131072 bytes)
[    0.000000] Inode-cache hash table entries: 16384 (order: 4, 65536 bytes)
[    0.000000] Memory: 253980K/262144K available (4148K kernel code, 206K rwdata, 1064K rodata, 150K init, 208K bss, 8164K reserved)
[    0.000000] Virtual kernel memory layout:
[    0.000000]     vector  : 0xffff0000 - 0xffff1000   (   4 kB)
[    0.000000]     fixmap  : 0xfff00000 - 0xfffe0000   ( 896 kB)
[    0.000000]     vmalloc : 0xd0800000 - 0xff000000   ( 744 MB)
[    0.000000]     lowmem  : 0xc0000000 - 0xd0000000   ( 256 MB)
[    0.000000]     modules : 0xbf000000 - 0xc0000000   (  16 MB)
[    0.000000]       .text : 0xc0008000 - 0xc051f5f0   (5214 kB)
[    0.000000]       .init : 0xc0520000 - 0xc0545940   ( 151 kB)
[    0.000000]       .data : 0xc0546000 - 0xc0579a00   ( 207 kB)
[    0.000000]        .bss : 0xc0579a08 - 0xc05ada38   ( 209 kB)
[    0.000000] SLUB: HWalign=32, Order=0-3, MinObjects=0, CPUs=2, Nodes=1
[    0.000000] Hierarchical RCU implementation.
[    0.000000] NR_IRQS:160
[    0.000000] sched_clock: 24 bits at 390kHz, resolution 2560ns, wraps every 42949ms
[    0.000000] Console: colour dummy device 80x30
[    0.000194] Calibrating delay loop... 319.48 BogoMIPS (lpj=1597440)
[    0.050022] pid_max: default: 32768 minimum: 301
[    0.050255] Mount-cache hash table entries: 512
[    0.051266] CPU: Testing write buffer coherency: ok
[    0.051668] Setting up static identity map for 0xc03f2d28 - 0xc03f2d60
[    0.053004] CPU1: Booted secondary processor
[    0.110187] Brought up 2 CPUs
[    0.110213] SMP: Total of 2 processors activated.
[    0.111336] devtmpfs: initialized
[    0.114229] pinctrl core: initialized pinctrl subsystem
[    0.114585] NET: Registered protocol family 16
[    0.115079] DMA: preallocated 256 KiB pool for atomic coherent allocations
[    0.117944] gpio-oxnas 44000000.gpio: at address d0846000
[    0.118141] gpio-oxnas 44100000.gpio: at address d0848000
[    0.118586] pinctrl-oxnas pinctrl.5: initialized OX820 pinctrl driver
[    0.123783] bio: create slab <bio-0> at 0
[    0.234667] oxnas-pcie 47c0: PCIe version/deviceID 0x82510b5
[    1.239946] oxnas-pcie 47c0: link down
[    1.240130] oxnas-pcie 47c0: PCI host bridge to bus 0000:00
[    1.240153] pci_bus 0000:00: root bus resource [mem 0x48000000-0x49ffffff]
[    1.240168] pci_bus 0000:00: root bus resource [mem 0x4a000000-0x4bdfffff pref]
[    1.240184] pci_bus 0000:00: root bus resource [io  0x4be00000-0x4befffff]
[    1.240199] pci_bus 0000:00: root bus resource [bus 00-7f]
[    1.240238] PCI: bus0: Fast back to back transfers enabled
[    1.240529] vgaarb: loaded
[    1.240924] SCSI subsystem initialized
[    1.241218] libata version 3.00 loaded.
[    1.241574] usbcore: registered new interface driver usbfs
[    1.241648] usbcore: registered new interface driver hub
[    1.241832] usbcore: registered new device driver usb
[    1.241966] pps_core: LinuxPPS API ver. 1 registered
[    1.241981] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
[    1.242014] PTP clock support registered
[    1.244062] Switched to clocksource rps_clocksource_timer
[    1.244085] cfg80211: Calling CRDA to update world regulatory domain
[    1.255613] NET: Registered protocol family 2
[    1.256279] TCP established hash table entries: 2048 (order: 2, 16384 bytes)
[    1.256348] TCP bind hash table entries: 2048 (order: 2, 16384 bytes)
[    1.256401] TCP: Hash tables configured (established 2048 bind 2048)
[    1.256483] TCP: reno registered
[    1.256506] UDP hash table entries: 256 (order: 1, 8192 bytes)
[    1.256545] UDP-Lite hash table entries: 256 (order: 1, 8192 bytes)
[    1.256860] NET: Registered protocol family 1
[    1.256911] PCI: CLS 0 bytes, default 32
[    1.268902] fuse init (API version 7.22)
[    1.269483] msgmni has been set to 496
[    1.271418] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 252)
[    1.271439] io scheduler noop registered
[    1.271449] io scheduler deadline registered
[    1.271674] io scheduler cfq registered (default)
[    1.272017] Serial: 8250/16550 driver, 1 ports, IRQ sharing disabled
[    1.273141] 44200000.uart: ttyS0 at MMIO 0x44200000 (irq = 55, base_baud = 390625) is a 16550A
[    1.724887] console [ttyS0] enabled
[    1.729779] scsi0 : sata_oxnas
[    1.733135] ata1: SATA max UDMA/133 irq 50
[    1.738516] NAND device: Manufacturer ID: 0xad, Chip ID: 0xf1 (Hynix NAND 128MiB 3,3V 8-bit), 128MiB, page size: 2048, OOB size: 64
[    1.740131] ox820sata: reseting SATA core
[    1.754316] Scanning device for bad blocks
[    1.840340] 2 ofpart partitions found on MTD device 41000000.nand
[    1.846415] Creating 2 MTD partitions on "41000000.nand":
[    1.851791] 0x000000000000-0x000000e00000 : "boot"
[    1.857748] 0x000000e00000-0x000008000000 : "data"
[    1.864148] stmmac - user ID: 0x12, Synopsys ID: 0x35
[    1.869178]  Ring mode enabled
[    1.872212]  DMA HW capability register supported
[    1.876751]  Enhanced/Alternate descriptors
[    1.881080]  Enabled extended descriptors
[    1.885081]  RX Checksum Offload Engine supported (type 2)
[    1.890534]  TX Checksum insertion supported
[    1.894791]  Wake-Up On Lan supported
[    1.898429]  Enable RX Mitigation via HW Watchdog Timer
[    1.906606] libphy: stmmac: probed
[    1.910005] eth0: PHY ID 001cc914 at 0 IRQ 0 (stmmac-0:00) active
[    1.916101] eth0: PHY ID 001cc914 at 3 IRQ 0 (stmmac-0:03)
[    1.921617] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[    1.928128] ehci-pci: EHCI PCI platform driver
[    1.932812] oxnas-ehci 40200100.ehci: EHCI Host Controller
[    1.938352] oxnas-ehci 40200100.ehci: new USB bus registered, assigned bus number 1
[    1.946112] oxnas-ehci 40200100.ehci: irq 39, io mem 0x40200100
[    1.973120] oxnas-ehci 40200100.ehci: USB 2.0 started, EHCI 1.00
[    1.979397] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002
[    1.986188] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    1.993408] usb usb1: Product: EHCI Host Controller
[    1.998261] usb usb1: Manufacturer: Linux 3.12.6_OXNAS+ ehci_hcd
[    2.004262] usb usb1: SerialNumber: 40200100.ehci
[    2.009640] hub 1-0:1.0: USB hub found
[    2.013516] hub 1-0:1.0: 2 ports detected
[    2.018042] usbcore: registered new interface driver usb-storage
[    2.024368] mousedev: PS/2 mouse device common for all mice
[    2.030840] usbcore: registered new interface driver usbhid
[    2.036449] usbhid: USB HID core driver
[    2.040527] TCP: cubic registered
[    2.044869] NET: Registered protocol family 10
[    2.050562] sit: IPv6 over IPv4 tunneling driver
[    2.056622] ip6_gre: GRE over IPv6 tunneling driver
[    2.062215] NET: Registered protocol family 17
[    2.259991] ata1: SATA link up 1.5 Gbps (SStatus 113 SControl 310)
[    2.267256] ata1.00: ATA-8: ST3250318AS, CC38, max UDMA/133
[    2.272860] ata1.00: 488397168 sectors, multi 0: LBA48 NCQ (depth 0/32)
[    2.280711] ata1.00: configured for UDMA/133
[    2.285486] scsi 0:0:0:0: Direct-Access     ATA      ST3250318AS      CC38 PQ: 0 ANSI: 5
[    2.294566] sd 0:0:0:0: [sda] 488397168 512-byte logical blocks: (250 GB/232 GiB)
[    2.302638] sd 0:0:0:0: [sda] Write Protect is off
[    2.307422] sd 0:0:0:0: [sda] Mode Sense: 00 3a 00 00
[    2.307612] sd 0:0:0:0: [sda] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
[    2.333163] usb 1-1: new high-speed USB device number 2 using oxnas-ehci
[    2.372060]  sda: sda1 sda2
[    2.376652] sd 0:0:0:0: [sda] Attached SCSI disk
[    2.423086] EXT2-fs (sda1): warning: mounting ext3 filesystem as ext2
[    2.429544] VFS: Mounted root (ext2 filesystem) readonly on device 8:1.
[    2.449886] devtmpfs: mounted
[    2.453102] Freeing unused kernel memory: 148K (c0520000 - c0545000)
[    2.491921] usb 1-1: New USB device found, idVendor=05e3, idProduct=0608
[    2.498677] usb 1-1: New USB device strings: Mfr=0, Product=1, SerialNumber=0
[    2.505832] usb 1-1: Product: USB2.0 Hub
[    2.510819] hub 1-1:1.0: USB hub found
[    2.514915] hub 1-1:1.0: 4 ports detected
[    4.408153] udevd[160]: starting version 175
[    6.768896] EXT2-fs (sda1): warning: mounting unchecked fs, running e2fsck is recommended
[   12.481441] eth0: device MAC address 00:25:31:01:23:45
[   12.673679] eth0: device MAC address 00:25:31:01:23:45
[   12.690624] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready
[   35.166382] RPC: Registered named UNIX socket transport module.
[   35.172282] RPC: Registered udp transport module.
[   35.177003] RPC: Registered tcp transport module.
[   35.181685] RPC: Registered tcp NFSv4.1 backchannel transport module.
[   35.353843] Installing knfsd (copyright (C) 1996 okir@monad.swb.de).
[   39.089264] NFSD: Using /var/lib/nfs/v4recovery as the NFSv4 state recovery directory
[   39.101283] NFSD: starting 90-second grace period (net c05727c0)




[root@OXNAS:/proc]$.cat meminfo 
MemTotal:         254128 kB
MemFree:          210636 kB
Buffers:            1564 kB
Cached:            28428 kB
SwapCached:            0 kB
Active:            14004 kB
Inactive:          20996 kB
Active(anon):       5056 kB
Inactive(anon):      168 kB
Active(file):       8948 kB
Inactive(file):    20828 kB
Unevictable:           0 kB
Mlocked:               0 kB
SwapTotal:             0 kB
SwapFree:              0 kB
Dirty:                12 kB
Writeback:             0 kB
AnonPages:          5008 kB
Mapped:             5336 kB
Shmem:               216 kB
Slab:               5120 kB
SReclaimable:       1044 kB
SUnreclaim:         4076 kB
KernelStack:         496 kB
PageTables:          408 kB
NFS_Unstable:          0 kB
Bounce:                0 kB
WritebackTmp:          0 kB
CommitLimit:      127064 kB
Committed_AS:      11076 kB
VmallocTotal:     761856 kB
VmallocUsed:        4760 kB
VmallocChunk:     493600 kB



Edited 3 time(s). Last edit at 03/07/2017 03:51PM by bodhi.
Re: Pogo Oxnas V3 with 256MB RAM modding
March 07, 2017 12:49PM
OX820 # help
?       - alias for 'help'
askenv  - get environment variables from stdin
base    - print or set address offset
bdinfo  - print Board Info structure
boot    - boot default, i.e., run 'bootcmd'
bootd   - boot default, i.e., run 'bootcmd'
bootelf - Boot from an ELF image in memory
bootm   - boot application image from memory
bootp   - boot image via network using BOOTP/TFTP protocol
bootvx  - Boot vxWorks from an ELF image
cmp     - memory compare
coninfo - print console devices and information
cp      - memory copy
crc32   - checksum calculation
dhcp    - boot image via network using DHCP/TFTP protocol
diskboot- boot from IDE device
echo    - echo args to console
editenv - edit environment variable
env     - environment handling commands
exit    - exit script
false   - do nothing, unsuccessfully
fdt     - flattened device tree utility commands
gettime - get timer val elapsed,

go      - start application at address 'addr'
grepenv - search environment variables
help    - print command description/usage
ide     - IDE sub-system
iminfo  - print header information for application image
imxtract- extract a part of a multi-image
itest   - return true/false on integer compare
loadb   - load binary file over serial line (kermit mode)
loads   - load S-Record file over serial line
loadx   - load binary file over serial line (xmodem mode)
loady   - load binary file over serial line (ymodem mode)
loop    - infinite loop on address range
md      - memory display
mdio    - MDIO utility commands
mii     - MII utility commands
mm      - memory modify (auto-incrementing address)
mw      - memory write (fill)
nand    - NAND sub-system
nboot   - boot from NAND device
nfs     - boot image via network using NFS protocol
nm      - memory modify (constant address)
ping    - send ICMP ECHO_REQUEST to network host
printenv- print environment variables
reset   - Perform RESET of the CPU
run     - run commands in an environment variable
saveenv - save environment variables to persistent storage
setenv  - set environment variables
setexpr - set environment variable as the result of eval expression
showvar - print local hushshell variables
sleep   - delay execution for some time
source  - run script from memory
terminal- start terminal emulator
test    - minimal test like /bin/sh
tftpboot- boot image via network using TFTP protocol
time    - run commands and summarize execution time
true    - do nothing, successfully
usb     - USB sub-system
usbboot - boot from USB device
version - print monitor, compiler and linker version
OX820 # version

U-Boot 2013.10 (Jan 03 2014 - 22:37:42) for OXNAS
gcc (Debian 4.6.3-14) 4.6.3
GNU ld (GNU Binutils for Debian) 2.22
OX820 # printenv
autoload=no
baudrate=115200
boot=bootm 60500000 - 60000000
boot_ide1=run select_ide load_ide1 load_dtb1 boot
boot_ide2=run select_ide load_ide2 load_dtb2 boot
bootargs=root=/dev/sda1 console=ttyS0,115200 elevator=cfq mem=256M
bootcmd=run boot_ide1 || run boot_ide2
bootdelay=3
console=console=ttyS0,115200n8
ethact=mii0
ethaddr=00:25:31:01:23:45
gatewayip=192.168.0.1
ipaddr=192.168.0.100
keypressed=1
load_dtb1=ide read 0x60000000 4022 100
load_dtb2=ide read 0x60000000 de00 100
load_ide1=ide read 0x60500000 50a 2000
load_ide2=ide read 0x60500000 e3e8 2000
mtdids=nand0=41000000.nand
mtdparts=mtdparts=41000000.nand:14m(boot),-(data)
netcon=echo switch to net console;setenv stderr nc;setenv stdin nc;setenv stdout nc;echo switch to net console
netmask=255.255.255.0
preboot=run safeboot
safeboot=setexpr.b keypressed '*44200005' '&' 1;if test $keypressed = 0;then run netcon;fi
select_ide=ide dev 0
serialcon=echo switch to serial console;setenv stderr serial;setenv stdin serial;setenv stdout serial;echo switch to serial console
serverip=192.168.0.2
stderr=serial
stdin=serial
stdout=serial
updboot=bootp;tftp 60000000 u-boot.img;ide write 60000000 400 400

Environment size: 1225/8187 bytes
OX820 #



Edited 1 time(s). Last edit at 03/07/2017 03:51PM by bodhi.
Re: Pogo Oxnas V3 with 256MB RAM modding
March 07, 2017 12:53PM
IDE device 0: Model: ST3250318AS  Firm: CC38 Ser#: 9VMECCJ6
            Type: Hard Disk
            Supports 48-bit addressing
            Capacity: 238475.1 MB = 232.8 GB (488397168 x 512)
... is now current device

IDE read: device 0 block # 1290, count 8192 ... 8192 blocks read: OK

IDE read: device 0 block # 16418, count 256 ... 256 blocks read: OK
## Booting kernel from Legacy Image at 60500000 ...
   Image Name:   Linux-3.12.6_OXNAS+
   Image Type:   ARM Linux Kernel Image (uncompressed)
   Data Size:    2970640 Bytes = 2.8 MiB
   Load Address: 60008000
   Entry Point:  60008000
   Verifying Checksum ... OK
## Flattened Device Tree blob at 60000000
   Booting using the fdt blob at 0x60000000
   Loading Kernel Image ... OK
   Loading Device Tree to 67e91000, end 67e95baa ... OK

Starting kernel ...

Uncompressing Linux... done, booting the kernel.



Edited 1 time(s). Last edit at 03/07/2017 03:51PM by bodhi.
Re: Pogo Oxnas V3 with 256MB RAM modding
March 07, 2017 03:54PM
youxiaojie,

Please use code tags for readability.


OK. So do you have a question or observation about this so far? Have you tried to change the DTS in the latest kernel 4.4.48 that I just released?

-bodhi
===========================
Forum Wiki
bodhi's corner (buy bodhi a beer)
Re: Pogo Oxnas V3 with 256MB RAM modding
March 08, 2017 06:25AM
to tell the truth,this is the easiest way followed by other expert just to dd some files bootrom,spl,uboot,dtb, uimage to harddisk. in that method, there is no newer kernel, no newer uboot, they gave up. in this test, it shows me the hardware and the thought is correct. I will convert to your newer version if possible.it is you that still upgrade kernel/uboot to support new feature. thanks. and does your 2015.10 version support direct boot from harddisk?
I prefer boot-from-disk method to test your newer uboot , modified dts files and new 4.4 kernel avoiding brick hardware:).



Edited 1 time(s). Last edit at 03/08/2017 07:50AM by youxiaojie.
Re: Pogo Oxnas V3 with 256MB RAM modding
March 08, 2017 04:34PM
youxiaojie,

> to tell the truth,this is the easiest way followed
> by other expert just to dd some files bootrom,spl,
> uboot,dtb, uimage to harddisk. in that method, the
> re is no newer kernel, no newer uboot, they gave u
> p.

That's why I did not release the hard disk version. It is really a recovery method, not a permanent solution. And furthermore, dd should be used only when necessary, not a good way to learn how the system works.

> in this test, it shows me the hardware and the
> thought is correct. I will convert to your newer
> version if possible.it is you that still upgrade k
> ernel/uboot to support new feature. thanks. and do
> es your 2015.10 version support direct boot from h
> arddisk?

No, it does not. The way it was coded originally by kref, we need to build a different version.

> I prefer boot-from-disk method to test your newer
> uboot , modified dts files and new 4.4 kernel avoi
> ding brick hardware:).

You can't brick it :) since the HDD is the recovery path. Once you have an HDD that you can boot straight from BootROM, it is almost unbrickable (If you don't play with the board HW). I'd suggest just go ahead and flash new u-boot, create a new rootfs on USB or HDD (the normal way).

So that's was the reason I asked if you could modify the DTS to run with 256MB RAM. If you have trouble or dont know how to do this yet, then let me know I will look into it!

-bodhi
===========================
Forum Wiki
bodhi's corner (buy bodhi a beer)
Re: Pogo Oxnas V3 with 256MB RAM modding
March 08, 2017 06:27PM
youxiaojie Wrote:
-------------------------------------------------------
> ... it is you that still upgrade kernel/uboot to support new feature. thanks. and does your 2015.10 version support direct boot from harddisk?
>
I have replaced the stock uboot of my PogoPlug Pro 02 with bodhi's uboot (I believe it is 2015.10 version), too. It allows my device to either boot the stock firmware (from the internal storage) or a self-built OpenWRT and/or LEDE firmware (from any external storage, including a SATA HDD).
Re: Pogo Oxnas V3 with 256MB RAM modding
March 09, 2017 10:41AM
the direct boot from hd is special method even if the uboot on nand is damaged.
Re: Pogo Oxnas V3 with 256MB RAM modding
March 09, 2017 01:45PM
youxiaojie Wrote:
-------------------------------------------------------
> the direct boot from hd is special method even if the uboot on nand is damaged.
>
This is very interesting. I sure would like to learn how to do this.
Re: Cannot boot with SATA plug in
April 15, 2017 06:21AM
bodhi Wrote:
-------------------------------------------------------
> - Do you mean you have removed and solder a 256M RAM chip? If that's true, awesome! we want picture:) nobody has done this mods. It would be nice if you could post that and I'll add your mods description to the Wiki thread.
>
I guess we all are still awaiting for the OP to take the snapshot and post the mod here?
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: