Subject: Re: Malta-4Kc> Compilation, self-build kernel fails
To: Simon Burge <simonb@wasabisystems.com>
From: GIRISH V. GULAWANI <girishvg@yahoo.com>
List: port-mips
Date: 06/01/2002 19:43:24
Hi, Simon.
Thanks a lot.

> > First of all I could not find a binary snapshot of
> > kernel for Malta, as announced by Wasabi. The
> evbmips
> > doesn't even exist in FTP sites. However the
> source
> > code is present in CVS-web.
> 
> Hmm.  I'll check up on that.
Yes it serves a great purpose, because just by looking
at snapshot on the screen gives a realistic view.
 
> > QUE: WHERE TO GET CORRECT VERSION SOURCE CODE??
> 
> The tar files under
> pub/NetBSD/NetBSD-current/tar_files/src
> on ftp.netbsd.org or anoncvs (look at
>
http://www.netbsd.org/Documentation/current/#using-anoncvs)
> would be the
> best place to start.
Thanks. I will check this. Last Friday (my time), I
was able to version up all the source code& with a few
compiler errors was able to build the kernel. The
major change found was change from MIPS-ISA to
MIPS32/64 convention. But still the execution fails. 

In the file malta_intr.c the malta_cal_timer() routine
fails, it seems the RTC is not setting RQTF, the 7th
bit in REGC & the code loops forever. With *some*
logic, I break out of the loop however later on the
PCI bus access fails. The configuration access
(0xCF8-0xCFC) inside PCI detection fails to get the
data & it hangs on the access. 
Because the Malta port is working on your board, I'm
sure there is some problem with my configuration or
something. I think my board configurations is same as
that of yours, its TI MIPS-4KC with Galilio. Any idea
where could be the problem? 

Many thanks again & best regards.
Girish.


__________________________________________________
Do You Yahoo!?
Yahoo! - Official partner of 2002 FIFA World Cup
http://fifaworldcup.yahoo.com