From owner-freebsd-arm@FreeBSD.ORG Mon Mar 23 21:07:30 2009 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 CFB10106567C for ; Mon, 23 Mar 2009 21:07:30 +0000 (UTC) (envelope-from imp@bsdimp.com) Received: from harmony.bsdimp.com (bsdimp.com [199.45.160.85]) by mx1.freebsd.org (Postfix) with ESMTP id 8EE0A8FC1E for ; Mon, 23 Mar 2009 21:07:30 +0000 (UTC) (envelope-from imp@bsdimp.com) Received: from localhost (localhost [127.0.0.1]) by harmony.bsdimp.com (8.14.2/8.14.1) with ESMTP id n2NL5g9K072590; Mon, 23 Mar 2009 15:05:43 -0600 (MDT) (envelope-from imp@bsdimp.com) Date: Mon, 23 Mar 2009 15:06:17 -0600 (MDT) Message-Id: <20090323.150617.-1956306606.imp@bsdimp.com> To: ccna.syl@gmail.com From: "M. Warner Losh" In-Reply-To: <164b4c9c0903231301p754eebb7k84ea2b22d7b60dc1@mail.gmail.com> References: <164b4c9c0903231301p754eebb7k84ea2b22d7b60dc1@mail.gmail.com> X-Mailer: Mew version 5.2 on Emacs 21.3 / Mule 5.0 (SAKAKI) Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit Cc: freebsd-arm@freebsd.org Subject: Re: Atmel at91sam9261-ek support. X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting FreeBSD to the StrongARM Processor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 23 Mar 2009 21:07:31 -0000 In message: <164b4c9c0903231301p754eebb7k84ea2b22d7b60dc1@mail.gmail.com> Sylvestre Gallon writes: : I've got an access to an at91sam9261-ek. This board have a : at91sam9261 soc that is near the at91rm9200, so I start a : little port of it into FreeBSD. So I work 3 days on it and that : results in a Big patch that allow the board to boot. Cool! : This big diff contains : : - an AT91SAM9261EK conf file. : - an std.at91sam9261ek file. : - a begin of dme driver (dm9000 ethernet chip driver). I : will work this week on it to send you another diff that : complete this driver :) : - a board_at91sam9261ek.c file. : - an include for at91sam9261 registers. : - a new watchdog driver (at91_wdt) : - a new smc driver (static memory controller) : - a new pit driver (periodic interval timer) : : There is a lot of little modification on the at91 existing : sources. Noticed.. : As you can see in the diff I work for the moment on a : define way to separate the two soc code that differ. But I : think that in the future a .c for each soc should appear. We definitely need a much better way to cope with all this. The board, SoC, and core are all smushed together right now and we need to properly layer them out... : You can find the dmesg here : : : http://rathaxes.org/~syl/FreeBSD/dmesg-at91sam9261ek.png : : and the patch here : : : http://rathaxes.org/~syl/FreeBSD/at91sam9261ek-FreeBSD-patch : : If you had any questions on this diff or on the at91sam9261-ek board : you're welcome :) Way cool. I've been wanting to do something similar, but haven't had the time :( Warner