From owner-freebsd-arm@FreeBSD.ORG Tue Jun 1 13:42:40 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 45EE71065670 for ; Tue, 1 Jun 2010 13:42:40 +0000 (UTC) (envelope-from yohanes@gmail.com) Received: from mail-gy0-f182.google.com (mail-gy0-f182.google.com [209.85.160.182]) by mx1.freebsd.org (Postfix) with ESMTP id 5314D8FC13 for ; Tue, 1 Jun 2010 13:42:38 +0000 (UTC) Received: by gyh20 with SMTP id 20so4533669gyh.13 for ; Tue, 01 Jun 2010 06:42:38 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:mime-version:received:in-reply-to :references:from:date:message-id:subject:to:cc:content-type :content-transfer-encoding; bh=/GNz+tHBQYrwttwKcVeqhvUT62SQK4kScFmYY7yLgsw=; b=GdU5f7Ypd3af/r6kbfmkzQONadwZPa6vWgQ2N9b5AFljG0y8Ahx/WppuHeYMe8oBxA o00U2sg+G8hu3YdK7liXs4WeFIi1rIutd3wSPTB1nS9tcGNKf/PAGd6vu5Oitp89W/gF lzKvDYnbKipsih1zJuH8tygYE0thuCDLsXxfs= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type:content-transfer-encoding; b=XO2w2sevFTOrMMjuoQoM5bxS7g3YCCDrqnoOMlgkZRqb0j2xB7oaGn067+n79C2oCI zCxopwp62vKajC3NLiHmvPJS3Ol53K4otnVGvn0RAm2njijf1wq94iG2w30Nf8yR5UGl CPrJghVpWFVopaLdbA2MfGsLjmah/p1OXt1kg= Received: by 10.231.147.143 with SMTP id l15mr7874999ibv.9.1275399758256; Tue, 01 Jun 2010 06:42:38 -0700 (PDT) MIME-Version: 1.0 Received: by 10.231.199.8 with HTTP; Tue, 1 Jun 2010 06:42:18 -0700 (PDT) In-Reply-To: <20100531.221446.770914110756584248.imp@bsdimp.com> References: <20100531.221446.770914110756584248.imp@bsdimp.com> From: Yohanes Nugroho Date: Tue, 1 Jun 2010 20:42:18 +0700 Message-ID: To: "M. Warner Losh" Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Cc: freebsd-arm@freebsd.org Subject: Re: at91sam9g20 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: Tue, 01 Jun 2010 13:42:40 -0000 On Tue, Jun 1, 2010 at 11:14 AM, M. Warner Losh wrote: > : http://bsdimp.blogspot.com/2007/03/followup-atmel-at91-family-work.html > : http://marc.info/?l=3Dfreebsd-arm&m=3D123783989612142&w=3D2 > > Yes. =C2=A0There's a lot of ideas, but I never had time to implement them= . > The best part would be to convert the atmel port to use FDT and that > would nicely solve most of the problems. I will look into the FDT, and see how much work it would be. > > : - I've got the SPI code to work, and modify the hardcoded value in > : at45d =C2=A0for the dataflash. I can get the JEDEC ID and status. But h= ow > : do i test reading from the /dev/flash/spi0 from userspace? > > dd if=3D/dev/flash/spi0 bs=3Dblock-size ah yes, the blocksize, now I can say the SPI and at45d (dataflash) works. --=20 Regards Yohanes http://yohan.es/