Re: struct _BootConfig is ... strange...

Robert Swindells <[email protected]>
Newsgroups gmane.os.netbsd.ports.hpcarm
Message-ID <[email protected]>
Ignatios Souvatzis wrote:
>I've spent about 4 days in total in the last few months debugging a
>strange startup problem with the Jornada 820 which runs out to having
>been caused by this part of hpcarm/include/bootconfig.h:

>#define DRAM_BLOCKS     1

>typedef struct _BootConfig {
>        PhysMem dram[DRAM_BLOCKS];
>	u_int dramblocks;
>	u_int kernsize;
>} BootConfig;

>Why exactly is this written that way?

It is copied from cats.

The DRAM_BLOCKS define ought to be 4 on SA11x0/PXA2xx systems, that is
what I was using for the webpad port that I did.

How are you getting on with the port ?

Robert Swindells
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.