From owner-freebsd-arm@FreeBSD.ORG Mon Aug 11 18:44:25 2014 Return-Path: Delivered-To: freebsd-arm@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id B52C8B4C; Mon, 11 Aug 2014 18:44:25 +0000 (UTC) Received: from smtprelay-h31.telenor.se (smtprelay-h31.telenor.se [213.150.131.4]) (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 3DC5C224D; Mon, 11 Aug 2014 18:44:24 +0000 (UTC) Received: from ipb1.telenor.se (ipb1.telenor.se [195.54.127.164]) by smtprelay-h31.telenor.se (Postfix) with ESMTP id AC8B9C1DF; Mon, 11 Aug 2014 20:43:51 +0200 (CEST) X-SENDER-IP: [85.229.94.62] X-LISTENER: [smtp.bredband.net] X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AoUKAIEO6VNV5V4+PGdsb2JhbABagw2BLYcrygeBeoEhAYEbFwUBAQEBODaEBAEEATIBIyMFCwtGLQwKFAYKiEMMAcMKF49MB4RMBZBxKFeGB4Fug3yRb4U4Ow X-IPAS-Result: AoUKAIEO6VNV5V4+PGdsb2JhbABagw2BLYcrygeBeoEhAYEbFwUBAQEBODaEBAEEATIBIyMFCwtGLQwKFAYKiEMMAcMKF49MB4RMBZBxKFeGB4Fug3yRb4U4Ow X-IronPort-AV: E=Sophos;i="5.01,843,1400018400"; d="scan'208";a="56161936" Received: from c-3e5ee555.06-11-73746f31.cust.bredbandsbolaget.se (HELO sigyn.alvermark.net) ([85.229.94.62]) by ipb1.telenor.se with ESMTP; 11 Aug 2014 20:43:51 +0200 Received: from localhost ([127.0.0.1] helo=webmail.alvermark.net) by sigyn.alvermark.net with esmtp (Exim 4.80.1 (FreeBSD)) (envelope-from ) id 1XGuZS-000Bxb-GZ; Mon, 11 Aug 2014 20:43:50 +0200 Received: from 85.229.95.175 (SquirrelMail authenticated user alvis) by webmail.alvermark.net with HTTP; Mon, 11 Aug 2014 20:43:50 +0200 (CEST) Message-ID: <26202.85.229.95.175.1407782630.squirrel@webmail.alvermark.net> In-Reply-To: <1407724644.56408.469.camel@revolution.hippie.lan> References: <7EC2AB25-5949-40BF-A5AA-BF4C98F3F640@bsdimp.com> <1407724644.56408.469.camel@revolution.hippie.lan> Date: Mon, 11 Aug 2014 20:43:50 +0200 (CEST) Subject: Re: And now for the actual test... [was: Re: What platform do you use?] From: "Jakob Alvermark" To: "Ian Lepore" User-Agent: SquirrelMail/1.5.1 MIME-Version: 1.0 Content-Type: text/plain;charset=iso-8859-1 Content-Transfer-Encoding: 8bit Cc: freebsd-arm 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 18:44:25 -0000 On Mon, August 11, 2014 04:37, Ian Lepore wrote: > 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. It works on my Allwinner A13: KDB: debugger backends: ddb KDB: current backend: ddb Copyright (c) 1992-2014 The FreeBSD Project. Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994 The Regents of the University of California. All rights reserved. FreeBSD is a registered trademark of The FreeBSD Foundation. FreeBSD 11.0-CURRENT #6 r269780M: Sun Aug 10 17:47:09 CEST 2014 root@superdata:/usr/obj/a13/arm.armv6/usr/src/sys/A13_OLINUXINO arm FreeBSD clang version 3.4.1 (tags/RELEASE_34/dot1-final 208032) 20140512 CPU: Cortex A8-r3 rev 2 (Cortex-A core) Supported features: ARM_ISA THUMB2 JAZELLE THUMBEE ARMv4 Security_Ext WB disabled EABT branch prediction enabled LoUU:2 LoC:2 LoUIS:1 Cache level 1: 32KB/64B 4-way data cache WT WB Read-Alloc 32KB/64B 4-way instruction cache Read-Alloc Cache level 2: 256KB/64B 8-way unified cache WT WB Read-Alloc Write-Alloc real memory = 536870912 (512 MB) avail memory = 516755456 (492 MB) random: initialized ofwbus0: simplebus0: on ofwbus0 aintc0: mem 0x1c20400-0x1c207ff on simplebus0 a10_sramc0: mem 0x1c00000-0x1c00fff on simplebus0 a10_ccm0: mem 0x1c20000-0x1c203ff on simplebus0 a10_timer0: mem 0x1c20c00-0x1c20c8f irq 22 on simplebus0 Event timer "a10_timer Eventtimer" frequency 24000000 Hz quality 1000 Timecounter "a10_timer timer0" frequency 24000000 Hz quality 1000 a10wd0: mem 0x1c20c90-0x1c20c97 on simplebus0 gpio0: mem 0x1c20800-0x1c20bff irq 28 on simplebus0 gpioc0: on gpio0 gpiobus0: on gpio0 ehci0: mem 0x1c14000-0x1c14fff irq 39 on simplebus0 usbus0: EHCI version 1.0 usbus0 on ehci0 uart0: <16750 or compatible> mem 0x1c28400-0x1c287ff irq 2 on simplebus0 uart0: console (115200,n,8,1) Timecounters tick every 10.000 msec usbus0: 480Mbps High Speed USB v2.0 ugen0.1: at usbus0 uhub0: on usbus0 random: unblocking device. Root mount waiting for: usbus0 uhub0: 1 port with 1 removable, self powered Root mount waiting for: usbus0 Root mount waiting for: usbus0 Root mount waiting for: usbus0 Root mount waiting for: usbus0 ugen0.2: at usbus0 uhub1: on usbus0 Root mount waiting for: usbus0 Root mount waiting for: usbus0 Root mount waiting for: usbus0 Root mount waiting for: usbus0 uhub1: 4 ports with 4 removable, self powered Root mount waiting for: usbus0 Root mount waiting for: usbus0 ugen0.3: at usbus0 umass0: on usbus0 umass0: SCSI over Bulk-Only; quirks = 0x0100 umass0:0:0: Attached to scbus0 da0 at umass-sim0 bus 0 scbus0 target 0 lun 0 da0: Removable Direct Access SCSI-0 device da0: Serial Number 001CC0EC330FBAC0300001B1 da0: 40.000MB/s transfers da0: 3824MB (7831552 512 byte sectors: 255H 63S/T 487C) da0: quirks=0x2 Root mount waiting for: usbus0 Root mount waiting for: usbus0 Root mount waiting for: usbus0 ugen0.4: at usbus0 urtwn0: on usbus0 urtwn0: MAC/BB RTL8188CUS, RF 6052 1T1R Trying to mount root from ufs:/dev/da0s2 []... warning: no time-of-day clock registered, system time will not be set accurately wlan0: Ethernet address: ac:f1:df:0c:59:26 Jakob