From owner-freebsd-arm@FreeBSD.ORG Mon Mar 28 11:06:52 2011 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 B3AEA1065674 for ; Mon, 28 Mar 2011 11:06:52 +0000 (UTC) (envelope-from owner-bugmaster@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 9FF888FC18 for ; Mon, 28 Mar 2011 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 p2SB6qIB026588 for ; Mon, 28 Mar 2011 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 p2SB6qUS026586 for freebsd-arm@FreeBSD.org; Mon, 28 Mar 2011 11:06:52 GMT (envelope-from owner-bugmaster@FreeBSD.org) Date: Mon, 28 Mar 2011 11:06:52 GMT Message-Id: <201103281106.p2SB6qUS026586@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, 28 Mar 2011 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/155894 arm [patch] Enable at91 booting from SDHC (high capacity) o arm/155214 arm [patch] MMC/SD IO slow on Atmel ARM with modern large o arm/154306 arm named crashes with signal 11 o arm/154227 arm [geli] using GELI leads to panic on ARM o arm/154189 arm lang/perl5.12 doesn't build on arm o arm/153380 arm Panic / translation fault with wlan on ARM o arm/150581 arm [irq] Unknown error generates IRQ address decoding err o arm/149288 arm mail/dovecot causes panic during configure on Sheevapl o arm/134368 arm [patch] nslu2_led driver for the LEDs on the NSLU2 p arm/134338 arm [patch] Lock GPIO accesses on ixp425 10 problems total. From owner-freebsd-arm@FreeBSD.ORG Tue Mar 29 11:30:07 2011 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 E98AF1065670 for ; Tue, 29 Mar 2011 11:30:07 +0000 (UTC) (envelope-from markm@FreeBSD.org) Received: from gromit.grondar.org (grandfather.grondar.org [IPv6:2a01:348:0:15:5d59:5c20:0:2]) by mx1.freebsd.org (Postfix) with ESMTP id 8C80E8FC1D for ; Tue, 29 Mar 2011 11:30:07 +0000 (UTC) Received: from uucp by gromit.grondar.org with local-rmail (Exim 4.73 (FreeBSD)) (envelope-from ) id 1Q4X7e-000NQ6-KZ for freebsd-arm@freebsd.org; Tue, 29 Mar 2011 12:30:06 +0100 Received: from localhost ([127.0.0.1] helo=groundzero.grondar.org) by groundzero.grondar.org with esmtp (Exim 4.74 (FreeBSD)) (envelope-from ) id 1Q4X5B-000J64-DJ for freebsd-arm@freebsd.org; Tue, 29 Mar 2011 12:27:33 +0100 To: freebsd-arm@freebsd.org From: Mark Murray Date: Tue, 29 Mar 2011 12:27:33 +0100 Message-Id: Subject: Beagleboard stuff 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, 29 Mar 2011 11:30:08 -0000 Hi * I'm keen "go embedded". I have a Beagleboard-xM, and I haven't had the time I'd like to do much with it. A fellow called Ben Gray has done some of the work to get FreeBSD working on this unit, but used FreeBSD-8 as a base. I've taken his work and made it compile on current (mostly). He had some hacks (beagle_brintf, beagle_panic etc) which I've removed, along with some stuff (that may have broken things) in PMAP. The diffs are in http://people.freebsd.org/~markm/src.beagleboard.diff. Is this of any use? :-) M -- Mark R V Murray Cert APS(Open) Dip Phys(Open) BSc Open(Open) BSc(Hons)(Open) Pi: 132511160 From owner-freebsd-arm@FreeBSD.ORG Tue Mar 29 13:29:42 2011 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 B47671065670; Tue, 29 Mar 2011 13:29:42 +0000 (UTC) (envelope-from hselasky@c2i.net) Received: from swip.net (mailfe05.c2i.net [212.247.154.130]) by mx1.freebsd.org (Postfix) with ESMTP id 134288FC0A; Tue, 29 Mar 2011 13:29:41 +0000 (UTC) X-Cloudmark-Score: 0.000000 [] X-Cloudmark-Analysis: v=1.1 cv=upTJuTb3ngPPUUVVSPoyO7jwIWz3rzPtkQxI490l6Ks= c=1 sm=1 a=IU0TiZmyZPMA:10 a=Q9fys5e9bTEA:10 a=CL8lFSKtTFcA:10 a=i9M/sDlu2rpZ9XS819oYzg==:17 a=6I5d2MoRAAAA:8 a=IyIDQHVexqpq9AENqakA:9 a=Z-OhgXC44D-2sVbT8EcA:7 a=I4ZVeiiVfRvJH2hDpAxxW6cc_dYA:4 a=PUjeQqilurYA:10 a=i9M/sDlu2rpZ9XS819oYzg==:117 Received: from [188.126.198.129] (account mc467741@c2i.net HELO laptop002.hselasky.homeunix.org) by mailfe05.swip.net (CommuniGate Pro SMTP 5.2.19) with ESMTPA id 105708263; Tue, 29 Mar 2011 15:19:38 +0200 From: Hans Petter Selasky To: freebsd-arm@freebsd.org Date: Tue, 29 Mar 2011 15:18:50 +0200 User-Agent: KMail/1.13.5 (FreeBSD/8.2-PRERELEASE; KDE/4.4.5; amd64; ; ) References: In-Reply-To: X-Face: *nPdTl_}RuAI6^PVpA02T?$%Xa^>@hE0uyUIoiha$pC:9TVgl.Oq, NwSZ4V"|LR.+tj}g5 %V,x^qOs~mnU3]Gn; cQLv&.N>TrxmSFf+p6(30a/{)KUU!s}w\IhQBj}[g}bj0I3^glmC( :AuzV9:.hESm-x4h240C`9=w MIME-Version: 1.0 Content-Type: Text/Plain; charset="iso-8859-15" Content-Transfer-Encoding: 7bit Message-Id: <201103291518.50048.hselasky@c2i.net> Cc: Subject: Re: Beagleboard stuff 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, 29 Mar 2011 13:29:42 -0000 On Tuesday 29 March 2011 13:27:33 Mark Murray wrote: > Hi * > > I'm keen "go embedded". I have a Beagleboard-xM, and I haven't had the > time I'd like to do much with it. > > A fellow called Ben Gray has done some of the work to get FreeBSD > working on this unit, but used FreeBSD-8 as a base. I've taken his > work and made it compile on current (mostly). He had some hacks > (beagle_brintf, beagle_panic etc) which I've removed, along with some > stuff (that may have broken things) in PMAP. > > The diffs are in http://people.freebsd.org/~markm/src.beagleboard.diff. > > Is this of any use? :-) > > M The USB EHCI support looks OK. Does this hardware have an OHCI? --HPS From owner-freebsd-arm@FreeBSD.ORG Tue Mar 29 13:45:07 2011 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 07E2E106564A for ; Tue, 29 Mar 2011 13:45:07 +0000 (UTC) (envelope-from markm@FreeBSD.org) Received: from gromit.grondar.org (grandfather.grondar.org [IPv6:2a01:348:0:15:5d59:5c20:0:2]) by mx1.freebsd.org (Postfix) with ESMTP id 9D40C8FC08 for ; Tue, 29 Mar 2011 13:45:06 +0000 (UTC) Received: from uucp by gromit.grondar.org with local-rmail (Exim 4.73 (FreeBSD)) (envelope-from ) id 1Q4ZEH-000Nmn-Ne for freebsd-arm@freebsd.org; Tue, 29 Mar 2011 14:45:05 +0100 Received: from localhost ([127.0.0.1] helo=groundzero.grondar.org) by groundzero.grondar.org with esmtp (Exim 4.74 (FreeBSD)) (envelope-from ) id 1Q4ZDy-000JHu-O1; Tue, 29 Mar 2011 14:44:46 +0100 To: Hans Petter Selasky In-reply-to: <201103291518.50048.hselasky@c2i.net> References: <201103291518.50048.hselasky@c2i.net> From: Mark Murray Date: Tue, 29 Mar 2011 14:44:46 +0100 Message-Id: Cc: freebsd-arm@freebsd.org Subject: Re: Beagleboard stuff 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, 29 Mar 2011 13:45:07 -0000 Hans Petter Selasky writes: > The USB EHCI support looks OK. Does this hardware have an OHCI? Doesn't look like it, on a naive grep(1). The full manual is at http://beagle.s3.amazonaws.com/design/xM-A/BB_xM_SRM_A2_01.pdf if you want to take a closer look at this rather nice beastie :-) Also look around at www.beagleboard.org. The Beagleboard-xM is the current state-of-the-art. M -- Mark R V Murray Cert APS(Open) Dip Phys(Open) BSc Open(Open) BSc(Hons)(Open) Pi: 132511160 From owner-freebsd-arm@FreeBSD.ORG Tue Mar 29 15:06:25 2011 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 36E8A106566C for ; Tue, 29 Mar 2011 15:06:25 +0000 (UTC) (envelope-from marktinguely@gmail.com) Received: from mail-gx0-f182.google.com (mail-gx0-f182.google.com [209.85.161.182]) by mx1.freebsd.org (Postfix) with ESMTP id E0EC38FC1F for ; Tue, 29 Mar 2011 15:06:24 +0000 (UTC) Received: by gxk28 with SMTP id 28so125345gxk.13 for ; Tue, 29 Mar 2011 08:06:24 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:message-id:date:from:user-agent:mime-version:to :cc:subject:references:in-reply-to:content-type :content-transfer-encoding; bh=lHwu45Gw4XCffFE5d0GGIBY1/49QEeJb2h2Z73rrM2s=; b=loc7byv/lgsD2Sg4fXQS9+lHm0QT1Fviu9rSL0Lgd/3hJW98Cuh1NXenU78F7Bl7y2 l8Vj/lfK+deSNmZIKO69ctr4OXt+MDDTIdq5vserSY10q1xqtX6lvrr/F5mnH7/s/Cmu ouBpU5BEIxWmIh/Eagx0M4YZJ5WaQlVYvAzGU= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:user-agent:mime-version:to:cc:subject :references:in-reply-to:content-type:content-transfer-encoding; b=yE0IffCZr52XRSIWafGZcJ02Y5frspTiCCf4W1jmeWfqcexTSLiX29alvud0ot7UvD OEAxvNb6GMMdizyZx6kL7EZZcpIj0xBlovsiHlpPS5rkFZu4HFGdqfys5NWY4qR0QwkQ Z4vJ0TGdGwJFs/X6hLXe1RumQTIsEWILbNegw= Received: by 10.236.79.70 with SMTP id h46mr7255151yhe.278.1301409502454; Tue, 29 Mar 2011 07:38:22 -0700 (PDT) Received: from [192.168.1.101] (c-24-245-26-12.hsd1.mn.comcast.net [24.245.26.12]) by mx.google.com with ESMTPS id h44sm2484493yhm.63.2011.03.29.07.38.21 (version=TLSv1/SSLv3 cipher=OTHER); Tue, 29 Mar 2011 07:38:21 -0700 (PDT) Message-ID: <4D91EEDB.5030501@gmail.com> Date: Tue, 29 Mar 2011 09:38:19 -0500 From: Mark Tinguely User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.2.15) Gecko/20110303 Thunderbird/3.1.9 MIME-Version: 1.0 To: Hans Petter Selasky References: <201103291518.50048.hselasky@c2i.net> In-Reply-To: <201103291518.50048.hselasky@c2i.net> Content-Type: text/plain; charset=ISO-8859-15; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-arm@freebsd.org Subject: Re: Beagleboard stuff 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, 29 Mar 2011 15:06:25 -0000 On 3/29/2011 8:18 AM, Hans Petter Selasky wrote: > On Tuesday 29 March 2011 13:27:33 Mark Murray wrote: >> Hi * >> >> I'm keen "go embedded". I have a Beagleboard-xM, and I haven't had the >> time I'd like to do much with it. >> >> A fellow called Ben Gray has done some of the work to get FreeBSD >> working on this unit, but used FreeBSD-8 as a base. I've taken his >> work and made it compile on current (mostly). He had some hacks >> (beagle_brintf, beagle_panic etc) which I've removed, along with some >> stuff (that may have broken things) in PMAP. >> >> The diffs are in http://people.freebsd.org/~markm/src.beagleboard.diff. >> >> Is this of any use? :-) >> >> M > The USB EHCI support looks OK. Does this hardware have an OHCI? > > --HPS > _______________________________________________ The OMAP35xx supports an "On the Go", OHCI and ECHI USB, but the Beagleboard does not use the OHCI. --Mark From owner-freebsd-arm@FreeBSD.ORG Tue Mar 29 15:09:04 2011 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 70C561065678; Tue, 29 Mar 2011 15:09:04 +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 0E3488FC12; Tue, 29 Mar 2011 15:09:03 +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 p2TF94oL007292; Tue, 29 Mar 2011 17:09:04 +0200 (CEST) (envelope-from mlfbsd@kanar.ci0.org) Received: (from mlfbsd@localhost) by kanar.ci0.org (8.14.2/8.14.3/Submit) id p2TF94SL007291; Tue, 29 Mar 2011 17:09:04 +0200 (CEST) (envelope-from mlfbsd) Date: Tue, 29 Mar 2011 17:09:04 +0200 From: Olivier Houchard To: Mark Murray Message-ID: <20110329150903.GA4069@ci0.org> References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.4.2.1i Cc: freebsd-arm@freebsd.org Subject: Re: Beagleboard stuff 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, 29 Mar 2011 15:09:04 -0000 On Tue, Mar 29, 2011 at 12:27:33PM +0100, Mark Murray wrote: > Hi * > Hi Mark, > I'm keen "go embedded". I have a Beagleboard-xM, and I haven't had the > time I'd like to do much with it. > > A fellow called Ben Gray has done some of the work to get FreeBSD > working on this unit, but used FreeBSD-8 as a base. I've taken his > work and made it compile on current (mostly). He had some hacks > (beagle_brintf, beagle_panic etc) which I've removed, along with some > stuff (that may have broken things) in PMAP. > > The diffs are in http://people.freebsd.org/~markm/src.beagleboard.diff. > > Is this of any use? :-) > yes it his :) armv6/v7 support has been wanted for a long time now. However, there's been ongoing discussions with Mark Tinguely, raj@ and others about how to handle the MMU differences between <= v5 and >= v6, and I think the consensus was we should create a new pmap_v6.c file, maybe using kobj as is done in the ppc port. Maybe now is a good time to do so :) Regards, Olivier From owner-freebsd-arm@FreeBSD.ORG Tue Mar 29 15:30:12 2011 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 58AE9106566B for ; Tue, 29 Mar 2011 15:30:12 +0000 (UTC) (envelope-from markm@FreeBSD.org) Received: from gromit.grondar.org (grandfather.grondar.org [IPv6:2a01:348:0:15:5d59:5c20:0:2]) by mx1.freebsd.org (Postfix) with ESMTP id EE4728FC17 for ; Tue, 29 Mar 2011 15:30:11 +0000 (UTC) Received: from uucp by gromit.grondar.org with local-rmail (Exim 4.73 (FreeBSD)) (envelope-from ) id 1Q4arz-000O0k-4B for freebsd-arm@freebsd.org; Tue, 29 Mar 2011 16:30:11 +0100 Received: from localhost ([127.0.0.1] helo=groundzero.grondar.org) by groundzero.grondar.org with esmtp (Exim 4.74 (FreeBSD)) (envelope-from ) id 1Q4aqo-000JRE-Gf; Tue, 29 Mar 2011 16:28:58 +0100 To: Olivier Houchard In-reply-to: <20110329150903.GA4069@ci0.org> References: <20110329150903.GA4069@ci0.org> From: Mark Murray Date: Tue, 29 Mar 2011 16:28:58 +0100 Message-Id: Cc: freebsd-arm@freebsd.org Subject: Re: Beagleboard stuff 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, 29 Mar 2011 15:30:12 -0000 Olivier Houchard writes: > > Is this of any use? :-) > > > > yes it his :) armv6/v7 support has been wanted for a long time now. > However, there's been ongoing discussions with Mark Tinguely, raj@ and others > about how to handle the MMU differences between <= v5 and >= v6, and I think > the consensus was we should create a new pmap_v6.c file, maybe using kobj as > is done in the ppc port. Maybe now is a good time to do so :) Ben Gray's PMAP stuff looked like a bodge to me (and I know nothing about PMAP!). I have his stuff dropped onto CURRENT at the nearest-guess-equivalent to 8.0-RELEASE which is what he used. This is the SVN tree before I took an axe to it. I've put it in http://people.freebsd.org/~markm/arm.tar.gz, and its a drop-in replacement for src/sys/arm, with the SVN metadata. M -- Mark R V Murray Cert APS(Open) Dip Phys(Open) BSc Open(Open) BSc(Hons)(Open) Pi: 132511160 From owner-freebsd-arm@FreeBSD.ORG Tue Mar 29 15:40:06 2011 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 A24471065674 for ; Tue, 29 Mar 2011 15:40:06 +0000 (UTC) (envelope-from markm@FreeBSD.org) Received: from gromit.grondar.org (grandfather.grondar.org [IPv6:2a01:348:0:15:5d59:5c20:0:2]) by mx1.freebsd.org (Postfix) with ESMTP id 6A89B8FC24 for ; Tue, 29 Mar 2011 15:40:06 +0000 (UTC) Received: from uucp by gromit.grondar.org with local-rmail (Exim 4.73 (FreeBSD)) (envelope-from ) id 1Q4b1Z-000O2I-Ry for freebsd-arm@freebsd.org; Tue, 29 Mar 2011 16:40:05 +0100 Received: from localhost ([127.0.0.1] helo=groundzero.grondar.org) by groundzero.grondar.org with esmtp (Exim 4.74 (FreeBSD)) (envelope-from ) id 1Q4ayo-000JSQ-Eg for freebsd-arm@freebsd.org; Tue, 29 Mar 2011 16:37:14 +0100 To: freebsd-arm@freebsd.org In-reply-to: References: From: Mark Murray Date: Tue, 29 Mar 2011 16:37:14 +0100 Message-Id: Subject: Re: Beagleboard stuff 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, 29 Mar 2011 15:40:06 -0000 Mark Murray writes: > A fellow called Ben Gray has done some of the work to get FreeBSD > working on this unit, but used FreeBSD-8 as a base. Ben's stuff is to be found here: http://code.google.com/p/beagleboard-freebsd/ M -- Mark R V Murray Cert APS(Open) Dip Phys(Open) BSc Open(Open) BSc(Hons)(Open) Pi: 132511160 From owner-freebsd-arm@FreeBSD.ORG Tue Mar 29 22:02:53 2011 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 C8EF6106566B; Tue, 29 Mar 2011 22:02:53 +0000 (UTC) (envelope-from damjan.marion@gmail.com) Received: from mail-ew0-f54.google.com (mail-ew0-f54.google.com [209.85.215.54]) by mx1.freebsd.org (Postfix) with ESMTP id 2BF498FC08; Tue, 29 Mar 2011 22:02:52 +0000 (UTC) Received: by ewy1 with SMTP id 1so242913ewy.13 for ; Tue, 29 Mar 2011 15:02:52 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:content-type:mime-version:subject:from :in-reply-to:date:content-transfer-encoding:message-id:references:to :x-mailer; bh=zBazGhI1ox0j26NYpwFkuJy9OviNxLYUmlJAgCXFlS0=; b=ENLbAM7GvrqJMONoEGI6MLBAQxhenP4vvxUXXhXe0ho2SHXOJ1jzZQrOalBFAl7Qgc zVAh56bPNhAhU77CUFnQtc3li+6SVB2N9mlYh0/CT/VM/p0mQof1xeYyrDOl8AJFOTx3 nbIIRX6Ew/A2MvrACRZTwOs9J6R95yqFUqa60= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=content-type:mime-version:subject:from:in-reply-to:date :content-transfer-encoding:message-id:references:to:x-mailer; b=vhAicjJUmtFlP2VuN+hFyI0GuUct4MaSCV5oWlZh/gxftH8CxboBy4cK3S8XoSIw60 WvG0CU9w5dQphzR1d3albg1rg5Z80sMOZjrT9OPFOzYxgDnKuckrAO8CQit0c5COSMp0 ttDelZ1ohEsqyeAXrEx7wtzfdWnbmiZF3bt20= Received: by 10.213.29.68 with SMTP id p4mr2462861ebc.94.1301434695520; Tue, 29 Mar 2011 14:38:15 -0700 (PDT) Received: from [192.168.123.4] (cpe-109-60-66-194.zg3.cable.xnet.hr [109.60.66.194]) by mx.google.com with ESMTPS id x54sm3792869eeh.5.2011.03.29.14.38.12 (version=TLSv1/SSLv3 cipher=OTHER); Tue, 29 Mar 2011 14:38:14 -0700 (PDT) Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Apple Message framework v1084) From: Damjan Marion In-Reply-To: <20110329150903.GA4069@ci0.org> Date: Tue, 29 Mar 2011 23:38:11 +0200 Content-Transfer-Encoding: quoted-printable Message-Id: <7519F558-CEA3-41A9-8AA6-5A3234C4F1A8@gmail.com> References: <20110329150903.GA4069@ci0.org> To: Olivier Houchard , freebsd-arm@freebsd.org, Mark Murray X-Mailer: Apple Mail (2.1084) Cc: Subject: Re: Beagleboard stuff 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, 29 Mar 2011 22:02:53 -0000 Hi, On Mar 29, 2011, at 5:09 PM, Olivier Houchard wrote: > On Tue, Mar 29, 2011 at 12:27:33PM +0100, Mark Murray wrote: >> Hi * >>=20 >=20 > Hi Mark, >=20 >> I'm keen "go embedded". I have a Beagleboard-xM, and I haven't had = the >> time I'd like to do much with it. >>=20 >> A fellow called Ben Gray has done some of the work to get FreeBSD >> working on this unit, but used FreeBSD-8 as a base. I've taken his >> work and made it compile on current (mostly). He had some hacks >> (beagle_brintf, beagle_panic etc) which I've removed, along with some >> stuff (that may have broken things) in PMAP. >>=20 >> The diffs are in = http://people.freebsd.org/~markm/src.beagleboard.diff. >>=20 >> Is this of any use? :-) >>=20 >=20 > yes it his :) armv6/v7 support has been wanted for a long time now. > However, there's been ongoing discussions with Mark Tinguely, raj@ and = others > about how to handle the MMU differences between <=3D v5 and >=3D v6, = and I think > the consensus was we should create a new pmap_v6.c file, maybe using = kobj as > is done in the ppc port. Maybe now is a good time to do so :) This is very interesting topic to me. I just received few days ago = pandaboard, which is somehow successor of beagleboard and it is built on = TI OMAP4430 SoC. Main difference is that this one is dual core ARM Cortex-A9 so it needs = SMP support. I guess that so far there is no SMP in ARM implementation = on FreeBSD so I planed to spent some time on it.=20 Is there any work done so far on SMP side?=20 If not is there any wider interest to implement ARM MPCore in FreeBSD? Any other thoughts on this topic? Thanks, Damjan =20 From owner-freebsd-arm@FreeBSD.ORG Tue Mar 29 23:00:25 2011 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 CB4C41065678; Tue, 29 Mar 2011 23:00:25 +0000 (UTC) (envelope-from damjan.marion@gmail.com) Received: from mail-ey0-f182.google.com (mail-ey0-f182.google.com [209.85.215.182]) by mx1.freebsd.org (Postfix) with ESMTP id BE3F38FC0C; Tue, 29 Mar 2011 23:00:15 +0000 (UTC) Received: by eyg7 with SMTP id 7so253044eyg.13 for ; Tue, 29 Mar 2011 16:00:14 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:subject:mime-version:content-type:from :in-reply-to:date:cc:content-transfer-encoding:message-id:references :to:x-mailer; bh=2TO6BWgwr8q3yjk8bIKKNUq9k01vhdH2CXvEf4FRk3s=; b=vAhD8YNePCBb8GuB9FE5pyFGL6L6gZU5fmRPESmeh6PydXubtHqom5Ytm8vec/rUmG mRBhEe5GwIMk5QQK0eccPwvhG9Z+A845ZLSiXEfJ5Wu6vjP3WzEEbKMq1lm4uNmhtOHk 0wIPwLY/vr9NXhJV2YJYulTsVGdtZxQpsb1XQ= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=subject:mime-version:content-type:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to:x-mailer; b=Cr/62YwfyDyGJagB3Tus8zSIM+MYhN2NmEjgSlE6vDfGEqVTUuphP152fyrEuPCbFi YhW7qUn9hki2aFcGdKm4M4y/A0EFqwmhfGafCbICwBxUy6r09tLIbAHJmagsUTSoclKo sCOKW4fOfxYAQqwNUV80NmDAChQBEPbpLjA3M= Received: by 10.14.121.142 with SMTP id r14mr341969eeh.0.1301439614328; Tue, 29 Mar 2011 16:00:14 -0700 (PDT) Received: from [192.168.123.4] (cpe-109-60-66-194.zg3.cable.xnet.hr [109.60.66.194]) by mx.google.com with ESMTPS id y7sm3821417eeh.14.2011.03.29.16.00.12 (version=TLSv1/SSLv3 cipher=OTHER); Tue, 29 Mar 2011 16:00:13 -0700 (PDT) Mime-Version: 1.0 (Apple Message framework v1084) Content-Type: text/plain; charset=us-ascii From: Damjan Marion In-Reply-To: <1301439148.12515.49.camel@xeon.thinmesh.com> Date: Wed, 30 Mar 2011 01:00:11 +0200 Content-Transfer-Encoding: quoted-printable Message-Id: References: <20110329150903.GA4069@ci0.org> <7519F558-CEA3-41A9-8AA6-5A3234C4F1A8@gmail.com> <1301439148.12515.49.camel@xeon.thinmesh.com> To: John Nicholls X-Mailer: Apple Mail (2.1084) Cc: freebsd-arm@freebsd.org Subject: Re: Beagleboard stuff 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, 29 Mar 2011 23:00:25 -0000 On Mar 30, 2011, at 12:52 AM, John Nicholls wrote: > On Tue, 2011-03-29 at 23:38 +0200, Damjan Marion wrote: >> Hi, >=20 > Hi Everyone, >=20 > Yohanes Nugroho is working on a FreeBSD Kernel for > the BeagleBoardXM=20 >=20 > To help speed up Kernel development I sent Yohanes a new version of > u-boot that uses the USB device to transfer the Kernel >=20 >>> I just had the time to test it, and I can load freebsd kernel. >>=20 >> Fantastic, that will save a bit of time, how many seconds does it = take >> to load? >=20 > About 2 seconds. It saves a lot from about 150 seconds using serial > port. >=20 > If anybody wants a copy of the u-boot binary and the instructions to = use > it just email me. >=20 > We can't use tftp from u-boot as there is no u-boot support on the > BeafleboardXM for the combo USB Host / Ethernet chip... Huh, I just started writing utility to boot OMAP4 over USB, similar to = usbboot tool from https://github.com/swetland/omap4boot but based on = libusb, as usbboot uses native linux devfs calls. Can you share your instructions for beagleboard? Might be also = applicable to pandaboard. Thanks, Damjan= From owner-freebsd-arm@FreeBSD.ORG Tue Mar 29 23:10:17 2011 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 16FB51065672; Tue, 29 Mar 2011 23:10:17 +0000 (UTC) (envelope-from john@thinlinx.com) Received: from omr10.networksolutionsemail.com (omr10.networksolutionsemail.com [205.178.146.60]) by mx1.freebsd.org (Postfix) with ESMTP id CB2448FC0C; Tue, 29 Mar 2011 23:10:16 +0000 (UTC) Received: from cm-omr1 (mail.networksolutionsemail.com [205.178.146.50]) by omr10.networksolutionsemail.com (8.13.6/8.13.6) with ESMTP id p2TMqmug013620; Tue, 29 Mar 2011 18:52:48 -0400 X-Authenticated-IP: 120.151.213.137 Received: from [120.151.213.137] ([120.151.213.137:41238] helo=[192.168.25.1]) by cm-omr1 (envelope-from ) (ecelerity 2.2.2.41 r(31179/31189)) with ESMTP id F6/2A-06416-EB2629D4; Tue, 29 Mar 2011 18:52:48 -0400 From: John Nicholls To: Damjan Marion In-Reply-To: <7519F558-CEA3-41A9-8AA6-5A3234C4F1A8@gmail.com> References: <20110329150903.GA4069@ci0.org> <7519F558-CEA3-41A9-8AA6-5A3234C4F1A8@gmail.com> Content-Type: text/plain Date: Wed, 30 Mar 2011 08:52:28 +1000 Message-Id: <1301439148.12515.49.camel@xeon.thinmesh.com> Mime-Version: 1.0 X-Mailer: Evolution 2.22.3.1 Content-Transfer-Encoding: 7bit Cc: freebsd-arm@freebsd.org Subject: Re: Beagleboard stuff 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, 29 Mar 2011 23:10:17 -0000 On Tue, 2011-03-29 at 23:38 +0200, Damjan Marion wrote: > Hi, Hi Everyone, Yohanes Nugroho is working on a FreeBSD Kernel for the BeagleBoardXM To help speed up Kernel development I sent Yohanes a new version of u-boot that uses the USB device to transfer the Kernel >> I just had the time to test it, and I can load freebsd kernel. > > Fantastic, that will save a bit of time, how many seconds does it take > to load? About 2 seconds. It saves a lot from about 150 seconds using serial port. If anybody wants a copy of the u-boot binary and the instructions to use it just email me. We can't use tftp from u-boot as there is no u-boot support on the BeafleboardXM for the combo USB Host / Ethernet chip... Regards, John > On Mar 29, 2011, at 5:09 PM, Olivier Houchard wrote: > > > On Tue, Mar 29, 2011 at 12:27:33PM +0100, Mark Murray wrote: > >> Hi * > >> > > > > Hi Mark, > > > >> I'm keen "go embedded". I have a Beagleboard-xM, and I haven't had the > >> time I'd like to do much with it. > >> > >> A fellow called Ben Gray has done some of the work to get FreeBSD > >> working on this unit, but used FreeBSD-8 as a base. I've taken his > >> work and made it compile on current (mostly). He had some hacks > >> (beagle_brintf, beagle_panic etc) which I've removed, along with some > >> stuff (that may have broken things) in PMAP. > >> > >> The diffs are in http://people.freebsd.org/~markm/src.beagleboard.diff. > >> > >> Is this of any use? :-) > >> > > > > yes it his :) armv6/v7 support has been wanted for a long time now. > > However, there's been ongoing discussions with Mark Tinguely, raj@ and others > > about how to handle the MMU differences between <= v5 and >= v6, and I think > > the consensus was we should create a new pmap_v6.c file, maybe using kobj as > > is done in the ppc port. Maybe now is a good time to do so :) > > This is very interesting topic to me. I just received few days ago pandaboard, which is somehow successor of beagleboard and it is built on TI OMAP4430 SoC. > Main difference is that this one is dual core ARM Cortex-A9 so it needs SMP support. I guess that so far there is no SMP in ARM implementation on FreeBSD so I planed to spent some time on it. > Is there any work done so far on SMP side? > If not is there any wider interest to implement ARM MPCore in FreeBSD? > Any other thoughts on this topic? > > Thanks, > > Damjan > > > > _______________________________________________ > 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 Mar 29 23:40:46 2011 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 1157E1065672; Tue, 29 Mar 2011 23:40:46 +0000 (UTC) (envelope-from john@thinlinx.com) Received: from omr6.networksolutionsemail.com (omr6.networksolutionsemail.com [205.178.146.56]) by mx1.freebsd.org (Postfix) with ESMTP id AB8DF8FC0A; Tue, 29 Mar 2011 23:40:45 +0000 (UTC) Received: from cm-omr1 (mail.networksolutionsemail.com [205.178.146.50]) by omr6.networksolutionsemail.com (8.13.6/8.13.6) with ESMTP id p2TNej5d018126; Tue, 29 Mar 2011 19:40:45 -0400 X-Authenticated-IP: 120.151.213.137 Received: from [120.151.213.137] ([120.151.213.137:50277] helo=[192.168.25.1]) by cm-omr1 (envelope-from ) (ecelerity 2.2.2.41 r(31179/31189)) with ESMTP id 58/71-06416-BFD629D4; Tue, 29 Mar 2011 19:40:45 -0400 From: John Nicholls To: Damjan Marion In-Reply-To: References: <20110329150903.GA4069@ci0.org> <7519F558-CEA3-41A9-8AA6-5A3234C4F1A8@gmail.com> <1301439148.12515.49.camel@xeon.thinmesh.com> Content-Type: text/plain Date: Wed, 30 Mar 2011 09:40:26 +1000 Message-Id: <1301442026.13955.5.camel@xeon.thinmesh.com> Mime-Version: 1.0 X-Mailer: Evolution 2.22.3.1 Content-Transfer-Encoding: 7bit Cc: freebsd-arm@freebsd.org Subject: Re: Beagleboard stuff 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, 29 Mar 2011 23:40:46 -0000 On Wed, 2011-03-30 at 01:00 +0200, Damjan Marion wrote: > On Mar 30, 2011, at 12:52 AM, John Nicholls wrote: > > > On Tue, 2011-03-29 at 23:38 +0200, Damjan Marion wrote: > >> Hi, > > > > Hi Everyone, > > > > Yohanes Nugroho is working on a FreeBSD Kernel for > > the BeagleBoardXM > > > > To help speed up Kernel development I sent Yohanes a new version of > > u-boot that uses the USB device to transfer the Kernel > > > >>> I just had the time to test it, and I can load freebsd kernel. > >> > >> Fantastic, that will save a bit of time, how many seconds does it take > >> to load? > > > > About 2 seconds. It saves a lot from about 150 seconds using serial > > port. > > > > If anybody wants a copy of the u-boot binary and the instructions to use > > it just email me. > > > > We can't use tftp from u-boot as there is no u-boot support on the > > BeafleboardXM for the combo USB Host / Ethernet chip... > > Huh, I just started writing utility to boot OMAP4 over USB, similar to usbboot tool from https://github.com/swetland/omap4boot but based on libusb, as usbboot uses native linux devfs calls. > > Can you share your instructions for beagleboard? Might be also applicable to pandaboard. I will email you the boot.bin and dfu-utils.tar.gz, you have to use this version for it to work If you expand the dfu-utils.tar.gz in ~/beagle, you should be able to do: sudo ~/beagle/dfu-util/src/dfu-util -v --alt 0 -D ~/beagle/uImage I added this to my env var's in u-boot: set dfu 'run setneteth bootargs_base bootargs_nfs; bootm' Got a chance to try the DFU: --------------------------------------- dfu-util - (C) 2005-2008 by Weston Schmidt, Harald Welte and OpenMoko Inc. This program is Free Software and has ABSOLUTELY NO WARRANTY dfu-util does currently only support DFU version 1.0 Opening DFU USB device... ID 0525:a4a7 Found Runtime: [0x0525:0xa4a7] devnum=30, cfg=0, intf=0, alt=0, name="RAM" Claiming USB DFU Interface... Setting Alternate Setting #0 ... Determining device status: state = dfuIDLE, status = 0 dfuIDLE, continuing Device returned transfer size 4096 bytes_per_hash=42610 Copying data from PC to DFU device Starting download: [##################################################] finished! state(2) = dfuIDLE, status(0) = No error condition is present Done! > Thanks, > > Damjan From owner-freebsd-arm@FreeBSD.ORG Wed Mar 30 03:00:46 2011 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 5DFC81065675; Wed, 30 Mar 2011 03:00:46 +0000 (UTC) (envelope-from kevlo@kevlo.org) Received: from ns.kevlo.org (kevlo.org [220.128.136.52]) by mx1.freebsd.org (Postfix) with ESMTP id 318908FC15; Wed, 30 Mar 2011 03:00:44 +0000 (UTC) Received: from [127.0.0.1] (kevlo@kevlo.org [220.128.136.52]) by ns.kevlo.org (8.14.3/8.14.3) with ESMTP id p2U2PYwZ025976; Wed, 30 Mar 2011 10:25:35 +0800 (CST) From: Kevin Lo To: Damjan Marion In-Reply-To: <7519F558-CEA3-41A9-8AA6-5A3234C4F1A8@gmail.com> References: <20110329150903.GA4069@ci0.org> <7519F558-CEA3-41A9-8AA6-5A3234C4F1A8@gmail.com> Content-Type: text/plain; charset="UTF-8" Date: Wed, 30 Mar 2011 10:25:34 +0800 Message-ID: <1301451934.2217.19.camel@nsl> Mime-Version: 1.0 X-Mailer: Evolution 2.30.3 Content-Transfer-Encoding: 7bit Cc: freebsd-arm@freebsd.org Subject: Re: Beagleboard stuff 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, 30 Mar 2011 03:00:46 -0000 Damjan Marion wrote: > Hi, > > On Mar 29, 2011, at 5:09 PM, Olivier Houchard wrote: > > > On Tue, Mar 29, 2011 at 12:27:33PM +0100, Mark Murray wrote: > >> Hi * > >> > > > > Hi Mark, > > > >> I'm keen "go embedded". I have a Beagleboard-xM, and I haven't had the > >> time I'd like to do much with it. > >> > >> A fellow called Ben Gray has done some of the work to get FreeBSD > >> working on this unit, but used FreeBSD-8 as a base. I've taken his > >> work and made it compile on current (mostly). He had some hacks > >> (beagle_brintf, beagle_panic etc) which I've removed, along with some > >> stuff (that may have broken things) in PMAP. > >> > >> The diffs are in http://people.freebsd.org/~markm/src.beagleboard.diff. > >> > >> Is this of any use? :-) > >> > > > > yes it his :) armv6/v7 support has been wanted for a long time now. > > However, there's been ongoing discussions with Mark Tinguely, raj@ and others > > about how to handle the MMU differences between <= v5 and >= v6, and I think > > the consensus was we should create a new pmap_v6.c file, maybe using kobj as > > is done in the ppc port. Maybe now is a good time to do so :) > > This is very interesting topic to me. I just received few days ago pandaboard, which is somehow successor of beagleboard and it is built on TI OMAP4430 SoC. Mine has arrived four months ago, I haven't had time to work on it. > Main difference is that this one is dual core ARM Cortex-A9 so it needs SMP support. I guess that so far there is no SMP in ARM implementation on FreeBSD so I planed to spent some time on it. > Is there any work done so far on SMP side? > If not is there any wider interest to implement ARM MPCore in FreeBSD? > Any other thoughts on this topic? You likely can snag a bunch of that support from NetBSD, since they have ARM11 MPCore support: http://mail-index.netbsd.org/source-changes/2011/03/10/msg019790.html Is this enough to get you going? > Thanks, > > Damjan Kevin From owner-freebsd-arm@FreeBSD.ORG Wed Mar 30 09:10:01 2011 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 BB9271065670 for ; Wed, 30 Mar 2011 09:10:01 +0000 (UTC) (envelope-from ben.r.gray@gmail.com) Received: from mail-ww0-f50.google.com (mail-ww0-f50.google.com [74.125.82.50]) by mx1.freebsd.org (Postfix) with ESMTP id 426728FC08 for ; Wed, 30 Mar 2011 09:10:00 +0000 (UTC) Received: by wwc33 with SMTP id 33so1188590wwc.31 for ; Wed, 30 Mar 2011 02:10:00 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:message-id:date:from:user-agent:mime-version:to :subject:references:in-reply-to:content-type :content-transfer-encoding; bh=Otc+IDqRB1dBNJYaxATB9YJMT77L3spl/bTb2+hg7vE=; b=MtPLLtsxKEnITSVFcwi/zpKFCcVxs+c7w40+AJ18NshOSVeRzi6BdVe/UrruysNzXk EvW0iW/DrVFtA7PItk0doAhzu9KqZF9LZxp9fu8LcGC+eZjfIbGlvzmGqkeQapkYMUpV uvQGgCzYdJPNYYyEkig9R/0/fHaNZPwfjpRW0= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:user-agent:mime-version:to:subject:references :in-reply-to:content-type:content-transfer-encoding; b=BO8KxbDUoUWQJsEPL+IkupIWUngfV3HEVoOjqta9xgvdIsC3429VPqAw7MQF5Ubhej /JKpTKhCM8TABFr5tOn9WvceeJIIlaG8PL66YwLYdyxd3LYP8L06e0jB6/eiEzkFO/5b MTw8PoijysSjUYg575KgDzT9SpB5GLAAKOQJw= Received: by 10.216.140.154 with SMTP id e26mr861999wej.79.1301474864066; Wed, 30 Mar 2011 01:47:44 -0700 (PDT) Received: from Bens-MBP.local (ip-80-238-8-128.bskyb.com [80.238.8.128]) by mx.google.com with ESMTPS id r80sm2338378wei.15.2011.03.30.01.47.42 (version=TLSv1/SSLv3 cipher=OTHER); Wed, 30 Mar 2011 01:47:43 -0700 (PDT) Message-ID: <4D92EE2D.8000107@gmail.com> Date: Wed, 30 Mar 2011 09:47:41 +0100 From: Ben Gray User-Agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.6; en-GB; rv:1.9.2.15) Gecko/20110303 Thunderbird/3.1.9 MIME-Version: 1.0 To: freebsd-arm@freebsd.org References: <20110329150903.GA4069@ci0.org> <7519F558-CEA3-41A9-8AA6-5A3234C4F1A8@gmail.com> <1301451934.2217.19.camel@nsl> In-Reply-To: <1301451934.2217.19.camel@nsl> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: Beagleboard stuff 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, 30 Mar 2011 09:10:01 -0000 Hi all, Just an update on some of the work I've done on the Beagleboard/Pandaboard in case someone finds it useful ... I've done a rework of the pmap changes I made for ARMv7, the old work was a bodge and was really just so I could get the kernel up for writing device drivers. My newly modified pmap code is also a bodge :), but I've tried to tidy up a lot of my changes and I've gone down the route of providing static inline functions (could be converted to macros) for manipulating the individual PTEs. Besides these changes I've added an extension for Cortex-A9 which allows you to map pages as either "device" or "strongly ordered", this is needed for SCU registers set mapping on the omap44xx devices. For this I added a new PTE_? type, i.e. PTE_NOCACHE, PTE_CACHED, PTE_PAGETABLE and now PTE_DEVICE. I've also reworked the device initialisation code to be more like the AT91 tree, i.e. there is a base omap device which then has SoC specific children, like omap35xx, omap44xx, etc. I started doing this a couple of weeks ago when I first got my Pandaboard, but since then I haven't had much time to work on it. On that note, I've got my Pandaboard starting to boot but I haven't ported the MMC or ECHI drivers yet so can't mount a rootfs. I'm hoping to get these done reasonably soon and moving on to the interesting stuff of hacking in MPCore support :). Once I get the basic Pandaboard support up and running I'll update the code on googlecode, right now it's all a bit of a mess. Thanks, Ben. > Damjan Marion wrote: >> Hi, >> >> On Mar 29, 2011, at 5:09 PM, Olivier Houchard wrote: >> >>> On Tue, Mar 29, 2011 at 12:27:33PM +0100, Mark Murray wrote: >>>> Hi * >>>> >>> Hi Mark, >>> >>>> I'm keen "go embedded". I have a Beagleboard-xM, and I haven't had the >>>> time I'd like to do much with it. >>>> >>>> A fellow called Ben Gray has done some of the work to get FreeBSD >>>> working on this unit, but used FreeBSD-8 as a base. I've taken his >>>> work and made it compile on current (mostly). He had some hacks >>>> (beagle_brintf, beagle_panic etc) which I've removed, along with some >>>> stuff (that may have broken things) in PMAP. >>>> >>>> The diffs are in http://people.freebsd.org/~markm/src.beagleboard.diff. >>>> >>>> Is this of any use? :-) >>>> >>> yes it his :) armv6/v7 support has been wanted for a long time now. >>> However, there's been ongoing discussions with Mark Tinguely, raj@ and others >>> about how to handle the MMU differences between<= v5 and>= v6, and I think >>> the consensus was we should create a new pmap_v6.c file, maybe using kobj as >>> is done in the ppc port. Maybe now is a good time to do so :) >> This is very interesting topic to me. I just received few days ago pandaboard, which is somehow successor of beagleboard and it is built on TI OMAP4430 SoC. > Mine has arrived four months ago, I haven't had time to work on it. > >> Main difference is that this one is dual core ARM Cortex-A9 so it needs SMP support. I guess that so far there is no SMP in ARM implementation on FreeBSD so I planed to spent some time on it. >> Is there any work done so far on SMP side? >> If not is there any wider interest to implement ARM MPCore in FreeBSD? >> Any other thoughts on this topic? > You likely can snag a bunch of that support from NetBSD, since they > have ARM11 MPCore support: > http://mail-index.netbsd.org/source-changes/2011/03/10/msg019790.html > > Is this enough to get you going? > >> Thanks, >> >> Damjan > Kevin > > _______________________________________________ > 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 Wed Mar 30 13:30:07 2011 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 64CF6106566B for ; Wed, 30 Mar 2011 13:30:07 +0000 (UTC) (envelope-from markm@FreeBSD.org) Received: from gromit.grondar.org (grandfather.grondar.org [IPv6:2a01:348:0:15:5d59:5c20:0:2]) by mx1.freebsd.org (Postfix) with ESMTP id EF4038FC08 for ; Wed, 30 Mar 2011 13:30:06 +0000 (UTC) Received: from uucp by gromit.grondar.org with local-rmail (Exim 4.73 (FreeBSD)) (envelope-from ) id 1Q4vTJ-00003J-Ph for freebsd-arm@freebsd.org; Wed, 30 Mar 2011 14:30:05 +0100 Received: from localhost ([127.0.0.1] helo=groundzero.grondar.org) by groundzero.grondar.org with esmtp (Exim 4.74 (FreeBSD)) (envelope-from ) id 1Q4vSR-000L63-Te; Wed, 30 Mar 2011 14:29:11 +0100 To: Ben Gray In-reply-to: <4D92EE2D.8000107@gmail.com> References: <20110329150903.GA4069@ci0.org> <7519F558-CEA3-41A9-8AA6-5A3234C4F1A8@gmail.com> <1301451934.2217.19.camel@nsl> <4D92EE2D.8000107@gmail.com> From: Mark Murray Date: Wed, 30 Mar 2011 14:29:11 +0100 Message-Id: Cc: freebsd-arm@freebsd.org Subject: Re: Beagleboard stuff 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, 30 Mar 2011 13:30:07 -0000 Ben Gray writes: > Just an update on some of the work I've done on the > Beagleboard/Pandaboard in case someone finds it useful ... : > Once I get the basic Pandaboard support up and running I'll update > the code on googlecode, right now it's all a bit of a mess. Most excellent! Can I persuade you to rebase your googlecode work on FreeBSD-CURRENT? Any commits to FreeBSD will go into CURRENT anyway, and it therefore makes sense to develop at that level. Also - you have some beagle_* hacks. Could you please drop the bigger bodges (like beagle_printf and beagle_panic) in favour of the system calls (printf and panic), and rather put such hacks (for now) into (say) src/sys/dev/uart/? Thanks! M -- Mark R V Murray Cert APS(Open) Dip Phys(Open) BSc Open(Open) BSc(Hons)(Open) Pi: 132511160 From owner-freebsd-arm@FreeBSD.ORG Wed Mar 30 16:15:16 2011 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 02E8E106566B; Wed, 30 Mar 2011 16:15:16 +0000 (UTC) (envelope-from rozhuk.im@gmail.com) Received: from mail-vx0-f182.google.com (mail-vx0-f182.google.com [209.85.220.182]) by mx1.freebsd.org (Postfix) with ESMTP id 924648FC21; Wed, 30 Mar 2011 16:15:15 +0000 (UTC) Received: by vxc34 with SMTP id 34so1384040vxc.13 for ; Wed, 30 Mar 2011 09:15:14 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:reply-to:from:to:cc:subject:date:message-id :mime-version:content-type:content-transfer-encoding:x-mailer :thread-index:content-language; bh=Z8aSzJRqu0kvKx1WGQ4ayeOdcRC4ZjTGxFinMuipluU=; b=wQBPlIjwGODxu2VWq2JShFKxbla5sYAHtSrLXDHFmYSkGBZIerSoGmbIxhnV9Ssd0c 0vZczE3FAUDV8q7bOSom/N8keCpGZdGzlTp3kxW5yME6FKHZ78nBu4+mh9crIwZbaXr1 6dCjZCFMU5QSQN/aXWjVrM+5oQ2t82RYAMifY= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=reply-to:from:to:cc:subject:date:message-id:mime-version :content-type:content-transfer-encoding:x-mailer:thread-index :content-language; b=Zxb703lYVxwnGm9c8kpqlyjCqgRyEyC62mzG4kdwDjzbTBchupKDrv+wx54byIcQWr 6k05UK8dGpmqaWtZT5rFyEk1IfQVPVsxrC7rHQC8rFE0HERbX2nYcZ3rMcPN/wr6leLb k26r7FC5ogu7ra/oaGPDD3KHeIFDbAshEwcwA= Received: by 10.52.99.39 with SMTP id en7mr1844275vdb.170.1301500412223; Wed, 30 Mar 2011 08:53:32 -0700 (PDT) Received: from rimwks1x64 ([92.124.37.123]) by mx.google.com with ESMTPS id x29sm66779vcf.26.2011.03.30.08.53.29 (version=SSLv3 cipher=OTHER); Wed, 30 Mar 2011 08:53:31 -0700 (PDT) From: rozhuk.im@gmail.com To: Date: Thu, 31 Mar 2011 00:53:26 +0900 Message-ID: <4d9351fb.1d32dc0a.2d95.070c@mx.google.com> MIME-Version: 1.0 Content-Type: text/plain; charset="windows-1251" Content-Transfer-Encoding: quoted-printable X-Mailer: Microsoft Office Outlook 12.0 Thread-Index: Acvu8psz9rYxmgRRSpGOlirHCnGFKQ== Content-Language: ru Cc: freebsd-geom@freebsd.org Subject: merge geom redboot and map X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Rozhuk.IM@gmail.com List-Id: Porting FreeBSD to the StrongARM Processor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 30 Mar 2011 16:15:16 -0000 Hi! geom_redboot and geom_map ( = http://my.ddteam.net/hg/BASE/file/783974ced979/head/sys/geom/geom_map.c = - based on redboot) Do same things: allow access to memory blocks on cfi/spi flash like partitions on disk. Redboot - Flash Image System (FIS), stored on flash Map - like linux MTD, blocks (partitions) table hardcoded via "hints"=20 I can merge them together into one geom. geom_flash, for example. Addition build flags may be: GEOM_FLASH_NO_REDBOOT GEOM_FLASH_NO_MAP If redboot and map not excluded, then first node will see hardcoded in hints, then try to read FIS from flash. I need your opinions, suggestions and help with testing and including = code to main stream source tree. PS: I can test only "map" part on my Agestar LB2. =A0 -- Rozhuk Ivan =A0=20 From owner-freebsd-arm@FreeBSD.ORG Wed Mar 30 17:22:37 2011 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 F0BD2106566C; Wed, 30 Mar 2011 17:22:37 +0000 (UTC) (envelope-from damjan.marion@gmail.com) Received: from mail-ew0-f54.google.com (mail-ew0-f54.google.com [209.85.215.54]) by mx1.freebsd.org (Postfix) with ESMTP id 538BD8FC0C; Wed, 30 Mar 2011 17:22:36 +0000 (UTC) Received: by ewy1 with SMTP id 1so526904ewy.13 for ; Wed, 30 Mar 2011 10:22:36 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:subject:mime-version:content-type:from :in-reply-to:date:cc:content-transfer-encoding:message-id:references :to:x-mailer; bh=vvKCgPQepOwDsIqJ2KkqTSsX8E2+c/2hvdSnax62Bps=; b=qe3nKGg6sccL+l0X+g40toBvi2TrmF3zOxo0PwawoWLT9boIgRLI85ChaVcUX5RWrf 0//pay+2obG/Gid6VKJ6Day+pE4Ou3kOlPPm93s6Re+kmUEv0CRPFatFedWr7hnKfZHg 9PTmj34n8Z70+IQpGvOchW4RleR5Diai+NTx8= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=subject:mime-version:content-type:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to:x-mailer; b=VLNZQLOOUIZAYyfdkFEkO9P0alspVjSpuj9d9+NQS7obZKSGbWgZCnvhCISFaT8Vl2 Xv9FMDze+6jFzqLSNeCjK3CB4p/2RsBjf08W3vzn1qMSH4LLMu03VCnFZGXolXUGvld8 4Vo7YLtM8X/mgRxP6m9XRmPsq6D9PaKd9P7A0= Received: by 10.213.29.68 with SMTP id p4mr558154ebc.94.1301505756135; Wed, 30 Mar 2011 10:22:36 -0700 (PDT) Received: from [192.168.123.4] (cpe-109-60-66-194.zg3.cable.xnet.hr [109.60.66.194]) by mx.google.com with ESMTPS id x54sm182839eeh.5.2011.03.30.10.22.33 (version=TLSv1/SSLv3 cipher=OTHER); Wed, 30 Mar 2011 10:22:34 -0700 (PDT) Mime-Version: 1.0 (Apple Message framework v1084) Content-Type: text/plain; charset=us-ascii From: Damjan Marion In-Reply-To: Date: Wed, 30 Mar 2011 19:22:31 +0200 Content-Transfer-Encoding: quoted-printable Message-Id: <481C9119-B4FC-4E9C-A52D-90F9D0BBCFEE@gmail.com> References: <20110329150903.GA4069@ci0.org> <7519F558-CEA3-41A9-8AA6-5A3234C4F1A8@gmail.com> <1301451934.2217.19.camel@nsl> <4D92EE2D.8000107@gmail.com> To: Mark Murray X-Mailer: Apple Mail (2.1084) Cc: freebsd-arm@freebsd.org Subject: Re: Beagleboard stuff 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, 30 Mar 2011 17:22:38 -0000 On Mar 30, 2011, at 3:29 PM, Mark Murray wrote: > Ben Gray writes: >> Just an update on some of the work I've done on the=20 >> Beagleboard/Pandaboard in case someone finds it useful ... > : >> Once I get the basic Pandaboard support up and running I'll = update=20 >> the code on googlecode, right now it's all a bit of a mess. >=20 > Most excellent! >=20 > Can I persuade you to rebase your googlecode work on FreeBSD-CURRENT? > Any commits to FreeBSD will go into CURRENT anyway, and it therefore > makes sense to develop at that level. Can we consolidate our efforts into one single OMAP tree as looks like = omap3 (beagleboard) and omap4(pandaboard) have lot of common things ? I would prefer git if it is convenient to all people. Regards, Damjan= From owner-freebsd-arm@FreeBSD.ORG Wed Mar 30 18:01:18 2011 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 0D8061065674; Wed, 30 Mar 2011 18:01:18 +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 C07348FC19; Wed, 30 Mar 2011 18:01:17 +0000 (UTC) Received: from warner-losh.int.fusionio.com (localhost [127.0.0.1]) by harmony.bsdimp.com (8.14.3/8.14.1) with ESMTP id p2UHtQCi032719; Wed, 30 Mar 2011 11:55:26 -0600 (MDT) (envelope-from imp@bsdimp.com) Mime-Version: 1.0 (Apple Message framework v1082) Content-Type: text/plain; charset=us-ascii From: Warner Losh In-Reply-To: <4d9351fb.1d32dc0a.2d95.070c@mx.google.com> Date: Wed, 30 Mar 2011 11:55:25 -0600 Content-Transfer-Encoding: 7bit Message-Id: <56D961DF-74C4-4E1B-B7F5-60E0E939DE8E@bsdimp.com> References: <4d9351fb.1d32dc0a.2d95.070c@mx.google.com> To: Rozhuk.IM@gmail.com X-Mailer: Apple Mail (2.1082) Cc: freebsd-arm@freebsd.org, freebsd-geom@freebsd.org Subject: Re: merge geom redboot and map 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, 30 Mar 2011 18:01:18 -0000 On Mar 30, 2011, at 9:53 AM, rozhuk.im@gmail.com wrote: > Hi! > > geom_redboot and geom_map > ( http://my.ddteam.net/hg/BASE/file/783974ced979/head/sys/geom/geom_map.c - > based on redboot) > > Do same things: allow access to memory blocks on cfi/spi flash like > partitions on disk. > Redboot - Flash Image System (FIS), stored on flash > Map - like linux MTD, blocks (partitions) table hardcoded via > "hints" > > > I can merge them together into one geom. > geom_flash, for example. > > Addition build flags may be: > GEOM_FLASH_NO_REDBOOT > GEOM_FLASH_NO_MAP > > If redboot and map not excluded, then first node will see hardcoded in > hints, then try to read FIS from flash. > > > I need your opinions, suggestions and help with testing and including code > to main stream source tree. I think this likely is a good refactoring. > PS: I can test only "map" part on my Agestar LB2. But please make sure FIS still works. Warner > > > -- > Rozhuk Ivan > > > > > _______________________________________________ > 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 Wed Mar 30 19:19:16 2011 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 ECB72106564A; Wed, 30 Mar 2011 19:19:16 +0000 (UTC) (envelope-from rozhuk.im@gmail.com) Received: from mail-vw0-f54.google.com (mail-vw0-f54.google.com [209.85.212.54]) by mx1.freebsd.org (Postfix) with ESMTP id 87DD18FC0A; Wed, 30 Mar 2011 19:19:16 +0000 (UTC) Received: by vws18 with SMTP id 18so1584442vws.13 for ; Wed, 30 Mar 2011 12:19:15 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:reply-to:from:to:cc:references:in-reply-to :subject:date:message-id:mime-version:content-type :content-transfer-encoding:x-mailer:thread-index:content-language; bh=Mi0+IlcsNqqe7WfJdIGza+cky2u1lsMQ7Lm3LTnmZMQ=; b=UgVZ84+ibxW/ADW60ZtjPRemMQAScFDnS8TbAb7bYeT7fjFP5IQhHGAa7JyxBrJRrK QzpUcuffQBSyWRKnsgU2GkWz61U4qycB+UniLY4lYgGYBMx27B48EblR0qlDAn3EOyxo 9i0lWptncWH0Z0+XtoQVkWaF0d55+Ed1CIuQs= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=reply-to:from:to:cc:references:in-reply-to:subject:date:message-id :mime-version:content-type:content-transfer-encoding:x-mailer :thread-index:content-language; b=m+yOK+UDBdBFbK/4JX5JTDn0d4eMLmKxBhRrmTEauu3R/vNmaNN5grtvkrNJYqYt6L N7xojEHYN9HuAn2kAyqnvxE3b1hz2aAkMOM/+ix8AX2eZYKiIbiG5L/a7eyZKhqF0svN SUV98t1G12P9nv7hX62YhnpeY8fsnSi+/tbNs= Received: by 10.52.100.1 with SMTP id eu1mr1817410vdb.174.1301512755785; Wed, 30 Mar 2011 12:19:15 -0700 (PDT) Received: from rimwks1x64 ([92.124.37.123]) by mx.google.com with ESMTPS id f17sm195977vbv.6.2011.03.30.12.19.13 (version=SSLv3 cipher=OTHER); Wed, 30 Mar 2011 12:19:15 -0700 (PDT) From: rozhuk.im@gmail.com To: "'Warner Losh'" References: <4d9351fb.1d32dc0a.2d95.070c@mx.google.com> <56D961DF-74C4-4E1B-B7F5-60E0E939DE8E@bsdimp.com> In-Reply-To: <56D961DF-74C4-4E1B-B7F5-60E0E939DE8E@bsdimp.com> Date: Thu, 31 Mar 2011 04:19:11 +0900 Message-ID: <4d938233.1192e60a.2761.1205@mx.google.com> MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit X-Mailer: Microsoft Office Outlook 12.0 Thread-Index: AcvvBHo+Au9fxmokTZutyFXNmDL99QACPxXQ Content-Language: ru Cc: freebsd-arm@freebsd.org, freebsd-geom@freebsd.org Subject: RE: merge geom redboot and map X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Rozhuk.IM@gmail.com List-Id: Porting FreeBSD to the StrongARM Processor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 30 Mar 2011 19:19:17 -0000 > > I need your opinions, suggestions and help with testing and including > code > > to main stream source tree. > > I think this likely is a good refactoring. > > > PS: I can test only "map" part on my Agestar LB2. > > But please make sure FIS still works. I hope peoples with redboot hardware help with testing. Another question is path to mapped block (partition)? Now - redboot: /dev/redboot/%name - map: /dev/map/%name Variants: 1. stay as is 2. /dev/flash/%name 3. ? From owner-freebsd-arm@FreeBSD.ORG Wed Mar 30 20:55:14 2011 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 5F975106567B; Wed, 30 Mar 2011 20:55:14 +0000 (UTC) (envelope-from ray@ddteam.net) Received: from mail-fx0-f54.google.com (mail-fx0-f54.google.com [209.85.161.54]) by mx1.freebsd.org (Postfix) with ESMTP id 8B5EF8FC1D; Wed, 30 Mar 2011 20:55:08 +0000 (UTC) Received: by fxm11 with SMTP id 11so1771381fxm.13 for ; Wed, 30 Mar 2011 13:55:07 -0700 (PDT) Received: by 10.223.5.78 with SMTP id 14mr367101fau.135.1301516868968; Wed, 30 Mar 2011 13:27:48 -0700 (PDT) Received: from rnote.ddteam.net (29-134-133-95.pool.ukrtel.net [95.133.134.29]) by mx.google.com with ESMTPS id 14sm164654fae.23.2011.03.30.13.27.46 (version=SSLv3 cipher=OTHER); Wed, 30 Mar 2011 13:27:47 -0700 (PDT) Date: Wed, 30 Mar 2011 23:27:35 +0300 From: Aleksandr Rybalko To: Rozhuk.IM@gmail.com Message-Id: <20110330232735.3768cbb6.ray@ddteam.net> In-Reply-To: <4d938233.1192e60a.2761.1205@mx.google.com> References: <4d9351fb.1d32dc0a.2d95.070c@mx.google.com> <56D961DF-74C4-4E1B-B7F5-60E0E939DE8E@bsdimp.com> <4d938233.1192e60a.2761.1205@mx.google.com> X-Mailer: Sylpheed 3.1.0 (GTK+ 2.22.1; amd64-portbld-freebsd9.0) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: freebsd-arm@freebsd.org, rozhuk.im@gmail.com, freebsd-geom@freebsd.org Subject: Re: merge geom redboot and map 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, 30 Mar 2011 20:55:14 -0000 Hi all, On Thu, 31 Mar 2011 04:19:11 +0900 rozhuk.im@gmail.com wrote: > > > > I need your opinions, suggestions and help with testing and > > > including > > code > > > to main stream source tree. > > > > I think this likely is a good refactoring. > > > > > PS: I can test only "map" part on my Agestar LB2. > > > > But please make sure FIS still works. > > I hope peoples with redboot hardware help with testing. > > > Another question is path to mapped block (partition)? > > Now > - redboot: /dev/redboot/%name > - map: /dev/map/%name > > Variants: > 1. stay as is > 2. /dev/flash/%name > 3. ? 3. /dev/flash/spi0kernel, /dev/flash/spi0rootfs, ... IMO, /dev/map/ more generic :) > > _______________________________________________ > 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" P.S. I think GEOM_FLASH_NO_MAP not needed, because this modules differ only on configuration source, REDBOOT partition map and hints, so maybe only GEOM_FLASH_NO_REDBOOT to avoid unwanted read. WBW -- Aleksandr Rybalko From owner-freebsd-arm@FreeBSD.ORG Thu Mar 31 13:17:47 2011 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 96250106564A for ; Thu, 31 Mar 2011 13:17:47 +0000 (UTC) (envelope-from marktinguely@gmail.com) Received: from mail-yw0-f54.google.com (mail-yw0-f54.google.com [209.85.213.54]) by mx1.freebsd.org (Postfix) with ESMTP id 4DC098FC14 for ; Thu, 31 Mar 2011 13:17:47 +0000 (UTC) Received: by ywf9 with SMTP id 9so1110597ywf.13 for ; Thu, 31 Mar 2011 06:17:46 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:message-id:date:from:user-agent:mime-version:to :subject:references:in-reply-to:content-type :content-transfer-encoding; bh=yhOmwZlRBHGidhcVxrXL3fmwvAsnXFY0Hh1lCmPLjLI=; b=CTwFBi5rWrI//nwN4aNz7ybFHiLFhW28mBT3DpWpRpbwQ3zC3oMpAeDvv+otqSqXok RxYp+GsdEKdp6x6ef+xuXQYpLOGCsizFwErPAxe/I4QdVr8lQyPsTGJmBKPHQwc1ddCW OsZtUwT3RWx/lpjAYe4dVk8yvJvU+QwTQKuwg= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:user-agent:mime-version:to:subject:references :in-reply-to:content-type:content-transfer-encoding; b=tzk1cYRqoFa9FztbNQPVMBrgYKMSBQaC3aXGqbl7gZF2HBdc6SE8TzMoMl4sB/4/c2 uQWhpzx1gqmLlJCyQqNSRfCAxXNXY03Zrr6vX8Sk7Q2UNbOBfK84BznAW4i4N/EnBhsP Fio08Qamn2Mc0CoEeAP7awSNnwoDn3DAh1mhQ= Received: by 10.236.63.133 with SMTP id a5mr1314481yhd.274.1301577466637; Thu, 31 Mar 2011 06:17:46 -0700 (PDT) Received: from [192.168.1.101] (c-24-245-26-12.hsd1.mn.comcast.net [24.245.26.12]) by mx.google.com with ESMTPS id p67sm551521yhm.100.2011.03.31.06.17.45 (version=TLSv1/SSLv3 cipher=OTHER); Thu, 31 Mar 2011 06:17:45 -0700 (PDT) Message-ID: <4D947EF5.90108@gmail.com> Date: Thu, 31 Mar 2011 08:17:41 -0500 From: Mark Tinguely User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.2.15) Gecko/20110303 Thunderbird/3.1.9 MIME-Version: 1.0 To: freebsd-arm@freebsd.org References: <20110329150903.GA4069@ci0.org> <7519F558-CEA3-41A9-8AA6-5A3234C4F1A8@gmail.com> <1301451934.2217.19.camel@nsl> <4D92EE2D.8000107@gmail.com> In-Reply-To: <4D92EE2D.8000107@gmail.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: Beagleboard stuff 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: Thu, 31 Mar 2011 13:17:47 -0000 I have been thinking of the ARMv7 / SMP infrastructure. http://www.tinguelys.info/mark/freebsd/v7Roadmap.txt Disclaimer: recently, I am less sure that all ARMv6 cores can do TEX remap. To really take advantage of the new ARM features, we need a newer compiler. I have an old hacked up early gcc 4.5 snapshot, but it does not compile itself. clang does not cross compile and I have not tried to compile it under ARM. Does the OMAP4 implement the MP extensions? They would simply the SMP coherency/TLB operations by not having to perform an IPI. --Mark. From owner-freebsd-arm@FreeBSD.ORG Thu Mar 31 15:02:53 2011 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 6FC0C1065675 for ; Thu, 31 Mar 2011 15:02:53 +0000 (UTC) (envelope-from damjan.marion@gmail.com) Received: from mail-ww0-f50.google.com (mail-ww0-f50.google.com [74.125.82.50]) by mx1.freebsd.org (Postfix) with ESMTP id 000CB8FC15 for ; Thu, 31 Mar 2011 15:02:52 +0000 (UTC) Received: by wwc33 with SMTP id 33so2812339wwc.31 for ; Thu, 31 Mar 2011 08:02:52 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:subject:mime-version:content-type:from :in-reply-to:date:cc:content-transfer-encoding:message-id:references :to:x-mailer; bh=KJhIB/KFX2vf38CxYC54l8WEHQs386VnOY3/9MzzSD0=; b=WKH+Vvj6EZw9kECckAJUCi72QNWEhQMf/L/juCKYazc2aAn9tho78EiRSd6wY9nUyg 2bmjR39udttlRD7dBKsNtGfBUA96ylzPrkqITlOUGCbjFcBrMuuqfm5i0bEzWwbeusT3 cqdCcreayS5YPSq8SwOmwecANDSGpGcBpiRfo= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=subject:mime-version:content-type:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to:x-mailer; b=Ul02250LuEmNwjSlGNJS5OhYwjO6L86g7qTdvxUrjPqHBqGrkq0axz7sMUyoGyHh3A gm7J47WAeNRsQz7NfwcxzPrx6pL7XiQysBCjvUbh8006XP1Gf9VhQEX/cE/VC7ROAdgN OB6jp49S5+ZJSAAr8aVuy5tlj1uR9v1fnFS2s= Received: by 10.216.168.82 with SMTP id j60mr2181284wel.47.1301583771729; Thu, 31 Mar 2011 08:02:51 -0700 (PDT) Received: from [192.168.123.4] (cpe-109-60-66-194.zg3.cable.xnet.hr [109.60.66.194]) by mx.google.com with ESMTPS id z13sm704984wbd.12.2011.03.31.08.02.49 (version=TLSv1/SSLv3 cipher=OTHER); Thu, 31 Mar 2011 08:02:50 -0700 (PDT) Mime-Version: 1.0 (Apple Message framework v1084) Content-Type: text/plain; charset=us-ascii From: Damjan Marion In-Reply-To: <4D947EF5.90108@gmail.com> Date: Thu, 31 Mar 2011 17:02:47 +0200 Content-Transfer-Encoding: quoted-printable Message-Id: <9BD97855-B47E-4CF0-8DC5-29F1F4A8EA27@gmail.com> References: <20110329150903.GA4069@ci0.org> <7519F558-CEA3-41A9-8AA6-5A3234C4F1A8@gmail.com> <1301451934.2217.19.camel@nsl> <4D92EE2D.8000107@gmail.com> <4D947EF5.90108@gmail.com> To: Mark Tinguely X-Mailer: Apple Mail (2.1084) Cc: freebsd-arm@freebsd.org Subject: Re: Beagleboard stuff 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: Thu, 31 Mar 2011 15:02:53 -0000 Hi Mark, On Mar 31, 2011, at 3:17 PM, Mark Tinguely wrote: > I have been thinking of the ARMv7 / SMP infrastructure. >=20 > http://www.tinguelys.info/mark/freebsd/v7Roadmap.txt >=20 > Disclaimer: recently, I am less sure that all ARMv6 cores can do TEX = remap. >=20 > To really take advantage of the new ARM features, we need a newer = compiler. I have an old hacked up early gcc 4.5 snapshot, but it does = not compile itself. clang does not cross compile and I have not tried to = compile it under ARM. >=20 > Does the OMAP4 implement the MP extensions? They would simply the SMP = coherency/TLB operations by not having to perform an IPI. OMAP 4 uses standard Cortex-A9 core. Can you take a look into "ARM DDI = 0407" document? It describer MPCore functionality on Cortex-A9 CPUs so = it will probably answer your question. Damjan=20= From owner-freebsd-arm@FreeBSD.ORG Thu Mar 31 15:56:17 2011 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 C40B21065674 for ; Thu, 31 Mar 2011 15:56:17 +0000 (UTC) (envelope-from marktinguely@gmail.com) Received: from mail-gx0-f182.google.com (mail-gx0-f182.google.com [209.85.161.182]) by mx1.freebsd.org (Postfix) with ESMTP id 79C1A8FC0A for ; Thu, 31 Mar 2011 15:56:17 +0000 (UTC) Received: by gxk28 with SMTP id 28so1188158gxk.13 for ; Thu, 31 Mar 2011 08:56:16 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:message-id:date:from:user-agent:mime-version:to :cc:subject:references:in-reply-to:content-type :content-transfer-encoding; bh=CboeEiqS6dBjDZUcDG0y4SKYTQsPQawyRtWGZsrsqJ0=; b=eVYOVVd2ePZk3slWNKrecOFEpDTj/s9aF2RpsIEjagC5AxDanEJxZIYYTaVTaPOWGx ImyMWwM2TYcb27iOlS8x+VR+DMGGL2QmOG5AnGbS77ngqt8IxgJ+C0b/569bl9z7r5LA z6BTxXGwhx24r7z+4/g1lPk9iubGscDH94nWg= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:user-agent:mime-version:to:cc:subject :references:in-reply-to:content-type:content-transfer-encoding; b=PkPEdxn5jcj9D+1GhIc+WBSOZ8vA8nh4SULs4pc/XxWaH7sskndWsF0ow7+/+DqNpk PCADo1QZ4BXiYQExHrUeIzKy03G+Xw8RKqB4KmZQNSFvZiOE74am18nQ2TyVvbfxDFuR LwvjQOZlQnQBL5Iw7p1XbjO5j6TbNaMn06T0s= Received: by 10.236.145.130 with SMTP id p2mr3944896yhj.272.1301586976704; Thu, 31 Mar 2011 08:56:16 -0700 (PDT) Received: from [192.168.1.101] (c-24-245-26-12.hsd1.mn.comcast.net [24.245.26.12]) by mx.google.com with ESMTPS id p3sm625287yhp.89.2011.03.31.08.56.13 (version=TLSv1/SSLv3 cipher=OTHER); Thu, 31 Mar 2011 08:56:14 -0700 (PDT) Message-ID: <4D94A418.9070608@gmail.com> Date: Thu, 31 Mar 2011 10:56:08 -0500 From: Mark Tinguely User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.2.15) Gecko/20110303 Thunderbird/3.1.9 MIME-Version: 1.0 To: Damjan Marion References: <20110329150903.GA4069@ci0.org> <7519F558-CEA3-41A9-8AA6-5A3234C4F1A8@gmail.com> <1301451934.2217.19.camel@nsl> <4D92EE2D.8000107@gmail.com> <4D947EF5.90108@gmail.com> <9BD97855-B47E-4CF0-8DC5-29F1F4A8EA27@gmail.com> In-Reply-To: <9BD97855-B47E-4CF0-8DC5-29F1F4A8EA27@gmail.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-arm@freebsd.org Subject: Re: Beagleboard stuff 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: Thu, 31 Mar 2011 15:56:17 -0000 On 3/31/2011 10:02 AM, Damjan Marion wrote: > Hi Mark, > > On Mar 31, 2011, at 3:17 PM, Mark Tinguely wrote: >> I have been thinking of the ARMv7 / SMP infrastructure. >> >> http://www.tinguelys.info/mark/freebsd/v7Roadmap.txt >> >> Disclaimer: recently, I am less sure that all ARMv6 cores can do TEX remap. >> >> To really take advantage of the new ARM features, we need a newer compiler. I have an old hacked up early gcc 4.5 snapshot, but it does not compile itself. clang does not cross compile and I have not tried to compile it under ARM. >> >> Does the OMAP4 implement the MP extensions? They would simply the SMP coherency/TLB operations by not having to perform an IPI > OMAP 4 uses standard Cortex-A9 core. Can you take a look into "ARM DDI 0407" document? It describer MPCore functionality on Cortex-A9 CPUs so it will probably answer your question. > > Damjan Last time that I had looked, TI had not released the technical information on the OMAP4 to the general public. I will look again. The MP core extensions are optional. Thank-you, --Mark. From owner-freebsd-arm@FreeBSD.ORG Thu Mar 31 16:18:48 2011 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 6E6361065676 for ; Thu, 31 Mar 2011 16:18:48 +0000 (UTC) (envelope-from ben.r.gray@gmail.com) Received: from mail-ww0-f50.google.com (mail-ww0-f50.google.com [74.125.82.50]) by mx1.freebsd.org (Postfix) with ESMTP id F07ED8FC21 for ; Thu, 31 Mar 2011 16:18:47 +0000 (UTC) Received: by wwc33 with SMTP id 33so2911588wwc.31 for ; Thu, 31 Mar 2011 09:18:47 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:message-id:date:from:user-agent:mime-version:to :cc:subject:references:in-reply-to:content-type :content-transfer-encoding; bh=NQJqBhqHCuV/HjP/6Q1dh1pVBA9PQKbcQhJsF/RoYqE=; b=gRUHlHhs+Q413AOYWg4DCaS4bbl4tBv69sNnwKCmugAEnWiLpnb7WawvvA4R9AANsL ev7KU7tGt223k1Srcdjy97YyqJlnZTa8tti6jVqxr5FVBtY/hw2r1me4vas0c8qTiYcH B9v9qRpqjeUqHvib4OPKSZJ9xGVUEqX35DwPQ= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:user-agent:mime-version:to:cc:subject :references:in-reply-to:content-type:content-transfer-encoding; b=G3UsH6YfAtHSY66SYpcqvmhFk9IHaX9kH2QbZR2t/seskq49jc6c6ieiZNHPbaN2rW msHH+jb/htQ1gXJ9oU6QMTt3q7SykaFJ3YBpQnYzF0tpV5bRHEaHlcBIyy0Dc0wce1iw Mm8KWqeY0xtZ7GomMDoEwnmRhgqemFie+yMiE= Received: by 10.216.24.92 with SMTP id w70mr2278419wew.43.1301588326807; Thu, 31 Mar 2011 09:18:46 -0700 (PDT) Received: from Bens-MBP.local (ip-80-238-8-128.bskyb.com [80.238.8.128]) by mx.google.com with ESMTPS id p5sm746964wbg.28.2011.03.31.09.18.45 (version=TLSv1/SSLv3 cipher=OTHER); Thu, 31 Mar 2011 09:18:45 -0700 (PDT) Message-ID: <4D94A964.1050000@gmail.com> Date: Thu, 31 Mar 2011 17:18:44 +0100 From: Ben Gray User-Agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.6; en-GB; rv:1.9.2.15) Gecko/20110303 Thunderbird/3.1.9 MIME-Version: 1.0 To: Mark Tinguely References: <20110329150903.GA4069@ci0.org> <7519F558-CEA3-41A9-8AA6-5A3234C4F1A8@gmail.com> <1301451934.2217.19.camel@nsl> <4D92EE2D.8000107@gmail.com> <4D947EF5.90108@gmail.com> <9BD97855-B47E-4CF0-8DC5-29F1F4A8EA27@gmail.com> <4D94A418.9070608@gmail.com> In-Reply-To: <4D94A418.9070608@gmail.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-arm@freebsd.org Subject: Re: Beagleboard stuff 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: Thu, 31 Mar 2011 16:18:48 -0000 Hi Mark, I don't think the OMAP4430 techref manual is available on the TI website, however you can get it via the Pandaboard site: In terms of cache coherency - the OMAP4430 has separate L1 caches (32KB inst/32KB data) for each core with a snoop control unit (ARM SCU?) which "ensures memory coherency between the two CPUs". In regards to the ARMv6/v7 roadmap, have you started work on this? I would love to see some of these changes in the tree and can help out in some areas, however if you look at the hacks in my pmap.c code for armv7 you'll notice that I'm not very experienced in this area of the kernel ;-). Thanks, Ben. > On 3/31/2011 10:02 AM, Damjan Marion wrote: >> Hi Mark, >> >> On Mar 31, 2011, at 3:17 PM, Mark Tinguely wrote: >>> I have been thinking of the ARMv7 / SMP infrastructure. >>> >>> http://www.tinguelys.info/mark/freebsd/v7Roadmap.txt >>> >>> Disclaimer: recently, I am less sure that all ARMv6 cores can do TEX >>> remap. >>> >>> To really take advantage of the new ARM features, we need a newer >>> compiler. I have an old hacked up early gcc 4.5 snapshot, but it >>> does not compile itself. clang does not cross compile and I have not >>> tried to compile it under ARM. >>> >>> Does the OMAP4 implement the MP extensions? They would simply the >>> SMP coherency/TLB operations by not having to perform an IPI >> OMAP 4 uses standard Cortex-A9 core. Can you take a look into "ARM >> DDI 0407" document? It describer MPCore functionality on Cortex-A9 >> CPUs so it will probably answer your question. >> >> Damjan > > Last time that I had looked, TI had not released the technical > information on the OMAP4 to the general public. I will look again. > > The MP core extensions are optional. > > Thank-you, > > --Mark. > _______________________________________________ > 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 Thu Mar 31 17:02:01 2011 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 41E4E106566C for ; Thu, 31 Mar 2011 17:02:01 +0000 (UTC) (envelope-from damjan.marion@gmail.com) Received: from mail-wy0-f182.google.com (mail-wy0-f182.google.com [74.125.82.182]) by mx1.freebsd.org (Postfix) with ESMTP id C24398FC08 for ; Thu, 31 Mar 2011 17:02:00 +0000 (UTC) Received: by wyf23 with SMTP id 23so2644747wyf.13 for ; Thu, 31 Mar 2011 10:01:59 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:subject:mime-version:content-type:from :in-reply-to:date:cc:content-transfer-encoding:message-id:references :to:x-mailer; bh=uoH82KkVAG3Uv703UZCDZJlOB3N0EyYpK6PNVrU3LXE=; b=erE3/MMiaEuptwjuK+dM2QzAyEKreVk7tZFX1bycGmtBUvqihZAluo+kY1o3qfAMPJ 2YWYlb0J78JB9aKeHPlTPE/TLBZoo1ROAVpA7b8EZrpfuYjpzR0T24Lcepaf9vrP2Z5L 6qAv/LvEdKUwChNh6DdKLmLEHRAG6Nf7eVhgg= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=subject:mime-version:content-type:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to:x-mailer; b=WIYB7mQgnLJKLU3L1wGB9XVL29TeVqRuq4XYeN6wtDB3LLXFBRieVtjwqtvgocBIcM Hd/jtNVuRixsxRLStSf5YeUSy/38hQgbKES2IvGqUuCbbeGs+QXMtHkwgnIMWc1HZTS4 eHjouvdkoWt9ARpZl54TVZTOcb3olqvN35AAc= Received: by 10.216.181.199 with SMTP id l49mr2297478wem.68.1301590919671; Thu, 31 Mar 2011 10:01:59 -0700 (PDT) Received: from [192.168.123.4] (cpe-109-60-66-194.zg3.cable.xnet.hr [109.60.66.194]) by mx.google.com with ESMTPS id r57sm613179wes.25.2011.03.31.10.01.56 (version=TLSv1/SSLv3 cipher=OTHER); Thu, 31 Mar 2011 10:01:57 -0700 (PDT) Mime-Version: 1.0 (Apple Message framework v1084) Content-Type: text/plain; charset=us-ascii From: Damjan Marion In-Reply-To: <4D94A964.1050000@gmail.com> Date: Thu, 31 Mar 2011 19:01:55 +0200 Content-Transfer-Encoding: quoted-printable Message-Id: References: <20110329150903.GA4069@ci0.org> <7519F558-CEA3-41A9-8AA6-5A3234C4F1A8@gmail.com> <1301451934.2217.19.camel@nsl> <4D92EE2D.8000107@gmail.com> <4D947EF5.90108@gmail.com> <9BD97855-B47E-4CF0-8DC5-29F1F4A8EA27@gmail.com> <4D94A418.9070608@gmail.com> <4D94A964.1050000@gmail.com> To: Ben Gray X-Mailer: Apple Mail (2.1084) Cc: freebsd-arm@freebsd.org Subject: Re: Beagleboard stuff 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: Thu, 31 Mar 2011 17:02:01 -0000 On Mar 31, 2011, at 6:18 PM, Ben Gray wrote: > Hi Mark, >=20 > I don't think the OMAP4430 techref manual is available on the TI = website, however you can get it via the Pandaboard site: it is available on this page:=20 = http://focus.ti.com/general/docs/wtbu/wtbudocumentcenter.tsp?templateId=3D= 6123&navigationId=3D12667 It is available since August 2010. Damjan= From owner-freebsd-arm@FreeBSD.ORG Thu Mar 31 21:23:51 2011 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 51D2E1065670 for ; Thu, 31 Mar 2011 21:23:51 +0000 (UTC) (envelope-from marktinguely@gmail.com) Received: from mail-yx0-f182.google.com (mail-yx0-f182.google.com [209.85.213.182]) by mx1.freebsd.org (Postfix) with ESMTP id 019888FC0A for ; Thu, 31 Mar 2011 21:23:50 +0000 (UTC) Received: by yxl31 with SMTP id 31so1345412yxl.13 for ; Thu, 31 Mar 2011 14:23:50 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:message-id:date:from:user-agent:mime-version:to :cc:subject:references:in-reply-to:content-type :content-transfer-encoding; bh=1REPll+tm4QCH/pYbCIwtttECHT50VZxwCObIKR9WnI=; b=jOu3djN8cCHQdUIqmX6SYeFzD2rhoEk6/nlOOgxLarzxGMyKE2Jta96g0gG9JFfyiV Y4ZRzKlLVOp3yycVxKmRfEpLWV+n9+dBhmyqf4TiLIW7VxfvpGXkozBXM96BD+hu7EdT aDbI/itmRI5i6lXNj0eltjTSWZpkXH/zzU/Gg= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:user-agent:mime-version:to:cc:subject :references:in-reply-to:content-type:content-transfer-encoding; b=xS5ttLCQIZXvM9Hd2KYv1tjvLuCTMrNadTikCKR2wKiLYifUrivY8iDZ5xJbwxuube Gs+ft4bAf4UqKAN1e6xh1XA7JARf3iobCpGwvFviNxUcKXaObRC2Gon8ZUaf+cBN37OB +ZD3Diy3L1IjZLF+LaTXrRZ6XUwFgxwk25USU= Received: by 10.236.152.4 with SMTP id c4mr628142yhk.283.1301606629940; Thu, 31 Mar 2011 14:23:49 -0700 (PDT) Received: from [192.168.1.100] (c-24-245-26-12.hsd1.mn.comcast.net [24.245.26.12]) by mx.google.com with ESMTPS id z22sm769196yhc.30.2011.03.31.14.23.48 (version=TLSv1/SSLv3 cipher=OTHER); Thu, 31 Mar 2011 14:23:49 -0700 (PDT) Message-ID: <4D94F0E0.9050805@gmail.com> Date: Thu, 31 Mar 2011 16:23:44 -0500 From: Mark Tinguely User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.2.15) Gecko/20110303 Thunderbird/3.1.9 MIME-Version: 1.0 To: Ben Gray References: <20110329150903.GA4069@ci0.org> <7519F558-CEA3-41A9-8AA6-5A3234C4F1A8@gmail.com> <1301451934.2217.19.camel@nsl> <4D92EE2D.8000107@gmail.com> <4D947EF5.90108@gmail.com> <9BD97855-B47E-4CF0-8DC5-29F1F4A8EA27@gmail.com> <4D94A418.9070608@gmail.com> <4D94A964.1050000@gmail.com> In-Reply-To: <4D94A964.1050000@gmail.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-arm@freebsd.org Subject: Re: Beagleboard stuff 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: Thu, 31 Mar 2011 21:23:51 -0000 On 3/31/2011 11:18 AM, Ben Gray wrote: > Hi Mark, > > I don't think the OMAP4430 techref manual is available on the TI > website, however you can get it via the Pandaboard site: > > > > In terms of cache coherency - the OMAP4430 has separate L1 caches > (32KB inst/32KB data) for each core with a snoop control unit (ARM > SCU?) which "ensures memory coherency between the two CPUs". > > > In regards to the ARMv6/v7 roadmap, have you started work on this? > I would love to see some of these changes in the tree and can help out > in some areas, however if you look at the hacks in my pmap.c code for > armv7 you'll notice that I'm not very experienced in this area of the > kernel ;-). > > > Thanks, > Ben. The SCU does snoop the internal processors' cache but the external processors (DMA) do not snoop the cache, so certain pre and post DMA commands still need to flush and/or invalidate the internal caches. Since the caches could still be active on any processor (because the process is on multiple processors or because the process recently switched processors), we have to perform the needed pre/post DMA cache operation on every processor. Without the multiprocessing extensions, this involves sending a message (IPI) from the current processor to all other processors telling them to perform necessary cache operation. Multiprocessor extensions performs the cache operations on the remote processors without sending a IPI. I have started to rewrite the easiest parts of the low level code. See the "toc.txt" file on my website. These rewrites use instructions (ldrex, strex, clrex, isb, dsb, etc) that the current compiler and binutils do not understand. A new binutils can be easily dropped into the source tree. We need a new compiler that can understand these instructions and also be able to generate VFP/Neon user instructions. I have been using a hacked up compiler to make kernels but it won't compile world and it is starting to become inadequate for kernels also. I have studied the i386 and amd64 low level routines to see what we could use and what we can't use. Right now, I do not have the financial resources to finish a rewrite the low level code. --Mark.