Re: Step by step instructions

From: JeDi <jeroen.dierckx_at_gmail.com>
Date: Tue, 6 Sep 2005 22:06:49 +0200

Thanks for the initrd tutorial :-) I'll try it in the morning at work.
So now I still need the parameters for the vsfb driver, isn't it? Do
you have them, or do you know how to find out?

So I just get your files (with the modified initrd), and Fisherss'
haret_uart? Or the haret from the downloads section?. Then, when I
copy the files (haret, kernel, initrd) to the internal storage of the
pda and run haret, the kernel will boot? Then off course, I'll have to
create a SD card to store the rootfs on.

So, with a bit of luck, when I have the framebuffer working, I can
alter the boot process so usb networking/bluethooth/WiFi works
automatically, and use the cradle/bluethooth device/Access point to
login on the device, right?
It's just that the scheme for the serial cable seems so difficult...
Or can I just order one somewhere?

Thanks for all the help!

Greetz,
JeDi

On 9/6/05, Richard Bateman <taxilian_at_zzt.net> wrote:
> do *not* use the haret from my site. use Fisherss' haret, because he fixed
> a bunch of things that I was too lazy to fix =] yes, you do need a serial
> cable to work on it (sorry, answering two posts in one)
>
> linux boots on the x50v, and you can even get framebuffer working with the
> vsfb driver. However, you have to build your own initrd (unless I can find
> mine. haven't had time to work on it in the last couple months).
>
> building an initrd isn't all that difficult. initrd is just "Initial Ram
> Disk", and consists of a gzipped disk image formatted with any file system
> supported; I use cramfs (make sure cramfs support is compiled into the
> kernel if you do this). with cramfs, if you have the cramfs utils or
> whatever they are called, you can just run "mkcramfs" on a directory and it
> will create a cramfs image file, which you then gzip and rename to "initrd".
>
> it's easiest to start with an existing initrd. you can mount an initrd by
> first decompressing it:
>
> mv initrd initrd.gz
> gzip -d initrd.gz
>
> and then mount it somewhere
>
> mkdir initrd_mountpoint
> mount -o loop initrd ./initrd_mountpoint/
>
> you may have to add "-t cramfs" or "-t ext2" to the mount command,
> depending on what the filesystem it uses is.
>
> after you mount it copy the files to another directory, change whatever you
> need to (to get modules in the right place, run "make modules_install" and
> then copy /lib/modules/2.6.??-hh2/ to <initrd
> template>/lib/modules/2.6.??-hh2/), and then create a new
> initrd image.
>
> with cramfs, you can do this by:
>
> mkcramfs <initrd template> initrd.cramfs
> gzip initrd.cramfs
> mv initrd.cramfs.gz initrd
>
> and you've got an initrd
>
> now, if you mounted an ext2 image, you can modify it directly and then gzip
> it again when you are done, but you can't resize it this way. it's all
> preference.
>
> hope this helps someone.
>
> Richard
>
>
> M W Knox wrote:
> So to clairify this... is it working on the x50v?
>
> Mine is crying out to be dewindardized. .. If I can be of any help then
> let me know.
>
> Cheers,
>
> Mike
>
>
> I dont have a serial cable so i tried copying all the files to a CF card
> and running it from there, but it didnt work.
>
>
> Fisherss wrote:
>
>
>
> 1. Get a serial cable.
> 2. Download the needed files from hh.org or my home page and follow the
> instructions to run them, then you can get kernel output through your
> PC-side serial terminal software.(minicom etc.).
>
> Actually you have successfully booted the kernel (if you downloaded them
>
> >from our page at hh.org), there is just no output. The same case doesn't
>
>
> appear at x50 base version (416 MHz), at 416 version, you can see
> framebuffer output, including the linux logo.
> The output of haret you showed is normal. There is serial output after
> that but your can't see it because you don't have a serial cable.
>
> The hardest problem on X50V is the 2700g chip driver, after solved it,
> you 50v guys will be very very happy :)
>
> JeDi wrote:
>
>
>
>
> Hi,
>
> We really want to get started with linux at our Dell Axim X50v
> machines, here at a research institute. But I can't get it running,
> even a little bit.
> Could someone please provide some step-by-step instruction on how to
> get this running? And which files and version to use, etc.
>
> We don't have a serial cable or CF cards for the moment, so if it can
> be done with USB networking and SD cards that would be great,
> otherwise we'll order/make the needed stuff.
>
> Here is what I've tried:
> - Downloaded the files from the downloads section of the wiki:
> http://handhelds.org/moin/moin.cgi/DellAximX50Downloads
> - Downloaded the changed haret (haret_uart.exe) from
> http://axim.narcotize.com/
> - Downloaded the latest used kernel from the mailing list:
> http://axim.narcotize.com/files/kernel26_x30_working_0.1.tar.gz
> - Put the files into the "Internal Storage" of the axim x50v (in a
> "linux" directory, if that matters)
> - Tried running haret: It says "Detected CPU family: Unknown". I can
> connect with it using telnet
> - I changed the default.txt file to load the latest downloaded kernel,
> and pressed the Run button
>
> The haret terminal says:
>
> Physical kernel address: a8008000
> Preloader physical/virtual address: ab080000
> Physical initrd address: a8408000
> Goodbye cruel world ...
>
> After that, it stops. No penguin with on the pocket pc or nothing. It
> just hangs. I need to reset the device, and seemingly it automatically
> hard resets (so it has actually done something with the ram).
>
> Is this behaviour normal? What should I do? I really want to help, but
> I must get it somewhat running first...
>
> Greetz,
> JeDi
>
>
>
>
>
>
>
>
> --
> _______________________________________________
> Aximx50-port mailing list
> Aximx50-port_at_handhelds.org
> https://www.handhelds.org/mailman/listinfo/aximx50-port
>
>
>
Received on Tue Sep 06 2005 - 16:11:47 EDT

This archive was generated by hypermail 2.2.0 : Tue Sep 06 2005 - 16:11:51 EDT