Re: Which kernel for Lemote Yeeloong?

Manuel Bouyer <[email protected]> Fri, 18 Nov 2011 12:45:20 +0100
Newsgroups gmane.os.netbsd.ports.evbmips
Message-ID <[email protected]>
On Thu, Nov 17, 2011 at 01:34:26PM -0600, John D. Baker wrote:
> Ah.  I'd forgotten to use "-k".  Adding that option so that the boot
> command was:
> 
>   boot -k tftp://x.y.z.q/netbsd-LOONGSON
> 
> loaded the kernel and it was happy enough to get as far as displaying
> messages in PMON text mode to the effect of:
> 
>   pmap_steal_memory [blah]
>   pmap_steal_memory [blahblah]
> 
> (I'll try to get more complete messages soon) and then it doesn't appear
> to go any further.  Perhaps the workarounds for the various processor
> errata are not enabled, or not approriate/sufficient for the Yeeloong's
> Loongson-2f processor?

AFAIK the Yeeloong uses the same cpu as the fuloong, so this shouldn't
be the problem.
I guess it has more something to do with the console.

The first thing to do is to try a kernel built with
options LOW_DEBUG

> 
> Attempts to boot the GDIUM64 kernel with "-k" didn't change the behavior
> from that described previously.   The Yeeloong has 1GB of RAM, but the
> GDIUM64 kernel's only discernable output was to claim that it only had
> 256MB of which 247MB were available.

Yes, evmbips/gdium misses code to handle memory mappings.

-- 
Manuel Bouyer <[email protected]>
     NetBSD: 26 ans d'experience feront toujours la difference
--