Re: [jornada] Possible dead J720 (with HP flash hack)

From: John Ankcorn <ankcorn.a.t.hpl.hp.com>
Date: Fri Jan 03 2003 - 15:17:09 EST

Niall + Peter,

When upgrading the kernel, I recommend the following steps (most
of which I think Niall has done correctly, but are put here for reference)

1. Edit Makefile, adding some text to the variable 'EXTRAVERSION'.
    This will create a unique version name for the compiler, hence
    a unique name for the /lib/modules directory.

2. Compile the source
        make zImage
        make modules

3. Make a 'temp' directory for the new module files
        mkdir /tmp/foo
        setenv INSTALL_MOD_PATH "/tmp/foo"
        make modules_install

    This will copy compiled modules from the kernel tree to /tmp/foo.

4. Make a tgz of /tmp/foo

5. Using zmodem, download the tgz and your zImage file
    to /tmp on the Jornada

6. Unpack the tgz into /lib/modules (being careful not to step
    on existing directories)

7. Copy zImage to /boot, being careful not to step on
    any existing filenames.
        mv /tmp/zImage /boot/zImage.my_test

8. Reboot

9. When the bootldr starts (or while it is checking jffs),
    hit the 'space' key a few times and wait. After checking
    jffs, the bootldr should come back to you with a prompt.

10. At the prompt, you can see what bootable images you
    have with ls:
        boot> ls boot

11. If you see a file that you like, you can boot it with
        set kernel_filename boot/zImage.my_test
        boot

12. If you don't have a bootable image (sigh....), you can download
    a new copy of the jffs file system (from scratch!).
     On the jornada, at the boot prompt:
        load root
    On the terminal emulator side, start an xmodem transfer of
    of the file system. I have put a jffs copy of the original 'task-bootstrap'

    filesystem at:

ftp://ftp.handhelds.org/pub/hp/jornada/images.20030103/task-bootstrap.720
    A tgz of the original directory used to make the task-bootstrap file (useful

    if you wish to make an image with a new kernel/modules is at:

ftp://ftp.handhelds.org/pub/hp/jornada/images.20030103/task-bootstrap.tgz
        (Note that the kernel/modules MUST be replaced in when using the tgz
file)

Whew!

Niall, all I think that you need are points (10) and (11) above.

Good luck,
jca

Niall Richard Murphy wrote:

> Folks,
>
> I may have killed my Jornada, but I'm not quite sure why.
>
> Some background: I was attempting to upgrade my kernel on my 720 (which has
> the flash ROM hack by John Ankcorn; thanks John!) but booting it didn't work,
> so I expected to be able to revert to the old kernel at the boot> prompt. I
> hooked
> up the serial port on my desktop to the Jornada and typed away. But, while
> some
> weeks ago the keyboard responded to my keypresses, it now no longer does so!
> This means that I effectively have a brick -- is there any way to get out
> of this
> situation?
>
> I've included the boot up messages for added versimillitude,
>
> Niall
> (owner of an extremely expensive quasi-brick)
>
> ------------------------------------------------------------------------
>
> boot-jornada.txtName: boot-jornada.txt
> Type: Plain Text (text/plain)
Received on Fri Jan 03 19:06:39 2003

This archive was generated by hypermail 2.1.8 : Tue May 04 2004 - 09:46:00 EDT