Totally forgot about the how to, sorry keep in mind
its long, but covers nearly everything you need.
Im going to keep it real simple and quick while
assuming you know how to find software and compile
code. if you dont then you might have to do a bit of
research and ask questions (here is ok)
first off you need a kernel, this runs everything and
makes sure everything plays nice.
next you need an initrd because at this point there is
no "hard drive" to boot onto and continue the boot
process (eg /sbin/init), in this initrd (which is just
a file that has been loop mounted mount <file>
<directory> -o loop)
in this initrd you have the standard file hirachey
(bin sbin usr/bin usr/sbin etc proc and anything else
you can think of) an a file called linuxrc in the root
directory
when linux boots it mounts the initrd and executes the
linuxrc file which normally tells it how to mount the
main storage device and continue booting. in our case
we get it to set up the usb gadget driver (usb client)
for a serial port and ethier direct the console output
to it or start a shell.
the best way to do it is if you have IR enabled you
launch a shell on the ir port and use the other serial
port for console messages, one other thing to note is
that thier is a serial port on the bottom of the x30
that may be used for debugging if you are willing to
make a cable yourself
you might have noticed that i have talked about the
linux boot process but you have windows CE on your
handheld, how do you get linnux on thier for testing,
well there is a bootloader for linux that boots linux
from inside windows CE allowing you to try it out,
however running linux is the equivelent of a hard
reset so you better have a backup
this program is called haret and all you need are the
executable, a setup text file, the kernel and the
initrd, the reason linux does the hard reset is
becauses it uses all of your RAM for program execution
and not storage.
if you havent already i susgest you go over the wiki
with a fine tooth comb, we know what most of the chips
are. what we do need is driver support and someone how
is willing to fiddle for awhile to get things working
to cross compile code make sure you have your cross
compiler in your path (usally in /opt) and at the
./configure stage you add --host=arm-iwmmxt-linux-gnu
to the end of ./configure and it will cross compile
for you, for cross compilers see below, make sure you
dont do a make install as its not for your host
system. instead move the executables to a directory or
you initrd
you can get haret at
http://www.handhelds.org/moin/moin.cgi/HaRET
A working kernel and initrd:
http://xoomer.virgilio.it/gzeta/temp/Axim_X30_files/
wiki: http://www.handhelds.org/moin/moin.cgi/AximX30
the kernel is called zimage :)
the diff is for the linux source code, dant ask me
which version its been awhile (could be 2.6.0-hh0 or
2.6.11)
you also need a cross compiler which i have compiled,
just need somwhere to store it if you have somewhere
that will be up for at least 6 months contact me
otherwise if you wantthe file contact me and i will
send it to you (40MB, gcc 4.0.1)
if you start workning on the project add your name to
the wiki and contact me so i can help get things
started, if you need help just ask. i am more than
willing to write scripts such as linuxrc or compile
code for you
more by request.
__________________________________
Yahoo! FareChase: Search multiple travel sites in one click.
http://farechase.yahoo.com
Received on Fri Nov 18 2005 - 19:57:41 EST
This archive was generated by hypermail 2.2.0 : Fri Nov 18 2005 - 19:57:54 EST