Re: Anyone looked at porting T-series CPU support from OpenBSD?

Palle Lyckegaard <[email protected]> Tue, 5 Aug 2025 18:52:13 +0000 (UTC)
Newsgroups gmane.os.netbsd.ports.sparc64
Message-ID <[email protected]>
On Tue, 5 Aug 2025, Chris Hanson wrote:

> Date: Tue, 5 Aug 2025 01:17:49 -0700
> From: Chris Hanson <[email protected]>
> To: [email protected]
> Subject: Anyone looked at porting T-series CPU support from OpenBSD?
> 
> It looks like OpenBSD supports the T1 and later SPARC CPUs.
>
> Has anyone looked at what it would take to use that to enable T1-and-later support for NetBSD?
>
>  -- Chris
>


Hi Chris.

I've been working on this on and off for some yeasr now...

Based on the implementation from OpenBSD the NetBSD sparc64 kernel is able 
to boot (partly on T1 and T2 systems) and fully on at least T4, T5 and S7 
systems - both bare-metal and in ldoms.

On the systems where the kernel boots fine, the sysinst programs runs fine 
until the point the the "makedev" script is running, causing the kernel to 
go into an endless loop uwing 100% CPU.

I keep digging into this issue and hope to be able to complete the port 
some day... :-)

Meanwhile you can try on a system and report any issues found here.

An updated list of the status can be found in 
src/sys/arch/sparc64/doc/TODO

Regards
Palle Lyckegaard
[email protected]