Re: Axim support

From: Michel Di Croci <michel.dicroci_at_gmail.com>
Date: Mon, 21 Nov 2005 07:06:10 -0500

Hi Jay,

ifconfig usb0 192.168.0.200 <http://192.168.0.200>

[root@ZoneDry ~]# ifconfig usb0 192.168.2.200 <http://192.168.2.200>
SIOCSIFADDR: No such device

I have the module loaded, lsusb doesn't show me anything interesting when
the kernel is loaded on the pocket PC.

I really thinks it might be the pocket pc.

I know this might seems a bit stupid, how do you compile the kernel and the
initrd? Can you put in the AximX30Files directory the .config and how to
make the initrd.

Maybe there's a howto on handhelds.org <http://handhelds.org>, I willl
double check

Michel

2005/11/21, Jay Coles <jaycoles_at_yahoo.com>:
>
> i assume this is usb0 on your pc, if so just do a sudo
> ifconfig usb0 up 192.168.0.200 <http://192.168.0.200>, to bring the
> interface
> up and bind it to that ip address. if you dont
> actually have a usb0 device on your computer (you can
> test with iwconfig) then thier is a problem, it may be
> that the initrd didnt have drivers for usb client, i
> know that when i tried to compile the code i couldnt
> sucsesfully compile a kernel with usb gadget enabled
>
> as for config there is nothing specfic that you really
> have to worry about as we dont have on board flash
> working yet however it would be smart to enable
> everything in the MTD section for a bit of testing and
> perhaps some other things such as usb gadget support
> (i recomend its compiled as a module and included in
> the initrd.
>
> --- Michel Di Croci <michel.dicroci_at_gmail.com> wrote:
>
> > Date: Sun, 20 Nov 2005 14:47:07 -0500
> > From: Michel Di Croci <michel.dicroci_at_gmail.com>
> > To: Jay Coles <jaycoles_at_yahoo.com>
> > Subject: Re: [Aximx30-port] Axim support
> > CC: aximx30-port_at_handhelds.org
> >
> > Need help...
> >
> > I've loaded Haret.exe, downloaded your kenel. I'm
> > trying to connect through
> > the cradle to the PDA but I'm unable to configure
> > usb0 as required.
> >
> > On my PDA:
> >
> > usb0 : Mac blablabla
> > usb0 : HOST MAC blablabla
> >
> > ...
> >
> > Waiting for the PC host (192.168.0.200 <http://192.168.0.200>
> > <http://192.168.0.200>) to be
> > available through the USB Ethernet Connection
> >
> > What are the next steps?
> >
> > Michel
> >
> > 2005/11/18, Jay Coles <jaycoles_at_yahoo.com>:
> > >
> > > 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
> > > _______________________________________________
> > > Aximx30-port mailing list
> > > Aximx30-port_at_handhelds.org
> > >
> >
> https://www.handhelds.org/mailman/listinfo/aximx30-port
> > >
> >
>
> Jay Coles
> JayColes_at_yahoo.com
>
> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /"\
> ASCII Ribbon Campain against \ /
> HTML e-mail and postings. X
> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ / \
>
> Intel P4 with HT* technology
> * - Hyper Thrashing, burn cache burn
>
>
>
>
> __________________________________
> Yahoo! Mail - PC Magazine Editors' Choice 2005
> http://mail.yahoo.com
>
Received on Mon Nov 21 2005 - 07:12:39 EST

This archive was generated by hypermail 2.2.0 : Mon Nov 21 2005 - 07:12:44 EST