From owner-freebsd-arm@FreeBSD.ORG Mon May 31 11:06:52 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 A0908106566C for ; Mon, 31 May 2010 11:06:52 +0000 (UTC) (envelope-from owner-bugmaster@FreeBSD.org) Received: from freefall.freebsd.org (unknown [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 750FB8FC12 for ; Mon, 31 May 2010 11:06:52 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.4/8.14.4) with ESMTP id o4VB6q8c045938 for ; Mon, 31 May 2010 11:06:52 GMT (envelope-from owner-bugmaster@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.4/8.14.4/Submit) id o4VB6pQF045936 for freebsd-arm@FreeBSD.org; Mon, 31 May 2010 11:06:51 GMT (envelope-from owner-bugmaster@FreeBSD.org) Date: Mon, 31 May 2010 11:06:51 GMT Message-Id: <201005311106.o4VB6pQF045936@freefall.freebsd.org> X-Authentication-Warning: freefall.freebsd.org: gnats set sender to owner-bugmaster@FreeBSD.org using -f From: FreeBSD bugmaster To: freebsd-arm@FreeBSD.org Cc: Subject: Current problem reports assigned to freebsd-arm@FreeBSD.org 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, 31 May 2010 11:06:52 -0000 Note: to view an individual PR, use: http://www.freebsd.org/cgi/query-pr.cgi?pr=(number). The following is a listing of current problems submitted by FreeBSD users. These represent problem reports covering all versions including experimental development code and obsolete releases. S Tracker Resp. Description -------------------------------------------------------------------------------- o arm/134368 arm [patch] nslu2_led driver for the LEDs on the NSLU2 o arm/134338 arm [patch] Lock GPIO accesses on ixp425 2 problems total. From owner-freebsd-arm@FreeBSD.ORG Tue Jun 1 02:15:30 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 5D2591065672 for ; Tue, 1 Jun 2010 02:15:30 +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 10BD58FC18 for ; Tue, 1 Jun 2010 02:15:29 +0000 (UTC) Received: by gyh20 with SMTP id 20so4094500gyh.13 for ; Mon, 31 May 2010 19:15:29 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:mime-version:received:from:date :message-id:subject:to:content-type; bh=zpoTBXL0Wt103mIfZRSWx7pPQSQI7tHk/oIMctTdcEE=; b=tG8PrLR3GBoP44cvS+uHUXLg/w14XiokyiB9Ppm0eoP/CTQLBRt0iJuif4Rb1V2zzH AkIxR2wdbc3cNiUiXusn/dL6siAu4wbxcBWtWT21I10WHPpiPDJ5Qa2eZ61Ot5Sy+9kH 2JQRGIosiYhqSAKgJ4Bvk7JhsDZH7ZCcNoudo= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:from:date:message-id:subject:to:content-type; b=GTJrdU917kRSf9ljeMH5FnKve6d39ySjYVXNDC5RGaRIGa/LLORdiREx+Et0x/Bjso CV6sJMdlpXF0oIQx3d9M3F6nmcDSxR0jCCMWws0alZuEcycFzXArtPrELyHaIpFg6pQ5 EY9tsVRovO1SMQnjfEL6Gf9xp+ulSDKp3A1OI= Received: by 10.231.149.203 with SMTP id u11mr325256ibv.6.1275358528044; Mon, 31 May 2010 19:15:28 -0700 (PDT) MIME-Version: 1.0 Received: by 10.231.199.8 with HTTP; Mon, 31 May 2010 19:15:06 -0700 (PDT) From: Yohanes Nugroho Date: Tue, 1 Jun 2010 09:15:06 +0700 Message-ID: To: freebsd-arm@freebsd.org Content-Type: text/plain; charset=UTF-8 Subject: 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 02:15:30 -0000 I have started AT91SAM9G20 FreeBSD-arm port several months ago with the Hot-e (HL201 donated by John Nicholls). It mostly works now, but the code organization is still very messy (I added many #ifdefs), I need advice on this. What works: I can boot to single/multi user mode using USB disk, and networking (it works well, 100 mbps). What doesn't work yet: NAND, Audio, Video (John said, his team is working on this, so I am not touching this). I have few questions: - What is the best way to merge AT91RM9200 code with AT91SAM9G20, some code. I know there are several people that started to work on other Atmel Chips, but the code never gets commited, for example: http://bsdimp.blogspot.com/2007/03/followup-atmel-at91-family-work.html http://marc.info/?l=freebsd-arm&m=123783989612142&w=2 it has been talked about: http://lists.freebsd.org/pipermail/freebsd-arm/2009-May/001742.html http://lists.freebsd.org/pipermail/freebsd-arm/2009-May/001743.html But Sylvestre Gallon didn't continue his work (and didn't reply my email), so should I just try to implement what Warner Losh suggested? I will need someone with RM9200 board to help me test if my refactoring still works on the RM9200 board (or someone care to donate one to me?). - From the state of the freebsd NAND http://wiki.freebsd.org/NAND, if I want to write the NAND driver, I should go with FreeBSD NAND Flash Framework (http://p4db.freebsd.org/branchView.cgi?BRANCH=nand2) right? (I hope the code is quite stable now). - I've got the SPI code to work, and modify the hardcoded value in at45d for the dataflash. I can get the JEDEC ID and status. But how do i test reading from the /dev/flash/spi0 from userspace? In case anyone wants to have a look at my (still) messy code or wants to play around with it: - Audio: I don't have a clue where to start writing the device driver for this. Can anyone points me to some documents/source code to study? http://gitorious.org/freebsd-arm -- Regards Yohanes http://yohan.es/ From owner-freebsd-arm@FreeBSD.ORG Tue Jun 1 02:29:37 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 BCC41106566C for ; Tue, 1 Jun 2010 02:29:37 +0000 (UTC) (envelope-from john@thinlinx.com) Received: from nschwmtas02p.mx.bigpond.com (nschwmtas02p.mx.bigpond.com [61.9.189.140]) by mx1.freebsd.org (Postfix) with ESMTP id 58A1D8FC26 for ; Tue, 1 Jun 2010 02:29:36 +0000 (UTC) Received: from nschwotgx02p.mx.bigpond.com ([203.36.172.54]) by nschwmtas02p.mx.bigpond.com with ESMTP id <20100601022936.GTZJ12310.nschwmtas02p.mx.bigpond.com@nschwotgx02p.mx.bigpond.com>; Tue, 1 Jun 2010 02:29:36 +0000 Received: from [192.168.25.1] (really [203.36.172.54]) by nschwotgx02p.mx.bigpond.com with ESMTP id <20100601022935.GVHX2131.nschwotgx02p.mx.bigpond.com@[192.168.25.1]>; Tue, 1 Jun 2010 02:29:35 +0000 From: John Nicholls To: Yohanes Nugroho , freebsd-arm@freebsd.org In-Reply-To: References: Content-Type: text/plain Date: Tue, 01 Jun 2010 12:29:04 +1000 Message-Id: <1275359344.22582.21.camel@xeon.thinmesh.com> Mime-Version: 1.0 X-Mailer: Evolution 2.22.3.1 Content-Transfer-Encoding: 7bit X-RPD-ScanID: Class unknown; VirusThreatLevel unknown, RefID str=0001.0A090201.4C04708F.012E,ss=1,fgs=0 Cc: 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 02:29:37 -0000 On Tue, 2010-06-01 at 09:15 +0700, Yohanes Nugroho wrote: Hi Yohanes, Firstly I would like to thank you for the work you have done on this port :) > I have started AT91SAM9G20 FreeBSD-arm port several months ago with > the Hot-e (HL201 donated by John Nicholls). It mostly works now, but > the code organization is still very messy (I added many #ifdefs), I > need advice on this. > > What works: I can boot to single/multi user mode using USB disk, and > networking (it works well, 100 mbps). What doesn't work yet: NAND, > Audio, Video (John said, his team is working on this, so I am not > touching this). We will be looking after the port of the SM502 / SM107 Video driver > I have few questions: > > - What is the best way to merge AT91RM9200 code with AT91SAM9G20, some > code. I know there are several people that started to work on other > Atmel Chips, but the code never gets commited, for example: > > http://bsdimp.blogspot.com/2007/03/followup-atmel-at91-family-work.html > http://marc.info/?l=freebsd-arm&m=123783989612142&w=2 > > it has been talked about: > > http://lists.freebsd.org/pipermail/freebsd-arm/2009-May/001742.html > http://lists.freebsd.org/pipermail/freebsd-arm/2009-May/001743.html > > But Sylvestre Gallon didn't continue his work (and didn't reply my > email), so should I just try to implement what Warner Losh suggested? > I will need someone with RM9200 board to help me test if my > refactoring still works on the RM9200 board (or someone care to donate > one to me?). That's easy Yohanes, we can send you a HL200 which is a RM9200 board this already has a FreeBSD port to it > - From the state of the freebsd NAND http://wiki.freebsd.org/NAND, if > I want to write the NAND driver, I should go with FreeBSD NAND Flash > Framework (http://p4db.freebsd.org/branchView.cgi?BRANCH=nand2) right? > (I hope the code is quite stable now). > > - I've got the SPI code to work, and modify the hardcoded value in > at45d for the dataflash. I can get the JEDEC ID and status. But how > do i test reading from the /dev/flash/spi0 from userspace? > > In case anyone wants to have a look at my (still) messy code or wants > to play around with it: > > - Audio: I don't have a clue where to start writing the device driver > for this. Can anyone points me to some documents/source code to study? > > http://gitorious.org/freebsd-arm Thanks again Yohanes! John From owner-freebsd-arm@FreeBSD.ORG Tue Jun 1 04:17:00 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 008761065678 for ; Tue, 1 Jun 2010 04:17:00 +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 99AA18FC1F for ; Tue, 1 Jun 2010 04:16:59 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by harmony.bsdimp.com (8.14.3/8.14.1) with ESMTP id o514Ebqx018912; Mon, 31 May 2010 22:14:38 -0600 (MDT) (envelope-from imp@bsdimp.com) Date: Mon, 31 May 2010 22:14:46 -0600 (MDT) Message-Id: <20100531.221446.770914110756584248.imp@bsdimp.com> To: yohanes@gmail.com From: "M. Warner Losh" In-Reply-To: References: X-Mailer: Mew version 6.3 on Emacs 22.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: 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 04:17:00 -0000 In message: Yohanes Nugroho writes: : I have started AT91SAM9G20 FreeBSD-arm port several months ago with : the Hot-e (HL201 donated by John Nicholls). It mostly works now, but : the code organization is still very messy (I added many #ifdefs), I : need advice on this. : : What works: I can boot to single/multi user mode using USB disk, and : networking (it works well, 100 mbps). What doesn't work yet: NAND, : Audio, Video (John said, his team is working on this, so I am not : touching this). : : I have few questions: : : - What is the best way to merge AT91RM9200 code with AT91SAM9G20, some : code. I know there are several people that started to work on other : Atmel Chips, but the code never gets commited, for example: : : http://bsdimp.blogspot.com/2007/03/followup-atmel-at91-family-work.html : http://marc.info/?l=freebsd-arm&m=123783989612142&w=2 Yes. There'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. : it has been talked about: : : http://lists.freebsd.org/pipermail/freebsd-arm/2009-May/001742.html : http://lists.freebsd.org/pipermail/freebsd-arm/2009-May/001743.html : : But Sylvestre Gallon didn't continue his work (and didn't reply my : email), so should I just try to implement what Warner Losh suggested? : I will need someone with RM9200 board to help me test if my : refactoring still works on the RM9200 board (or someone care to donate : one to me?). I can try the board I have... : - From the state of the freebsd NAND http://wiki.freebsd.org/NAND, if : I want to write the NAND driver, I should go with FreeBSD NAND Flash : Framework (http://p4db.freebsd.org/branchView.cgi?BRANCH=nand2) right? : (I hope the code is quite stable now). Yes. None of my gear has NAND hardware though. Just NOR memory. : - I've got the SPI code to work, and modify the hardcoded value in : at45d for the dataflash. I can get the JEDEC ID and status. But how : do i test reading from the /dev/flash/spi0 from userspace? dd if=/dev/flash/spi0 bs=block-size : In case anyone wants to have a look at my (still) messy code or wants : to play around with it: : : - Audio: I don't have a clue where to start writing the device driver : for this. Can anyone points me to some documents/source code to study? : : http://gitorious.org/freebsd-arm I wish I had the time to review this, but I'm somewhat swamped for the next few weeks.... Warner From owner-freebsd-arm@FreeBSD.ORG Tue Jun 1 09:06:18 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 42AB71065670 for ; Tue, 1 Jun 2010 09:06:18 +0000 (UTC) (envelope-from mlfbsd@kanar.ci0.org) Received: from kanar.ci0.org (unknown [IPv6:2a01:e0b:1:50:40:63ff:feea:93a]) by mx1.freebsd.org (Postfix) with ESMTP id D55ED8FC08 for ; Tue, 1 Jun 2010 09:06:17 +0000 (UTC) Received: from kanar.ci0.org (pluxor@localhost [127.0.0.1]) by kanar.ci0.org (8.14.2/8.14.3) with ESMTP id o5196cJq026478; Tue, 1 Jun 2010 11:06:39 +0200 (CEST) (envelope-from mlfbsd@kanar.ci0.org) Received: (from mlfbsd@localhost) by kanar.ci0.org (8.14.2/8.14.3/Submit) id o5196cp6026477; Tue, 1 Jun 2010 11:06:38 +0200 (CEST) (envelope-from mlfbsd) Date: Tue, 1 Jun 2010 11:06:38 +0200 From: Olivier Houchard To: "M. Warner Losh" Message-ID: <20100601090638.GA26368@ci0.org> References: <20100531.221446.770914110756584248.imp@bsdimp.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20100531.221446.770914110756584248.imp@bsdimp.com> User-Agent: Mutt/1.4.2.1i 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 09:06:18 -0000 On Mon, May 31, 2010 at 10:14:46PM -0600, M. Warner Losh wrote: > : - Audio: I don't have a clue where to start writing the device driver > : for this. Can anyone points me to some documents/source code to study? > : > : http://gitorious.org/freebsd-arm > > I wish I had the time to review this, but I'm somewhat swamped for the > next few weeks.... > For what it worth, I started the work of reviewing the code, and integrating it in the latest -CURRENT. That was a few weeks ago so I need to resync with Yohanes' latest code, but it was in quite a good shape, and I sure hope to find time to finish the work and commit it soon, and maybe, if he's interested, to get Yohanes to maintain it by himself. (Yes John, I managed not to destroy the new sample you sent me :)) Regards, Olivier From owner-freebsd-arm@FreeBSD.ORG Tue Jun 1 13:05:51 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 349BB106564A for ; Tue, 1 Jun 2010 13:05:51 +0000 (UTC) (envelope-from john@thinlinx.com) Received: from nschwmtas06p.mx.bigpond.com (nschwmtas06p.mx.bigpond.com [61.9.189.152]) by mx1.freebsd.org (Postfix) with ESMTP id C358E8FC1E for ; Tue, 1 Jun 2010 13:05:50 +0000 (UTC) Received: from nschwotgx01p.mx.bigpond.com ([203.36.172.54]) by nschwmtas06p.mx.bigpond.com with ESMTP id <20100601130548.CNKO26010.nschwmtas06p.mx.bigpond.com@nschwotgx01p.mx.bigpond.com>; Tue, 1 Jun 2010 13:05:48 +0000 Received: from [192.168.25.1] (really [203.36.172.54]) by nschwotgx01p.mx.bigpond.com with ESMTP id <20100601130548.VXJT3673.nschwotgx01p.mx.bigpond.com@[192.168.25.1]>; Tue, 1 Jun 2010 13:05:48 +0000 From: John Nicholls To: Olivier Houchard In-Reply-To: <20100601090638.GA26368@ci0.org> References: <20100531.221446.770914110756584248.imp@bsdimp.com> <20100601090638.GA26368@ci0.org> Content-Type: text/plain Date: Tue, 01 Jun 2010 23:05:14 +1000 Message-Id: <1275397514.25876.22.camel@xeon.thinmesh.com> Mime-Version: 1.0 X-Mailer: Evolution 2.22.3.1 Content-Transfer-Encoding: 7bit X-RPD-ScanID: Class unknown; VirusThreatLevel unknown, RefID str=0001.0A090208.4C0505AC.00F7,ss=1,fgs=0 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:05:51 -0000 On Tue, 2010-06-01 at 11:06 +0200, Olivier Houchard wrote: > On Mon, May 31, 2010 at 10:14:46PM -0600, M. Warner Losh wrote: > > : - Audio: I don't have a clue where to start writing the device driver > > : for this. Can anyone points me to some documents/source code to study? > > : > > : http://gitorious.org/freebsd-arm > > > > I wish I had the time to review this, but I'm somewhat swamped for the > > next few weeks.... > > > > For what it worth, I started the work of reviewing the code, and integrating > it in the latest -CURRENT. That was a few weeks ago so I need to resync with > Yohanes' latest code, but it was in quite a good shape, and I sure hope to > find time to finish the work and commit it soon, and maybe, if he's interested, > to get Yohanes to maintain it by himself. > > (Yes John, I managed not to destroy the new sample you sent me :)) That's good news Olivier :) Warner, there is a 128MB NAND flash chip on the back of the 9g20 PCB that I sent you... (same as Olivier and Yohanes have) Thanks guys! Regards, John > Regards, > > Olivier > _______________________________________________ > 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" From owner-freebsd-arm@FreeBSD.ORG Tue Jun 1 13:41:12 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 E687F106564A for ; Tue, 1 Jun 2010 13:41:12 +0000 (UTC) (envelope-from yohanes@gmail.com) Received: from mail-pv0-f182.google.com (mail-pv0-f182.google.com [74.125.83.182]) by mx1.freebsd.org (Postfix) with ESMTP id BCFFD8FC1C for ; Tue, 1 Jun 2010 13:41:12 +0000 (UTC) Received: by pva18 with SMTP id 18so198622pva.13 for ; Tue, 01 Jun 2010 06:41:12 -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; bh=E0dgj82i9fhNFVJFGl7WWySTLvgtgK6veLPQ2raAfkc=; b=ew4/NwmuixHMbXQOs3FK+VMCut77RYuSHeSLYMOuGMFG3fng7N0O4hFpkjP5pc3AhE T7gY36kyOfoQvSFtUiyxlB5+4N2cR4AAMCOrK20UaDjfInb7eRe4iNCcnhwuZ6bQ02Er DG3wJHpLkwC3RVucMlfGBzCri7CqCvFFGf1Bg= 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; b=abIO325MFqm3D7ZJTdP6vFi1+hLyN+toGTlQEm5JJBlbTAwgpjCrz51iwfENftjI69 jj6HzrFD8FRD1ij4/kDHXxKA7RvfEc6NDVUM0UJLUZQ6avx+BI6hQQ9P6OTtnzHGl/s5 etHC+zjevevRPQ54nzJTYGCbVN7wxgaypMPgM= Received: by 10.142.60.18 with SMTP id i18mr4156836wfa.275.1275399672201; Tue, 01 Jun 2010 06:41:12 -0700 (PDT) MIME-Version: 1.0 Received: by 10.231.199.8 with HTTP; Tue, 1 Jun 2010 06:40:52 -0700 (PDT) In-Reply-To: <1275359344.22582.21.camel@xeon.thinmesh.com> References: <1275359344.22582.21.camel@xeon.thinmesh.com> From: Yohanes Nugroho Date: Tue, 1 Jun 2010 20:40:52 +0700 Message-ID: To: John Nicholls Content-Type: text/plain; charset=UTF-8 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:41:13 -0000 On Tue, Jun 1, 2010 at 9:29 AM, John Nicholls wrote: >> email), so should I just try to implement what Warner Losh suggested? >> I will need someone with RM9200 board to help me test if my >> refactoring still works on the RM9200 board (or someone care to donate >> one to me?). > > That's easy Yohanes, we can send you a HL200 which is a RM9200 board > this already has a FreeBSD port to it > That will be great :) -- Regards Yohanes http://yohan.es/ 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/ From owner-freebsd-arm@FreeBSD.ORG Tue Jun 1 13:46:10 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 5D35A1065674 for ; Tue, 1 Jun 2010 13:46:10 +0000 (UTC) (envelope-from yohanes@gmail.com) Received: from mail-pw0-f54.google.com (mail-pw0-f54.google.com [209.85.160.54]) by mx1.freebsd.org (Postfix) with ESMTP id 322288FC1D for ; Tue, 1 Jun 2010 13:46:09 +0000 (UTC) Received: by pwj1 with SMTP id 1so643483pwj.13 for ; Tue, 01 Jun 2010 06:46:09 -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; bh=4x+eWj2aQC7PhHWouUbCkR9BwlypqApkfrEL+TuDMiw=; b=dyMPXi0mXHwmPQRFV9JtiefnNKFRPs1slkCFmAYGd+awSn0iIck/rs2j79uojJ3hCr 6QmKZWBG6fPfans7bIIPwd5A0yj99i1uQSZEpzWBmRrr865KpNS15XbjAEcmhjZPCLml sV1NQNJOZi4K8pAfcEqLkbaFDXcA/wyxiFXas= 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; b=k6SQee0ylXjIBXTSX5ESFW0nspUNEwKfuY3TLmHlvE4h0TPSgAxPHezl0X0N9o2mYs mPMskBlH/ghAxb1KLh40dSfW5uEiSQfr3YLf2ZuOVOaNRn8NsTNvofQ8lcxMcVrt6VAv IEVHwmSXaGX3b7hfLq/giz2G143Gnglc0xMh8= Received: by 10.140.248.20 with SMTP id v20mr4510003rvh.235.1275399969282; Tue, 01 Jun 2010 06:46:09 -0700 (PDT) MIME-Version: 1.0 Received: by 10.231.199.8 with HTTP; Tue, 1 Jun 2010 06:45:49 -0700 (PDT) In-Reply-To: <20100601090638.GA26368@ci0.org> References: <20100531.221446.770914110756584248.imp@bsdimp.com> <20100601090638.GA26368@ci0.org> From: Yohanes Nugroho Date: Tue, 1 Jun 2010 20:45:49 +0700 Message-ID: To: Olivier Houchard Content-Type: text/plain; charset=UTF-8 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:46:10 -0000 On Tue, Jun 1, 2010 at 4:06 PM, Olivier Houchard wrote: > On Mon, May 31, 2010 at 10:14:46PM -0600, M. Warner Losh wrote: >> : - Audio: I don't have a clue where to start writing the device driver >> : for this. Can anyone points me to some documents/source code to study? >> : >> : http://gitorious.org/freebsd-arm >> >> I wish I had the time to review this, but I'm somewhat swamped for the >> next few weeks.... >> > > For what it worth, I started the work of reviewing the code, and integrating > it in the latest -CURRENT. That was a few weeks ago so I need to resync with > Yohanes' latest code, but it was in quite a good shape, and I sure hope to > find time to finish the work and commit it soon, and maybe, if he's interested, > to get Yohanes to maintain it by himself. I didn't change much of the code, just added SPI and edited at45.d (I just changed the hardcoded values), I will clean up the at45d.c to use a table for sectorsize/count for different chips. I think I won't do it this week, may be next week (the end of next week (this weekend is my brother's wedding). I wont mind to maintain the code myself. -- Regards Yohanes http://yohan.es/ From owner-freebsd-arm@FreeBSD.ORG Tue Jun 1 15:49:15 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 5FA7F1065677 for ; Tue, 1 Jun 2010 15:49:15 +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 C08858FC1F for ; Tue, 1 Jun 2010 15:49:14 +0000 (UTC) Received: from mail.cicely.de ([10.1.1.37]) by raven.bwct.de (8.13.4/8.13.4) with ESMTP id o51FnB9d040520 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Tue, 1 Jun 2010 17:49:12 +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 o51Fn9Ep081470 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Tue, 1 Jun 2010 17:49:09 +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 o51Fn945020842; Tue, 1 Jun 2010 17:49:09 +0200 (CEST) (envelope-from ticso@cicely7.cicely.de) Received: (from ticso@localhost) by cicely7.cicely.de (8.14.2/8.14.2/Submit) id o51Fn9ir020841; Tue, 1 Jun 2010 17:49:09 +0200 (CEST) (envelope-from ticso) Date: Tue, 1 Jun 2010 17:49:09 +0200 From: Bernd Walter To: Yohanes Nugroho Message-ID: <20100601154908.GF11627@cicely7.cicely.de> References: <20100531.221446.770914110756584248.imp@bsdimp.com> <20100601090638.GA26368@ci0.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: 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 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: Tue, 01 Jun 2010 15:49:15 -0000 On Tue, Jun 01, 2010 at 08:45:49PM +0700, Yohanes Nugroho wrote: > On Tue, Jun 1, 2010 at 4:06 PM, Olivier Houchard wrote: > > On Mon, May 31, 2010 at 10:14:46PM -0600, M. Warner Losh wrote: > >> : - Audio: I don't have a clue where to start writing the device driver > >> : for this. Can anyone points me to some documents/source code to study? > >> : > >> : http://gitorious.org/freebsd-arm > >> > >> I wish I had the time to review this, but I'm somewhat swamped for the > >> next few weeks.... > >> > > > > For what it worth, I started the work of reviewing the code, and integrating > > it in the latest -CURRENT. That was a few weeks ago so I need to resync with > > Yohanes' latest code, but it was in quite a good shape, and I sure hope to > > find time to finish the work and commit it soon, and maybe, if he's interested, > > to get Yohanes to maintain it by himself. > > I didn't change much of the code, just added SPI and edited at45.d (I > just changed the hardcoded values), I will clean up the at45d.c to use > a table for sectorsize/count for different chips. I think I won't do > it this week, may be next week (the end of next week (this weekend is > my brother's wedding). It was on my todo list, because I'm usually running with 161 chips, but went out of time too often. Great work about the G20 support. -- B.Walter http://www.bwct.de Modbus/TCP Ethernet I/O Baugruppen, ARM basierte FreeBSD Rechner uvm. From owner-freebsd-arm@FreeBSD.ORG Wed Jun 2 04:00:47 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 2E97C106564A for ; Wed, 2 Jun 2010 04:00:47 +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 B98EC8FC0A for ; Wed, 2 Jun 2010 04:00:46 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by harmony.bsdimp.com (8.14.3/8.14.1) with ESMTP id o523u8EL032681; Tue, 1 Jun 2010 21:56:08 -0600 (MDT) (envelope-from imp@bsdimp.com) Date: Tue, 01 Jun 2010 21:56:18 -0600 (MDT) Message-Id: <20100601.215618.361782119982057025.imp@bsdimp.com> To: yohanes@gmail.com From: "M. Warner Losh" In-Reply-To: References: <20100531.221446.770914110756584248.imp@bsdimp.com> X-Mailer: Mew version 6.3 on Emacs 22.3 / Mule 5.0 (SAKAKI) Mime-Version: 1.0 Content-Type: Text/Plain; charset=iso-8859-1 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: Wed, 02 Jun 2010 04:00:47 -0000 In message: Yohanes Nugroho writes: : On Tue, Jun 1, 2010 at 11:14 AM, M. Warner Losh wrot= e: : > : http://bsdimp.blogspot.com/2007/03/followup-atmel-at91-family-wor= k.html : > : http://marc.info/?l=3Dfreebsd-arm&m=3D123783989612142&w=3D2 : > : > Yes. =A0There's a lot of ideas, but I never had time to implement t= hem. : > The best part would be to convert the atmel port to use FDT and tha= t : > would nicely solve most of the problems. : = : I will look into the FDT, and see how much work it would be. I think it will make things a lot easier/nicer. However, I wouldn't hold up the port over it. Warner