3.4.103-2 for Cubietruck breaks wifi

This forum is for supported devices using an ARMv7 Allwinner SoC.

Re: 3.4.103-2 for Cubietruck breaks wifi

Postby krabat » Sun Jan 18, 2015 6:59 pm

Problem is fixed by module ap6210 that got introduced in 3.4.103-5 and has to be used instead of bcmdhd.
Regarding WLAN the module behaves the same as bcmdhd. In particular, it's using the same firmware and doesn't get auto-loaded.
Note that bmcdhd is still available in 3.4.103-5 and has to be prevented from loading on Cubietruck.
krabat
 
Posts: 57
Joined: Wed Jun 04, 2014 8:03 pm

Re: 3.4.103-2 for Cubietruck breaks wifi

Postby boo » Sun Feb 08, 2015 5:15 pm

I'm trying to load ap6210 module on 3.4.103-5 kernel, but got error:

$this->bbcode_second_pass_code('', '
modprobe -v ap6210
insmod /lib/modules/3.4.103-5-ARCH/kernel/drivers/net/wireless/ap6210/ap6210.ko.gz op_mode=2
modprobe: ERROR: could not insert 'ap6210': Operation not permitted
')

Can you, please, explain me, what I'm doing wrong?
Thank you.

UPD.: This is my dmesg after unsuccessfull loading module: https://gist.github.com/BooBSD/718333253a8165f37c89
boo
 
Posts: 2
Joined: Sun Feb 08, 2015 5:08 pm

Re: 3.4.103-2 for Cubietruck breaks wifi

Postby krabat » Sun Feb 08, 2015 8:04 pm

Arch Linux ARM is providing FEX binary files via U-Boot packages. Recent uboot-sunxi and all corresponding split packages such as uboot-cubietruck are using source files from github.com/linux-sunxi/sunxi-boards. It seems cubietruck.fex from this repo isn't playing nicely with module ap6210. At least this is what my findings on Cubietruck suggest, including the very same error message you reported. Didn't have time to look into this more thoroughly, unfortunately.

Problem doesn't seem to exist using the one from github.com/cubieboard/cubie_configs. You may want to download it, convert it into a script.bin by running
$this->bbcode_second_pass_code('', '
$ fexc -I fex -O bin cubietruck.fex script.bin
')(fexc provided by package sunxi-tools) and use script.bin you get that way instead of the one currently in /boot.
krabat
 
Posts: 57
Joined: Wed Jun 04, 2014 8:03 pm

Re: 3.4.103-2 for Cubietruck breaks wifi

Postby boo » Sun Feb 08, 2015 8:29 pm

It works! Thanks a lot!
boo
 
Posts: 2
Joined: Sun Feb 08, 2015 5:08 pm

Re: 3.4.103-2 for Cubietruck breaks wifi

Postby gcd0318 » Wed Feb 11, 2015 5:51 pm

hi,
I'm suffering the same problem in 3.4.103-5. I cannot get my wlan0 by ip addr. I also used this cubietruck.fex, and add ap6210 to modules-load.d. after these steps, I got wlan0 shown, but it cannot be set as up, even I run
$this->bbcode_second_pass_code('', 'sudo ip link set wlan0 up')
and got
$this->bbcode_second_pass_code('', 'RTNETLINK answers: Operation not permitted')

Could you please help? thanks
gcd0318
 
Posts: 15
Joined: Tue Feb 10, 2015 2:14 pm
Location: CHN

Previous

Return to Allwinner

Who is online

Users browsing this forum: No registered users and 9 guests