From owner-p4-projects@FreeBSD.ORG Mon Jul 16 22:45:59 2007 Return-Path: X-Original-To: p4-projects@freebsd.org Delivered-To: p4-projects@freebsd.org Received: by hub.freebsd.org (Postfix, from userid 32767) id D3B9916A420; Mon, 16 Jul 2007 22:45:58 +0000 (UTC) X-Original-To: perforce@FreeBSD.org Delivered-To: perforce@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 8A85A16A40D for ; Mon, 16 Jul 2007 22:45:58 +0000 (UTC) (envelope-from gonzo@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [69.147.83.41]) by mx1.freebsd.org (Postfix) with ESMTP id 3F9F013C4DB for ; Mon, 16 Jul 2007 22:45:57 +0000 (UTC) (envelope-from gonzo@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.14.1/8.14.1) with ESMTP id l6GMjvW7069857 for ; Mon, 16 Jul 2007 22:45:57 GMT (envelope-from gonzo@FreeBSD.org) Received: (from perforce@localhost) by repoman.freebsd.org (8.14.1/8.14.1/Submit) id l6GMjv8w069854 for perforce@freebsd.org; Mon, 16 Jul 2007 22:45:57 GMT (envelope-from gonzo@FreeBSD.org) Date: Mon, 16 Jul 2007 22:45:57 GMT Message-Id: <200707162245.l6GMjv8w069854@repoman.freebsd.org> X-Authentication-Warning: repoman.freebsd.org: perforce set sender to gonzo@FreeBSD.org using -f From: Oleksandr Tymoshenko To: Perforce Change Reviews Cc: Subject: PERFORCE change 123613 for review X-BeenThere: p4-projects@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: p4 projects tree changes List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 16 Jul 2007 22:45:59 -0000 http://perforce.freebsd.org/chv.cgi?CH=123613 Change 123613 by gonzo@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