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

    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: """]]

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