Bananian

mainline kernel - support for ap6210 will be missed

5 1143
dkl42  
Edited by dkl42 at Fri Nov 6, 2015 15:57

Hi,

after setup a new Banana Pro with a bananian 15.08 image the onboard wlan was been worked fine.

Then I switched to the mainline kernel 4.2.0 and have the problem, that the wlan driver don't been loaded.
If there any change to activate it again?

The steps which was been done by me:

- copy the given image to a fresh sd card
- boot from the card, config the system (BananaPro with OTG), update the system (apt-get update && apt-get upgrade)
- reboot
- config the wlan0 interface
- reboot
- check the wlan0 interface (and it was already connected to my local wlan!)
- update the kernel to mainline (apt-get install linux-image-4.2.0-...)
- reboot
- check the configuration with bananian-config, bananian-hardware and so on

And the wlan interface doesn't exist any more.

Who have an idea how I can activate the wlan0 interface again?

Thanks in advance
Dieter

igorpec  
Probably the driver is brcmfmac

dkl42  
Thanks for the remember, but thats not the point.

The first point which I don't understand is the given machine model. dmesg shown it as 'LeMaker Banana Pi' and not as the expected 'LeMaker Banana Pro'.

-> the kernel will be used the wrong dtb

After I overwrite the banana pi dtb with the given banana pro dtb, the name of the machine model name was changed to the correct one. And the brcmfmac was been loaded ... with some error messages.

brcmfmac: brcmf_sdio_htclk: HT Avail timeout (1000000): clkctl 0x50
brcmfmac: brcmf_sdio_htclk: HT Avail timeout (1000000): clkctl 0x50

How I can fix the machine model name without the hard way to overwrite the dtb?
And what are the next stepts to activate the wlan0 interface?

PS: with the patched dtb the brcmfmac and also the brcmfutil will be shown by lsmod

Thanks for your support.
Dieter

igorpec  
Automatic DTB is usually defined within u-boot but since some boards can share u-boot you need to fix uboot in boot script.

If you wan't to do it properly you need to build a dedicated u-boot or fix loading of proper DTB in boot script.

I am not aware of those error messages - i use different kernel and don't even own a Banana PRO. Only normal one and Cubietruck which has almost identical wireless chip.

Type iwconfig and your wlan0 adaptor should give you some extra info if properly initialized. If not, than there must be some troubles with kernel.

If everything is ok, use wlan0 the normal way.

dkl42  
Yes, that was the point. After I've change the entry in the boot.cmd the kernel was using the correct dtb.
  1. nano boot.cmd
  2. -> replace ${fdtfile} with "dtb/sun7i-a20-bananapro.dtb" (without the ")

  3. mkimage -C none -A arm -T script -d boot.cmd boot.scr
Copy the Code

The next step was the fix for the wlan connection. The generic driver for the brcmfmac is included, but the chip specific part will been missed.

It can be taken from the cubieboard.
  1. wget -O /lib/firmware/brcm/brcmfmac43362-sdio.txt http://dl.cubieboard.org/public/Cubieboard/benn/firmware/ap6210/nvram_ap6210.txt
Copy the Code

Now, after another reboot, the wlan connection can be configure and used.

Thanks for the help.

PS: On my way to the solution I've seen another image. "armbian". OK, the hardware detection must be done manually, too. But the wlan and UART ports works without patches. Maybe I should move ...

abc20180506
adidas yeezy boost
moncler outlet
air jordans
uggs
ferragamo shoes
coach factory outlet online
polo ralph lauren outlet online
louis vuitton
coach outlet store
moncler coats
kate spade
puma shoes
ugg australia
kate spade outlet store
rolex watches
canada goose uk
kate spade outlet
pandora jewelry
coach factory outlet
yeezy boost 350
air jordan shoes
mulberry bags
ralph lauren uk
vans store
canada goose jackets uk
converse shoes
converse outlet store
jordan shoes
north face outlet
air max 2018
moncler jackets
canada goose outlet
nike air max
pandora charms sale clearance
birkenstock
yeezy boost
coach outlet online
mlb jerseys
coach outlet
adidas outlet
mont blanc pens
ralph lauren sale clearance
coach outlet store
ray ban sunglasses discount
fitflops
coach outlet
mcm outlet
prada handbags
tods outlet
hermes outlet
nike store
cheap jordans free shipping
mbt shoes
pandora jewelry official site
michael kors outlet
kate spade outlet store
polo ralph lauren outlet online
polo ralph lauren outlet
nike free 4.0
polo ralph lauren outlet
coach factory outlet
cheap nike air max
coach outlet
canada goose outlet
polo outlet
hermes handbags
louis vuitton handbags
uggs canada
adidas yeezy
kate spade outlet
adidas shoes
ugg boots on sale
polo ralph lauren outlet
oakley sunglasses
nike zoom
tory burch outlet online
coach outlet
mulberry handbags
pandora jewelry official site
nike huarache
ray ban sunglasses
pandora
nike outlet store
adidas yeezy
new balance shoes
cheap nfl jerseys
adidas superstar
jordan shoes
adidas nmd
nike outlet
birkenstock outlet
canada goose
canada goose sale
supreme clothing
louboutin shoes
ralph lauren sale
ralph lauren outlet
kobe bryant shoes
timberland outlet
coach outlet
michael kors outlet canada
louis vuitton outlet
nike shoes
pandora jewelry
nike outlet online
cheap jordan shoes
nmd adidas
rolex watches
fitflops
adidas yeezy
michael kors outlet
philipp plein outlet
yeezy boost
nike free run
uggs
tory burch outlet store
hermes bags
kevin durant shoes
pandora jewelry outlet
air max 97
christian louboutin outlet
coach outlet store
coach outlet
pandora outlet
pandora charms
coach factorty outlet
pandora jewelry
coach outlet
supreme clothing
ralph lauren outlet
abc20180506

You have to log in before you can reply Login | Sign Up

Points Rules