From owner-freebsd-arm@FreeBSD.ORG Mon Jul 19 15:36:25 2010 Return-Path: Delivered-To: freebsd-arm@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 1AAAE106566B for ; Mon, 19 Jul 2010 15:36:25 +0000 (UTC) (envelope-from ticso@cicely7.cicely.de) Received: from raven.bwct.de (raven.bwct.de [85.159.14.73]) by mx1.freebsd.org (Postfix) with ESMTP id B72D98FC19 for ; Mon, 19 Jul 2010 15:36:24 +0000 (UTC) Received: from mail.cicely.de ([10.1.1.37]) by raven.bwct.de (8.13.4/8.13.4) with ESMTP id o6JFaJIL047103 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Mon, 19 Jul 2010 17:36:21 +0200 (CEST) (envelope-from ticso@cicely7.cicely.de) Received: from cicely7.cicely.de (cicely7.cicely.de [10.1.1.9]) by mail.cicely.de (8.14.3/8.14.3) with ESMTP id o6JFaFA1084264 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Mon, 19 Jul 2010 17:36:15 +0200 (CEST) (envelope-from ticso@cicely7.cicely.de) Received: from cicely7.cicely.de (localhost [127.0.0.1]) by cicely7.cicely.de (8.14.2/8.14.2) with ESMTP id o6JFaFjK031187; Mon, 19 Jul 2010 17:36:15 +0200 (CEST) (envelope-from ticso@cicely7.cicely.de) Received: (from ticso@localhost) by cicely7.cicely.de (8.14.2/8.14.2/Submit) id o6JFaELn031186; Mon, 19 Jul 2010 17:36:14 +0200 (CEST) (envelope-from ticso) Date: Mon, 19 Jul 2010 17:36:14 +0200 From: Bernd Walter To: Greg Ansley Message-ID: <20100719153614.GI28908@cicely7.cicely.de> References: <4C444E8B.6090104@ansley.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <4C444E8B.6090104@ansley.com> X-Operating-System: FreeBSD cicely7.cicely.de 7.0-STABLE i386 User-Agent: Mutt/1.5.11 X-Spam-Status: No, score=-2.9 required=5.0 tests=ALL_TRUSTED=-1, BAYES_00=-1.9, T_RP_MATCHES_RCVD=-0.01 autolearn=ham version=3.3.0 X-Spam-Checker-Version: SpamAssassin 3.3.0 (2010-01-18) on spamd.cicely.de Cc: freebsd-arm@freebsd.org Subject: Re: at91sam9g20: Upcoming Patches X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: ticso@cicely.de List-Id: Porting FreeBSD to the StrongARM Processor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 19 Jul 2010 15:36:25 -0000 On Mon, Jul 19, 2010 at 09:09:31AM -0400, Greg Ansley wrote: > During the next day or so I'll be submitting the following patches for > the arm/at91 (head) tree with the goal of eventually being able to > create a single "GENERIC" kernel that will boot on the at91rm9200, > at91sam926? and at91sam9g20 (as long as boot sequence configures the > multiplexed pins). > > I also have patches against 8-current if any one needs them. > > These patches have been tested on a KB9202C and an Atmel AT91SAM9G20EK > Rev B. I would appreciate testing (or loan of boards) for the > at91sam926? family. > > I am assuming it would be best to submit separate PRs for each of the > changes. If something else is preferred let me know. > > at91_mci.c: > > * Compile and run time selection of "Slot B" of mci controller. > * Compile and run time selection of 4 wire connection (4x bandwidth > to slot). > * No byte swapping on non-RM9200 targets. > * Fix obscure segfault when bus_dma_load() fails in > at91_mci_start_cmd(). > > at91_pit.c: > > * Support for full resolution timer counter. > * Remove compile time address dependencies. > > at91_rst.c: (NEW) > > * Support SAM9 reset controller. > * Implement shutdown() on NRST (reset button) and full reset if held > for more the 5 seconds. > > at91_wdt.c: (NEW) > > * Support SAM9 watchdog timer using the watchdog(9) style interface. > > if_ate.c: > > * Support for sam9 "EMAC" controller. > * Support for rmii interface to phy. RM9200 ate requires specific DMA alignment, which required a few realign copys. This isn't neccessary for most other AT91 devices and for sure not with any AT91SAM9x device. Not sure if all of them are automatically avoided - you might want to verify the code about this point. There is also RBNA workaround, which should be RM9200 specifc, which shouldn't be triggered with others, but you might want to save a few bytes codespace. > at91.c & at91sam9.c: > > * Eliminate separate at91sam9.c file. > * Add new devices to at91sam9_devs table. > > at91_machdep.c & at at91sam9_machdep.c: > > * Automatic chip type determination. > * Remove compile time chip dependencies. > * Eliminate separate at91sam9_machdep.c file. > > at91_pmc.c: > > * Corrected support for all of the sam926? and sam9g20 chips. > * Remove compile time chip dependencies. > > Greg Ansley > > _______________________________________________ > freebsd-arm@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-arm > To unsubscribe, send any mail to "freebsd-arm-unsubscribe@freebsd.org" -- B.Walter http://www.bwct.de Modbus/TCP Ethernet I/O Baugruppen, ARM basierte FreeBSD Rechner uvm.