Jump to content

Recommended Posts

Posted

So I have a new board that I am working with. I cannot get armbian-config to display anything. I have tried both the Ubuntu and Debian images. I also tried the default and next images with not luck. The default image has the drivers that I need for a mpcie network card. The final goal is to install the kernel source so I can update drivers.

 

[    2.037420] r8169 Gigabit Ethernet driver 2.3LK-NAPI loaded
[    2.048872] r8169 0000:00:00.0 eth1: RTL8168evl/8111evl at 0xffffff8000376000, 00:13:3b:21:4b:62, XID 0c900800 IRQ 108
[    2.048931] r8169 0000:00:00.0 eth1: jumbo features [frames: 9200 bytes, tx checksumming: ko]
[    2.653362] r8169 0000:00:00.0 enp0s0: renamed from eth1

[   20.069026] r8169 0000:00:00.0: Direct firmware load for rtl_nic/rtl8168e-3.fw failed with error -2
[   20.069052] r8169 0000:00:00.0 enp0s0: unable to load firmware patch rtl_nic/rtl8168e-3.fw (-2)

Posted
  Quote

if you need USB2 port on your mPCI slot (for Bluetooth or 4G/LTE modems) you need to move both jumpers near to the USB2 port. Position for this function is: away from the port.

Expand  

That is what @Igor wished that you have read ...

Posted
  On 8/16/2018 at 7:22 PM, jrtaylor said:

Direct firmware load for rtl_nic/rtl8168e-3.fw failed with error -2

Expand  

 

apt install armbian-firmware-full

&reboot

 

BTW. Factory legacy default kernel is the worse choice among available and if you don't proceed with our tips and change bootloader ... you again waste time. Your PCI card will remain dead.

 

What have armbian-config to do with this?

Posted

Thank you for the reply. I need to compile the r8168 drivers for the card I have. The r8169 drivers work but no gigabit. On the orange pi that I have I used armbian-config to install the kernel sources so I could compile other things. That worked perfect. The Armbian_5.54_Espressobin_Debian_stretch_default_4.4.138.img and the Armbian_5.54_Espressobin_Debian_stretch_next_4.17.9.img images do not seem to work. Armbian-config never gives a menu.

 

I am more than happy to try an updated image. The only other thing I found with the _next image is that the netfilter module had performance issues. Not sure if it was my config or what. That's a problem for another day.

 

Here is the u-boot info. The first thing I did was update u-boot

 

WTMI-armada-17.10.5-34ce216
WTMI: system early-init
SVC REV: 4, CPU VDD voltage: 1.143V

Fill memory before self refresh...done

Fill memory before self refresh...done

Now in Self-refresh Mode
Restore termination values to original values
Exited self-refresh ...


Self refresh Pass.
DDR self test mode test done!!

Self refresh Pass.
DDR self test mode test done!!

QS GATING
=============
Calibration done: cycle = 0x00 tap =0x62
CH0_PHY_RL_Control_CS0_B0[0xC0001180]: 0x00000062
CH0_PHY_RL_Control_CS0_B1[0xC0001184]: 0x00000062


QS GATING
=============
Calibration done: cycle = 0x00 tap =0x62
CH0_PHY_RL_Control_CS1_B0[0xC00011A4]: 0x00000062
CH0_PHY_RL_Control_CS1_B1[0xC00011A8]: 0x00000062

DLL TUNING
==============
   DLL 0xc0001050[21:16]: [0,20,10]
   DLL 0xc0001050[29:24]: [6,32,1c]
   DLL 0xc0001054[21:16]: [0,23,11]
   DLL 0xc0001054[29:24]: [7,37,1f]
   DLL 0xc0001074[21:16]: [0,3f,1f]
   DLL 0xc0001074NOTICE:  Booting Trusted Firmware
NOTICE:  BL1: v1.3(release):armada-17.10.8:34247e0
NOTICE:  BL1: Built : 16:46:16, May 10 2NOTICE:  BL2: v1.3(release):armada-17.10.8:34247e0
NOTICE:  BL2: Built : 16:46:16, May 10 2018
NNOTICE:  BL31: v1.3(release):armada-17.10.8:34247e0
NOTICE:  BL31:

U-Boot 2017.03-armada-17.10.3-g06ad760-armbian (May 10 2018 - 16:45:48 +0200)

Model: Marvell Armada 3720 Community Board ESPRESSOBin
       CPU    @ 1000 [MHz]
       L2     @ 800 [MHz]
       TClock @ 200 [MHz]
       DDR    @ 800 [MHz]
DRAM:  1 GiB
U-Boot DT blob at : 000000003f7182d8
Comphy-0: USB3          5 Gbps    
Comphy-1: PEX0          2.5 Gbps  
Comphy-2: SATA0         6 Gbps    
SATA link 0 timeout.
AHCI 0001.0300 32 slots 1 ports 6 Gbps 0x1 impl SATA mode
flags: ncq led only pmp fbss pio slum part sxs
PCIE-0: Link up
MMC:   sdhci@d0000: 0
SF: Detected w25q32dw with page size 256 Bytes, erase size 4 KiB, total 4 MiB
Net:   eth0: neta@30000 [PRIME]
Hit any key to stop autoboot:  0
*** ERROR: `serverip' not set
*** ERROR: `serverip' not set
... booting from SD
1176 bytes read in 5 ms (229.5 KiB/s)
## Executing script at 00800000
221 bytes read in 5 ms (43 KiB/s)
14370816 bytes read in 620 ms (22.1 MiB/s)
5008581 bytes read in 220 ms (21.7 MiB/s)
12011 bytes read in 23 ms (509.8 KiB/s)
** File not found boot/dtb/marvell/armada-3720-espressobin.dtb **
## Loading init Ramdisk from Legacy Image at 01100000 ...
   Image Name:   uInitrd
   Image Type:   AArch64 Linux RAMDisk Image (gzip compressed)
   Data Size:    5008517 Bytes = 4.8 MiB
   Load Address: 00000000
   Entry Point:  00000000
   Verifying Checksum ... OK
## Flattened Device Tree blob at 04f00000
   Booting using the fdt blob at 0x4f00000
   Loading Ramdisk to 3f24f000, end 3f715c85 ... OK
   Using Device Tree in place at 0000000004f00000, end 0000000004f05eea

Starting kernel ...

[    0.000000] Booting Linux on physical CPU 0x0
[    0.000000] Initializing cgroup subsys cpuset
[    0.000000] Initializing cgroup subsys cpu
[    0.000000] Initializing cgroup subsys cpuacct
[    0.000000] Linux version 4.4.138-mvebu64  (root@nightly) (gcc version 6.4.1 20171012 (Linaro GCC 6.4-2017.11) ) #56 SMP PREEMPT Tue Jul 24 15:24:52 UTC 2018
[    0.000000] Boot CPU: AArch64 Processor [410fd034]
[    0.000000] earlycon: Early serial console at MMIO 0xd0012000 (options '')
[    0.000000] bootconsole [uart0] enabled
Loading, please wait...
starting version 232
Begin: Loading essential drivers ... done.
Begin: Running /scripts/init-premount ... done.
Begin: Mounting root file system ... Begin: Running /scripts/local-top ... done.
Begin: Running /scripts/local-premount ... Scanning for Btrfs filesystems
done.
Begin: Will now check root file system ... fsck from util-linux 2.29.2
[/sbin/fsck.ext4 (1) -- /dev/mmcblk0p1] fsck.ext4 -a -C0 /dev/mmcblk0p1
/dev/mmcblk0p1: recovering journal
/dev/mmcblk0p1: clean, 38746/947776 files, 351639/3849616 blocks
done.
done.
Begin: Running /scripts/local-bottom ... done.
Begin: Running /scripts/init-bottom ... done.

Posted

Problem fixed. The public build that are listed are broken. I built my own _next build with extra drives and everything work, including armbian-config. I can share my build if anyone wants it.

Posted (edited)

I am using a mPCI-e realtek network card to get around the problems with netfilter and the topaz switch.

 

Here is the card.

https://www.amazon.com/Syba-SD-MPE24031-Gigabit-Ethernet-1-Port/dp/B00B524102

http://www.sybausa.com/index.php?route=product/product&product_id=126

 

u-boot info. This is a 1Gb 2 chip board.

 

TIM-1.0
WTMI-armada-17.10.5-34ce216
WTMI: system early-init
SVC REV: 4, CPU VDD voltage: 1.143V
 
Fill memory before self refresh...done
 
Fill memory before self refresh...done
 
Now in Self-refresh Mode
Restore termination values to original values
Exited self-refresh ...
 
 
Self refresh Pass.
DDR self test mode test done!!
 
Self refresh Pass.
DDR self test mode test done!!
 
QS GATING
=============
Calibration done: cycle = 0x00 tap =0x62
CH0_PHY_RL_Control_CS0_B0[0xC0001180]: 0x00000062
CH0_PHY_RL_Control_CS0_B1[0xC0001184]: 0x00000062
 
 
QS GATING
=============
Calibration done: cycle = 0x00 tap =0x62
CH0_PHY_RL_Control_CS1_B0[0xC00011A4]: 0x00000062
CH0_PHY_RL_Control_CS1_B1[0xC00011A8]: 0x00000062
 
DLL TUNING
==============
   DLL 0xc0001050[21:16]: [0,21,10]
   DLL 0xc0001050[29:24]: [6,31,1b]
   DLL 0xc0001054[21:16]: [0,23,11]
   DLL 0xc0001054[29:24]: [6,38,1f]
   DLL 0xc0001074[21:16]: [0,3f,1f]
   DLL 0xc0001074NOTICE:  Booting Trusted Firmware
NOTICE:  BL1: v1.3(release):armada-17.10.8:34247e0
NOTICE:  BL1: Built : 16:46:16, May 10 2NOTICE:  BL2: v1.3(release):armada-17.10.8:34247e0
NOTICE:  BL2: Built : 16:46:16, May 10 2018
NNOTICE:  BL31: v1.3(release):armada-17.10.8:34247e0
NOTICE:  BL31:
 
U-Boot 2017.03-armada-17.10.3-g06ad760-armbian (May 10 2018 - 16:45:48 +0200)
 
Model: Marvell Armada 3720 Community Board ESPRESSOBin
       CPU    @ 1000 [MHz]
       L2     @ 800 [MHz]
       TClock @ 200 [MHz]
       DDR    @ 800 [MHz]
DRAM:  1 GiB
U-Boot DT blob at : 000000003f7182d8
Comphy-0: USB3          5 Gbps     
Comphy-1: PEX0          2.5 Gbps   
Comphy-2: SATA0         6 Gbps     
SATA link 0 timeout.
AHCI 0001.0300 32 slots 1 ports 6 Gbps 0x1 impl SATA mode
flags: ncq led only pmp fbss pio slum part sxs  
PCIE-0: Link up
MMC:   sdhci@d0000: 0
SF: Detected w25q32dw with page size 256 Bytes, erase size 4 KiB, total 4 MiB
Net:   eth0: neta@30000 [PRIME]
Hit any key to stop autoboot:  2 1 0  
*** ERROR: `serverip' not set
*** ERROR: `serverip' not set
... booting from SD
1176 bytes read in 7 ms (164.1 KiB/s)
## Executing script at 00800000
221 bytes read in 2 ms (107.4 KiB/s)
15481344 bytes read in 667 ms (22.1 MiB/s)
4599425 bytes read in 205 ms (21.4 MiB/s)
** File not found boot/dtb/marvell/armada-3720-community.dtb **
8607 bytes read in 9 ms (933.6 KiB/s)
## Loading init Ramdisk from Legacy Image at 01100000 ...
   Image Name:   uInitrd
   Image Type:   AArch64 Linux RAMDisk Image (gzip compressed)
   Data Size:    4599361 Bytes = 4.4 MiB
   Load Address: 00000000
   Entry Point:  00000000
   Verifying Checksum ... OK
## Flattened Device Tree blob at 04f00000
   Booting using the fdt blob at 0x4f00000
   Loading Ramdisk to 3f2b3000, end 3f715e41 ... OK
   Using Device Tree in place at 0000000004f00000, end 0000000004f0519e
 
Starting kernel ...
 
[    0.000000] Booting Linux on physical CPU 0x0000000000 [0x410fd034]
[    0.000000] Linux version 4.18.2-mvebu64 (root@armbian-build) (gcc version 7.2.1 20171011 (Linaro GCC 7.2-2017.11)) #1 SMP PREEMPT Fri Aug 17 18:29:21 CDT 2018
[    0.000000] Machine model: Globalscale Marvell ESPRESSOBin Board
[    0.000000] earlycon: ar3700_uart0 at MMIO 0x00000000d0012000 (options '')
[    0.000000] bootconsole [ar3700_uart0] enabled
Loading, please wait...
starting version 232
Begin: Loading essential drivers ... done.
Begin: Running /scripts/init-premount ... done.
Begin: Mounting root file system ... Begin: Running /scripts/local-top ... done.
Begin: Running /scripts/local-premount ... Scanning for Btrfs filesystems
done.
Begin: Will now check root file system ... fsck from util-linux 2.29.2
[/sbin/fsck.ext4 (1) -- /dev/mmcblk1p1] fsck.ext4 -a -C0 /dev/mmcblk1p1  
/dev/mmcblk1p1: clean, 37788/919456 files, 427014/3849616 blocks
done.
done.
Begin: Running /scripts/local-bottom ... done.
Begin: Running /scripts/init-bottom ... done.
 
Welcome to Debian GNU/Linux 9 (stretch)

 

DMESG from my build.

  Reveal hidden contents
 

 

Edited by Igor
spoilers
Posted

Yes it's about Stretch. The 4 img files I tested all had problems from here. https://www.armbian.com/espressobin/

 

The u-boot update 1g-2cs-1000-800 is working fine. I read in some other forums, not on this site, that people have had problems running this board at 1200.

 

I have read all the links you posted. Including all 22 pages of the one.

Posted
  On 8/18/2018 at 2:18 PM, jrtaylor said:

Problem fixed. The public build that are listed are broken.

Expand  

 

They should work. Hmm.

 

  On 8/18/2018 at 2:18 PM, jrtaylor said:

I can share my build if anyone wants it.

Expand  

https://docs.armbian.com/Process_Contribute/

 

Push your kernel config here https://github.com/armbian/build/blob/master/config/kernel/linux-meson64-next.config

Posted
  On 8/18/2018 at 4:52 PM, jrtaylor said:

Yes it's about Stretch. The 4 img files I tested all had problems from here. https://www.armbian.com/espressobin/

Expand  

 

I (re)try first and it boots just fine: http://ix.io/1kzo

 

  On 8/18/2018 at 5:43 PM, jrtaylor said:

I do not know how

Expand  


You just missed a wonderful opportunity to learn something :) You can find how-to if you follow the link and read a little.

 

This was just added: https://github.com/armbian/build/commit/4a8d2f995134a5b1c8ed9d0723b088746dca45cc

Posted

Still having some problems but I can compile image and source kernel from git build. What I am still having problems with is the realtek r8169 drivers that are build. I looks like because of the version chip I have I need to compile the r8168 drivers. I have tried but the build fails. This is also why I thought there was a problem with armbian-config. The r8169 driver makes the chip I have go to about 1kbit. After doing some digging I found this is a problem.

 

This person is having the same problem that I have with the topaz switch. The fix is to use another ethernet interface. I have tried 2 different usb adapters and they both work. I need an adapter that I can keep inside the box I have for the espressobin.

 

Can I get some help compiling these drivers?

I have both jessie and stretch built to test on.

 

root@espressobin:/usr/src/r8168-8.046.00# make
make -C src/ clean
make[1]: Entering directory '/usr/src/r8168-8.046.00/src'
make -C /lib/modules/4.4.139-mvebu64/build SUBDIRS=/usr/src/r8168-8.046.00/src clean
make[2]: Entering directory '/lib/modules/4.4.139-mvebu64/build'
make[2]: Leaving directory '/lib/modules/4.4.139-mvebu64/build'
make[1]: Leaving directory '/usr/src/r8168-8.046.00/src'
make -C src/ modules
make[1]: Entering directory '/usr/src/r8168-8.046.00/src'
make -C /lib/modules/4.4.139-mvebu64/build SUBDIRS=/usr/src/r8168-8.046.00/src modules
make[2]: Entering directory '/lib/modules/4.4.139-mvebu64/build'
  CC [M]  /usr/src/r8168-8.046.00/src/r8168_n.o
scripts/basic/fixdep: 1: scripts/basic/fixdep: Syntax error: "(" unexpected
scripts/Makefile.build:269: recipe for target '/usr/src/r8168-8.046.00/src/r8168_n.o' failed
make[3]: *** [/usr/src/r8168-8.046.00/src/r8168_n.o] Error 2
Makefile:1425: recipe for target '_module_/usr/src/r8168-8.046.00/src' failed
make[2]: *** [_module_/usr/src/r8168-8.046.00/src] Error 2
make[2]: Leaving directory '/lib/modules/4.4.139-mvebu64/build'
Makefile:104: recipe for target 'modules' failed
make[1]: *** [modules] Error 2
make[1]: Leaving directory '/usr/src/r8168-8.046.00/src'
Makefile:40: recipe for target 'modules' failed
make: *** [modules] Error 2

 

Posted
  On 8/21/2018 at 1:05 AM, jrtaylor said:

The r8169 driver makes the chip I have go to about 1kbit. After doing some digging I found this is a problem.

Expand  


Espressobin PCI stack is IMO still somewhere in WIP stage.  A year back there were just a few cards recognized, a few operational ... regardless of the kernel driver. Perhaps try here: https://github.com/MarvellEmbeddedProcessors/atf-marvell/issues

Posted
  On 8/22/2018 at 6:39 PM, Igor said:


Espressobin PCI stack is IMO still somewhere in WIP stage.  A year back there were just a few cards recognized, a few operational ... regardless of the kernel driver. Perhaps try here: https://github.com/MarvellEmbeddedProcessors/atf-marvell/issues

Expand  

That will not help. The marvell chip only has 1 mac. It really is just a switch not 3 ethernet ports. Netfilter and iptables cannot tell which direction the traffic is going. Without being able to add an extra net card this device will never work correctly as a router or bridged monitoring device. An external usb net card does work. I have tried several but really need a mini pcie one to keep everything in one box. Just need r8168 drivers. I think this will help others.

Posted

This is a test with ingress tc filter that is the exact same as wondershaer, astshape and arnos-firewall. This is on a 60mb x 12mb connection.

 

root@espressobin:~# iperf3 -c speedtest.serverius.net -p 5002 -P 10 -4 -R
Connecting to host speedtest.serverius.net, port 5002
Reverse mode, remote host speedtest.serverius.net is sending
[  4] local 10.1.10.66 port 54222 connected to 178.21.16.76 port 5002
[  6] local 10.1.10.66 port 54224 connected to 178.21.16.76 port 5002
[  8] local 10.1.10.66 port 54226 connected to 178.21.16.76 port 5002
[ 10] local 10.1.10.66 port 54228 connected to 178.21.16.76 port 5002
[ 12] local 10.1.10.66 port 54230 connected to 178.21.16.76 port 5002
[ 14] local 10.1.10.66 port 54232 connected to 178.21.16.76 port 5002
[ 16] local 10.1.10.66 port 54234 connected to 178.21.16.76 port 5002
[ 18] local 10.1.10.66 port 54236 connected to 178.21.16.76 port 5002
[ 20] local 10.1.10.66 port 54238 connected to 178.21.16.76 port 5002
[ 22] local 10.1.10.66 port 54240 connected to 178.21.16.76 port 5002
[ ID] Interval           Transfer     Bandwidth
[  4]   0.00-1.00   sec  17.0 KBytes   139 Kbits/sec                  
[  6]   0.00-1.00   sec  18.4 KBytes   151 Kbits/sec                  
[  8]   0.00-1.00   sec  22.6 KBytes   185 Kbits/sec                  
[ 10]   0.00-1.00   sec  17.0 KBytes   139 Kbits/sec                  
[ 12]   0.00-1.00   sec  21.2 KBytes   174 Kbits/sec                  
[ 14]   0.00-1.00   sec  1.41 KBytes  11.6 Kbits/sec                  
[ 16]   0.00-1.00   sec  2.83 KBytes  23.2 Kbits/sec                  
[ 18]   0.00-1.00   sec  2.83 KBytes  23.2 Kbits/sec                  
[ 20]   0.00-1.00   sec  2.83 KBytes  23.2 Kbits/sec                  
[ 22]   0.00-1.00   sec  4.24 KBytes  34.7 Kbits/sec                  
[SUM]   0.00-1.00   sec   110 KBytes   903 Kbits/sec                  
- - - - - - - - - - - - - - - - - - - - - - - - -

 

This is with the tc filter removed.

 

root@espressobin:~# iperf3 -c speedtest.serverius.net -p 5002 -P 10 -4 -R
Connecting to host speedtest.serverius.net, port 5002
Reverse mode, remote host speedtest.serverius.net is sending
[  4] local 10.1.10.66 port 54246 connected to 178.21.16.76 port 5002
[  6] local 10.1.10.66 port 54248 connected to 178.21.16.76 port 5002
[  8] local 10.1.10.66 port 54250 connected to 178.21.16.76 port 5002
[ 10] local 10.1.10.66 port 54252 connected to 178.21.16.76 port 5002
[ 12] local 10.1.10.66 port 54254 connected to 178.21.16.76 port 5002
[ 14] local 10.1.10.66 port 54256 connected to 178.21.16.76 port 5002
[ 16] local 10.1.10.66 port 54258 connected to 178.21.16.76 port 5002
[ 18] local 10.1.10.66 port 54260 connected to 178.21.16.76 port 5002
[ 20] local 10.1.10.66 port 54262 connected to 178.21.16.76 port 5002
[ 22] local 10.1.10.66 port 54264 connected to 178.21.16.76 port 5002
[ ID] Interval           Transfer     Bandwidth
[  4]   0.00-1.00   sec   274 KBytes  2.25 Mbits/sec                  
[  6]   0.00-1.00   sec   263 KBytes  2.15 Mbits/sec                  
[  8]   0.00-1.00   sec   270 KBytes  2.21 Mbits/sec                  
[ 10]   0.00-1.00   sec   430 KBytes  3.52 Mbits/sec                  
[ 12]   0.00-1.00   sec   293 KBytes  2.40 Mbits/sec                  
[ 14]   0.00-1.00   sec   240 KBytes  1.97 Mbits/sec                  
[ 16]   0.00-1.00   sec   191 KBytes  1.56 Mbits/sec                  
[ 18]   0.00-1.00   sec   235 KBytes  1.92 Mbits/sec                  
[ 20]   0.00-1.00   sec   232 KBytes  1.90 Mbits/sec                  
[ 22]   0.00-1.00   sec   199 KBytes  1.63 Mbits/sec                  
[SUM]   0.00-1.00   sec  2.57 MBytes  21.5 Mbits/sec                  
- - - - - - - - - - - - - - - - - - - - - - - - -
[  4]   1.00-2.00   sec   522 KBytes  4.27 Mbits/sec                  
[  6]   1.00-2.00   sec   506 KBytes  4.15 Mbits/sec                  
[  8]   1.00-2.00   sec   512 KBytes  4.19 Mbits/sec                  
[ 10]   1.00-2.00   sec   792 KBytes  6.49 Mbits/sec                  
[ 12]   1.00-2.00   sec   535 KBytes  4.38 Mbits/sec                  
[ 14]   1.00-2.00   sec   518 KBytes  4.24 Mbits/sec                  
[ 16]   1.00-2.00   sec   305 KBytes  2.50 Mbits/sec                  
[ 18]   1.00-2.00   sec   557 KBytes  4.56 Mbits/sec                  
[ 20]   1.00-2.00   sec   549 KBytes  4.49 Mbits/sec                  
[ 22]   1.00-2.00   sec   351 KBytes  2.87 Mbits/sec                  
[SUM]   1.00-2.00   sec  5.03 MBytes  42.2 Mbits/sec                  
- - - - - - - - - - - - - - - - - - - - - - - - -
[  4]   2.00-3.00   sec   768 KBytes  6.29 Mbits/sec                  
[  6]   2.00-3.00   sec   642 KBytes  5.26 Mbits/sec                  
[  8]   2.00-3.00   sec   636 KBytes  5.21 Mbits/sec                  
[ 10]   2.00-3.00   sec   980 KBytes  8.03 Mbits/sec                  
[ 12]   2.00-3.00   sec   707 KBytes  5.79 Mbits/sec                  
[ 14]   2.00-3.00   sec   744 KBytes  6.09 Mbits/sec                  
[ 16]   2.00-3.00   sec   585 KBytes  4.80 Mbits/sec                  
[ 18]   2.00-3.00   sec   789 KBytes  6.46 Mbits/sec                  
[ 20]   2.00-3.00   sec   809 KBytes  6.63 Mbits/sec                  
[ 22]   2.00-3.00   sec   481 KBytes  3.94 Mbits/sec                  
[SUM]   2.00-3.00   sec  6.97 MBytes  58.5 Mbits/sec                  
- - - - - - - - - - - - - - - - - - - - - - - - -
[  4]   3.00-4.00   sec   987 KBytes  8.09 Mbits/sec                  
[  6]   3.00-4.00   sec   690 KBytes  5.65 Mbits/sec                  
[  8]   3.00-4.00   sec   699 KBytes  5.72 Mbits/sec                  
[ 10]   3.00-4.00   sec   943 KBytes  7.73 Mbits/sec                  
[ 12]   3.00-4.00   sec   744 KBytes  6.09 Mbits/sec                  
[ 14]   3.00-4.00   sec   650 KBytes  5.33 Mbits/sec                  
[ 16]   3.00-4.00   sec   725 KBytes  5.94 Mbits/sec                  
[ 18]   3.00-4.00   sec   546 KBytes  4.47 Mbits/sec                  
[ 20]   3.00-4.00   sec   769 KBytes  6.30 Mbits/sec                  
[ 22]   3.00-4.00   sec   594 KBytes  4.87 Mbits/sec                  
[SUM]   3.00-4.00   sec  7.18 MBytes  60.2 Mbits/sec                  
^C- - - - - - - - - - - - - - - - - - - - - - - - -

 

Posted
  On 8/22/2018 at 6:50 PM, jrtaylor said:

That will not help. The marvell chip only has 1 mac. It really is just a switch not 3 ethernet ports. Netfilter and iptables cannot tell which direction the traffic is going. Without being able to add an extra net card this device will never work correctly as a router or bridged monitoring device.

Expand  

Many Open WRT devices use a similar architecture with one CPU port and a VLAN capable ethernet switch, they don't seem to need an extra NIC.

 

  On 8/22/2018 at 6:50 PM, jrtaylor said:

An external usb net card does work. I have tried several but really need a mini pcie one to keep everything in one box. Just need r8168 drivers. I think this will help others.

Expand  

IMHO pcie support has improved a lot in recent kernels. You may try a mainline kernel instead.

Posted
  On 8/23/2018 at 2:10 AM, jrtaylor said:

This item does not ship to the United States :(

Expand  


I am sure you can find it somewhere else, perhaps on Ebay ... but unfortunately, it doesn't  work on Espressobin.  This is boot log with an attached card:

  Reveal hidden contents
 

http://ix.io/1l0m

 

I don't have time for testing now, but on more recent BSP kernel looks better:

 

root@espressobin:~# lspci 

00:00.0 PCI bridge: ASMedia Technology Inc. Device 1182
01:03.0 PCI bridge: ASMedia Technology Inc. Device 1182
01:07.0 PCI bridge: ASMedia Technology Inc. Device 1182
02:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller (rev 07)
03:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller (rev 07)

 

Posted
  On 8/23/2018 at 7:12 AM, Igor said:


I am sure you can find it somewhere else, perhaps on Ebay ... but unfortunately, it doesn't  work on Espressobin.  This is boot log with an attached card:

  Reveal hidden contents
 

http://ix.io/1l0m

 

I don't have time for testing now, but on more recent BSP kernel looks better:

 

Expand  

I have lots of time. I am a retired communications engineer. I need stuff to do.

Posted

Looks like master might broken right now?

[ o.k. ] Building boot image
clock.c: In function ‘set_tbg_clock’:
clock.c:397:6: warning: implicit declaration of function ‘get_ref_clk’ [-Wimplicit-function-declaration]
  if (get_ref_clk() == 40) {
      ^
truncate: cannot open '../../marvell-tools/wtmi/fuse/build/fuse.bin' for writing: No such file or directory
../../marvell-tools/script/buildtim.sh: line 241: ../../marvell-tools/ddrparser.pl: No such file or directory
make: *** [fip] Error 1
cp: cannot stat 'build/a3700/debug/flash-image.bin': No such file or directory
[ error ] ERROR in function compile_uboot [ compilation.sh:185 ]
[ error ] U-boot file not found [ flash-image.bin ]
[ o.k. ] Process terminated

Posted
  On 8/23/2018 at 3:47 PM, jrtaylor said:

Looks like master might broken right now?

[ o.k. ] Building boot image
clock.c: In function ‘set_tbg_clock’:
clock.c:397:6: warning: implicit declaration of function ‘get_ref_clk’ [-Wimplicit-function-declaration]
  if (get_ref_clk() == 40) {
      ^
truncate: cannot open '../../marvell-tools/wtmi/fuse/build/fuse.bin' for writing: No such file or directory
../../marvell-tools/script/buildtim.sh: line 241: ../../marvell-tools/ddrparser.pl: No such file or directory
make: *** [fip] Error 1
cp: cannot stat 'build/a3700/debug/flash-image.bin': No such file or directory
[ error ] ERROR in function compile_uboot [ compilation.sh:185 ]
[ error ] U-boot file not found [ flash-image.bin ]
[ o.k. ] Process terminated

Expand  

 

Should be fixed with this: https://github.com/armbian/build/commit/0c66fed14b494bc8b56fe4582509698635d09e26

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

Important Information

Terms of Use - Privacy Policy - Guidelines