unable to get A13-SOM-WIFI wifi part working

Started by dev.homeye, July 25, 2014, 11:58:00 AM

Previous topic - Next topic

dev.homeye

Hi,
I'm new here.
I've tried to have wifi working without succees.
I've tested with the provided image no wireless device found.
I've build a kernel from scratch, same result.

Did any one managed to have this working ?
Could you point me to either a working image or some tips to have this wotking?

Thanks

Lurch

It's probably not the image that's a problem.
You should boot up and use a connected USB-Serial converter to see what's happening.
Try the ifconfig command to see what wlan you need, then edit /etc/network/interfaces to make sure that that wlan is enabled (where wlanx is the one shown by ifconfig):
auto lo
iface lo inet loopback

#auto eth1
iface eth1 inet dhcp

auto wlanx
iface wlanx inet dhcp
wpa-ssid
wpa-psk

dev.homeye

Thanks for answering.

I don't have any wlanX device.
below is result of ifconfig -a

lo        Link encap:Local Loopback
          inet addr:127.0.0.1  Mask:255.0.0.0
          UP LOOPBACK RUNNING  MTU:16436  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)

tunl0     Link encap:IPIP Tunnel  HWaddr
          NOARP  MTU:1480  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)


in case it could help the result of lsmod

Module                  Size  Used by
sun4i_keyboard          2134  0
pwm_sunxi               9239  0
sunxi_codec            24357  0
sunxi_cedar_mod         9665  0
gpio_sunxi              8840  1
8192cu                452650  0
mali                  108615  0
ump                    32452  1 mali


any idea of what's wrong ?

seulater

I just received my A13-SOM and Expansion board. I cannot get Wi-Fi to work wither. It does not even show up

root@a13-OLinuXino-Micro-SOM:~# ifconfig
lo        Link encap:Local Loopback
          inet addr:127.0.0.1  Mask:255.0.0.0
          UP LOOPBACK RUNNING  MTU:16436  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)

root@a13-OLinuXino-Micro-SOM:~#

jlucius

I did not have a look at the A13-Wifi, but it has a Realtek Chipset and these sometimes need a binary driver file.

Have a look at the output of "dmesg" and look for an error message complaining about a .bin file missing.

That would explain the Wifi not working

Deulis

I don't know if what is happening to you is that:
I bought two A13-SOM-WIFI and I cannot use the wifi modules because these get very hot and stop working. This is not a problem for me because I don't need to use them but I think that Olimex have to do something about.

I think the problem is the heat dissipation because when I used a fan to cool the module it back to work.
The A13-OlinuXino-WIFI have the same module but in the A13-OlinuXino-WIFI it has another PCB to adapt it and the module can transfer heat to this PCB very well but in the A13-SOM-WIFI version there is not any thermal contact between the module and PCB. I live in Brazil where the environment temperature is over 25 celsius degree almost all the time.

paganelle

I also can confirm this problem. It isn't  the software problem, definitely,
because the same chip in the usb dongle works OK. I'm going to attach a heatsink
to the chip and I hope it helps....  :)

lazerdye

I'm also seeing this problem, with the A13-SOM-WIFI-4GB attached, I don't see any wifi devices:

root@a13-OLinuXino-Micro-SOM:~# iwconfig
lo        no wireless extensions.

tunl0     no wireless extensions.

The only related info I see in the logs is this:

[info] Loading kernel module 8192cu.
ERR: script_parser_fetch usb_controller_type failed
<6>usbcore: registered new interface driver rtl8192cu

But one thing I noticed is it doesn't seem to boot right away, it drops into uboot, and I type "boot" to start the operating system. Could it be not properly reading the script.bin file?

ciw

#8
Hello!

The wifi does not work for me either and NAND flash.
FET2 in the circuit diagram is not mounted on the panel.

I wrote to the supprot email address, but could not respond.
My message to support was:
"I have an A13-SOM-256 and an A13-SOM-WIFI-4GB.

My questions is:
- How i init or use the on board WIFI module?
- How i mount the on board NAND flash?
- If i compile the new kernel, i not found the /out/firmware directory only the modules directory. (i use these link to compiling). I need the /out/firmware?

- You can send me a user manual?
- In the script.bin machine = "A13-EVB-V1.0" it is goot for SOM module?
-In the script bin what mean this line: lcd_io_cfg0 = 268435456 ?"

What do I do now so these modules?
Of course there is no user manual.

How you can learn from such a man even if the device is not a good demo?

Olimex Pff.

JohnS

#9
The main pages say the User Manual is a work in progress.  You won't like to be told that when you decided to buy the boards even with that already stated maybe you should have waited if you wanted the User Manual?

If I buy a board like that then I accept my own responsibility to find how to cope (or wait).

What you can do is compare schematic with the other A13 boards and see not huge differences then also use the User Manual(s) for those other boards with the changes in mind.  There are articles about software and building kernels etc so this does not look like anything difficult really.

If you don't like this then I suggest you buy the A13 WIFI board that already DOES have the manual.  I have that board and it works well.

BTW, Linux / Android init the module.  What more do you need?  The driver code (for Linux) is open source...

John

ciw

#10
I'm a beginner in linux modules.
I'd like to work in wifi module.
If FET2 not mounted, not get the WIFI power.

This is my boot messages:
[....] Setting kernel variables ...done.
[....] Configuring network interfaces...wpa_supplicant: /sbin/wpa_supplicant daemon failed to start
run-parts: /etc/network/if-pre-up.d/wpasupplicant exited with return code 1
Internet Systems Consortium DHCP Client 4.2.2
Copyright 2004-2011 Internet Systems Consortium.
All rights reserved.
For info, please visit https://www.isc.org/software/dhcp/

Cannot find device "wlan3"
Bind socket to interface: No such device
Failed to bring up wlan3.
done.
[....] Cleaning up temporary files.... ok