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. xmpp code

can u send a copy of the code at my email id too. Presently, i have
installed Android 2.2 in eclipse but i could not find a smack api in
it. i could download smack jar file separately. can u help me in
running xmpp in my present environment

Thanx,
Nikhil

-- 

2. Need help with ACTION_SEND Intent usage

Hello, I have searched for sample code related to this and tried what
I found, but so far nothing is working. I am new to Android
Development and the Eclipse environment, which is giving me some
trouble since I don't know all of the correct terminology to search.

I have an Intent Filter in my manifest that looks like this:

        <activity android:name=".usebrowserlink"
                  android:label="@string/app_name">
            <intent-filter>
                <action android:name="android.intent.action.SEND" />
                        <category 
android:name="android.intent.category.DEFAULT" />
                        <data android:mimeType="text/*" />
            </intent-filter>
        </activity>

(I've also tried the text/plain mime type)

In my onCreate event, I attempt to get the data from the application
that created the intent (this one occurs when the user selects "Share
Page" in the browser and I'm trying to get the URL):

        Intent intent = this.getIntent();
        String intentData = intent.getDataString();

I have tried several variations, but the intentData string is always
null when I use it later in the code.

The intent filter and action are both working (my app shows up in the
list when the user clicks to sharea a page from the browser, and the
code in my file runs when it is selected), but I can't seem to
retrieve the URL or any other data from the browser page that is being
"Shared".

Any help is appreciated!

Thanks!
Renee

-- 

3. Is there something wrong with the DatePicker and TimePicker?

4. Opening strings.xml file in eclipse gives java.lang.NullPointerException

5. How to get rid of the hello world output from a new project?

6. Designing and Implementing Android App Idea

7. I couldn't find OTA implementation.