File:  [NetBSD Developer Wiki] / wikisrc / ports / evbmips / loongson.mdwn
Revision 1.2: download - view: text, annotated - select for diffs
Sun Jul 10 12:22:48 2016 UTC (5 years, 3 months ago) by wiki
Branches: MAIN
CVS tags: HEAD
web commit by jmcneill: add xorg.conf

    1: [[!meta title="NetBSD/evbmips on Loongson MIPS64 CPUs"]]
    2: 
    3: 
    4: [[!toc levels=2]]
    5: 
    6: # PMON booting
    7: 
    8: PMON can directly load an uncompressed ELF kernel. An ext2 partition is required to host the kernel.
    9: 
   10: To boot from a USB device:
   11: 
   12: [[!template  id=programlisting text="""
   13: PMON> boot -k (usb0,0)/netbsd-LOONGSON
   14: """]]
   15: 
   16: To boot from the internal IDE hard disk:
   17: 
   18: [[!template  id=programlisting text="""
   19: PMON> boot -k (wd0,0)/netbsd-LOONGSON
   20: """]]
   21: 
   22: # Partitioning
   23: 
   24: Use MBR partitioning and create an ext2 partition for the kernel and boot configuration.
   25: 
   26: # Boot menu
   27: 
   28: To configure the boot menu, create *boot.cfg* on the ext2 partition:
   29: 
   30: [[!template  id=programlisting text="""
   31: timeout 3
   32: default 0
   33: showmenu 1
   34: 
   35: title NetBSD
   36:         kernel  (wd0,0)/netbsd
   37:         args    --
   38: """]]
   39: 
   40: # Xorg
   41: 
   42: The following xorg.conf works for Leemote YeeLoong 8089B:
   43: 
   44: [[!template  id=programlisting text="""
   45: Section "Module"
   46:         Load "vgahw"
   47:         Load "exa"
   48:         Load "xaa"
   49: EndSection
   50: 
   51: Section "Device"
   52:         Identifier "LynxEM+"
   53:         Driver "siliconmotion"
   54:         BusID "pci:0@0:8:0"
   55: #       Option "AccelMethod" "EXA"
   56:         Option "PanelSize" "1024x600"
   57: EndSection
   58: 
   59: Section "Monitor"
   60:         Identifier "Internal LCD"
   61: EndSection
   62: 
   63: Section "Screen"
   64:         Identifier "Screen"
   65:         Device "LynxEM+"
   66:         Monitor "Internal LCD"
   67:         DefaultDepth 16
   68: EndSection
   69: """]]

CVSweb for NetBSD wikisrc <wikimaster@NetBSD.org> software: FreeBSD-CVSweb