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. Problem in device detection in SuSE

Hi,

I am using openSUSE 10.3 (X86-64).

When I connect my ADP1 through usb and run the command "adb devices",
in the "List of devices attached", it does not show my phone.

I have tried the instructions given for Ubuntu in the developers'
website:
++++++++++++++++++++++++++
If you're developing on Ubuntu Linux, you need to add a rules file:

   1. Login as root and create this file: /etc/udev/rules.d/50-
android.rules.

      For Gusty/Hardy, edit the file to read:
      SUBSYSTEM=="usb", SYSFS{idVendor}=="0bb4", MODE="0666"

      For Dapper, edit the file to read:
      SUBSYSTEM=="usb_device", SYSFS{idVendor}=="0bb4", MODE="0666"
   2. Now execute:
      chmod a+rx /etc/udev/rules.d/50-android.rules
++++++++++++++++++++++++++

But, none of the steps mentioned in 1 is helpful in this context.

Can somebody help me out to make it work under SuSE?

Thanks,
Rahul

--~--~---------~--~----~------------~-------~--~----~

2. Default location of AVD files in Vista - not C:\Users\<user>\.android

I just created a new AVD and noticed the .android folder was placed at
D:\.android instead of the documented location. Then when I run the
emulator using this AVD, the emulator cannot find it and so fails to
run.

I assume this is because I have changed the location of the standard
user folders (Desktop, Downloads, Documents etc) - i.e. right click on
the Documents folder and then click on the Location tab etc

So, for example, my desktop is stored at D:\Desktop instead of C:\Users
\<user>\Desktop.

I've tried moving the .android folder back to the Users location with
limited success. First I had to edit the .ini file to point to the new
location. However, when starting the emulator I get an exception about
being unable to read/load the preferences. The emulator continues to
start up but never progresses beyond the Android logo screen. Oh, BTW
I'm using 1.5r2.

So, in short, the default location for when creating an AVD is not the
same as the default location used by the emulator when retrieving the
AVD.
--~--~---------~--~----~------------~-------~--~----~

3. Releasing a Demo App from Paid App. Need to fork code? How do accomplish?

4. Problem in identifying which widget click is launching the activity?

5. GSM Modem

6. noser android comments??

7. Volume Button Broadcast?