From owner-freebsd-arm@FreeBSD.ORG Mon Aug 11 02:37:27 2014 Return-Path: Delivered-To: freebsd-arm@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 677A5B60 for ; Mon, 11 Aug 2014 02:37:27 +0000 (UTC) Received: from mho-01-ewr.mailhop.org (mho-03-ewr.mailhop.org [204.13.248.66]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 3A4252DE4 for ; Mon, 11 Aug 2014 02:37:26 +0000 (UTC) Received: from [73.34.117.227] (helo=ilsoft.org) by mho-01-ewr.mailhop.org with esmtpsa (TLSv1:AES256-SHA:256) (Exim 4.72) (envelope-from ) id 1XGfUD-000IEv-MB for freebsd-arm@freebsd.org; Mon, 11 Aug 2014 02:37:25 +0000 Received: from [172.22.42.240] (revolution.hippie.lan [172.22.42.240]) by ilsoft.org (8.14.9/8.14.9) with ESMTP id s7B2bOC4026706 for ; Sun, 10 Aug 2014 20:37:24 -0600 (MDT) (envelope-from ian@FreeBSD.org) X-Mail-Handler: Dyn Standard SMTP by Dyn X-Originating-IP: 73.34.117.227 X-Report-Abuse-To: abuse@dyndns.com (see http://www.dyndns.com/services/sendlabs/outbound_abuse.html for abuse reporting information) X-MHO-User: U2FsdGVkX1/NxI3W8v3dVtygzHNY4gZb X-Authentication-Warning: paranoia.hippie.lan: Host revolution.hippie.lan [172.22.42.240] claimed to be [172.22.42.240] Subject: And now for the actual test... [was: Re: What platform do you use?] From: Ian Lepore To: freebsd-arm In-Reply-To: <7EC2AB25-5949-40BF-A5AA-BF4C98F3F640@bsdimp.com> References: <7EC2AB25-5949-40BF-A5AA-BF4C98F3F640@bsdimp.com> Content-Type: text/plain; charset="iso-8859-13" Date: Sun, 10 Aug 2014 20:37:24 -0600 Message-ID: <1407724644.56408.469.camel@revolution.hippie.lan> Mime-Version: 1.0 X-Mailer: Evolution 2.32.1 FreeBSD GNOME Team Port Content-Transfer-Encoding: quoted-printable X-MIME-Autoconverted: from 8bit to quoted-printable by ilsoft.org id s7B2bOC4026706 X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 11 Aug 2014 02:37:27 -0000 On Tue, 2014-08-05 at 10:26 -0600, Warner Losh wrote: > Greetings, >=20 > I=FFd like to know what platforms people use FreeBSD/arm with, and if y= ou=FFd have time to test some potentially =B4break the kernel=A1 sort of = changes in the next month? >=20 > I have the following boards: boatloads of atmel, BBB, and RPI. This cov= ers the at91, imx6 and broadcom directories. I also have a allwinnner boa= rd, but I=FFve never got it booting FreeBSD. Likewise with a rockchip. I = have some marvell gear too, but it is buried deep. This leaves a lot of o= ther boards/SoCs to cover... >=20 > Warner >=20 So, anybody wanting to do the testing alluded to in this thread-starting message, here's all you need to do: - Add "option ARM_DEVICE_MULTIPASS" to your kernel config. - Rebuild and install the kernel, boot. - Everything should still work. The only difference you should notice is that devices load in a different order at boot time. Specifically, you'll see all the busses listed first, then interrupt controllers, then l2cache, then clocks and timers, then all the usual stuff after that. There's no immediate benefit or speedup or anything, this is to help pave the way for using fdt data that comes with a board or system instead of needing our special freebsd dtb files. Right now we count on devices loading in the order we list them in our dts source. This is a new way of loading things that should ensure critical devices are loaded first, even when we can't control the order of things in the fdt data. I've tested this on wandboard only so far. -- Ian