Valeriy E. Ushakov | 2 Nov 2006 12:07
Picon

New hpcboot - please test

Hi, folks.

I want to commit new hpcboot (mostly for the rounding bug that would
make kernel of certain size unbootable, but there were few minor fixes
as well).

I would appreciate if you can test the new hpcboot before I commit it.

http://snark.ptc.spbu.ru/~uwe/netbsd/jornada/hpcboot-2006-11-02.zip

  This is the main archive with arm, sh3 and mips versions for WinCE 2.11

http://snark.ptc.spbu.ru/~uwe/netbsd/jornada/hpcboot200-2006-10-18.zip

  This is sh3 version for WinCE 2.0 (e.g. HP 620LX with old ROM).

Thanks in advance.

SY, Uwe
--

-- 
uwe <at> ptc.spbu.ru                         |       Zu Grunde kommen
http://snark.ptc.spbu.ru/~uwe/          |       Ist zu Grunde gehen

Stephen Borrill | 2 Nov 2006 13:10
Picon
Favicon

Re: New hpcboot - please test

On Thu, 2 Nov 2006, Valeriy E. Ushakov wrote:

> Hi, folks.
>
> I want to commit new hpcboot (mostly for the rounding bug that would
> make kernel of certain size unbootable, but there were few minor fixes
> as well).
>
> I would appreciate if you can test the new hpcboot before I commit it.
>
> http://snark.ptc.spbu.ru/~uwe/netbsd/jornada/hpcboot-2006-11-02.zip
>
>  This is the main archive with arm, sh3 and mips versions for WinCE 2.11

(and sh4 by the looks of it).

The SH3Release one works fine for me on my Jornada 690.

--

-- 
Stephen

Christer O. Andersson | 3 Nov 2006 13:52

Re: New hpcboot - please test

On Thu, Nov 02, 2006 at 02:07:56PM +0300, Valeriy E. Ushakov wrote:
> I would appreciate if you can test the new hpcboot before I commit it.
> 
> http://snark.ptc.spbu.ru/~uwe/netbsd/jornada/hpcboot-2006-11-02.zip
> 
>   This is the main archive with arm, sh3 and mips versions for WinCE 2.11

SH3 works just fine, both release and debug, on my 680.

> http://snark.ptc.spbu.ru/~uwe/netbsd/jornada/hpcboot200-2006-10-18.zip
> 
>   This is sh3 version for WinCE 2.0 (e.g. HP 620LX with old ROM).

Both release and debug boots my MC16 (HP320) to a small miniroot fs.

--

-- 
Christer O. Andersson
Odensbacken

Hernani Marques Madeira | 18 Nov 2006 23:28

HP Jornada 620LX hangs when trying to use root fs

Hello ppl

I'm trying to bring up NetBSD v3.1 on a HP Joranda 620LX with an installation
on a CF card, but the box hangs leaving the following information:

[snip]
...
boot device: wd0
root on wd0a dumps on wd0b
root file system type: msdos
[/snip]

Shouldn't the file system type be ffs?

I searched already the archives w/o finding any helpful hints.

I've already set up a NetBSD/hpcarm box (HP Jornada 720) in a quite similar
way. I followed the well-known onlamp-article, too.

I've tried both, the binary packages with the GENERIC kernel from NetBSD's
FTP server and a cross-compliled distribution + kernel based upon recent (as
of 2 days) sources of NetBSD v3.1_PATCH.

Any ideas what could be the problem?

--

-- 
hernani
Valeriy E. Ushakov | 19 Nov 2006 00:02
Picon

Re: HP Jornada 620LX hangs when trying to use root fs

On Sat, Nov 18, 2006 at 23:28:23 +0100, Hernani Marques Madeira wrote:

> boot device: wd0
> root on wd0a dumps on wd0b
> root file system type: msdos
> [/snip]
> 
> Shouldn't the file system type be ffs?

What does disklabel say about the CF, wd0a in particular?

You can tick the "ask for file name to boot from" checkbox in hpcboot
and the kernel will ask you to for the root partition (if it turns out
that it's not wd0a, which is my first guess).

SY, Uwe
--

-- 
uwe <at> ptc.spbu.ru                         |       Zu Grunde kommen
http://snark.ptc.spbu.ru/~uwe/          |       Ist zu Grunde gehen

Hernani Marques Madeira | 19 Nov 2006 00:24

Re: HP Jornada 620LX hangs when trying to use root fs

On Sun, Nov 19, 2006 at 02:02:31AM +0300, Valeriy E. Ushakov wrote:

> What does disklabel say about the CF, wd0a in particular?

The problem is solved now -- and it lay in this area. I forgott to use
an entry for the UFS fs (id 169) with fdisk(8).

It was a document you helped creating that lead me to the solution:
http://snark.ptc.spbu.ru/~uwe/netbsd/jornada/netbsd-hpc-euro2004.pdf

So, thanks twice!

But, can you explain me why one hasn't to define the existence of this
partition using fdisk(8) on a HP Jornada 720?

There it worked only by declaring the DOS partition; I thought the
use of fdisk would be especially important for Windows, for that it can
find the partition. I thought the kernel would rely on the label made by 
diskalbel(8) and not on the "DOS" partition table.

Btw, I used your new version of hpcboot, which works.

The ZIP filed contained to binaries, one named _d and the other _r,
slightly differing in size.

I used the version named _d , but what's the difference to the one named _r?

> You can tick the "ask for file name to boot from" checkbox in hpcboot
> and the kernel will ask you to for the root partition (if it turns out
> that it's not wd0a, which is my first guess).
(Continue reading)

Hernani Marques Madeira | 18 Nov 2006 23:30

Re: HP Jornada 620LX hangs when trying to use root fs

On Sat, Nov 18, 2006 at 11:28:23PM +0100, Hernani Marques Madeira wrote:

> [snip]
> ...
> boot device: wd0
> root on wd0a dumps on wd0b
> root file system type: msdos
> [/snip]

This is, of course, when booting.

--
hernani

Valeriy E. Ushakov | 19 Nov 2006 01:54
Picon

Re: HP Jornada 620LX hangs when trying to use root fs

On Sun, Nov 19, 2006 at 00:24:51 +0100, Hernani Marques Madeira wrote:

> > What does disklabel say about the CF, wd0a in particular?
> 
> The problem is solved now -- and it lay in this area. I forgott to use
> an entry for the UFS fs (id 169) with fdisk(8).
[...]
> But, can you explain me why one hasn't to define the existence of this
> partition using fdisk(8) on a HP Jornada 720?
> 
> There it worked only by declaring the DOS partition; I thought the
> use of fdisk would be especially important for Windows, for that it can
> find the partition. I thought the kernel would rely on the label made by 
> diskalbel(8) and not on the "DOS" partition table.

My disklabel fu is weak and I'm a bit lazy to go RTFS to give you the
100% accurate answer, but my understanding is that: disklabel is in
the netbsd partition, and to find the netbsd partition (and thus the
label) you need it in the mbr partition table.  Are you sure you 720
CF doesn't have netbsd partition in the mbr table?

> Btw, I used your new version of hpcboot, which works.
> 
> The ZIP filed contained to binaries, one named _d and the other _r,
> slightly differing in size.
> 
> I used the version named _d , but what's the difference to the one named _r?

_d is debug build, _r is release build.  cvs carries release builds.
Debug build is compiled with debugging enabled, which is only useful
(Continue reading)

Hernani Marques Madeira | 19 Nov 2006 12:44

Re: HP Jornada 620LX hangs when trying to use root fs

On Sun, Nov 19, 2006 at 03:54:35AM +0300, Valeriy E. Ushakov wrote:

> My disklabel fu is weak and I'm a bit lazy to go RTFS to give you the
> 100% accurate answer, but my understanding is that: disklabel is in
> the netbsd partition, and to find the netbsd partition (and thus the
> label) you need it in the mbr partition table.  Are you sure you 720
> CF doesn't have netbsd partition in the mbr table?

Yes, because I used the CF card from the Jornada 720. I didn't change
anything using disklabel(8) or fdisk(8), I only did dump and newfs it.

> BTW, I have committed the new hpcboot binaries for both wince 2.11 and
> wince 2.0, so cvs now has known-working versions.

Ok - thanks!

--

-- 
hernani

Hernani Marques Madeira | 19 Nov 2006 12:46

Re: HP Jornada 620LX hangs when trying to use root fs

On Sun, Nov 19, 2006 at 12:44:13PM +0100, Hernani Marques Madeira wrote:

> Yes, because I used the CF card from the Jornada 720. I didn't change
> anything using disklabel(8) or fdisk(8), I only did dump and newfs it.

And then for it to work on the Jornada 620LX I had to additionally make
the NetBSD partition visible in the MBR.

--

-- 
hernani


Gmane