BPI-R2 OpenWrt(LEDE) Souce code : 2018-04-11


(dorabmon) #21

you must want to enable

CONFIG_MAC80211

in your kernel

to add the unknown symbols and allow your added module able to reference to them.


#22

Except for kmod-mac80211-hwsim and zabbix-extra-mac80211, other options about mac80211 are enable.

zabbix-extra-mac80211 is not set
kmod-cfg80211=y
kmod-lib80211=y
kmod-mac80211=y
MAC80211_DEBUGFS=y
MAC80211_TRACING=y
MAC80211_MESH=y
kmod-mac80211-hwsim is not set

But it still can’t work.


#23

Please upload this image on Google Drive/Microsoft OneDrive, Baidu is not available in every country, and there’s no option to change the language to English.


#24

I try to build a new image to my BPI-R2 but the Intel 7260 can’t work.


(gary) #25

Hi Symowl

BPI-R2 doesn’t support Intel PCIe card, this is a hardware limitation, we can’t fix it in software level.


(BlueSpirit) #26

So, Gray Wang, Could you tell me the supported mini-pice WLAN model list in R2 ? Because we want to give up the MT6625L onboard.

Another question:

  1. the Onboard wifi chip MT6625L only working in 2.4G or 5G, can’t work in double frequency?
  2. During we test throughout performance in 5G, we found the wifi crash when download speed in 50 Mbps. It is right ?

#27

Thank. I tried to install other wireless network cards. Do you know the wireless network cards it supports?


(gary) #28

We are looking for replacement of MT6625L, now we are developping a WIFI module(PCIe) based on MT7615 and we’ve validated RTL8723BU(USB).


(gary) #29

I think the WIFI module based on USB should be supported, but the driver is required. Why the Intel WIFI(pcie) is not support is that the pcie device of it is invisible for MT7623N chip. Also we’re validating the WIFI module(PCIe) from RTL and BCM.


(gary) #30

Image in Google Drive: https://drive.google.com/open?id=1yEP6o3EGhICOV2DJRW-eqDg0vO_xK1Mg


(BlueSpirit) #31

Thank you for on-time wifi info. So would have plan to make BPI R2 new hardware version(> v1.2) for changing onboard wifi module?


(gary) #32

The module based on MT77615 is an optional module(PCIe), we don’t have plan to change the onboard wifi module


(gary) #33

Hi Symowl

We validated the following mPCIe modules(PCIe), they are visible for sytem, we don’t validate them with driver.

  • Intel 512AN_MMW
  • RTL 8191SE
  • BCM4313

Unsupported Module we found so far:

  • Intel AC 3160
  • Intel 7260 AC

#34

In Ubuntu and kernel with MSI interrupt enable,intel ac 3160 is visible in lspci , but I haven’t tried to build the driver


(gary) #35

So interesting, can you please share me the kernel log(the output of dmesg)?


(Frank W.) #36

Mt7612 pcie-card is also working…currently i have it running in 2g4-mode in 4.14 but short test in 5g also works (driver for 4.4 and 4.14 in my repos)


#37

Hi Gary

Do you know how to change the GPIO state under openwrt? I need to use the 14pin interface on BPI-R2.

What do I need to pay attention to when I use this interface?


(BlueSpirit) #38

add a info, Intel 7260 AC unsupported also!


(ZB) #39

Hello , you can use these commands to set gpio state:

Firstly , Check the base gpio,you could see mine is 233

image

And then you could use these commands to set gpio state:

  • echo xxx > /sys/class/gpio/export
  • echo in/out > /sys/class/gpio/gpioxxx/direction
  • echo 0/1 > /sys/class/gpio/gpioxxx/value

For example: if you want to change gpio 22 as out highlevel, you need input commands like this:

  • echo 255(22+233) > /sys/class/gpio/export
  • echo out > /sys/class/gpio/gpio255/direction
  • echo 1 > /sys/class/gpio/gpio255/value

this is the sch for 14pin header:

image

Oh forget one thing:the state of mux pins probably couldn’t be changed.


#40

Thank you. I try to adjust this register. It works very well.