Pandaboard Rev EA3 Wifi Issue

This forum is for topics dealing with problems with software specifically in the ARMv7h repo.

Pandaboard Rev EA3 Wifi Issue

Postby MrMathMo » Fri Oct 26, 2018 7:05 pm

Hello everyone,

I was recently given a pandaboard and decided to install arch on it.
I followed the instructions found here : https://archlinuxarm.org/platforms/armv7/ti/pandaboard
And also here https://www.digikey.com/eewiki/display/linuxonarm/PandaBoard
Everything is working well but I'm having issues to make the wifi work.

I tried loading the modules manually like so :
Code: Select all
insmod /usr/lib/modules/4.19.0-1-ARCH/kernel/net/rfkill/rfkill.ko.gz
insmod /usr/lib/modules/4.19.0-1-ARCH/kernel/net/mac80211/mac80211.ko.gz
insmod /usr/lib/modules/4.19.0-1-ARCH/kernel/net/wireless/cfg80211.ko.gz
insmod /usr/lib/modules/4.19.0-1-ARCH/kernel/drivers/net/wireless/ti/wlcore/wlcore.ko.gz
insmod /usr/lib/modules/4.19.0-1-ARCH/kernel/drivers/net/wireless/ti/wlcore/wlcore_sdio.ko.gz
insmod /usr/lib/modules/4.19.0-1-ARCH/kernel/drivers/net/wireless/ti/wl12xx/wl12xx.ko.gz


I found this page but it is for a older kernel that shows which modules to load.
http://omappedia.org/wiki/MAC802.11_based_Wilink#To_enable_WLAN_on_the_Panda_Board_Linux_Kernel_.28.3E.3D_v3.5.29

I'm not sure if i'm loading the right modules because when I try enabling the interface it says that it can't be found :
Code: Select all
ifconfig wlan0 up
wlan0: ERROR while getting interface flags: No such device


Anyone ever used those boards?

I know its old hardware but any help is appreciated

Thanks :)
Last edited by MrMathMo on Sat Oct 27, 2018 4:26 am, edited 2 times in total.
MrMathMo
 
Posts: 3
Joined: Fri Oct 26, 2018 5:30 pm

Re: Pandaboard Rev EA3 Wifi Issue

Postby TheSaint » Sat Oct 27, 2018 1:13 am

The instructions are telling that you need to recompile the kernel.
What it says
Code: Select all
$ ls /usr/lib/modules/$(uname -r)/kernel/drivers/net/wireless/ti/*
TheSaint
 
Posts: 242
Joined: Mon Jul 23, 2018 7:57 am

Re: Pandaboard Rev EA3 Wifi Issue

Postby MrMathMo » Sat Oct 27, 2018 4:25 am

Hi,

Yeah that what it seems like. It may need some specific kernel config. I installed an old pre-built ubuntu 12.04 image (on which the wifi works) to investigate and stumbled upon the kernel config file.

https://pastebin.com/JzW4VimP

I also found this :
https://github.com/TI-ECS/build-utilites/blob/master/wlan_enable_config.sh

The list of modules that the pre-built image is running :
Code: Select all
~# lsmod
Module                     Size    Used by
cpufreq_ondemand           7344    1
dm_crypt                  17776    0
wl12xx_sdio                4168    0
wl12xx                   153822    1 wl12xx_sdio
dm_multipath              17433    0
joydev                     9848    0
mac80211                 480412    1 wl12xx
rfcomm                    39016    0
bnep                      11629    2
bluetooth                169481    10 rfcomm,bnep
ppdev                      6632    0
lp                         8769    0
parport                   37018    2 ppdev,lp
cfg80211                 196495    2 wl12xx,mac80211
twl6040_vibra              4595    0
ff_memless                 4867    1 twl6040_vibra
leds_gpio                  3705    0
dm_raid45                 91275    0
xor                        5334    1 dm_raid45
dm_mirror                 14399    0
dm_region_hash            11375    1 dm_mirror
dm_log                    10737    3 dm_raid45,dm_mirror,dm_region_hash
btrfs                    718966    0
zlib_deflate              21183    1 btrfs
libcrc32c                  1337    1 btrfs
usbhid                    37887    0
hid                       74556    1 usbhid


I really wished I didn't have to build myself a custom kernel for it. Arch is such an awesome distro :)

We should move this thread to the hardware section since it is more kernel related.

Here's the output of what you requested :

Code: Select all
/usr/lib/modules/4.18.11-1-ARCH/kernel/drivers/net/wireless/ti/wl1251:
wl1251.ko.gz
wl1251_sdio.ko.gz
wl1251_spi.ko.gz

/usr/lib/modules/4.18.11-1-ARCH/kernel/drivers/net/wireless/ti/wl12xx:
wl12xx.ko.gz

/usr/lib/modules/4.18.11-1-ARCH/kernel/drivers/net/wireless/ti/wl18xx:
wl18xx.ko.gz

/usr/lib/modules/4.18.11-1-ARCH/kernel/drivers/net/wireless/ti/wlcore:
wlcore.ko.gz
wlcore_sdio.ko.gz
wlcore_spi.ko.gz


Best regards
Last edited by MrMathMo on Sat Oct 27, 2018 6:40 pm, edited 1 time in total.
MrMathMo
 
Posts: 3
Joined: Fri Oct 26, 2018 5:30 pm

Re: Pandaboard Rev EA3 Wifi Issue

Postby TheSaint » Sat Oct 27, 2018 2:41 pm

The modules are there. I can't understand where the lsmod is coming from. BTW post text, no images.
TheSaint
 
Posts: 242
Joined: Mon Jul 23, 2018 7:57 am

Re: Pandaboard Rev EA3 Wifi Issue

Postby MrMathMo » Fri Nov 02, 2018 1:19 am

Hi,

I recently spoke with the creator of this https://www.digikey.com/eewiki/display/linuxonarm/PandaBoard tutorial and he told me that on pre-ES pandaboards one of the 32 khz clocks needed to be be setup by u-boot and in the kernel in order for the wifi to work.

He linked me to this patch :
https://github.com/RobertCNelson/stable ... 6a80b7b1ae

I'll keep investigating and post an update if I make a breakthrough

Best regards
MrMathMo
 
Posts: 3
Joined: Fri Oct 26, 2018 5:30 pm


Return to ARMv7h

Who is online

Users browsing this forum: No registered users and 1 guest