Re: stuck with haret CF boot...

From: Jack Dodds <backupbrmdamon_at_fastmail.fm>
Date: Mon, 07 Apr 2008 01:45:36 -0000

Hello Morgan,

I have successfully booted my H2200 from a CF. I'm now booting from SD,
but I kept some of the files from the CF, so I hope this helps:

Your startup.txt CMDLINE is different from mine. I have:

set CMDLINE "root=/dev/mmcblk0p2 rootdelay=5 console=ttyS0,115200n8
console=tty0"

My /etc/fstab is also different (don't ask me to explain - I don't
remember the reasoning behind this!):

/dev/mtdblock3 / jffs2 defaults 1 1
proc /proc proc defaults 0 0
sys /sys sysfs defaults 0 0
tmpfs /var tmpfs defaults 0 0
#
# Changed by Jack 2006-11-22 per wiki
#
#/dev/hda1 /media/cf auto
defaults,sync,noauto,noatime,exec,suid 0 0
/dev/hda2 / ext2 defaults 1 1
/dev/mmcblk0p1 /media/card auto
defaults,sync,noauto,noatime,exec,suid 0 0

Note that the screen goes blank during the boot process for quite a
while - like 2 - 4 minutes.

Good luck.

Jack Dodds

Morgan Read wrote:
> 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.

-- 
=================================================
This email is digitally signed using the Enigmail
and GnuPG packages (http://enigmail.mozdev.org), 
which can also be used by the recipient to verify
the digital signature.
=================================================

Received on Sun Apr 06 2008 - 21:45:36 EDT

This archive was generated by hypermail 2.2.0 : Wed May 21 2008 - 21:17:27 EDT