PERFORCE change 123613 for review
Oleksandr Tymoshenko
gonzo at FreeBSD.org
Mon Jul 16 22:45:59 UTC 2007
http://perforce.freebsd.org/chv.cgi?CH=123613
Change 123613 by gonzo at gonzo_jeeves on 2007/07/16 22:44:56
o Add uart support, netboot with root over nfs.
o Add list of hinted devices.
Affected files ...
.. //depot/projects/mips2/src/sys/mips/conf/ADM5120#2 edit
.. //depot/projects/mips2/src/sys/mips/conf/ADM5120.hints#2 edit
Differences ...
==== //depot/projects/mips2/src/sys/mips/conf/ADM5120#2 (text+ko) ====
@@ -32,10 +32,10 @@
hints "ADM5120.hints" #Default places to look for devices.
-# makeoptions DEBUG=-g #Build kernel with gdb(1) debug symbols
+makeoptions DEBUG=-g #Build kernel with gdb(1) debug symbols
-# options DDB
-# options KDB
+options DDB
+options KDB
options SCHED_4BSD #4BSD scheduler
options INET #InterNETworking
@@ -44,23 +44,29 @@
options PSEUDOFS #Pseudo-filesystem framework
# options _KPOSIX_PRIORITY_SCHEDULING #Posix P1003_1B real-time extensions
+options BOOTP
+options BOOTP_NFSROOT
+options BOOTP_NFSV3
+options BOOTP_WIRED_TO=admsw0
+options BOOTP_COMPAT
+
# options FFS #Berkeley Fast Filesystem
# options SOFTUPDATES #Enable FFS soft updates support
# options UFS_ACL #Support for access control lists
# options UFS_DIRHASH #Improve performance on big directories
-# options ROOTDEVNAME=\"ufs:ad0s1a\"
+options ROOTDEVNAME=\"nfs:10.0.0.1:/mnt/bsd\"
# Debugging for use in -current
-# options INVARIANTS #Enable calls of extra sanity checking
-# options INVARIANT_SUPPORT #Extra sanity checks of internal structures, required by INVARIANTS
+options INVARIANTS #Enable calls of extra sanity checking
+options INVARIANT_SUPPORT #Extra sanity checks of internal structures, required by INVARIANTS
#options WITNESS #Enable checks to detect deadlocks and cycles
#options WITNESS_SKIPSPIN #Don't run witness on spinlocks for speed
device genclock
device loop
device ether
+device uart
# device md
# device mem
-# device uart
# device uart_ns8250
==== //depot/projects/mips2/src/sys/mips/conf/ADM5120.hints#2 (text+ko) ====
@@ -1,4 +1,17 @@
# device.hints
-# hint.uart.0.at="nexus"
-# hint.uart.0.maddr="0x180003f8"
-# hint.uart.0.flags="0x90"
+hint.obio.0.at="nexus0"
+hint.obio.0.maddr=0x0
+hint.obio.0.msize=0x1fffffff
+
+# host-to-pci bridge
+hint.pcib.0.at="obio0"
+hint.pcib.0.maddr=0x11400000
+hint.pcib.0.msize=0x100000
+hint.pcib.0.io=0x11500000
+hint.pcib.0.iosize=0x100000
+
+# on-board switch engine
+hint.admsw.0.at="obio0"
+hint.admsw.0.maddr=0x12000000
+hint.admsw.0.msize=0x200000
+hint.admsw.0.irq=9
More information about the p4-projects
mailing list