From owner-p4-projects@FreeBSD.ORG Mon May 7 16:26:03 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 9683516A415; Mon, 7 May 2007 16:26:03 +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 6971316A410 for ; Mon, 7 May 2007 16:26:03 +0000 (UTC) (envelope-from bms@incunabulum.net) Received: from repoman.freebsd.org (repoman.freebsd.org [69.147.83.41]) by mx1.freebsd.org (Postfix) with ESMTP id 445C313C483 for ; Mon, 7 May 2007 16:26:03 +0000 (UTC) (envelope-from bms@incunabulum.net) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.13.8/8.13.8) with ESMTP id l47GQ3sU060011 for ; Mon, 7 May 2007 16:26:03 GMT (envelope-from bms@incunabulum.net) Received: (from perforce@localhost) by repoman.freebsd.org (8.13.8/8.13.8/Submit) id l47GQ2K5060008 for perforce@freebsd.org; Mon, 7 May 2007 16:26:02 GMT (envelope-from bms@incunabulum.net) Date: Mon, 7 May 2007 16:26:02 GMT Message-Id: <200705071626.l47GQ2K5060008@repoman.freebsd.org> X-Authentication-Warning: repoman.freebsd.org: perforce set sender to bms@incunabulum.net using -f From: Bruce M Simpson To: Perforce Change Reviews Cc: Subject: PERFORCE change 119425 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, 07 May 2007 16:26:03 -0000 http://perforce.freebsd.org/chv.cgi?CH=119425 Change 119425 by bms@bms_anglepoise on 2007/05/07 16:25:29 update config to reflect a) this is a CFE based platform b) the device drivers ain't ready for primetime yet Affected files ... .. //depot/projects/mips2/src/sys/mips/conf/SENTRY5#3 edit Differences ... ==== //depot/projects/mips2/src/sys/mips/conf/SENTRY5#3 (text+ko) ==== @@ -1,6 +1,6 @@ # # $FreeBSD$ -# $P4: //depot/projects/mips2/src/sys/mips/conf/SENTRY5#2 $ +# $P4: //depot/projects/mips2/src/sys/mips/conf/SENTRY5#3 $ # # The Broadcom Sentry5 series of processors and boards is very commonly # used in COTS hardware including the Netgear WGT634U. @@ -16,9 +16,6 @@ # SiliconBackplane, needs to be integrated to detect and probe hardware # correctly. # -# * Support for the CFE firmware needs to be brought in. -# http://ftp.riken.go.jp/pub/pub/NetBSD/NetBSD-current/src/sys/arch/mips/cfe/ -# # * The clock needs to be calibrated correctly, so that DELAY() may work. # One problem with this is that the low-level printf() routine calls DELAY(), # which currently causes divide-by-zero trap @@ -32,10 +29,22 @@ ident SENTRY5 cpu CPU_MIPS4KC # XXX MIPS32? options CPU_NOFPU -options CPU_SENTRY5 +options CPU_SENTRY5 # XXX should this be a + # sub-cpu option? + +# XXX only siba should be hardwired for now; we will use +# bus enumeration there files "../mips32/sentry5/files.sentry5" -hints "SENTRY5.hints" #Default places to look for devices. +hints "SENTRY5.hints" + +# sentry5 normally ships with cfe firmware; use the console for now +options CFE +options CFE_CONSOLE +options ALT_BREAK_TO_DEBUGGER +# cfe loader expects kernel at 0x80001000 for mips32 w/o backwards +# offsets in the linked elf image (see ldscript hack) +# XXX can we conditionalize the linker stuff on options CFE? options KERNVIRTADDR=0x80001000 #makeoptions ARCH_FLAGS=-march=mips32 @@ -57,16 +66,17 @@ options INVARIANTS options INVARIANT_SUPPORT -# TODO: SiliconBackplane board support +# TODO: SiliconBackplane board support. #device siba -device pci -device uart -device uart_ns8250 +# XXX notyet; need to be auto probed children of siba0. +#device pci +#device uart +#device uart_ns8250 -# XXX Should this be bce or bfe? -device bfe -device miibus +# XXX notyet; bfe needs to attach via siba *and* pci. +#device bfe +#device miibus device genclock device loop