Close this window when finished to return to website.

hx2495

Pictures Gallery

CF-1GB-VFAT (Hazret and boot kernel)
CF-3GB-EXT3 (Root of EXT3) in TAR.GZ format

Tools
Ext2IFS_1_10c-linux-fs-on-windows.exe
Files provided: AS-IS. They work for my HP Ipaq 2495 (hx2495).

I used a 4GB compact flash card, borrowed from my last project. Linux on Palm LifeDrive, partial success... never could get wifi, then my LD died.

Splitting CF/SD in to two partitions

I did all of this on my laptop with Ubuntu and Win XP (dual boot), and an external USB flash reader.

--Need do this as root
My desktop auto-mounts any cards I insert, which is both good and bad.
Step one, insert Card. Umount if it gets auto-mouted, noting what /dev it is. (i.e. /dev/hdb or /dev/sda)
--Make sure it is NOT mounted!
Did fdisk /dev/xxx (make sure that this is your CF/SD card...don't delete YOUR system!)

p = checked what was on it. (Just to make sure I had the right CF/drive)
d = deleted the only VFAT partition
n = New Primary partition, #1, starts at 1, ends +100MB
n = New Primary partition, #2, starts at default, ends at default
a = Set Partition #1 as active
w = Write out to card. (wait about a minute...to make sure it got written)

I would get a kernel failed to load new partition table warning.--which is fine.
I now ejected the card, and put it back in.
I now do fdisk /dev/xxx again
and p = to make sure both partitions are listed witha * listed on #1.

Once you are sure you have two partitions we need to format them.
mkfs -t VFAT /dev/xxx0 or xxx1 (refer to last p= screen for id) VFAT for windows
mkfs /dev/xxx1 or xxx2 (refer to last p= screen for id) EXT2/3 linux

I now mount each one and put in a blank file, so I can see which is which
mount /dev/xxx0 /z
echo > /z/VFAT.txt
umount /dev/xxx0

mount /dev/xxx1 /z
echo > /z/LINUX.txt
umount /dev/xxx1

At this point one would think this would be ready... but I discovered on my Ipaq, that it would instead say, no card inserted, if I tried to use it. (It doesn't like the VFAT format it seems)
I found that if I switched over to Windows XP, and inserted my card it would find the VFAT partition and assign it a letter. I then went to 'My Computer' Right click on that drive and said FORMAT, FAT 32, Checked Quick Format, Start. A few minutes later VFAT is a blank drive again. But now the Ipaq sees the VFAT drive.

I now booted back to linux
I copy my files to each partition
mount /dev/xxx0 /z
cp -R /x1/* /z
umount /dev/xxx0

mount /dev/xxx1 /z
cp -R /x2/* /z
umount /dev/xxx1

At this point you now have your Card split and files copied on each partition.
Disclaimer:
Before anyone gets confused or lost. My files are not affiliated with the list, project, etc. Just my cobbled collection from surfing the internet.
-- This is not a new release, dev release and not connected in any way to the developers on this or any thread / project. Core files based on Familiar handheld linux.

I'm new to the list, and just trying to further progress on my Ipaq. I noticed that several users either didn't have ANY linux on their Ipaq or their linux was unusable with their current version.
What I'm offering is just a copy of 'what I have', it may be better or worse than what is Official.
-- I don't want to step on anyones toes, espessially the developers, I'm here like everyone else trying to get parts working.
My goal right now is to see what this thread offers, if any of it works for me, and add it to my Ipaq.
I release all the files on my Ipaq, so that anyone who wants can get a taste of linux... assuming it works for them as well.
The Familer PXA 270 version seems to do very good for me, once I found a working way to get it to boot up. --Only took a few months to get a working HaRET and zImage to preboot and rotate root.
=========================================
Well I didn't write a step-by-step book... not yet.... so lets play it by ear.
The files I have aren't as easy as setting up windows 98.
== PLEASE NOTE, my files are not part of this thread... Just what I have running on my ipaq,
-- which works for me... when I get a chance I'll start comparing where mine files line up with the projects.
-- which is why having several CF cards is good... each CF card is it's own harddrive/linux setup.

Here are the big steps.
Have a handheld that currently runs on windows.

Do you have a CF flash card?
Do you have a linux machine available to do fdisk mkfs on the partitions?
Make a working CF Flash card with two partitions, VFAT and EXT2/3
Make sure VFAT is readable from windows. (first hurdle)
A windows machine -might- be able to format the VFAT after you have the partition... milage may very.

After you have a valid CF flash, just copy the vfat files to the vfat of the flash.
Next hurdle... geting my TAR file expanded in your EXT3. Easiest way is to copy it on to a linux machine, expand to a folder then mv the contents to the flash.


--- I did this all in UBUNTU 6 lts.
I have noted that, during normal usage, there is an odd chance that when you run HaRET that it stalls on Red-eyes, just soft reset and try again. -- soft reset before running linux is best.


Ken