Re: current issues on Octeon (ER-4)

Alexander Nasonov <[email protected]> Sat, 7 Dec 2024 15:05:29 +0000
Newsgroups gmane.os.netbsd.ports.mips.devel
Message-ID <Z1RkOQT2zZfzit5z@nebeda>
I recently bought a new ER-4 device as a backup for my aging ER-3
and installed NetBSD-10 on it. The installation to a USB stick was
flawless, and everything seems to work. I haven't yet tried building
any pkgsrc packages, though.

Denis Ovsienko wrote:
> For posterity, when I raised the dk1 problem last time, the workaround
> was to give either "root=dk1" or "root=wedge:octeon-root" parameter to
> NetBSD kernel from U-boot.

The workaround is still needed but it isn't a big problem because
you'll be prompted to enter it, and the kernel will list all devices.

These U-boot commands boot NetBSD 10 for me:

usb reset
fatload usb 0 $loadaddr netbsd
bootoctlinux root=wedge:octeon-root

PS I would prefer a more common GPT label for a root partition. For
encrypted disks we have NAME=cgd.conf to find and mount /etc/cgd with
cgd configs and NAME=cgdroot to mount an encrypted root partition.

Alex