Jump to content

Recommended Posts

Posted

First i have to say - if i knew what i am gonna go through, i would never buy this troubled hardware. So don't buy it too. But if you are already strayed like me, i decided to share my modifications, to make this inconsiderate piece of hardware useful. With this mods the device finally work as i need it to and i am fully happy with hardware part. Not so happy with software though, but that's another story.

The main reason for me, to buy this router, except pc like capabilities, was SATA+SATA power connector. I used my old router with usb HDD, so it sounded good to have it in box and on native sata interface. Silly me, who would thought this will be the most troubled part. I thoroughly suspected, this sata port is designed for SSD disks and never provided for mechanical HDD-s, as this AXP209 power scheme, simple can't provide needed >2A in some cases (at spin up) current, for disk only, not to mention the board consumption itself. And native sata interface, is not so native, but lets ignore this.

So, first thing we have to think about, if we are going to use mechanical HDD with this board, is reliable power source. According to our needs 2A are for spin up and perhaps heavy load of HDD and the board with less peripherals should work at 1A, but 2A is by specifications. So 5V, 4A is the optimal power source we need to be sure we will not have hang outs at power on. 5V, 2A (real) is the minimum, but we have to pray at each power on, HDD to not stuck at spin up, so i wouldn't recommend this. In my case, i add some reserve (you know what those chinese power supplies are) and buy this:

5v6a-r.jpg.846012d76d9b91cf10ed80fa6a1326e2.jpg

Second thing is how to connect this power to the board. It's discussed many times - this micro-usb connector used in Lamobo R1 is not suitable. It can throughput 1.4A by specifications. The board will usually suffer instabilities even with something connected in USB port, not to think about HDD at all. One way is to use battery connector. I was using this method for some time. But there is one major disadvantage. The board will not automatically power on after power loss. We have to push the power button. I had special match stick just for this :). Since Lamobo R1 have to be router in major, this is a problem. And here comes the first hardware intervention. We need better power connector added at + and - somewhere on PCB. Near micro-usb is fine, this is my solution (sorry for bad pictures, but will catch the idea):

power-r.thumb.jpg.6bb3b937c44cbc4675aa1d24427dfae3.jpg

Of course, we have to find place for the connector somewhere on acrylic case. In my case, it's become more messy than i wanted, but is ok. This way board will automatically boot after power loss, so is suitable for router purposes. This combination (proper psu and connector), make the board stable, but not the attached mechanical HDD. No matter what patch is applied like mentioned here, i still have situations when, at power on, board is powering, but attached HDD can't spin up and just ticking. It's often enough not not count on this for long term of work. So other, more drastic solution is needed.

Hardware mod number two, is to attach HDD power directly to PSU connector, avoiding AXP209 PMU and attach only sata - data part to board. I modified one of these:

tools-r.jpg.10ca477bf0b3e3cbc455d98113eab879.jpg

On the bottom is my earlier self made sata cables. They worked, but coast me troubles with connectivity on the board part mostly and kernel automatically drop speed to SATA1. So on the above adapter i am using full male part for the board, with power cords cutted off. On the other side, sata - data cable is cutted and resoldered to sata data connector. And power for the HDD is from separate power sata connector wired directly to our new, power connector for the board. This is necessary, because there is not much space left if passive cooling is placed on SoC, as in my case. If someone is creative, or can't solder those tiny wires, can use lower radiator, or no at all. Or simply remove the side lid. In this case, above adapter can be used without much modifications, just cut the power cords on the male side and solder to the power connector. But i decided to make it clean. I didn't make pictures before everything to be assembled, but bellow can be roughly seen, what i am talking about:

top-r.thumb.jpg.16b223785e213f8b5aff5c8a5c2be676.jpg

rear-r.thumb.jpg.3d7271b63ed724c97d8c9e61dfd607a5.jpg

As it's also seen, HDD have to be placed on the top cover, with at least two holes. This will not prevent power management of HDD in any way. Both hd-idle and hdparm (from what i tested) are able to spin down HDD this way. This is the only permanent for sure, solution i found for HDD powering on this board.

 

Here is the part to mention passive cooling of the board, as it is capable of overheating. Above is seen radiators i placed for SoC and RAM modules. But it's not the most heating part of the board, it is the switch chip - BCP53125. So some lower radiator is good for there. And also some small and lower radiator for PMU, especially if adding of USB peripherals is planned:

bottom-r.thumb.jpg.c37fea197f952efb37c3d1cb8e07ed54.jpg

 

Mod three. Who own this board, is well known of it's crappy and unuseful wifi module. It's good for client, but not for AP mode, what is needed for actual router. I hardly reach 1Mb/s speed with it for single client and it's drop connection often. I was using external USB wifi module for AP mode. But inspired of this - Hardware Mod BPi-R1, i bought the same Ralink MT5572 module and do the same mod. My advice of removing the old module, is to cut 6 antenna pads with some utility knife and simply move the module up/down until it digress from the rest 7 pads. Then soldering the new module is easy:

wifi-r.thumb.jpg.564e75744fb8bd3cc5d667b7ac0eaf93.jpg

As for the MT5572 module, it's very good for AP :). 2.4Ghz/5Ghz capable, 30dBm output power. Range is more than on my old 24dBm router, no matter the 3 antennas. And we don't even have to talk about bult-in, old RTL8192CU, 20dBm (but this is the least problem of it) module. Some parameters:

Spoiler

Wiphy phy0
        max # scan SSIDs: 4
        max scan IEs length: 2257 bytes
        max # sched scan SSIDs: 0
        max # match sets: 0
        Retry short limit: 7
        Retry long limit: 4
        Coverage class: 0 (up to 0m)
        Available Antennas: TX 0 RX 0
        Supported interface modes:
                 * IBSS
                 * managed
                 * AP
                 * AP/VLAN
                 * WDS
                 * monitor
                 * mesh point
        Band 1:
                Capabilities: 0x2f2
                        HT20/HT40
                        Static SM Power Save
                        RX Greenfield
                        RX HT20 SGI
                        RX HT40 SGI
                        TX STBC
                        RX STBC 2-streams
                        Max AMSDU length: 3839 bytes
                        No DSSS/CCK HT40
                Maximum RX AMPDU length 65535 bytes (exponent: 0x003)
                Minimum RX AMPDU time spacing: 2 usec (0x04)
                HT RX MCS rate indexes supported: 0-15, 32
                TX unequal modulation not supported
                HT TX Max spatial streams: 2
                HT TX MCS rate indexes supported may differ
                Frequencies:
                        * 2412 MHz [1] (30.0 dBm)
                        * 2417 MHz [2] (30.0 dBm)
                        * 2422 MHz [3] (30.0 dBm)
                        * 2427 MHz [4] (30.0 dBm)
                        * 2432 MHz [5] (30.0 dBm)
                        * 2437 MHz [6] (30.0 dBm)
                        * 2442 MHz [7] (30.0 dBm)
                        * 2447 MHz [8] (30.0 dBm)
                        * 2452 MHz [9] (30.0 dBm)
                        * 2457 MHz [10] (30.0 dBm)
                        * 2462 MHz [11] (30.0 dBm)
                        * 2467 MHz [12] (disabled)
                        * 2472 MHz [13] (disabled)
                        * 2484 MHz [14] (disabled)
        Band 2:
                Capabilities: 0x2f2
                        HT20/HT40
                        Static SM Power Save
                        RX Greenfield
                        RX HT20 SGI
                        RX HT40 SGI
                        TX STBC
                        RX STBC 2-streams
                        Max AMSDU length: 3839 bytes
                        No DSSS/CCK HT40
                Maximum RX AMPDU length 65535 bytes (exponent: 0x003)
                Minimum RX AMPDU time spacing: 2 usec (0x04)
                HT RX MCS rate indexes supported: 0-15, 32
                TX unequal modulation not supported
                HT TX Max spatial streams: 2
                HT TX MCS rate indexes supported may differ
                Frequencies:
                        * 5180 MHz [36] (17.0 dBm)
                        * 5190 MHz [38] (17.0 dBm)
                        * 5200 MHz [40] (17.0 dBm)
                        * 5210 MHz [42] (17.0 dBm)
                        * 5220 MHz [44] (17.0 dBm)
                        * 5230 MHz [46] (17.0 dBm)
                        * 5240 MHz [48] (17.0 dBm)
                        * 5250 MHz [50] (disabled)
                        * 5260 MHz [52] (24.0 dBm) (radar detection)
                        * 5270 MHz [54] (24.0 dBm) (radar detection)
                        * 5280 MHz [56] (24.0 dBm) (radar detection)
                        * 5290 MHz [58] (24.0 dBm) (radar detection)
                        * 5300 MHz [60] (24.0 dBm) (radar detection)
                        * 5310 MHz [62] (24.0 dBm) (radar detection)
                        * 5320 MHz [64] (24.0 dBm) (radar detection)
                        * 5500 MHz [100] (24.0 dBm) (radar detection)
                        * 5510 MHz [102] (24.0 dBm) (radar detection)
                        * 5520 MHz [104] (24.0 dBm) (radar detection)
                        * 5530 MHz [106] (24.0 dBm) (radar detection)
                        * 5540 MHz [108] (24.0 dBm) (radar detection)
                        * 5550 MHz [110] (24.0 dBm) (radar detection)
                        * 5560 MHz [112] (24.0 dBm) (radar detection)
                        * 5570 MHz [114] (24.0 dBm) (radar detection)
                        * 5580 MHz [116] (24.0 dBm) (radar detection)
                        * 5590 MHz [118] (24.0 dBm) (radar detection)
                        * 5600 MHz [120] (disabled)
                        * 5610 MHz [122] (disabled)
                        * 5620 MHz [124] (disabled)
                        * 5630 MHz [126] (disabled)
                        * 5640 MHz [128] (disabled)
                        * 5650 MHz [130] (disabled)
                        * 5660 MHz [132] (24.0 dBm) (radar detection)
                        * 5670 MHz [134] (24.0 dBm) (radar detection)
                        * 5680 MHz [136] (24.0 dBm) (radar detection)
                        * 5690 MHz [138] (24.0 dBm) (radar detection)
                        * 5700 MHz [140] (24.0 dBm) (radar detection)
                        * 5745 MHz [149] (30.0 dBm)
                        * 5755 MHz [151] (30.0 dBm)
                        * 5765 MHz [153] (30.0 dBm)
                        * 5775 MHz [155] (30.0 dBm)
                        * 5785 MHz [157] (30.0 dBm)
                        * 5795 MHz [159] (30.0 dBm)
                        * 5805 MHz [161] (30.0 dBm)
                        * 5825 MHz [165] (30.0 dBm)
                        * 4920 MHz [184] (disabled)
                        * 4940 MHz [188] (disabled)
                        * 4960 MHz [192] (disabled)
                        * 4980 MHz [196] (disabled)
        valid interface combinations:
                 * #{ managed, AP, mesh point } <= 8,
                   total <= 8, #channels <= 1
        HT Capability overrides:
                 * MCS: ff ff ff ff ff ff ff ff ff ff
                 * maximum A-MSDU length
                 * supported channel width
                 * short GI for 40 MHz
                 * max A-MPDU length exponent
                 * min MPDU start spacing

 

I am using OpenWrt as OS for now. I just can't find anything so suitable for my needs, especially in firewall part. I have some ideas for "computer" part of the board in the future, but this will be for now, because i am bored and tired of this crappy piece of... nothing out of the box. OpenWrt is stable:

LuCi.thumb.jpg.79a83c9b72d272571c366f3d5b6559de.jpg

Some logs:

Spoiler

[    0.000000] Booting Linux on physical CPU 0x0
[    0.000000] Linux version 4.4.14 (xubuntu@xubuntu-desktop) (gcc version 5.3.0 (OpenWrt GCC 5.3.0 50104) ) #4 SMP PREEMPT Wed Mar 8 21:55:53 UTC 2017
[    0.000000] CPU: ARMv7 Processor [410fc074] revision 4 (ARMv7), cr=10c5387d
[    0.000000] CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing instruction cache
[    0.000000] Machine model: Lamobo R1
[    0.000000] Memory policy: Data cache writealloc
[    0.000000] On node 0 totalpages: 262144
[    0.000000] free_area_init_node: node 0, pgdat c06216c0, node_mem_map ef7fa000
[    0.000000]   Normal zone: 1536 pages used for memmap
[    0.000000]   Normal zone: 0 pages reserved
[    0.000000]   Normal zone: 196608 pages, LIFO batch:31
[    0.000000]   HighMem zone: 65536 pages, LIFO batch:15
[    0.000000] psci: probing for conduit method from DT.
[    0.000000] psci: Using PSCI v0.1 Function IDs from DT
[    0.000000] PERCPU: Embedded 12 pages/cpu @ef7c6000 s17984 r8192 d22976 u49152
[    0.000000] pcpu-alloc: s17984 r8192 d22976 u49152 alloc=12*4096
[    0.000000] pcpu-alloc: [0] 0 [0] 1 
[    0.000000] Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 260608
[    0.000000] Kernel command line: console=ttyS0,115200 earlyprintk root=/dev/mmcblk0p2 rootwait
[    0.000000] PID hash table entries: 4096 (order: 2, 16384 bytes)
[    0.000000] Dentry cache hash table entries: 131072 (order: 7, 524288 bytes)
[    0.000000] Inode-cache hash table entries: 65536 (order: 6, 262144 bytes)
[    0.000000] Memory: 1032624K/1048576K available (4323K kernel code, 202K rwdata, 1628K rodata, 268K init, 257K bss, 15952K reserved, 0K cma-reserved, 262144K highmem)
[    0.000000] Virtual kernel memory layout:
                   vector  : 0xffff0000 - 0xffff1000   (   4 kB)
                   fixmap  : 0xffc00000 - 0xfff00000   (3072 kB)
                   vmalloc : 0xf0800000 - 0xff800000   ( 240 MB)
                   lowmem  : 0xc0000000 - 0xf0000000   ( 768 MB)
                   pkmap   : 0xbfe00000 - 0xc0000000   (   2 MB)
                   modules : 0xbf000000 - 0xbfe00000   (  14 MB)
                     .text : 0xc0008000 - 0xc05d824c   (5953 kB)
                     .init : 0xc05d9000 - 0xc061c000   ( 268 kB)
                     .data : 0xc061c000 - 0xc064eb00   ( 203 kB)
                      .bss : 0xc0651000 - 0xc0691564   ( 258 kB)
[    0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=2, Nodes=1
[    0.000000] Preemptible hierarchical RCU implementation.
[    0.000000] 	RCU restricting CPUs from NR_CPUS=8 to nr_cpu_ids=2.
[    0.000000] RCU: Adjusting geometry for rcu_fanout_leaf=16, nr_cpu_ids=2
[    0.000000] NR_IRQS:16 nr_irqs:16 16
[    0.000000] Architected cp15 timer(s) running at 24.00MHz (phys).
[    0.000000] clocksource: arch_sys_counter: mask: 0xffffffffffffff max_cycles: 0x588fe9dc0, max_idle_ns: 440795202592 ns
[    0.000006] sched_clock: 56 bits at 24MHz, resolution 41ns, wraps every 4398046511097ns
[    0.000019] Switching to timer-based delay loop, resolution 41ns
[    0.000462] clocksource: timer: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 79635851949 ns
[    0.000685] clocksource: hstimer: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 12741736309 ns
[    0.000849] Console: colour dummy device 80x30
[    0.000883] Calibrating delay loop (skipped), value calculated using timer frequency.. 48.00 BogoMIPS (lpj=240000)
[    0.000898] pid_max: default: 32768 minimum: 301
[    0.000997] Mount-cache hash table entries: 2048 (order: 1, 8192 bytes)
[    0.001009] Mountpoint-cache hash table entries: 2048 (order: 1, 8192 bytes)
[    0.001599] CPU: Testing write buffer coherency: ok
[    0.001954] /cpus/cpu@0 missing clock-frequency property
[    0.001974] /cpus/cpu@1 missing clock-frequency property
[    0.001987] CPU0: thread -1, cpu 0, socket 0, mpidr 80000000
[    0.002052] Setting up static identity map for 0x40008280 - 0x400082d8
[    0.090396] CPU1: thread -1, cpu 1, socket 0, mpidr 80000001
[    0.090475] Brought up 2 CPUs
[    0.090498] SMP: Total of 2 processors activated (96.00 BogoMIPS).
[    0.090505] CPU: All CPU(s) started in HYP mode.
[    0.090511] CPU: Virtualization extensions available.
[    0.098964] VFP support v0.3: implementor 41 architecture 2 part 30 variant 7 rev 4
[    0.099754] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[    0.099940] pinctrl core: initialized pinctrl subsystem
[    0.101685] NET: Registered protocol family 16
[    0.102047] DMA: preallocated 256 KiB pool for atomic coherent allocations
[    0.170870] reg-fixed-voltage ahci-5v: could not find pctldev for node /soc@01c00000/pinctrl@01c20800/ahci_pwr_pin@0, deferring probe
[    0.170930] reg-fixed-voltage usb0-vbus: could not find pctldev for node /soc@01c00000/pinctrl@01c20800/usb0_vbus_pin@0, deferring probe
[    0.170964] reg-fixed-voltage usb1-vbus: could not find pctldev for node /soc@01c00000/pinctrl@01c20800/usb1_vbus_pin@0, deferring probe
[    0.170995] reg-fixed-voltage usb2-vbus: could not find pctldev for node /soc@01c00000/pinctrl@01c20800/usb2_vbus_pin@0, deferring probe
[    0.171858] reg-fixed-voltage gmac-3v3: could not find pctldev for node /soc@01c00000/pinctrl@01c20800/gmac_power_pin@0, deferring probe
[    0.172478] SCSI subsystem initialized
[    0.172566] libata version 3.00 loaded.
[    0.172942] usbcore: registered new interface driver usbfs
[    0.173023] usbcore: registered new interface driver hub
[    0.174044] usbcore: registered new device driver usb
[    0.174673] pps_core: LinuxPPS API ver. 1 registered
[    0.174690] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
[    0.174795] PTP clock support registered
[    0.175657] Advanced Linux Sound Architecture Driver Initialized.
[    0.177110] clocksource: Switched to clocksource arch_sys_counter
[    0.190262] NET: Registered protocol family 2
[    0.191040] TCP established hash table entries: 8192 (order: 3, 32768 bytes)
[    0.191125] TCP bind hash table entries: 8192 (order: 4, 65536 bytes)
[    0.191253] TCP: Hash tables configured (established 8192 bind 8192)
[    0.191342] UDP hash table entries: 512 (order: 2, 16384 bytes)
[    0.191404] UDP-Lite hash table entries: 512 (order: 2, 16384 bytes)
[    0.191650] NET: Registered protocol family 1
[    0.193927] futex hash table entries: 512 (order: 3, 32768 bytes)
[    0.194050] audit: initializing netlink subsys (disabled)
[    0.194132] audit: type=2000 audit(0.170:1): initialized
[    0.212246] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[    0.213478] bounce: pool size: 64 pages
[    0.213504] io scheduler noop registered
[    0.213517] io scheduler deadline registered
[    0.213578] io scheduler cfq registered (default)
[    0.214157] sun4i-usb-phy 1c13400.phy: could not find pctldev for node /soc@01c00000/pinctrl@01c20800/usb0_id_detect_pin@0, deferring probe
[    0.217624] sun7i-a20-pinctrl 1c20800.pinctrl: initialized sunXi PIO driver
[    0.289708] Serial: 8250/16550 driver, 8 ports, IRQ sharing disabled
[    0.292825] console [ttyS0] disabled
[    0.315588] 1c28000.serial: ttyS0 at MMIO 0x1c28000 (irq = 43, base_baud = 1500000) is a U6_16550A
[    0.912676] console [ttyS0] enabled
[    0.939827] 1c28c00.serial: ttyS1 at MMIO 0x1c28c00 (irq = 44, base_baud = 1500000) is a U6_16550A
[    0.972315] 1c29c00.serial: ttyS2 at MMIO 0x1c29c00 (irq = 45, base_baud = 1500000) is a U6_16550A
[    0.985855] usbcore: registered new interface driver r8152
[    0.991678] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[    0.998251] ehci-platform: EHCI generic platform driver
[    1.003916] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
[    1.010168] ohci-platform: OHCI generic platform driver
[    1.015870] usbcore: registered new interface driver usb-storage
[    1.022342] mousedev: PS/2 mouse device common for all mice
[    1.029135] i2c /dev entries driver
[    1.033760] axp20x 0-0034: AXP20x variant AXP209 found
[    1.052096] input: axp20x-pek as /devices/platform/soc@01c00000/1c2ac00.i2c/i2c-0/0-0034/axp20x-pek/input/input0
[    1.067593] axp20x 0-0034: AXP20X driver loaded
[    1.090977] sunxi-wdt 1c20c90.watchdog: Watchdog enabled (timeout=16 sec, nowayout=0)
[    1.100175] sunxi-mmc 1c0f000.mmc: No vqmmc regulator found
[    1.106329] sunxi-mmc 1c0f000.mmc: Got CD GPIO
[    1.147356] sunxi-mmc 1c0f000.mmc: base:0xf08bc000 irq:27
[    1.155927] NET: Registered protocol family 10
[    1.163462] NET: Registered protocol family 17
[    1.170162] bridge: automatic filtering via arp/ip/ip6tables has been deprecated. Update your scripts to load br_netfilter if you need this.
[    1.182839] can: controller area network core (rev 20120528 abi 9)
[    1.189156] NET: Registered protocol family 29
[    1.193636] 8021q: 802.1Q VLAN Support v1.8
[    1.212326] Registering SWP/SWPB emulation handler
[    1.244740] mmc0: host does not support reading read-only switch, assuming write-enable
[    1.255415] mmc0: new high speed SD card at address 1234
[    1.261533] mmcblk0: mmc0:1234 SA02G 1.85 GiB 
[    1.268009]  mmcblk0: p1 p2
[    1.287205] ahci-sunxi 1c18000.sata: controller can't do PMP, turning off CAP_PMP
[    1.294728] ahci-sunxi 1c18000.sata: SSS flag set, parallel bus scan disabled
[    1.301948] ahci-sunxi 1c18000.sata: AHCI 0001.0100 32 slots 1 ports 3 Gbps 0x1 impl platform mode
[    1.310966] ahci-sunxi 1c18000.sata: flags: ncq sntf stag pm led clo only pio slum part ccc 
[    1.330710] scsi host0: ahci-sunxi
[    1.334653] ata1: SATA max UDMA/133 mmio [mem 0x01c18000-0x01c18fff] port 0x100 irq 32
[    1.447207] sun7i-dwmac 1c50000.ethernet: no reset control found
[    1.453222]  Ring mode enabled
[    1.456274]  No HW DMA feature register supported
[    1.460836]  Normal descriptors
[    1.464159]  TX Checksum insertion supported
[    1.475311] libphy: stmmac: probed
[    1.478800] eth0: PHY ID 03625f24 at 0 IRQ POLL (stmmac-0:00) active
[    1.485151] eth0: PHY ID 03625f24 at 1 IRQ POLL (stmmac-0:01)
[    1.490936] eth0: PHY ID 03625f24 at 2 IRQ POLL (stmmac-0:02)
[    1.496677] eth0: PHY ID 03625f24 at 3 IRQ POLL (stmmac-0:03)
[    1.502485] eth0: PHY ID 03625f24 at 4 IRQ POLL (stmmac-0:04)
[    1.508259] eth0: PHY ID 03625f24 at 30 IRQ POLL (stmmac-0:1e)
[    1.514529] ehci-platform 1c14000.usb: EHCI Host Controller
[    1.520219] ehci-platform 1c14000.usb: new USB bus registered, assigned bus number 1
[    1.528162] ehci-platform 1c14000.usb: irq 29, io mem 0x01c14000
[    1.547150] ehci-platform 1c14000.usb: USB 2.0 started, EHCI 1.00
[    1.553449] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002
[    1.560268] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    1.567521] usb usb1: Product: EHCI Host Controller
[    1.572396] usb usb1: Manufacturer: Linux 4.4.14 ehci_hcd
[    1.577805] usb usb1: SerialNumber: 1c14000.usb
[    1.582994] hub 1-0:1.0: USB hub found
[    1.586796] hub 1-0:1.0: 1 port detected
[    1.591564] ehci-platform 1c1c000.usb: EHCI Host Controller
[    1.597204] ehci-platform 1c1c000.usb: new USB bus registered, assigned bus number 2
[    1.605082] ehci-platform 1c1c000.usb: irq 33, io mem 0x01c1c000
[    1.627126] ehci-platform 1c1c000.usb: USB 2.0 started, EHCI 1.00
[    1.633411] usb usb2: New USB device found, idVendor=1d6b, idProduct=0002
[    1.640221] usb usb2: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    1.647447] usb usb2: Product: EHCI Host Controller
[    1.652319] usb usb2: Manufacturer: Linux 4.4.14 ehci_hcd
[    1.657727] usb usb2: SerialNumber: 1c1c000.usb
[    1.662909] hub 2-0:1.0: USB hub found
[    1.666705] hub 2-0:1.0: 1 port detected
[    1.671429] ohci-platform 1c14400.usb: Generic Platform OHCI controller
[    1.677179] ata1: SATA link up 3.0 Gbps (SStatus 123 SControl 300)
[    1.683248] ata1.00: ATA-8: ST500LM012 HN-M500MBB, 2AR10001, max UDMA/133
[    1.683255] ata1.00: 976773168 sectors, multi 0: LBA48 NCQ (depth 31/32)
[    1.689318] ata1.00: configured for UDMA/133
[    1.702233] ohci-platform 1c14400.usb: new USB bus registered, assigned bus number 3
[    1.707728] scsi 0:0:0:0: Direct-Access     ATA      ST500LM012 HN-M5 0001 PQ: 0 ANSI: 5
[    1.718301] ohci-platform 1c14400.usb: irq 30, io mem 0x01c14400
[    1.781316] usb usb3: New USB device found, idVendor=1d6b, idProduct=0001
[    1.788135] usb usb3: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    1.795350] usb usb3: Product: Generic Platform OHCI controller
[    1.801279] usb usb3: Manufacturer: Linux 4.4.14 ohci_hcd
[    1.806672] usb usb3: SerialNumber: 1c14400.usb
[    1.811909] hub 3-0:1.0: USB hub found
[    1.815712] hub 3-0:1.0: 1 port detected
[    1.820498] ohci-platform 1c1c400.usb: Generic Platform OHCI controller
[    1.827200] ohci-platform 1c1c400.usb: new USB bus registered, assigned bus number 4
[    1.835097] ohci-platform 1c1c400.usb: irq 34, io mem 0x01c1c400
[    1.901287] usb usb4: New USB device found, idVendor=1d6b, idProduct=0001
[    1.908101] usb usb4: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    1.915315] usb usb4: Product: Generic Platform OHCI controller
[    1.921283] usb usb4: Manufacturer: Linux 4.4.14 ohci_hcd
[    1.926824] usb usb4: SerialNumber: 1c1c400.usb
[    1.932150] hub 4-0:1.0: USB hub found
[    1.935951] hub 4-0:1.0: 1 port detected
[    1.940383] hctosys: unable to open rtc device (rtc0)
[    1.951285] vcc3v0: disabling
[    1.954282] vcc5v0: disabling
[    1.957823] usb0-vbus: disabling
[    1.961221] ALSA device list:
[    1.964188]   No soundcards found.
[    1.970074] EXT4-fs (mmcblk0p2): couldn't mount as ext3 due to feature incompatibilities
[    1.979572] EXT4-fs (mmcblk0p2): couldn't mount as ext2 due to feature incompatibilities
[    1.987715] usb 2-1: new high-speed USB device number 2 using ehci-platform
[    2.012025] EXT4-fs (mmcblk0p2): mounted filesystem without journal. Opts: (null)
[    2.019660] VFS: Mounted root (ext4 filesystem) readonly on device 179:2.
[    2.026744] Freeing unused kernel memory: 268K (c05d9000 - c061c000)
[    2.153944] usb 2-1: New USB device found, idVendor=148f, idProduct=5572
[    2.167178] usb 2-1: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[    2.174329] usb 2-1: Product: 802.11 n WLAN
[    2.182059] init: Can't open /sys/block/zram0/disksize: No such file or directory
[    2.189633] usb 2-1: Manufacturer: Ralink
[    2.193644] usb 2-1: SerialNumber: 1.0
[    2.197769] init: Console is alive
[    2.201332] init: - watchdog -
[    2.465744] exFAT: Version 1.2.9
[    2.475979] sd 0:0:0:0: [sda] 976773168 512-byte logical blocks: (500 GB/466 GiB)
[    2.483834] sd 0:0:0:0: [sda] 4096-byte physical blocks
[    2.489441] sd 0:0:0:0: [sda] Write Protect is off
[    2.494239] sd 0:0:0:0: [sda] Mode Sense: 00 3a 00 00
[    2.494345] sd 0:0:0:0: [sda] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
[    2.853574]  sda: sda1 sda2
[    2.858037] sd 0:0:0:0: [sda] Attached SCSI disk
[    2.880492] init: - preinit -
[    3.021982] b53_common: found switch: BCM53125, rev 4
[    3.037667]  RX IPC Checksum Offload disabled
[    3.042026]  No MAC Management Counters available
[    5.017150] sun7i-dwmac 1c50000.ethernet eth0: Link is Up - 1Gbps/Full - flow control off
[    7.155961] mount_root: mounting /dev/root
[    7.160864] EXT4-fs (mmcblk0p2): warning: mounting unchecked fs, running e2fsck is recommended
[    7.173013] EXT4-fs (mmcblk0p2): re-mounted. Opts: (null)
[    7.178755] mount_root: loading kmods from internal overlay
[    7.303696] block: attempting to load /etc/config/fstab
[    7.313143] block: extroot: not configured
[    7.323403] procd: - early -
[    7.326387] procd: - watchdog -
[    7.547840] random: jshn urandom read with 39 bits of entropy available
[    8.194425] procd: - ubus -
[    8.219031] EXT4-fs (sda1): warning: mounting unchecked fs, running e2fsck is recommended
[    8.252397] procd: - init -
[    8.269834] EXT4-fs (sda1): mounted filesystem without journal. Opts: 
[    9.066733] zram: Added device: zram0
[    9.079029] device-mapper: ioctl: 4.34.0-ioctl (2015-10-28) initialised: dm-devel@redhat.com
[    9.107282] ntfs: driver 2.1.32 [Flags: R/O MODULE].
[    9.168077] loop: module loaded
[    9.175986] Ethernet Channel Bonding Driver: v3.7.1 (April 27, 2011)
[    9.205613] ip6_tables: (C) 2000-2006 Netfilter Core Team
[    9.221089] sunxi-rtc 1c20d00.rtc: rtc core: registered rtc-sunxi as rtc0
[    9.228303] sunxi-rtc 1c20d00.rtc: RTC enabled
[    9.246460] hidraw: raw HID events driver (C) Jiri Kosina
[    9.255993] sd 0:0:0:0: Attached scsi generic sg0 type 0
[    9.266586] fuse init (API version 7.23)
[    9.305604] usbcore: registered new interface driver cdc_acm
[    9.311471] cdc_acm: USB Abstract Control Model driver for USB modems and ISDN adapters
[    9.320718] usbcore: registered new interface driver cdc_wdm
[    9.328140] Loading modules backported from Linux version wt-2016-05-12-0-g7a54796
[    9.336029] Backport generated by backports.git backports-20160216-0-ge3c56e4
[    9.348056] ip_tables: (C) 2000-2006 Netfilter Core Team
[    9.361816] nf_conntrack version 0.5.0 (16138 buckets, 64552 max)
[    9.492266] usbcore: registered new interface driver ums-alauda
[    9.499083] usbcore: registered new interface driver ums-cypress
[    9.505916] usbcore: registered new interface driver ums-datafab
[    9.512922] usbcore: registered new interface driver ums-freecom
[    9.519854] usbcore: registered new interface driver ums-isd200
[    9.526622] usbcore: registered new interface driver ums-jumpshot
[    9.533656] usbcore: registered new interface driver ums-karma
[    9.540525] usbcore: registered new interface driver ums-sddr09
[    9.547471] usbcore: registered new interface driver ums-sddr55
[    9.554357] usbcore: registered new interface driver ums-usbat
[    9.562030] usbcore: registered new interface driver usbhid
[    9.567711] usbhid: USB HID core driver
[    9.585648] xt_time: kernel timezone is -0000
[    9.636567] usbcore: registered new interface driver mt7601u
[    9.648238] PPP generic driver version 2.4.2
[    9.653915] NET: Registered protocol family 24
[    9.664413] usbcore: registered new interface driver rt73usb
[    9.674743] usbcore: registered new interface driver rt2500usb
[    9.797140] usb 2-1: reset high-speed USB device number 2 using ehci-platform
[    9.956539] ieee80211 phy0: rt2x00_set_rt: Info - RT chipset 5592, rev 0222 detected
[    9.992656] ieee80211 phy0: rt2x00_set_rf: Info - RF chipset 000f detected
[   10.000610] ieee80211 phy0: Selected rate control algorithm 'minstrel_ht'
[   10.002760] usbcore: registered new interface driver rt2800usb
[   11.552039] zram0: detected capacity change from 0 to 528482304
[   11.595059] Adding 516092k swap on /dev/zram0.  Priority:-1 extents:1 across:516092k SS
[   12.841994] b53_common: found switch: BCM53125, rev 4
[   12.857681]  RX IPC Checksum Offload disabled
[   12.862044]  No MAC Management Counters available
[   12.866949] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready
[   12.879673] device eth0.1 entered promiscuous mode
[   12.884501] device eth0 entered promiscuous mode
[   12.893418] IPv6: ADDRCONF(NETDEV_UP): br-lan: link is not ready
[   12.930655] device eth0.3 entered promiscuous mode
[   12.969535] device eth0.4 entered promiscuous mode
[   12.997428] device eth0.5 entered promiscuous mode
[   13.508694] random: nonblocking pool is initialized
[   14.679334] ieee80211 phy0: rt2x00lib_request_firmware: Info - Loading firmware file 'rt2870.bin'
[   14.691905] ieee80211 phy0: rt2x00lib_request_firmware: Info - Firmware detected - version: 0.29
[   14.847233] sun7i-dwmac 1c50000.ethernet eth0: Link is Up - 1Gbps/Full - flow control off
[   15.148787] IPv6: ADDRCONF(NETDEV_UP): wlan0: link is not ready
[   15.154816] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
[   15.163274] br-lan: port 1(eth0.1) entered forwarding state
[   15.168971] br-lan: port 1(eth0.1) entered forwarding state
[   15.174965] br-lan: port 2(eth0.3) entered forwarding state
[   15.180854] br-lan: port 2(eth0.3) entered forwarding state
[   15.187017] br-lan: port 3(eth0.4) entered forwarding state
[   15.192894] br-lan: port 3(eth0.4) entered forwarding state
[   15.198816] br-lan: port 4(eth0.5) entered forwarding state
[   15.204682] br-lan: port 4(eth0.5) entered forwarding state
[   15.210899] IPv6: ADDRCONF(NETDEV_CHANGE): br-lan: link becomes ready
[   15.218445] device wlan0 entered promiscuous mode
[   15.448123] IPv6: ADDRCONF(NETDEV_CHANGE): wlan0: link becomes ready
[   15.455439] br-lan: port 5(wlan0) entered forwarding state
[   15.461135] br-lan: port 5(wlan0) entered forwarding state
[   15.468742] pppoe-wan: renamed from ppp0
[   17.167152] br-lan: port 1(eth0.1) entered forwarding state
[   17.177178] br-lan: port 2(eth0.3) entered forwarding state
[   17.187197] br-lan: port 3(eth0.4) entered forwarding state
[   17.197183] br-lan: port 4(eth0.5) entered forwarding state
[   17.457136] br-lan: port 5(wlan0) entered forwarding state

 

Don't mention redundant packages i added. With this "huge" sd cards, i am like - "hey, i am not sure what this is, but looks like i can use it someday, let's add it" :). It's different when you have to fit it in 4/8Mb flash. Maybe some day i will make minimal image with only important stuff.

And finally at work :):

w-r.thumb.jpg.be88d1eb96e6db922581f2412580939f.jpg

 

Last thing i think i have to mention, as it is related to hardware too. There is this post of @tkaiser. It is all true. So if someone want a real router of this board, external USB LAN adapter is needed. I used this one:

glan-r.jpg.0e3bb0f33bdae3e99970b11229249757.jpg

It's specially chosen for this board because of USB hub and Gigabit LAN. Lamobo R1 have two USB interfaces - normal and OTG. But OTG have bug when acting as OTG and in all images and OS-s i know is disabled. I can enable it only in legacy Linux images and i need USB. That's why i was using this external LAN adapter for WAN interface. Saying "was", because, even if i agree with all in above post, i am one of those who actually think like this - 'hey, the few seconds when the device is booting... who cares that WAN and LAN are bridged?' I actually use pppoe and really don't care if my few devices will bet exposed to my ISP small local network for few seconds. So i am using vlans. And in a matter of fact, i've seen a lot of cheap routers with the same switch with vlans solution, or at least it look like this. So take it as you will, it's good for my needs. But if you want real router functionality with separate interfaces, consider adding some USB LAN like above and do yet another hardware mod of this board.

 

Sorry for the long post. I left this here if it could be useful for someone.

 

Posted
1 hour ago, RagnerBG said:

this sata port is designed for SSD disks and never provided for mechanical HDD-s, as this AXP209 power scheme, simple can't provide needed >2A in some cases (at spin up) current

 

Just for the record: any recent 2.5" disk doesn't need that much (3.5" HDD might need 2A on the 12V rail at spinup though!). The Samsung/Seagate Spinpoint we use with SBC mostly need 1A/5V max at spinup. This site here (german only unfortunately) makes it easy to select disks based on idle/active consumption. So this is the first step, then just looking up the data sheet. As an example 24/7 specified disks with less than 3W active consumption: http://geizhals.de/?cat=hde7s&xf=1080_SATA+1.5Gb%2Fs%7E1080_SATA+3Gb%2Fs%7E1080_SATA+6Gb%2Fs%7E1654_geeignet+f%FCr+Dauerbetrieb%7E3264_3%7E3772_2.5

Posted

Here is my housing!

lamoboR1-B.thumb.jpg.5d3dff1b637bf88d5a12736747b9c2b8.jpglamoboR1-A.thumb.jpg.02d5de3319f6860f5d4894ad68fcc51a.jpg

 

An here is a special cable to solve the HD power issue:

powerUnit.thumb.jpg.022fea41d424e27538444836197a8ec8.jpg

With this configuration it is possible to supply the HD directly with energy.

 

Although I do understand the criticism of tkaiser I think it would be a pity for me and perhaps others to drop support. I use it as a simple desktop switch and home server. With Armbian 5.24 it runs stable here. With 5.25 I was unfortunately not able to get the switch switchting till now.

 

 

Posted
57 minutes ago, ddurdle said:

I notice the card you used support 5Ghz.  Have you tried this?

No, because i only have one phone with 5Ghz, everything else is at 2.4Ghz. I tried to add second network at 5Ghz, just to have it around in case, but it was not possible. I am not sure if this is OpenWrt limitation, because i basically can add networks only at the same channel with all devices i tried, or is hardware limitation and need second phy for this.

Posted

I noticed there is a Banana Pi-R2 now.  Looks like they adapted some of your suggestions -- no longer using micro-usb for power, provide mini-pci slot so you can supply your own wifi module.

 

The idea of the Banana Pi Router was a great idea.  Before I bought it, I did my research by reviewing what the community was actually saying.  It set my expectations in line -- poor wifi, iffy power design, overheating if you enclose, less than stellar LAN performance. I never ended buying mine until late 2016 (when I saw good and hacks reported back to solve some of the issues).  I'm glad I did buy it.  I haven't exactly replaced my trusty 15-year-old WRT router, but it did make a great addition to my network.

 

I was playing with the idea of buying a second just to play around with some mods (without affecting my current network setup).

Posted
3 hours ago, ddurdle said:

I noticed there is a Banana Pi-R2 now.  Looks like they adapted some of your suggestions -- no longer using micro-usb for power, provide mini-pci slot so you can supply your own wifi module.

Hm, i've missed this. Looking good with this 12V power source and mini-pcie and (optional) two SATA ports, USB3. For a reasonable price, this looks like good product, with almost everything BPI-R1 should be, at first place.

But this is team BPI, there are serious cons of course. First that strikes on eyes, is another crappy Wifi module they used. This MT6625L is like Swiss knife - 2.4Ghz/5Ghz, BT, GPS, FM (last two not soldered, as i see). And as similar such products, non of what we need will not work as expected. I am not even sure this can be used in AP mode, but 2.4Ghz band is limited to 64Mbit (i didn't even known, such "n" modules exists), 5Ghz band is at 54Mbit, but there i don't even expected anything else. The question is - how can they cripple 2.4Ghz so bad and making it useless again? But as you state we have mini-pcie port. If it's real and not output only usb part (i can expect dirty deed like this), i have very nice laptop wifi cards, i can't use for anything, because there are no full adapters for this interface. AR5BXB112 for example. They are cheap in common. So wifi is solvable.

Switch seems to be simple 5 port ethernet, like on R1. Not so suitable for router purposes, but solvable with vlans.

But the main problem is software support. I don't know what is the status of this Mediatek MT7623N chip. Team BPI state it has - " variety of open source operating systems including OpenWrt, Android, and Bananian". There is nothing in their download section yet. Maybe they will upload descend OS-s when they start to sold the board. Or maybe they count on some hype of the community and other people to do support for then (as usual).

From what i just readed this will be probably overpriced. Not that the hardware is not good in common. But i wouldn't spend more than 50 bucks for BPI product anymore. LamoboR1 completely replace my home router and do my home network, but it was a hell of modding and reading and fight with bugie software and time wasted, when i could simply buy new, more powerful router. So i think i will pass.

Guest
This topic is now closed to further replies.
×
×
  • Create New...

Important Information

Terms of Use - Privacy Policy - Guidelines