Help - Search - Members - Calendar
Full Version: Backtrack On An Sl-c1000
OESF Forums > Distros, Development, and Model Specific Forums > Everything Development > User Request for Applications
Allelectrix
Hi all,

I'm new to Linux, but learning stuff all the time...

was just wondering how difficult it would be to port all/most/majority of Backtrack
to the XScale ARM Machines SL-Cxx00 ?

has anyone thought about doing this ?

I would guess the firstmost consideration is storage space:

a) develop 4Gb SDIO driver for whatever kernel is chosen

then proceed with the creation of the software:

cool.gif choose a kernel 2.6 based ARM OS and install it
c) remove any excess software baggage from this install your not going to use
d) load cross-compiler environment into an x86 Machine running a distro like x86 SUSE.
e) load ARM GCC equivalent of your cross compiler to your destiantion Computer
f) setup kernel source tree on your destination computer
g) ARM patch and cross compile kernel for ARM and install on destination Computer
h) obtain all tarballs for all important programs running in the x86 CDROM version
and cross compile them for ARM, then IPK them ready for installation on destination Computer

As you can see, I have an idea of the process, but I dont know how to go about exactly doing this.

this would be ideal, as the Sharp Pocket Computers offer such a lot of portable power in such a small package ?

what say you good people ?



Capn_Fish
Or you could just install things like NMAP, Kismet, Wireshark, etc. and have the same thing under Debian, Angstrom, or pdaX.
Allelectrix
QUOTE(Capn_Fish @ Jul 12 2008, 02:41 PM) *
Or you could just install things like NMAP, Kismet, Wireshark, etc. and have the same thing under Debian, Angstrom, or pdaX.


on the x86 version, all USB Wifi functions work, that is, Ad-Hoc, Managed, Monitor + Injection and Master modes, further, the Web Browser is superb and
does not disappear after 30 seconds of use .

All we need now is a mini x86 Computer like an OQO 01+ and we can bootstrap this OS from a USB stick.

I have immensely enjoyed my travels with you and eviLjazz, you are both superb, but, if the USB Wifi issues cannot at least be resolved for
managed mode in my other threads, then I will be selling my SL-C1000, and saying farewell to you. my promises to you about you know what
are not forgotten and they will be kept too, I just need a little more time to sort that out, best wishes from me rolleyes.gif

Capn_Fish
I think Angstrom has the best chance of working for you. It DOES need a patched driver (which should be trivial to make, or, if you're OK with using an older kernel:

http://zaurus.aircrack-ng.org/akita/)

There's even a Bitbake file for it: http://gitweb.openembedded.net/?p=openembe...9c65008c3063c5b

After I get my build machine set up (again), I'll build it for you to test (Or, if you have a Linux box, you could do it faster).

EDIT: Never mind, that's the already-patched driver! All that needs to be done is to do a "bitbake rt73-k2wrlz" and we're good! I'll let you know when I get my box set up, or just pester me constantly until I get to it. wink.gif
Allelectrix
QUOTE(Capn_Fish @ Nov 18 2008, 04:04 AM) *
just pester me constantly until I get to it. wink.gif


LOL! biggrin.gif man, you REALLY rock ! smile.gif cool.gif I might just have to take you up on this offer ! lets hope we can get this issue sorted, it sure would be a
real kick ass WiFi feature to have good USB Wifi support in this PdaX OS !

1,000,000 Thanks !
Allelectrix
QUOTE(Capn_Fish @ Nov 18 2008, 04:04 AM) *
I think Angstrom has the best chance of working for you. It DOES need a patched driver (which should be trivial to make, or, if you're OK with using an older kernel:

http://zaurus.aircrack-ng.org/akita/


whats the exact OS version this code can work with ? you got an OS file that the above programs can work with ?

QUOTE


Bitbake ? whats that then ? sounds like you need to write a Tut for us greenheads, although my knowledge has grown immensely since we first
met, it sounds like there is still a lot you can teach me. Teach me all you know ! I Wannado !
QUOTE
After I get my build machine set up (again), I'll build it for you to test (Or, if you have a Linux box, you could do it faster).


WOW! nice offer, but, lets both build it together, ! as you do yours, tell me also what to do, so I can build mine too ! smile.gif I currently run Puppy on the
x86 as a HDD based writeable OS. I also have the Hardfloat Cross Compiler Environment and unified 2.4.20 kernel source code from eviLjazz there too.
QUOTE
EDIT: Never mind, that's the already-patched driver! All that needs to be done is to do a "bitbake rt73-k2wrlz" and we're good! I'll let you know when I get my box set up, or just pester me constantly until I get to it. wink.gif


Oh ? tell me all please !

catch you again !
Capn_Fish
It's quite easy. Follow the directions here:

http://www.angstrom-distribution.org/build...%A5ngstr%C3%B6m

And then, once everything is set up, just run "bitbake rt-whatever-the-name-is" and it builds that package for you. Just note that it takes a LONG time for the first package because it also builds the toolchain at that time.

Also know that I'm setting up my machine with OE/Bitbake already, so it's not really any extra work.
Allelectrix
QUOTE(Capn_Fish @ Nov 19 2008, 12:37 PM) *
It's quite easy. Follow the directions here:

http://www.angstrom-distribution.org/build...%A5ngstr%C3%B6m

And then, once everything is set up, just run "bitbake rt-whatever-the-name-is" and it builds that package for you. Just note that it takes a LONG time for the first package because it also builds the toolchain at that time.

Also know that I'm setting up my machine with OE/Bitbake already, so it's not really any extra work.


GREAT! thats super cool ! cool.gif

I have only a couple of troubles now:

1. can you write a simplified newbie Tut for all of us to learn how to set this up and post it in this forum ? Angstrom's setup instruction is
for Unixheads by the looks of it, alas, I am a Hardwarehead, a Z80MachineCodehead, and a BASIChead, so I find it next to impossible to follow that page. What is OpenEmbedded and where do you get it from ? can you provide a download URL ? Are we setting up on an x86 linux box ? and what is your chosen OS there ? are you able to package the installation of your Bitbake so that anyone can just 'nflate' and use it on their Linux Box ?

2. we need to get Bitbake to compile for the 2.6.24 Angstrom kernel. the existing rt73-k2wrlz drivers that are IPKed, are for the
2.6.23 kernel, and even then, I think they are not for the Zaurus but for a totally different machine too - this is on the Angstrom site BTW.

3. The driver code that Bitbake needs to compile is from ASPj's source code, which is more or less the code that you, eviLjazz and me
were compiling for the 2.4.20 kernel. his main code is available from here:

http://homepages.tu-darmstadt.de/~p_larbig/wlan/

Hope we can work together on this one ? like I said, teach me all ! thanks !





Capn_Fish
3: That's the code that OE/Bitbake uses.

2: I know, hence needing to build it.

1: Sure. I'll just reiterate what's on the Angstrom website

Yes, you DO need a Linux box (not necessarily x86, but I assume the fastest box you have is x86, and that's what you want to use, or at least one with decent specs). I know Ubuntu works for this, and that Debian Sid has some issues (with the .dev branch of OE, though, so it's Unstable + Unstable = mostly working, don't worry if that's Greek to you).

Note that I assume you're following these directions pretty much to the letter (ie, step 2 assumes you are in /OE)

0. Install the necessary stuff:

CODE
apt-get install python m4 patch build-essential make python-psyco ccache perl diffstat git bison


You may want to manually make sure you get the right stuff installed:

http://wiki.openembedded.net/index.php/Required_Software

1a. Make the directory /OE (you can use a different directory, but it's something of a pain) and allow normal users to write to it (you could chown it, for example)

CODE
sudo mkdir /OE
sudo chown yourusername:users /OE


1b. Download Bitbake:

CODE
cd /OE
wget http://download.berlios.de/bitbake/bitbake-1.8.10.tar.gz


2. Install Bitbake:

CODE
tar -xf bitbake-1.8.10.tar.gz


3. Get the OE data and update it (you may want to make a script for the last two lines, calling it "update.sh" or something):

CODE
git clone git://git.openembedded.net/openembedded.git org.openembedded.stable
cd org.openembedded.stable
git checkout -b org.openembedded.stable origin/org.openembedded.stable
cd /OE/org.openembedded.stable
git pull


4. Set up the environment file:

CODE
cd /OE
wget http://www.angstrom-distribution.org/files/source-me.txt


5. Set up the build config (if /OE/build/conf/ doesn't exist, create it):

CODE
mkdir -p /OE/build/conf/
yourfavoriteeditor /OE/build/conf/local.conf


Contents:
CODE
# Where to store sources
DL_DIR = "/OE/downloads"

# Which files do we want to parse
BBFILES := "/OE/org.openembedded.stable/packages/*/*.bb"
BBMASK = ""

# ccache always overfill $HOME....
CCACHE=""

# What kind of images do we want?
IMAGE_FSTYPES = "jffs2 tar.gz "

# Set TMPDIR instead of defaulting it to $pwd/tmp
TMPDIR = "/OE/${DISTRO}-stable/"

# For multicore CPU boxes:
#PARALLEL_MAKE="-j4"
#BB_NUMBER_THREADS = "2"
#for single-core boxes:
PARALLEL_MAKE="-j2"
BB_NUMBER_THREADS = "1"

# Set the Distro
DISTRO = "angstrom-2007.1"

# 'uclibc' or 'glibc' or 'eglibc'
ANGSTROM_MODE = "glibc"

MACHINE = "akita"


6a. Start building your kernel module:

CODE
source source-me.txt
cd /OE/org.openembedded.stable
./update.sh
bitbake rt73-k2wrlz


6b. Wait a good chunk of time (several hours; don't try to do anything useful on this box while it's working)

I hope that's clear enough...

If you want a detailed explanation as to what stuff does, let me know, and I'll tell you what I know (or have gathered).
Allelectrix
Fantastic ! I can't wait to implement this information now ! I also now understand that OE is just a dev build environment for cross platform code
compiling.

Well, I owe you one now ! many thanks indeed ! biggrin.gif

I'll keep in touch about my progress in this. all the best, for now biggrin.gif

Allelectrix
While I remember, don't we need the kernel 2.6.24 source code to allow bitbake to compile the correct driver ?
if we do, where do we get that from ?

thanks again wink.gif

Capn_Fish
QUOTE(Allelectrix @ Nov 20 2008, 10:42 AM) *
While I remember, don't we need the kernel 2.6.24 source code to allow bitbake to compile the correct driver ?
if we do, where do we get that from ?

thanks again wink.gif

You don't. Bitbake/OE takes care of that for you! It builds the kernel, the module, anything you want, really. You can even build custom install images.
speculatrix
I'm just about to put together a big server at work to run vmware, and one of the things I want to unleash is an angtrom build platform, to go along with the maemo/nokia tablet VM that you can download.

getting a build environment up seems to me to be hardest bit, once I've got "hello world" up, the rest is easy!
Allelectrix
QUOTE(speculatrix @ Nov 20 2008, 11:34 PM) *
I'm just about to put together a big server at work to run vmware, and one of the things I want to unleash is an angtrom build platform, to go along with the maemo/nokia tablet VM that you can download.

getting a build environment up seems to me to be hardest bit, once I've got "hello world" up, the rest is easy!


Looks like you and me are owing Capn_Fish because he's just laid all the build detail out in this thread, We bow Capn_Fish !
ah yes, 'hello world' that brings me back the to 'the good old days' of the Zilog Z80 and BASIC, my, how the Bit and the Byte
have moved on since then rolleyes.gif

Capn_Fish: What ? no kernel code needed ? Now I JUST MUST have a go at this ! What a seriously POWERFUL platform that is ! biggrin.gif


Capn_Fish
QUOTE(Allelectrix @ Nov 20 2008, 05:54 PM) *
Capn_Fish: What ? no kernel code needed ? Now I JUST MUST have a go at this ! What a seriously POWERFUL platform that is ! biggrin.gif

Well, you DO need a kernel/kernel source, but OE/Bitbake downloads, configures, and compiles it for you, so you don't actually "see" it.

The final packages are in one of the directories, BTW. Something like /OE/org.openembedded.stable/something/armv5te-linux-gnu/ipk/. It's not hard to find.
Allelectrix
thats really cool thanks for the info ! cool.gif
Capn_Fish
How's this going for you? I've got my build box's OS reinstalled, so I could build you a module if you haven't already.
Allelectrix
Thats great ! please go ahead and create the rt73.ko module for Angstrom kernel 2.6.24 from the same driver source code we were working on for
kernel 2.4.20 .

I sent you a rather important PM please can you read it and get back to me ASAP on this.

Thanks for your kind help ! biggrin.gif

Allelectrix
Hi Capn_Fish, I look forward to your ASPj rt73.ko post here for the Angstrom 2.6.24 kernel distro !

Folks, I am now available each Wednesday after 14:00 GMT here in this forum.

best wishes to you all, Allelectrix, GB

Allelectrix
Hi Capn_Fish,

Thanks so much for your hard work , I sent you a new PM today, Wednesday 17th 2008 @ 15:40 GMT .

Folks, Capn_Fish is currently working on an rt73 Radio WiFi Module for Kernel 2.6.24 for the Angstrom OS on the C1000 and its clones.
The Module will be posted here when it has been tested and complete.

The Module will feature all Wifi Modes and will allow rt73 cards to inject Data Packets into a Wireless Network while in Monitor Mode.

Currently, we have an rt73.o module for Kernel 2.4.20 with this functionality, but, the OS does NOT support USB Wifi Managed mode, and
USB Ad-Hoc mode is virtually non existent, thus, the OS wastes a lot of the Modules features. The OS (PdaXii13 and Cacko) only support
USB Wifi Monitor mode with Packet Injection. and managed mode using PCMCIA Wifi Cards, even then, Ad-Hoc mode still don't work,
so, were moving to Kernel 2.6 and working with this now, to circumvent these problems.

It is hoped that the Kernel 2.6.24 Module will fill this gap by providing full USB Wifi features for the Angstrom OS on a C1000.

After the module is developed and all WiFi features are enabled, it only remains to compile some of the key programs found
in BT2 and BT3 and then produce a working BT on a Sharp SL-C1000 or clone.

Stay tuned to this page people !
Capn_Fish
OK, it's done!

I haven't tested it, but it should be fine.
Allelectrix
QUOTE(Capn_Fish @ Dec 17 2008, 09:05 PM) *
OK, it's done!

I haven't tested it, but it should be fine.


Thanks a million Capn_Fish ! just got it in your PM to me. Can everyone please try this module and tell us all how you get on with it ? !

Best wishes to all, Allelectrix, GB
Capn_Fish
I was recently alerted to the fact that that is a Spitz module, so I'll get the Akita one up soon (though the Spitz one may work fine, as they're the same kernel, built with the same compiler, same versions, etc.).
Allelectrix
QUOTE(Capn_Fish @ Dec 25 2008, 01:56 AM) *
I was recently alerted to the fact that that is a Spitz module, so I'll get the Akita one up soon (though the Spitz one may work fine, as they're the same kernel, built with the same compiler, same versions, etc.).


Here, everyone, is Capn_Fish's ARM Kernel 2.6.24 Module to drive the RT73 Wi-Fi cards using ASPj's awesome C code under Bitbake for Angstrom :

Click to view attachment

This is Machine Code for the Intel XScale ARM Processor Family, so, that includes most of the C-xxxx Zaurus range of Computers.

Therefore, can people using the C-xxxx especially the C-1000 under Angstrom Kernel 2.6.24 try using this Module with their RT73 and get back here to
this thread with their results ? Thanks All for that ;-)

This module contains all the features to run the Aircrack-ng suite successfully in all modes using the RT73 cards, I.E Monitor Mode with Packet Injection .
Allelectrix
QUOTE(Allelectrix @ Jan 11 2009, 08:40 PM) *
QUOTE(Capn_Fish @ Dec 25 2008, 01:56 AM) *
I was recently alerted to the fact that that is a Spitz module, so I'll get the Akita one up soon (though the Spitz one may work fine, as they're the same kernel, built with the same compiler, same versions, etc.).


Here, everyone, is Capn_Fish's ARM Kernel 2.6.24 Module to drive the RT73 Wi-Fi cards using ASPj's awesome C code under Bitbake for Angstrom :

Click to view attachment

This is Machine Code for the Intel XScale ARM Processor Family, so, that includes most of the C-xxxx Zaurus range of Computers.

Therefore, can people using the C-xxxx especially the C-1000 under Angstrom Kernel 2.6.24 try using this Module with their RT73 and get back here to
this thread with their results ? Thanks All for that ;-)

This module contains all the features to run the Aircrack-ng suite successfully in all modes using the RT73 cards, I.E Monitor Mode with Packet Injection .



So, June 2009 and STILL no USB to test this great module in Angstrom !

And to top it all, there are no more install kits from the Angstrom team for more than 1.5 years since this stinking OS was issued.

What a bunch of jokers team Angstrom are ! not only all this, but you cant even contact them to tell them to fix the USB system in there OS's BAH!
Capn_Fish
You can build your own images here:

http://amethyst.openembedded.net/~koen/narcissus/

It's easy to do and takes something like two minutes.

If you need to contact the Angstrom folks, use their mailing list. They don't check the forums much/at all.

Hope that helps.
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2014 Invision Power Services, Inc.