Port-powerpc archive

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

Re: netbsd-daily for dht-walnut?



Hi,

On 2022/05/04 14:44, Simon Burge wrote:
r34per wrote:

Is the daily branch of netbsd(9.99.96 is the most recent IIRC) able to
be booted on a DHT-Walnut? I read support was added for it, and I was
able to compile the kernel and userland of netbsd-daily for it, but
I'm a bit unsure how to boot it on my DHT walnut. Can I simply tftp
boot the kernel?

I'd be surprised if it worked without changes.  I did the original
IBM/AMCC Walnut port and that used a very simple boot loader called
OpenBIOS.  It looks like the DHT-Walnut uses ppcboot/u-boot, so you'd
need to change
https://nxr.netbsd.org/xref/src/sys/arch/evbppc/walnut/machdep.c#111
at least and probably the console init code.

It works; I added support for it :) (see evbppc/dht)

I forgot exact settings for u-boot, but netbsd.bin generated for
DHT kernel is bootable via tftp. Here's console log:

https://gist.github.com/rokuyama/eec1996dedd7422a30936aa9b56f0eba

Note that pdcide(4) driver for internal PATA controller does not
work for cold boot. If you use internal PATA, you need to reboot
NetBSD kernel.

Alternatively, external SATA controllers in PCI slot should work
without problems (at least, I tried ahcisata(4) and siisata(4) via
PCI-PCIe reverse bridge).

Thanks,
rin


Home | Main Index | Thread Index | Old Index