[Fwd: Hx4700-port Digest, Vol 11, Issue 10]

From: LOEWENTHAL Simon <sloewenthal_at_gemini.edu>
Date: Tue, 16 Aug 2005 17:27:06 -0400

Hi Philippe,
Thanks for your help.

Do you mean that there are essentially two steps, providing one doesn't wish to backup
the WinCE to an SD card and that one decides to use only an SD card instead of a CF card?
(I have one spare 256Mb SD card lying around that I could use, but I don't want to sacrifice
my 4Gb CF card to the hx4700.)

i) dd if=bootldr-1.1.9.rom of=/dev/${SD_DEVICE}
        press <Contacts>+<iTask>+<Reset> & follow instructions.

ii) Use a second SD card that contains reflash.ctl, zImage, homefs.jffs2 etc on it.
        press <Contacts>+<iTask>+<Reset> & start the reflash process.

In this case I need to two SD cards (or 1 x SD and 1 x CF), or can I use one SD card for the
ROM install and then reuse the Sd card for the second stage?

Things are a little cleaer now,
Simon.

Message: 3
Date: Tue, 16 Aug 2005 11:22:17 +0200
From: pHilipp Zabel <philipp.zabel_at_gmail.com>
Subject: Re: [Hx4700-port] Is there a simple way to install the
        current version?
To: LOEWENTHAL Simon <sloewenthal_at_gemini.edu>
Cc: hx4700-port_at_handhelds.org
Message-ID: <74d0deb305081602223dcf7ce4_at_mail.gmail.com>
Content-Type: text/plain; charset=ISO-8859-1

http://www.sdgsystems.com/pub/ipaq/hx4700/starterkit/current/
And then read bootldr.txt

On 8/16/05, LOEWENTHAL Simon <sloewenthal_at_gemini.edu> wrote:
> Run the bootloader from the USB/Serial ; Bootloader doesn't tell me how to
> do this. It tells me how to access the bootloader, but not write anything
> other than dump something to an SD device using the command d2s, and set the
> password. I was going to use an CF card, and not a SD card. Perhaps the
> bootable CF card needs the password to be set-to this so that some files on
> the card can interact with the boot loader, but I still don't see how the
> hx4700 is told to boot from the CF card.

This step is only needed if you want to make a backup of the complete
contents of your flash (i.e. backup WinCE). It uses the original HTC
bootloader to dump the whole flash onto an SD card. Using CF here is
not possible as the HTC bootloader doesn't support this.

> Copy the files to the CF card ; Copy current_release to a CF card/ Edit
> some files accordingly. There are two ROMs listed v118 and v119. Which one
> should be used & have I got a choice?

You should use the newest one (1.1.9) as it has the most recent
suspend/resume code needed by newer kernels. You can't install this
second-stage bootloader using a CF card as the original bootloader,
which is used to install it, only understands SD.

# dd if=bootldr-1.1.9.rom of=/dev/${SD_DEVICE}
Pop in the SD card, then press <Contacts>+<iTask>+<Reset> and follow
the on-screen instructions (no backlight).

> Boot the system ; I think this is a simple reset, but I still don't see
> where the 4700 was told how to boot from the CF card.

Once you have the SDG bootloader installed, if you press
<Contacts>+<Email>+<Reset> it starts the reflash menu. It will read
reflash.ctl from CF and allow you to flash (1) kernel image, (2) root
file system and (3) home file system.
Your CF must contain reflash.ctl, zImage, homefs.jffs2 and some
rootfs-*.jffs2 with those three listed correctly in reflash.ctl (which
should be the case if you downloaded them from one place).

> A bit lost and not feeling very techie right now,

As always, once you've done it, it seems rather easy.

--
Philipp
Received on Tue Aug 16 2005 - 17:32:08 EDT

This archive was generated by hypermail 2.2.0 : Tue Aug 16 2005 - 17:32:13 EDT