Power & Source of Big Ideas

NanoPi Neo Air - Wifi + BT on Buildroot with Mainline Kernel

Moderators: chensy, FATechsupport

I try to run a buildroot based image with current mainline kernel since
everything except the EMAC driver is merged to mainline.

Since the Air doesn't have ethernet this should be fine.

Unfortunatly I can not get Wifi working. It doesn't even show up in lshw
etc.

I compiled brcmfmac driver into the kernel and added the ap6212 firmware
from https://github.com/jrspruitt/FriendlyAR ... ldroot_Ext.

It seems that the kernel doesnt recognize the device at all, dbus for
example doesnt load the brcmfmac module automatically.

Is there some wakup gpio magic needed to get this working? I searched the
ubuntu core image for a while but can not find anything.

Please reply if somebody got information. I hope the guys who builded the
ubuntu core image could tell me how they managed it.

If I will succed, I will create a wiki page about the process, I think a
complete mainline based OS would be a big bonus in terms of attractivity ;)

With kind regards,

Tino
trusch wrote:
I try to run a buildroot based image with current mainline kernel since
everything except the EMAC driver is merged to mainline.

Since the Air doesn't have ethernet this should be fine.

Unfortunatly I can not get Wifi working. It doesn't even show up in lshw
etc.

I compiled brcmfmac driver into the kernel and added the ap6212 firmware
from https://github.com/jrspruitt/FriendlyAR ... ldroot_Ext.

It seems that the kernel doesnt recognize the device at all, dbus for
example doesnt load the brcmfmac module automatically.

Is there some wakup gpio magic needed to get this working? I searched the
ubuntu core image for a while but can not find anything.

Please reply if somebody got information. I hope the guys who builded the
ubuntu core image could tell me how they managed it.

If I will succed, I will create a wiki page about the process, I think a
complete mainline based OS would be a big bonus in terms of attractivity ;)

With kind regards,

Tino


Hi

Have you tried our OS image on the Ubuntu Core?

All the driver can work well and open source, please check. And we didn't ever build the Ubuntu Core since it's just from the official Ubuntu core version. We just mannually added something the board need it, and have no recording.

Thank you

Mindee
trusch wrote:
I try to run a buildroot based image with current mainline kernel since
everything except the EMAC driver is merged to mainline.

Since the Air doesn't have ethernet this should be fine.

Unfortunatly I can not get Wifi working. It doesn't even show up in lshw
etc.

I compiled brcmfmac driver into the kernel and added the ap6212 firmware
from https://github.com/jrspruitt/FriendlyAR ... ldroot_Ext.

It seems that the kernel doesnt recognize the device at all, dbus for
example doesnt load the brcmfmac module automatically.

Is there some wakup gpio magic needed to get this working? I searched the
ubuntu core image for a while but can not find anything.

Please reply if somebody got information. I hope the guys who builded the
ubuntu core image could tell me how they managed it.

If I will succed, I will create a wiki page about the process, I think a
complete mainline based OS would be a big bonus in terms of attractivity ;)

With kind regards,

Tino


Hi

Have you tried our OS image on the Wiki - Ubuntu Core?

All the driver can work well and open source, please check. And we didn't ever build the Ubuntu Core since it's just from the official Ubuntu core version. We just mannually added something the board need it, and have no recording.

Thank you

Mindee
Yes I tried Ubuntu Core, but the kernel is very outdated. I would love to have more control over the process, and everything is open source, so it should be doable.

Do you have any hints on which kernel options are necessary to get WiFi working? I started from the nanopi_neo config from buildroot which in fact uses the sunxi_defconfig for initial kernel preparation. But there are no (!) wifi options set. I manually added general wifi support etc, but the device doesn't show up.
trusch wrote:
Yes I tried Ubuntu Core, but the kernel is very outdated. I would love to have more control over the process, and everything is open source, so it should be doable.

Do you have any hints on which kernel options are necessary to get WiFi working? I started from the nanopi_neo config from buildroot which in fact uses the sunxi_defconfig for initial kernel preparation. But there are no (!) wifi options set. I manually added general wifi support etc, but the device doesn't show up.



You know the OS contains two things, The kernel and the rootfs. I mean the rootfs "Ubuntu Core" we provided is from the official Ubuntu Core binary, we didn't compile it ever. But you can compile the kernel completely, it's open source. Just following the wiki instruction step by step. Most of drivers and its source code are in the kernel.

This current version kernel is from Allwinner, we don't want to upgrade it if we have not tested it completely. If so, all the accessories (we provided) drivers must be checked one by one. It will be a big project.

We don't check the third software and code for user, we have spent on too much time on our kernel and software, and provide a decent BSP. Please understand.

Thank you

Mindee
trusch wrote:
Yes I tried Ubuntu Core, but the kernel is very outdated. I would love to have more control over the process, and everything is open source, so it should be doable.

Do you have any hints on which kernel options are necessary to get WiFi working? I started from the nanopi_neo config from buildroot which in fact uses the sunxi_defconfig for initial kernel preparation. But there are no (!) wifi options set. I manually added general wifi support etc, but the device doesn't show up.

Any success with that (NanoPi Air + Buildroot) ?

Who is online

In total there are 7 users online :: 0 registered, 0 hidden and 7 guests (based on users active over the past 5 minutes)
Most users ever online was 825 on Wed Aug 28, 2019 3:18 pm

Users browsing this forum: No registered users and 7 guests