Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 11 Aug 2014 20:43:50 +0200 (CEST)
From:      "Jakob Alvermark" <jakob@alvermark.net>
To:        "Ian Lepore" <ian@FreeBSD.org>
Cc:        freebsd-arm <freebsd-arm@freebsd.org>
Subject:   Re: And now for the actual test... [was: Re: What platform do you  use?]
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>

next in thread | previous in thread | raw e-mail | index | archive | help
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: <Software, Yarrow> initialized
ofwbus0: <Open Firmware Device Tree>
simplebus0: <Flattened device tree simple bus> on ofwbus0
aintc0: <A10 AINTC Interrupt Controller> mem 0x1c20400-0x1c207ff on
simplebus0
a10_sramc0: <Allwinner sramc module> mem 0x1c00000-0x1c00fff on simplebus0
a10_ccm0: <Allwinner Clock Control Module> mem 0x1c20000-0x1c203ff on
simplebus0
a10_timer0: <Allwinner A10/A20 timer> 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: <Allwinner A10 Watchdog> mem 0x1c20c90-0x1c20c97 on simplebus0
gpio0: <Allwinner GPIO controller> mem 0x1c20800-0x1c20bff irq 28 on
simplebus0
gpioc0: <GPIO controller> on gpio0
gpiobus0: <GPIO bus> on gpio0
ehci0: <Allwinner Integrated USB 2.0 controller> 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: <Allwinner> at usbus0
uhub0: <Allwinner EHCI root HUB, class 9/0, rev 2.00/1.00, addr 1> 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: <vendor 0x05e3> at usbus0
uhub1: <vendor 0x05e3 USB2.0 Hub, class 9/0, rev 2.00/77.64, addr 2> 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: <Kingston> at usbus0
umass0: <Kingston DT 101 G2, class 0/0, rev 2.00/1.00, addr 3> 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: <Kingston DT 101 G2 PMAP> 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<NO_6_BYTE>
Root mount waiting for: usbus0
Root mount waiting for: usbus0
Root mount waiting for: usbus0
ugen0.4: <vendor 0x2001> at usbus0
urtwn0: <vendor 0x2001 product 0x3308, class 0/0, rev 2.00/2.00, addr 4>
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?26202.85.229.95.175.1407782630.squirrel>