BPI-R2 new image: BPI-R2 OpenWrt(LEDE) Souce code : 2018-05-09


(Frank W.) #146

Then it also cannot work in lede where lanpprts are bridged. There is a br-section in prerouting. Here no tag is appended (wifi gets invalid) but in postrouting there are checks only for lan/wan

Can we make it work also with bridges and wifi?

@silverfox i do not know lede much,but there must be a tool for checking filesystem https://openwrt.org/docs/guide-user/storage/filesystems-and-partitions but i heard that package-install does not work correctly on some lede-images


(ZB) #147

yes, this is what I want to do, I will find time to support HNAT and Switch function on R2.

by the way, have you ever met this problem before?


(Frank W.) #148

Not till now,but i have only connected usb2-devices directly…i have no usb3-hub…

But you can try different kernel-versions and look if the problem happens on all. You’ll find kernel-versions 4.14,4.16,4.17 and 4.18 on my repo working so far on r2

My modified uboot allows booting different kernels (different filename)


(ZB) #149

Hello,frank,I tried kernel 4.14,it also has the same problem, usb3.0 is limited.

I think the next step is to check the code.


(Frank W.) #150

Can you try also 4.17(-main)/4.18(-rc) maybe its fixed in newer kernel


(ZB) #151

We found out the usb port of soc only support 32 endpoints, so is limited. I want to figure out how to change the endpoint.


(Frank W.) #152

usb-port of soc? i thought usb3 was connected via pcie

btw. do you use a powered usb-hub? is the problem also occour if no devices are connected to hub? maybe it’s a powering issue


(Maciek Szelągowski) #153

I have put first image from this post than tried to sysupgrade to your

(tried by webgui but I cannot get 192.168.1.1 by browser)

lede-mediatek-32-bananapi,bpi-r2-sysupgrade.tar

file and after reboot I have: can’t get kernel image!

enclosed log from upgrade

finally I would like to use that image:

https://downloads.openwrt.org/releases/18.06.0/targets/mediatek/mt7623/

but I don’t know how to install it to SD

log.txt (29,4 KB)


(ZB) #154

Hello,frank,I checked,I use 4 4G modules and they have their own power supply.

I changed code to decrease some useless EPs(endpoint), so I can support 4 4G modules now.


(ZB) #155

Hello, I saw your log, your boot could not load kernel because doesn’t support kernel format .

image

Images Link:

Google Drive: https://drive.google.com/open?id=1D6qPs73AXINarqFKFXuIMOr3-D6RmZAQ

Baidu Drive: https://pan.baidu.com/s/19Yu11pDFPa9UGdIdrQu3-A

This is my .config, you could use it built openwrt code.

CONFIG_ (152.5 KB)