stuck with haret CF boot...

From: Morgan Read <mstuff_at_read.org.nz>
Date: Sun, 06 Apr 2008 04:15:00 -0000

Hi Folks

I figure the two most likely places I've stuffed up are writing
/etc/fstab and startup.txt correctly...

Here's what I've done -

I've followed the instructions for a haret boot here:
http://handhelds.org/moin/moin.cgi/CardBoot

Got the tar file from:
http://handhelds.org/familiar/releases/v0.8.4/install/download.html
And ended up with a directory like (minus haret-0.5.1.exe startup.txt):
[root_at_morgansmachine bootgpe-v0.8.4-h2200]# ls
bootgpe-v0.8.4-h2200.jffs2 haret-0.5.1.exe startup.txt
bootgpe-v0.8.4-h2200.tar.bz2 LAB-image-h2200.htc zImage-2.6.15-hh2-h2200
[root_at_morgansmachine bootgpe-v0.8.4-h2200]#

Got haret following this link:
http://handhelds.org/moin/moin.cgi/HaRET
 From here:
http://www.handhelds.org/~koconnor/haret/haret-0.5.1.exe

Created startup.txt, like so:
set KERNEL zImage
set MTYPE 341
set CMDLINE "root=/dev/hda2 rootdelay=5 console=tty0"
bootlinux

(With a return following the last line "bootlinux".)

Formatted my CF card like so:
[root_at_morgansmachine bootgpe-v0.8.4-h2200]# fdisk -l

Disk /dev/sda: 40.0 GB, 40007761920 bytes
...
Disk /dev/sdc: 4009 MB, 4009549824 bytes
124 heads, 62 sectors/track, 1018 cylinders
Units = cylinders of 7688 * 512 = 3936256 bytes
Disk identifier: 0x000a6aa7

    Device Boot Start End Blocks Id System
/dev/sdc1 * 1 2 7657 6 FAT16
/dev/sdc2 3 1018 3905504 83 Linux
[root_at_morgansmachine bootgpe-v0.8.4-h2200]#

(Both wince and linux can see what you'd expect them to see.)

This is what /etc/fstab looks like:
/dev/hda2 / ext2 defaults 1 1
proc /proc proc defaults 0 0
sys /sys sysfs defaults 0 0
tmpfs /var tmpfs defaults 0 0
/dev/hda1 /media/cf auto defaults,sync,noauto,noatime,exec,suid 0 0
/dev/mmcblk0p1 /media/card auto defaults,sync,noauto,noatime,exec,suid 0 0

(With a return on the last line.)

Copied with the following to /dev/sdc1:
# cp startup.txt /mnt/sdc1/startup.txt
# cp zImage-2.6.15-hh2-h2200 /mnt/sdc1/zImage
# cp haret-0.5.1.exe /mnt/sdc1/haret.exe

I put the CF card in the ipaq and haret seems to start ok:
"Haret booting linux ..."

Followed by a blank screen with some white text that's too quick to
catch, but something looking like it might be a boot start, then the
screen darkens (back light seems to go out) with the boot start messages
still visible - then they disappear and I'm left with a blank screen.

As, I said - I suspect my writing of either "startup.txt" or "fstab" to
be at issue. Can anyone confirm and give me a pointer?

Many thanks.
Morgan.

-- 
Getting errors: "There are problems with the signature" (or similar)?
Update your system by installing certificates from CAcert Inc, see here:
http://wiki.cacert.org/wiki/BrowserClients?#head-259758ec5ba51c5205cfb179cf60e0b54d9e378b
Or, if Internet Explorer is your default browser, simply click this link:
http://www.cacert.org/index.php?id=17
Morgan Read
NEW ZEALAND
<mailto:mstuffATreadDOTorgDOTnz>
fedora: Freedom Forever!
http://fedoraproject.org/wiki/Overview
"By choosing not to ship any proprietary or binary drivers, Fedora does
differ from other distributions. ..."
Quote: Max Spevik
        http://interviews.slashdot.org/article.pl?sid=06/08/17/177220
RMS on fedora:
        http://fedoraproject.org/wiki/FreeSoftwareAnalysis/FSF
Received on Sat Apr 05 2008 - 23:15:00 EST

This archive was generated by hypermail 2.2.0 : Wed May 21 2008 - 20:50:29 EDT