From owner-freebsd-mips@FreeBSD.ORG Sat May 5 20:33:55 2007 Return-Path: X-Original-To: freebsd-mips@freebsd.org Delivered-To: freebsd-mips@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id B8A8516A400 for ; Sat, 5 May 2007 20:33:55 +0000 (UTC) (envelope-from bms@incunabulum.net) Received: from out1.smtp.messagingengine.com (out1.smtp.messagingengine.com [66.111.4.25]) by mx1.freebsd.org (Postfix) with ESMTP id 92A1413C45D for ; Sat, 5 May 2007 20:33:55 +0000 (UTC) (envelope-from bms@incunabulum.net) Received: from compute1.internal (compute1.internal [10.202.2.41]) by out1.messagingengine.com (Postfix) with ESMTP id 368B921E089 for ; Sat, 5 May 2007 16:34:21 -0400 (EDT) Received: from heartbeat1.messagingengine.com ([10.202.2.160]) by compute1.internal (MEProxy); Sat, 05 May 2007 16:33:56 -0400 X-Sasl-enc: v+Ocp/OOWmUCI9SQDcArOgSByeWtS4c0+55+K20YAlGa 1178397235 Received: from [192.168.123.18] (82-35-112-254.cable.ubr07.dals.blueyonder.co.uk [82.35.112.254]) by mail.messagingengine.com (Postfix) with ESMTP id 8B2F2294C3 for ; Sat, 5 May 2007 16:33:55 -0400 (EDT) Message-ID: <463CEA31.6000607@incunabulum.net> Date: Sat, 05 May 2007 21:33:53 +0100 From: Bruce M Simpson User-Agent: Thunderbird 1.5.0.10 (X11/20070407) MIME-Version: 1.0 To: freebsd-mips@freebsd.org Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: Clock discovery on Broadcom / CFE systems X-BeenThere: freebsd-mips@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting FreeBSD to MIPS List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 05 May 2007 20:33:55 -0000 My research on hardware support for FreeBSD/mips continues. It looks like the CFE firmware does not permit for the discovery of system clocks in the same way that YAMON does. The Broadcom Sentry5 board support package for Linux uses a combination of hardcoded clock lines and probing of the MMIO registers in the Sonics SiliconBackplane. David Young tells me that he's had a Google SoC student as of last year looking into getting the SiliconBackplane stuff to work with NetBSD, but that this work is unfinished. This work is available at: Digging further into those files reveals the following resource: http://bcm-specs.sipsolutions.net/ Having glanced briefly at the Linux BSP I would suggest the best course of action may be to write our own FreeBSD Newbus BSP for the Sentry5. Doing this work would enable FreeBSD/mips to support the Linksys WRT54G, Netgear WGT634U and other Broadcom Sentry5 based consumer hardware. Regards, BMS