Hi,
Please could I know if there is usb wifi dongle support on DM814 processor?
I have tried connecting Buffalo wifi dongle "WLI-UC-GN", but dont see it been detected as a network link. It requires the driver "rt2870sta" which is see is not there in DM814X by default.
I have downloaded the usb rta2870 linux driver from http://www.ralinktech.com/en/04_support/support.php?sn=501 but it does not support dm814x platform.
Please could you provide me inputs if rta2870sta driver support is available for dm814x platform or let me know if any other usb wifi dongle with appropriate driver that could provide the need.
Regards,Rohini
You can refer http://processors.wiki.ti.com/index.php/How_to_test_USB_wifi which is for DWA-125 using rt3070 driver from ralink.
Ajay
If my reply answers your question then please click on the green button "Verify Answer"
@Ajay : Thanks for the response.
I was able to build the kernel and driver rt2870sta.ko for DM814X. insmod of the driver is also successfull.
root@dm814x-evm:/# insmod rt2870sta.kortusb init --->usbcore: registered new interface driver rt2870
But still the ra0 link is not detected when ifconfig is given. On giving the below command error is seen.
root@dm814x-evm:/# ifconfig ra0 upifconfig: SIOCGIFFLAGS: No such device
Should there be separate package for wireless tools installed on DM814X? Any pointers would be helpful.
Thanks and Regards,
Rohini
I am able to see the wlan0 connection in the output of iwconfig but wlan fails to start and set an ip address.
IWCONFIG output
root@dm814x-evm:/usr/local/sbin/sbin# ./iwconfig
lo no wireless extensions.
eth0 no wireless extensions.
wlan0 IEEE 802.11bgn ESSID:off/any
Mode:Managed Access Point: Not-Associated Tx-Power=0 dBm
Retry long limit:7 RTS thr:off Fragment thr:off
Encryption key:off
Power Management:on
IFCONFIG output
root@dm814x-evm:/usr/local/sbin/sbin# ifconfig
eth0 Link encap:Ethernet HWaddr 40:5F:C2:3E:BD:A0
inet addr:10.1.115.42 Bcast:10.255.255.255 Mask:255.0.0.0
UP BROADCAST RUNNING ALLMULTI MULTICAST MTU:1500 Metric:1
RX packets:10805 errors:0 dropped:582 overruns:0 frame:0
TX packets:7465 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:7841462 (7.4 MiB) TX bytes:1049788 (1.0 MiB)
Interrupt:40
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)
Start wlan -
root@dm814x-evm: # ifconfig wlan0 up
phy0 -> rt2x00lib_request_firmware: Error - Failed to request Firmware.
ifconfig: SIOCSIFFLAGS: No such file or directory
dmesg output -
usb 2-1.4: new high speed USB device using musb-hdrc and address 4usb 2-1.4: New USB device found, idVendor=0411, idProduct=015dusb 2-1.4: New USB device strings: Mfr=1, Product=2, SerialNumber=3usb 2-1.4: Product: 802.11 n WLANusb 2-1.4: Manufacturer: Ralinkusb 2-1.4: SerialNumber: 1.0PM: Adding info for usb:2-1.4PM: Adding info for usb:2-1.4:1.0PM: Adding info for No Bus:phy0ieee80211 phy0: Selected rate control algorithm 'minstrel_ht'PM: Adding info for No Bus:wlan0PM: Adding info for No Bus:ep_81PM: Adding info for No Bus:ep_01PM: Adding info for No Bus:ep_02PM: Adding info for No Bus:ep_03PM: Adding info for No Bus:ep_04PM: Adding info for No Bus:ep_05PM: Adding info for No Bus:ep_06PM: Adding info for No Bus:usbdev2.4PM: Adding info for No Bus:ep_00PM: Adding info for No Bus:2-1.4:1.0PM: Removing info for No Bus:2-1.4:1.0phy0 -> rt2x00lib_request_firmware: Error - Failed to request Firmware.
Since the firmware updation needs to be done for the dongle, please could anyone provide me pointers on how to go about this in updating the rt2870.bin file.
Any other pointers would be helpful.
Rohini,
You may want to see README in wifi driver and see there will be instruction on copying .bin to /etc/Wireless/rtxxxx/
Ajay,
The driver is built as part of the kernel (statically). I have download the rt2870.bin file and copied to /lib/firmware (this dir wasnt there and its been created).
Still I see the same error. Any idea where the firmwares are loaded in DM814X? or if its loaded as part of the image itself?
Is the source code available to create rt2870.bin file for DM814X?
Regards,
rt2870 is ralink chipset driver and they can be downloaded from ralink.com page. You can follow the wiki link i posted earlier to compiel for driver.
Hi Ajay,
We're using rt3070 chipset on DM8168 but met some problrms, and I found the wiki page is not available, could you please post it on wiki again?
http://processors.wiki.ti.com/index.php/How_to_test_USB_wifi which is for DWA-125 using rt3070 driver from ralink
Thanks in advance.
Jed
Hello,
Jed ZHUI found the wiki page is not available, could you please post it on wiki again?
http://processors.wiki.ti.com/index.php/How_to_test_USB_wifi
Best Regards
Margarita
NOTE : Please click "Verify Answer" if this post has answered your question!