rt2x00.serialmonkey.com

Support forum for the rt2x00 project
It is currently Wed May 22, 2013 7:54 pm

All times are UTC


Forum rules


Important: Read Project restructuring announcement regarding the pending removal of the legacy drivers from this project.



Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 12 posts ] 
Author Message
PostPosted: Thu Jul 31, 2008 9:33 am 
Offline

Joined: Thu Jul 31, 2008 7:21 am
Posts: 4
I have a arm9 platform(s3c2410) with linux kernel 2.4.18 -rlmk7 which is cross compiled by arm-linux-gcc 2.95.3. Now i have to have my wireless USB adapter work on this arm board. I tried to download the source packet RT73_Linux_STA_Drv1.0.3.6 & RT73_Linux_STA_Drv1.0.4.0, and to cross compile them by the toolchain. Every time there are no correct results.
Besides I downloaded the newest CVS rt73-cvs-2008072903. I also crosscompiled it without correct results.
Can any one here tell me where is not set right or what should i do to work it out? Your help is greatly appreciated!
here is the Makefile script, the Configure file and the compile results ( RT73_Linux_STA_Drv1.0.4.0):


Last edited by peterhu on Thu Jul 31, 2008 12:43 pm, edited 1 time in total.

Top
 Profile  
 
PostPosted: Thu Jul 31, 2008 9:46 am 
Offline
Site Admin

Joined: Sun Jun 05, 2005 1:01 pm
Posts: 5905
Location: Haarlem, The Netherlands
peterhu wrote:
RT73_Linux_STA_Drv1.0.3.6 & RT73_Linux_STA_Drv1.0.4.0


As mentioned in countless other topics (and apparently is a very surprising and shocking news for users):
We only support drivers released by this project.

Either download the driver from our website and if that driver fails too raise a support request here, or use a driver from a different website and ask support there.

_________________
Regards,
Ivo van Doorn
Project Administrator
http://rt2x00.serialmonkey.com


Top
 Profile  
 
PostPosted: Thu Jul 31, 2008 12:05 pm 
Offline

Joined: Thu Jul 31, 2008 7:21 am
Posts: 4
Really sorry for the mistake!
OK, go straightly to the point.
I have tried the newly CVS downloaded from here too. It's rt73-cvs-2008072903. I think i have rendered the correct command. I am wondering where is it not wright. Below are the results:
(BTW: The kernel version on the targetboard is linux 2.4.18-rmk7-pxa1, and the toolchain is arm-linux-gcc 2.95.3)

[root@localhost root]# cd /root/rt73-cvs-2008072903/Module
[root@localhost Module]# make KERNDIR=/root/EBD2410 PATCHLEVEL=4 arm
make[1]: Entering directory `/root/EBD2410'
scripts/split-include include/linux/autoconf.h include/config
make -C /root/rt73-cvs-2008072903/Module CFLAGS="-D__KERNEL__ -I/root/EBD2410/i
nclude -Wall -Wstrict-prototypes -Wno-trigraphs -Os -mapcs -fno-strict-aliasing
-fno-common -fno-common -pipe -mapcs-32 -march=armv4 -mtune=arm9tdmi -mshort-loa
d-bytes -msoft-float -DMODULE" MAKING_MODULES=1 modules
make[2]: Entering directory `/root/rt73-cvs-2008072903/Module'
/usr/local/arm/2.95.3/bin/arm-linux-gcc -D__KERNEL__ -I/root/EBD2410/include -Wa
ll -Wstrict-prototypes -Wno-trigraphs -Os -mapcs -fno-strict-aliasing -fno-commo
n -fno-common -pipe -mapcs-32 -march=armv4 -mtune=arm9tdmi -mshort-load-bytes -m
soft-float -DMODULE -I. -DAGGREGATION_SUPPORT -DWMM_SUPPORT -DRTMP_EMBEDDED -DK
BUILD_BASENAME=rtmp_main -c -o rtmp_main.o rtmp_main.c
In file included from rtmp_main.c:36:
rt_config.h:93: linux/firmware.h: No such file or directory
In file included from rt_config.h:202,
from rtmp_main.c:36:
rtmp.h:715: warning: unnamed struct/union that defines no instances
rtmp_main.c: In function `usb_rtusb_init':
rtmp_main.c:2287: `FIRMWARE_NAME_MAX' undeclared (first use in this function)
rtmp_main.c:2287: (Each undeclared identifier is reported only once
rtmp_main.c:2287: for each function it appears in.)
make[2]: *** [rtmp_main.o] Error 1
make[2]: Leaving directory `/root/rt73-cvs-2008072903/Module'
make[1]: *** [_mod_/root/rt73-cvs-2008072903/Module] Error 2
make[1]: Leaving directory `/root/EBD2410'
rt73.o failed to build!
make: *** [arm] Error 1
[root@localhost Module]#

Thanks by the way!


Top
 Profile  
 
PostPosted: Thu Jul 31, 2008 5:38 pm 
Offline

Joined: Sun Jun 26, 2005 10:26 am
Posts: 1685
Location: Marseille, France
Hello,
Is there any firmware loading mechanism compiled in your kernel? Then, you'll also need the relevant user-level tools, such as hotplug or udev (though I'm not sure if that last one can be used with 2.4 kernels).

Regards,
Romain

_________________
RutilT developer


Top
 Profile  
 
PostPosted: Thu Jul 31, 2008 8:32 pm 
Offline
User avatar

Joined: Sat Jan 14, 2006 6:29 pm
Posts: 897
Location: Carlsbad, California
peterhu:

Assuming your kernel sources are properly installed, then your compiler may be too old.

If you upgrade your compiler, you may find you need to also install this kernel patch: http://www.kernel.org/pub/linux/devel/binutils/linux-2.4-seg-4.patch
in order to get a clean compile.

_________________
Yr Hmbl Obt Svt & c
Bryan - In favor of Big Oil. Big fan of General Grievous.


Top
 Profile  
 
PostPosted: Fri Aug 01, 2008 12:17 am 
Offline

Joined: Thu Jul 31, 2008 7:21 am
Posts: 4
Firstly,thanks for your advice.
However, i have no better choice than compiling the source code by this arm-linux-gcc 2.95.3. For the kernel codes and other programs are all crosscompiled by this toolchain.
Do you have any method to solve the problem instead of upgrading the gcc version of the cross compiler?
Thanks
peterhu


Top
 Profile  
 
PostPosted: Fri Aug 01, 2008 1:05 am 
Offline
User avatar

Joined: Sat Jan 14, 2006 6:29 pm
Posts: 897
Location: Carlsbad, California
Hi peterhu,

As long as your kernel sources are installed correctly, then I'm afraid not. Time moves on and code is added to our and other drivers that depends on recent versions of gcc to compile correctly. Resources to do downrev builds simply do not exist.

The most straightforward course I can see is to apply the kernel patch, upgrade your compiler, and rebuild the whole kernel.

If you really want a version of the driver that will build under gcc 2.95, I will do so on a fee basis. Post me a private message with your contact info, and we'll take it from there offline to the forum.

Thanks,

_________________
Yr Hmbl Obt Svt & c
Bryan - In favor of Big Oil. Big fan of General Grievous.


Top
 Profile  
 
PostPosted: Fri Aug 01, 2008 1:54 pm 
Offline

Joined: Thu Jul 31, 2008 7:21 am
Posts: 4
hi,guys, i have got the rt73.o and when i entered "insmod rt73.o" in the terminal, it gave a message like this:
rt73.o unresolved symbol wireless_send_event
what does this mean?
Regards.
peterhu


Top
 Profile  
 
PostPosted: Fri Aug 01, 2008 3:38 pm 
Offline
Site Admin

Joined: Sun Jun 05, 2005 1:01 pm
Posts: 5905
Location: Haarlem, The Netherlands
That you must enabled wireless support (wireless extensions) in your kernel.

_________________
Regards,
Ivo van Doorn
Project Administrator
http://rt2x00.serialmonkey.com


Top
 Profile  
 
PostPosted: Mon Oct 13, 2008 7:06 pm 
Offline

Joined: Mon Oct 13, 2008 6:55 pm
Posts: 2
hi there Vern, you wrote:

Quote:
If you really want a version of the driver that will build under gcc 2.95, I will do so on a fee basis. Post me a private message with your contact info, and we'll take it from there offline to the forum.

Thanks,



Seeing as your in a good mood for payment , I would like to pay you a great deal of money for you
to compile for me:

rt73.o

in ARM Code for kernel 2.4.20 to run on a Sharp SL-C1000

I have tried tirelessly like the others in here to do this myself, but have only managed to xcompile
the 2.4.20 kernel and create a zImage. If I try then to xcompile your rt73 code, I get a lot
of error messages.

please put me out of my misery and help me ! ARRGGGHH!


Top
 Profile  
 
PostPosted: Mon Oct 13, 2008 7:17 pm 
Offline

Joined: Mon Oct 13, 2008 6:55 pm
Posts: 2
peterhu , you wrote:

Quote:
hi,guys, i have got the rt73.o


what computer is this module for ? and what kernel version are you using ?

What is your toolchain ? and where did you get it from ?

Thanks for answering these ;-)


Top
 Profile  
 
PostPosted: Mon Oct 13, 2008 7:47 pm 
Offline
User avatar

Joined: Sat Jan 14, 2006 6:29 pm
Posts: 897
Location: Carlsbad, California
Hi boltblue,

Could you provide the compiler version you're using - e.g the output of "gcc -v"?

As I mentioned earlier, it's always preferable to use the latest version of the compiler. If you're using gcc 2.95 because later versions don't compile your kernel, there is a patch available from kernel.org for early 2.4 kernels that fixes that. So that is the preferred first step.

Also, can you try your compilation and attach a gzipped copy of the error messages to a posting here? e.g. Like this:
Code:
make clean all 2>errs
gzip errs
and attach errs.gz to your post.

Thanks,

_________________
Yr Hmbl Obt Svt & c
Bryan - In favor of Big Oil. Big fan of General Grievous.


Top
 Profile  
 
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 12 posts ] 

All times are UTC


Who is online

Users browsing this forum: No registered users and 0 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron
Powered by phpBB® Forum Software © phpBB Group