From owner-freebsd-arm@FreeBSD.ORG Mon Mar 23 20:24:46 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 D6DC41065672 for ; Mon, 23 Mar 2009 20:24:46 +0000 (UTC) (envelope-from ccna.syl@gmail.com) Received: from yx-out-2324.google.com (yx-out-2324.google.com [74.125.44.29]) by mx1.freebsd.org (Postfix) with ESMTP id 8EFBA8FC16 for ; Mon, 23 Mar 2009 20:24:46 +0000 (UTC) (envelope-from ccna.syl@gmail.com) Received: by yx-out-2324.google.com with SMTP id 8so1370668yxm.13 for ; Mon, 23 Mar 2009 13:24:46 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:date:received:message-id:subject :from:to:content-type:content-transfer-encoding; bh=zgrH+NSIo0hxJjkbuN/DFE24giovGmCIm7dNct6AZxo=; b=qSOeE6pLkoNe64jT3H09/3CdLvCvn68wSC4I4x/ExzO2ATQrCia7my+QwA0y1ujpMA ejUgVwquJFZM43UbWGjt6to2blCKAXiDc761WucAEQj/5nAHeQ6uQ1x5rBQb739dE18W HeUgqiyOrNLKlHFEyDa1UGI4TXc4inzCUB6Ss= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type :content-transfer-encoding; b=XBXXRmGNjiq6D5kP/8ecSND7/Vf5CeG29+gm2ln77o3eAIGHqagojJ7JNYizD3QNfk /9ccPZD9Vu+SytUenRz26fFu41DOfBUh4f3AuodxtbNdRaq88yeXa1Jx1KBuh8ZHmjMI 3bEQHOEb5MPu7fa77/nRD7vDqzAcPgZ9UM1dA= MIME-Version: 1.0 Date: Mon, 23 Mar 2009 21:01:50 +0100 Received: by 10.231.10.140 with SMTP id p12mr1643325ibp.38.1237838525411; Mon, 23 Mar 2009 13:02:05 -0700 (PDT) Message-ID: <164b4c9c0903231301p754eebb7k84ea2b22d7b60dc1@mail.gmail.com> From: Sylvestre Gallon To: freebsd-arm@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Subject: 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 20:24:47 -0000 Hi freebsd-arm@ 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. As you can see in the dmesg, for the moment the system hangs, but it is normal (I haven't yet finish the implementation of the dm9000 ethernet driver so NFS don't find any ethernet interface and panic). 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. 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. 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 :) Thanks for your time. Cheers, -- Sylvestre Gallon (http://devsyl.blogspot.com) Fifth Grade Student @ Epitech & Researcher @ LSE R&D @ Rathaxes (http://www.rathaxes.org)