Cannot on wifi in Android ported on BeagleBoard

by BiX » Tue, 25 Jan 2011 21:49:07 GMT


Sponsored Links
 I've successfully ported android 2.3 onto BB.
However wifi cannot be switched on and doing a netcfg shows that there
are only lo and USB, both which are down too.
I'm using a Belkin G Wireless Network Adapter which depends on rt73.
What I'm confused about is how do you compile the driver needed for
it.
rt73 created.
How are the folders "/system/lib/modules" and "/system/etc/firmware"
made?
Sorry for asking a lot of questions. I'm quite new to all these...
Can someone help me out with these issues?
Thanks.

-- 



Re: Cannot on wifi in Android ported on BeagleBoard

by Deva R » Wed, 26 Jan 2011 02:40:49 GMT


 [+beagle,rowboat list for support]

did u referred 
 http://www.projectkennel.com/wiki/index.php?title=Getting_Started_with_Android_for_your_BeagleBoard 
?
it have steps for donut (older), but if you follow similar steps,
should be ok i guess.

for latest code, you can get RT73 driver from RT site
 http://www.ralinktech.com/support.php?s=2 

it depends on what kernel you use,., and which defconfig you have
picked after that.,


do simple search like below, if you have RT73 support in your codebase.,

deva@deva-ubunt:/data/build/kernel_omap4/omap$ find . | grep -i rt73
./drivers/net/wireless/rt2x00/rt73usb.c
./drivers/net/wireless/rt2x00/rt73usb.h
deva@deva-ubunt:/data/build/kernel_omap4/omap$ grep -iR rt73 arch/arm/configs
arch/arm/configs/zeus_defconfig:CONFIG_RT73USB=m
deva@deva-ubunt:/data/build/kernel_omap4/omap$
deva@deva-ubunt:/data/build/kernel_omap4/omap$
deva@deva-ubunt:/data/build/kernel_omap4/omap$ grep -R CONFIG_RT73USB
./drivers/net/wireless/*
./drivers/net/wireless/rt2x00/Makefile:obj-$(CONFIG_RT73USB)
         += rt73usb.o


those were part of build and FS creation procedure.,
you can refer our steps at
 http://omappedia.org/wiki/WiLink_Connectivity_Project to get an 
overview of (drivers, usersidecode, configuration files, how to put in
file system, etc)






-- 
Regards,
Deva
www.bittoggler.com

-- 


Sponsored Links


Re: Cannot on wifi in Android ported on BeagleBoard

by BiX » Wed, 26 Jan 2011 21:49:46 GMT


 gt; did u 

Yes, I followed the build patches.
I have rt2x00 folder in my wireless but I don't know which one to
choose in menuconfig...


I've already encounter errors at Build WLAN Driver >_>
What am I supposed to link to regarding this 'export PATH=<path to
compiler>:$PATH'
I don't have arm-none-linux-gnueabi- so I downloaded it.
Nothing is compiled when I cd into '/system/wlan/ti/wilink_6_1/
platforms/os/linux' so I tried '/system/wlan/ti/sta_dk_4_0_4_32'
instead.
However, I get the following errors after some successful
compilations:
"""
/home/android/gingerbread/OHA-Android-2.3_r1.0/system/wlan/ti/
sta_dk_4_0_4_32/./pform/linux/src/esta_drv.c: In function
'tiwlan_sdio_probe':
/home/android/gingerbread/OHA-Android-2.3_r1.0/system/wlan/ti/
sta_dk_4_0_4_32/./pform/linux/src/esta_drv.c:1909: error: implicit
declaration of function 'MSM_GPIO_TO_INT'
make[2]: *** [/home/android/gingerbread/OHA-Android-2.3_r1.0/system/
wlan/ti/sta_dk_4_0_4_32/./pform/linux/src/esta_drv.o] Error 1
make[1]: *** [_module_/home/android/gingerbread/OHA-Android-2.3_r1.0/
system/wlan/ti/sta_dk_4_0_4_32] Error 2
make[1]: Leaving directory `/home/android/gingerbread/OHA-
Android-2.3_r1.0/kernel/beagleboard-ti'
make: *** [libestadrv.a] Error 2

Thanks!
"""

On Jan 26, 2:40am, Deva R <r.deva...@gmail.com> wrote:

--



Re: Cannot on wifi in Android ported on BeagleBoard

by BiX » Fri, 28 Jan 2011 22:56:02 GMT


 Ok... I could compile '/system/wlan/ti/wilink_6_1/platforms/os/linux'
after 'make prepare' in kernel but the compilation will stop with the
following errors:

"""
/home/android/gingerbread/OHA-Android-2.3_r1.0/system/wlan/ti/
wilink_6_1/platforms/os/linux/build/../../../../platforms/os/linux/src/
WlanDrvWext.c: In function 'wlanDrvWext_Init':
/home/android/gingerbread/OHA-Android-2.3_r1.0/system/wlan/ti/
wilink_6_1/platforms/os/linux/build/../../../../platforms/os/linux/src/
WlanDrvWext.c:150: error: 'struct net_device' has no member named
'wireless_handlers'
make[3]: *** [/home/android/gingerbread/OHA-Android-2.3_r1.0/system/
wlan/ti/wilink_6_1/platforms/os/linux/build/../../../../platforms/os/
linux/src/WlanDrvWext.o] Error 1
make[2]: *** [_module_/home/android/gingerbread/OHA-Android-2.3_r1.0/
system/wlan/ti/wilink_6_1/platforms/os/linux/build] Error 2
make[2]: Leaving directory `/home/android/gingerbread/OHA-
Android-2.3_r1.0/kernel/beagleboard-ti'
make[1]: *** [../../../../platforms/os/linux/build/tiwlan_drv_stub.o]
Error 2
make[1]: Leaving directory `/home/android/gingerbread/OHA-
Android-2.3_r1.0/system/wlan/ti/wilink_6_1/platforms/os/linux/build'
make: *** [../../../platforms/os/linux/build/tiwlan_drv_stub.o] Error
2
"""

I've check my /external/wpa_supplicant/.config,
'CONFIG_WIRELESS_EXT=y' and 'CONFIG_WIRELESS=y' are set.

-- 



Other Threads

1. Urgent response needed.

Unless google implements a way to track the force closings of
applications (maybe even phone specific) and has a market for flawless
programs and seperates the the ones which still need work, all of your
application ideas will be stolen by the competitors working for the
other OS's and as android takes off and the consumers feel the devices
are too bugged, android will die, your work and learnings will be for
nothing.


Anyone else agree?

-- 

2. spica gak bisa masuk home reboot terus, setelah dicoba pasangin JIT 8.1

hehehe
ya gitu deh klo ngeJIT, solusinya : cabut JIT


2010/6/10 Sony NY <sony...@gmail.com>

> 

3. - problem with onClick(

4. spica gak bisa masuk home reboot terus, setelah dicoba pasangin JIT 8.1

5. How can i vertically align items in RelativeLayout?

6. Android.view.InflateException: Binary XML file line #7

7. struct ip6_tnl_net? register_netdev(ip6n->fb_tnl_dev) failed?