NetBSD Wiki/ports/evbmips/
NetBSD/evbmips on Loongson MIPS64 CPUs
PMON booting
PMON can directly load an uncompressed ELF kernel. An ext2 partition is required to host the kernel.
To boot from a USB device:
PMON> boot -k (usb0,0)/netbsd-LOONGSON
To boot from the internal IDE hard disk:
PMON> boot -k (wd0,0)/netbsd-LOONGSON
Partitioning
Use MBR partitioning and create an ext2 partition for the kernel and boot configuration.
Boot menu
To configure the boot menu, create boot.cfg on the ext2 partition:
timeout 3
default 0
showmenu 1
title NetBSD
        kernel  (wd0,0)/netbsd
        args    --
Xorg
The following xorg.conf works for Leemote YeeLoong 8089B:
Section "Module"
        Load "vgahw"
        Load "exa"
        Load "xaa"
EndSection
Section "Device"
        Identifier "LynxEM+"
        Driver "siliconmotion"
        BusID "pci:0@0:8:0"
#       Option "AccelMethod" "EXA"
        Option "PanelSize" "1024x600"
EndSection
Section "Monitor"
        Identifier "Internal LCD"
EndSection
Section "Screen"
        Identifier "Screen"
        Device "LynxEM+"
        Monitor "Internal LCD"
        DefaultDepth 16
EndSection
