Hi.
many thanks to the people who answered on my compile-toolchain problem.
Special thanks to Arco, Erich and Ulf for valuable hints on how to
patch+build the sources.
I am happy to report that the toolchain now compiles on my Suse 10.0
with gcc downgraded to 3.3.1-29 (as in suse 9.0), flex downgraded to
2.5.4a-199 (as in suse 9.0) and bison downgraded to 1.875-51 (as in
suse 9.1).
I then re-upgraded all packages (and cpp+gcc-c++) to their
suse-10-defaults gcc 4.0.2, flex 2.5.4a-297, bison 1.875-56, and
compiled the toolchain again. This time it did NOT work, compiler-error
again, so apparently downgrading gcc does help.
Erich hinted that maybe the whole thing only compiles flawlessly with
gcc 2.95. I could not check that because I could not find a Suse old
enough
But I
think, he may be correct.
Erich also hinted to
1) make all file writeable (chmod -R a+w * in tools/).
2) edit gcc-2.95.3/gcc/config/arm/arm.c and change line 531 to read
arm_prgmode = TARGET_APCS_... instead of arm_prog_mode
I did these two things and recompiled (from scratch) with the suse 10.0
standard-versions of gcc/flex/bison into
installdir=/tmp/uclinux_tools_1.6.0.0, test only. Compiling worked.
One remark from me: When I change the configuration of my Linux, like
compiler-versions etc, I always (and quite often :-/) restart compiling
the toolchain from scratch, deleting tools/ and unpacking the achive
again. The build-process does quite a lot before actually compiling,
like rebuilding sources with flex/bison.
So only by complete recompiling can I be sure that the new config works.
Unfortunately I also have to say that compiling worked, but uploading
to the AP in all cases did not.
The sources for the AP-600 completely "bricked" the AP, the usual
"firmware exceeds flash size". I could recover it with the instructions
on Ruben Faelens site
http://www.student.kuleuven.ac.be/~s0169612/isl3893.html
using the minimal-image (
http://isl3893.sourceforge.net/download/firmware/siemens-wlanap600rp/apfw.minimal.img).
Thanks to Ruben and to the list-member who created the minimal-image. I
don't remember who that was, sorry
Then I had some fun bricking and unbricking the AP with some other
firmwares.
Unbricking usually worked using safe-mode (IP 192.0.2.93)
So I compiled the AP600-sources (see above), the sources for the
wet54gs5 (as suggested on Ruben's page) and the sources for the
wet54gv2 (as suggested on
http://www.seattlewireless.net/index.cgi/ISL3893)
Both wet-sources simply caused the AP to hang/reboot every 1 minute. No
harm done
simple tftp of another FW-image and the AP was up again.
Also I downloaded the firmware + sources of the sitecom WL-122-v1. The
original firmware-image works on my AP, but compiling the sources was
rather difficult, lots of missing softlinks, no apps-nongpl. Finally I
found a way to compile the image. But again: uploading just bricks the
AP, new "firmware exceeds flash size" and so on.
But at least one piece of good news: there is a standard firmware-image
with telnet enabled. It is for the ZCOM XG-2000 (identical to the AP600
and the MD40900, of course) and can be found on
http://www.178mobile.com/download.htm
, seek XG-2000. There are two version there, both work fine. Also there
is a webfilesset, in case you get "invalid web-filesystem". There is
also a link to the GPL-sources, but that leads to nirvana.com, so
apparently nobody has recently taken
ZCOM to court for GPL-violations.
BTW: The sitecom WL-122-v1-firmware is very similar to the XG-2000-FW,
telnet enabled too.
Telnet is nice for playing around with the webserver boa. It can easily
be reconfigured to download any file from the AP. I was hoping to use
it to upload files. That would help testing new applications (like
olsrd
http://olsr.org).
Also I tried to understand the mechanism by which the web-interface set
the radio. No luck here.
I am hoping to find a way to get the AP into Adhoc-mode. Reason: I
would like to use it as a "Freifunk"-node (
www.freifunk.net),
which is a network for public and free internet-access in a few german
cities. Berlin is the big leader concerning Freifunk, and in my
hometown we are just starting. That also is what the routing-protocol
olsr is for.
Stefan