Port-cats archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: Anybody running NetBSD/cats on bare metal?



Hi,

On Sat, Oct 12, 2024 at 07:11:59PM +0200, Harold Gutch wrote:
> I recently played around with NetBSD/cats in gxemul.  Releases up to
> NetBSD 7.0 work, NetBSD 8.0 and 9.0 boot but OpenSSL seems to be
> broken on them in a similar manner to PR 53670, but 10.0 and current
> don't boot at all.  I bisected this to the switch from gcc 9 to gcc 10
> in https://mail-index.netbsd.org/source-changes/2021/06/19/msg130281.html
> 
> Booting a kernel built after this commit results in no console output
> in gxemul and it then exiting with the error
> "arm_load_register_bank: unimplemented mode 0".

After playing around with this a bit longer I finally tracked it down
to the SBCS instruction in gxemul not updating the processor flags
correctly.  And then I realized that Nick had done exactly the same
thing 3 years ago and gxemul-trunk (or gxemul from pkgsrc) already
contain that fix, it's just the last gxemul release that doesn't...

With that I just successfully installed -current in a cats emulated by
gxemul.


  Harold


Home | Main Index | Thread Index | Old Index