OESF | ELSI | pdaXrom | OpenZaurus | Zaurus Themes | Community Links | Ibiblio

IPB

Welcome Guest ( Log In | Register )

2 Pages V  < 1 2  
Reply to this topicStart new topic
> Angstrom And Dm9601 Module
Capn_Fish
post Dec 15 2008, 02:24 PM
Post #16





Group: Members
Posts: 2,350
Joined: 30-July 06
Member No.: 10,575



I think it's patched for packet injection by default. You should be able to enable download support by editing either the module Bitbake file or the default kernel config (I'm not sure where that is off the top of my head, but it's fairly easy to find, linux-2.6.x/defconfig.DEVICE or something, perhaps).
Go to the top of the page
 
+Quote Post
Hacdan
post Dec 17 2008, 07:20 PM
Post #17





Group: Members
Posts: 15
Joined: 3-January 08
Member No.: 21,151



Just a quick question, I have everything setup and it is telling me gcc cannot compile. I don't have the exact error code due to dealing with a family situation at the moment. I was just wondering if anyone else was having trouble to get gcc compiled. It's for akita. Thanks again
Go to the top of the page
 
+Quote Post
Capn_Fish
post Dec 18 2008, 04:42 AM
Post #18





Group: Members
Posts: 2,350
Joined: 30-July 06
Member No.: 10,575



In my experience "gcc cannot create executables" means that you've got bad options set somewhere (like trying to do -march=iwmmxt when it doesn't support it). I don't know if you did anything like that, but it's something to look into.

Also, can you build other packages?
Go to the top of the page
 
+Quote Post
Hacdan
post Dec 18 2008, 06:39 PM
Post #19





Group: Members
Posts: 15
Joined: 3-January 08
Member No.: 21,151



QUOTE(Capn_Fish @ Dec 18 2008, 07:42 AM) *
In my experience "gcc cannot create executables" means that you've got bad options set somewhere (like trying to do -march=iwmmxt when it doesn't support it). I don't know if you did anything like that, but it's something to look into.

Also, can you build other packages?


No, it seems as if it needs to compile gcc for arm before it can compile any other packages? That is where it has failed every time is at gcc.

Here's the error I've been getting:
dave@Ubuntu-VM:~/oe/org.openembedded.stable/packages/hostap$ bitbake hostap-modules
NOTE: Handling BitBake files: \ (4976/4976) [100 %]
NOTE: Parsing finished. 4750 cached, 0 parsed, 226 skipped, 0 masked.
NOTE: build 200811272340: started

OE Build Configuration:
BB_VERSION = "1.8.10"
OE_REVISION = "<unknown>"
TARGET_ARCH = "arm"
TARGET_OS = "linux-gnueabi"
MACHINE = "akita"
DISTRO = "angstrom"
DISTRO_VERSION = "2007.12-r19"
TARGET_FPU = "soft"

NOTE: Resolving any missing task queue dependencies
NOTE: preferred version 2.5 of glibc not available (for item virtual/arm-angstrom-linux-gnueabi-libc-for-gcc)
NOTE: Preparing runqueue
NOTE: Executing runqueue
NOTE: Running task 140 of 322 (ID: 293, /oe/org.openembedded.stable/packages/gcc/gcc-native_3.4.4.bb, do_compile)
NOTE: Running task 148 of 322 (ID: 121, /oe/org.openembedded.stable/packages/linux-libc-headers/linux-libc-headers_2.6.20.bb, do_patch)
NOTE: package gcc-native-3.4.4: started
NOTE: package gcc-native-3.4.4-r7: task do_compile: started
NOTE: package linux-libc-headers-2.6.20: started
NOTE: package linux-libc-headers-2.6.20-r9: task do_patch: started
NOTE: package linux-libc-headers-2.6.20-r9: task do_patch: completed
NOTE: package linux-libc-headers-2.6.20: completed
NOTE: Running task 149 of 322 (ID: 118, /oe/org.openembedded.stable/packages/linux-libc-headers/linux-libc-headers_2.6.20.bb, do_configure)
NOTE: package linux-libc-headers-2.6.20: started
NOTE: package linux-libc-headers-2.6.20-r9: task do_configure: started
ERROR: function do_compile failed
ERROR: see log in /oe/angstrom-stable//work/i686-linux/gcc-native-3.4.4-r7/temp/log.do_compile.6144
NOTE: Task failed: /oe/angstrom-stable//work/i686-linux/gcc-native-3.4.4-r7/temp/log.do_compile.6144
NOTE: package gcc-native-3.4.4-r7: task do_compile: failed
ERROR: TaskFailed event exception, aborting
NOTE: package gcc-native-3.4.4: failed
ERROR: Build of /oe/org.openembedded.stable/packages/gcc/gcc-native_3.4.4.bb do_compile failed
ERROR: Task 293 (/oe/org.openembedded.stable/packages/gcc/gcc-native_3.4.4.bb, do_compile) failed
NOTE: Waiting for 1 active tasks to finish
NOTE: 1: /oe/org.openembedded.stable/packages/linux-libc-headers/linux-libc-headers_2.6.20.bb, do_configure (6291)
NOTE: package linux-libc-headers-2.6.20-r9: task do_configure: completed
NOTE: package linux-libc-headers-2.6.20: completed
NOTE: Tasks Summary: Attempted 147 tasks of which 146 didn't need to be rerun and 1 failed.
ERROR: '/oe/org.openembedded.stable/packages/gcc/gcc-native_3.4.4.bb' failed
Go to the top of the page
 
+Quote Post
ant
post Dec 19 2008, 05:57 AM
Post #20





Group: Members
Posts: 163
Joined: 11-March 04
From: IT
Member No.: 2,270



>dave@Ubuntu-VM:~/oe/org.openembedded.stable/packages/hostap$ bitbake hostap-modules

Ah, you're using ubuntu...

http://www.mail-archive.com/devel@lists.op...g/msg03391.html

Second thing, don't use 'dash' as shell. Some recipes are broken (gtk+ etc.) so you need 'bash' to compile properly.



About the topic, to compile the module you just edit the kernel defconfig and add:

CONFIG_USB_NET_DM9601=m

Ant
Go to the top of the page
 
+Quote Post
Capn_Fish
post Dec 19 2008, 11:43 AM
Post #21





Group: Members
Posts: 2,350
Joined: 30-July 06
Member No.: 10,575



If you're using Ubuntu 8.10, the normal GCC doesn't really work. I had to use GCC 4.2 and co to get the environment to build OK.

EDIT: Oh, and Qemu (which is apparently necessary) doesn't really build with GCC 4.x, so I just installed the binary version from the Qemu website (you DO need to do a "touch /path/to/qemu.d_compile or whatever the stamp file is).
Go to the top of the page
 
+Quote Post
ant
post Dec 19 2008, 01:55 PM
Post #22





Group: Members
Posts: 163
Joined: 11-March 04
From: IT
Member No.: 2,270



In openembedded the default is to create glibc binary locales.
These can be created on the target (but 128mb are usually required...) or at buildtime using qemu.
But quemu does not build yet with gcc4...so to ease the things a bit, gcc-3.4x-native is built, just to successfully compile qemu.
This way, you don't need to install gcc3 on your buildhost! Presto!

Regards

Ant


P.S.
If it still fails, move to openembedded .dev branch
Go to the top of the page
 
+Quote Post
Hacdan
post Dec 20 2008, 03:32 PM
Post #23





Group: Members
Posts: 15
Joined: 3-January 08
Member No.: 21,151



I am very open to any other operating system suggestions as they are all running in a VM on my MacBook Pro, so if Fedora or openSuse or possibly Gentoo would be a better OS for compiling within, I'll gladly take the time to install and setup the environment. As for the suggestions I will be trying them once I get home. Currently still dealing with a family matter and probably will for the next few months. I'll try to check in with progress, though, as often as I can.
Go to the top of the page
 
+Quote Post
Hacdan
post Feb 8 2009, 08:08 PM
Post #24





Group: Members
Posts: 15
Joined: 3-January 08
Member No.: 21,151



I really hate to break down and ask, but out of frustration could someone possibly compile the hostap driver with download support for Angstrom 2007-12(?) Akita? Kernel version is 2.6.24. I am so frustrated with this and I'm pulling my hair out with bitbake trying to find how to change the correct files for download support. I can compile packages just fine, but finding the correct file to modify has been a struggle that I cannot seem to overcome at this point. I'm currently running pdaXrom r198 with Capn_Fish's modified kernel and I have no wlan0 interface, or any interface for that matter before or after installing his modified kernel(besides lo). I would like to get back to Angstrom, but this card still having the old firmware is causing quite the trouble. Thanks in advance for any advice or possibly a compiled hostap driver.

Go to the top of the page
 
+Quote Post
Capn_Fish
post Feb 9 2009, 03:03 PM
Post #25





Group: Members
Posts: 2,350
Joined: 30-July 06
Member No.: 10,575



QUOTE(Hacdan @ Feb 8 2009, 10:08 PM) *
I really hate to break down and ask, but out of frustration could someone possibly compile the hostap driver with download support for Angstrom 2007-12(?) Akita? Kernel version is 2.6.24. I am so frustrated with this and I'm pulling my hair out with bitbake trying to find how to change the correct files for download support. I can compile packages just fine, but finding the correct file to modify has been a struggle that I cannot seem to overcome at this point. I'm currently running pdaXrom r198 with Capn_Fish's modified kernel and I have no wlan0 interface, or any interface for that matter before or after installing his modified kernel(besides lo). I would like to get back to Angstrom, but this card still having the old firmware is causing quite the trouble. Thanks in advance for any advice or possibly a compiled hostap driver.

I might find time sometime, but my build box is currently buried...

Anyway, it SHOULD be as easy as changing the "akita.defconfig" or "defconfig.akita" (I can't remember which). The file is in the linux-rp-2.6.24 dir, IIRC. All you need to do is open it, find the lines looking like "HOSTAP_FIRMWARE_DOWNLOAD is undefined" and change them to "HOSTAP_FIRMWARE_DOWNLOAD=y". It's pretty obvious, IIRC.

Hope that helps you.

It also occurred to me that you probably don't need to install my whole kernel, just the modules. They worked for me, so I also might try redownloading them.

Hope that helps you.
Go to the top of the page
 
+Quote Post
Hacdan
post Feb 9 2009, 03:46 PM
Post #26





Group: Members
Posts: 15
Joined: 3-January 08
Member No.: 21,151



Thank you so much. I would really like to know where the documentation on how to do such things as you mentioned above. I could not seem to find it on the Angstrom Wiki or on OpenEmbedded. I suppose I do not know exactly what I'm looking for, but I did look.

I got everything compiled, works like a charm. Card is up to date. Now the new problem, packet injection is not working for me. I saw that you(Capn_Fish) were having the same problem on the mail list for Angstrom, but somehow you solved it. The "solution" never made it to the mailing list, at least not in the archives I was looking at. I was wondering if you could offer any insight, or anyone else for that matter. Thanks again! Finally wpa working with my Z. =)

**EDIT** I don't know what I did to get packet injection working, but it is. I upgraded to a later version of Aircrack-ng and Voila. Thanks for all the help from everyone that has taken part in this thread. Happy WEP cracking I go. Maybe even WPA. My 63 Character Key should make the Z sweat a lil. Thanks again!
Go to the top of the page
 
+Quote Post

2 Pages V  < 1 2
Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

 



RSS Lo-Fi Version Time is now: 26th November 2014 - 12:51 AM