Subject: Re: Jornada 820 boot process..
To: None <john@cepros.com>
From: Brad Spencer <brad@anduin.eldar.org>
List: port-hpcarm
Date: 08/20/2002 14:11:55
   Morning all,

	Just a couple of comments and questions to kick around.

       Does anyone else out there have a Jornada 820 they are attempting to 
   get NetBSD to run on?

       Does anyone know of a setup that can be used/booted from a compact 
   flash card that includes a root filesystem and kernel?

       I have been playing with the pre compiled 720 kernel, it boots on my 
   820, but if I add a root fs to the mix it hangs when it starts looking 
   at the root fs in the boot process. Any ideas what might be wrong?

I don't think that the kernel running on a 820 configures [I guess that
the proper term is "attaches"] the SA1111 compaion chip and without that
you won't be able to access the PCMCIA slots, which means no CF.

If you don't see things like:

sacc0 at saip0 addr 0x40000000-0x40001fff
sacc0: SA1111 rev 2.1
sacpcic0 at sacc0
pcmcia0 at sacpcic0
pcmcia1 at sacpcic0
sacpcic0: card present
wdc0 at pcmcia1 function 0
wd0 at wdc0 channel 0 drive 0: <SanDisk SDCFB-512>
wd0: drive supports 1-sector PIO transfers, LBA addressing
wd0: 488 MB, 993 cyl, 16 head, 63 sec, 512 bytes/sect x 1000944 sectors

...then I think you might be out of luck, as far as the CF support goes..
see sys/arch/arm/sa11x0/sa1111.c for more details .... there is a table
structure:

#ifdef hpcarm
struct platid_data sacc_platid_table[] = {
        { &platid_mask_MACH_HP_JORNADA_720, (void *)1 },
        { &platid_mask_MACH_HP_JORNADA_720JP, (void *)1 },
        { NULL, NULL }
};
#endif

... which appears to define which models of the Jornada are supported.  I
don't really know what I am doing, but you might be able to get away with
just filling in this with the model ids for the 820.

[snip]

   Thanks!

   --
       John P. Mitchell
       john@cepros.com






-- 
Brad Spencer - brad@anduin.eldar.org
http://anduin.eldar.org  - & -  http://anduin.ipv6.eldar.org [IPv6 only]
[finger brad@anduin.eldar.org for PGP public key]