From owner-freebsd-arm@freebsd.org Sun Apr 23 14:21:41 2017 Return-Path: Delivered-To: freebsd-arm@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 46528D4C040 for ; Sun, 23 Apr 2017 14:21:41 +0000 (UTC) (envelope-from markmi@dsl-only.net) Received: from asp.reflexion.net (outbound-mail-210-20.reflexion.net [208.70.210.20]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 06F6E1193 for ; Sun, 23 Apr 2017 14:21:40 +0000 (UTC) (envelope-from markmi@dsl-only.net) Received: (qmail 18870 invoked from network); 23 Apr 2017 14:24:40 -0000 Received: from unknown (HELO mail-cs-02.app.dca.reflexion.local) (10.81.19.2) by 0 (rfx-qmail) with SMTP; 23 Apr 2017 14:24:40 -0000 Received: by mail-cs-02.app.dca.reflexion.local (Reflexion email security v8.40.0) with SMTP; Sun, 23 Apr 2017 10:21:32 -0400 (EDT) Received: (qmail 1625 invoked from network); 23 Apr 2017 14:21:32 -0000 Received: from unknown (HELO iron2.pdx.net) (69.64.224.71) by 0 (rfx-qmail) with (AES256-SHA encrypted) SMTP; 23 Apr 2017 14:21:32 -0000 Received: from [192.168.1.106] (c-76-115-7-162.hsd1.or.comcast.net [76.115.7.162]) by iron2.pdx.net (Postfix) with ESMTPSA id D8CA1EC904C; Sun, 23 Apr 2017 07:21:31 -0700 (PDT) Content-Type: text/plain; charset=utf-8 Mime-Version: 1.0 (Mac OS X Mail 10.3 \(3273\)) Subject: Re: HEAD on RPI3 From: Mark Millard In-Reply-To: Date: Sun, 23 Apr 2017 07:21:31 -0700 Cc: "freebsd-arm@freebsd.org" Content-Transfer-Encoding: quoted-printable Message-Id: References: <244BD33F-67B0-4C47-84E4-FD4B485689D1@dsl-only.net> To: =?utf-8?B?T3RhY8OtbGlv?= X-Mailer: Apple Mail (2.3273) X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 23 Apr 2017 14:21:41 -0000 On 2017-Apr-23, at 6:35 AM, Otac=C3=ADlio = wrote: >=20 > Em 19/04/2017 22:26, Mark Millard escreveu: >> On 2017-Apr-18, at 8:10 PM, Otac=C3=ADlio >> wrote: >>=20 >>=20 >>> Dears >>>=20 >>> Someone that is using HEAD on a Raspberry PI3 can tell me the = revision that is using? >>>=20 >>> Thank you very much >>>=20 >>> []'s >>>=20 >>> -Otacilio >>>=20 >> Starting with the sysutils/u-boot-rpi3 installed: >>=20 >> # ls -l /boot/efi >> total 7540 >> drwxr-xr-x 1 root wheel 4096 Mar 18 05:26 EFI >> -rwxr-xr-x 1 root wheel 1494 Mar 18 05:26 LICENCE.broadcom >> -rwxr-xr-x 1 root wheel 123 Mar 18 05:26 README >> -rwxr-xr-x 1 root wheel 6144 Mar 18 05:26 armstub8.bin >> -rwxr-xr-x 1 root wheel 17480 Mar 18 05:26 bcm2710-rpi-3-b.dtb >> -rwxr-xr-x 1 root wheel 17932 Mar 18 05:26 bootcode.bin >> -rwxr-xr-x 1 root wheel 137 Mar 18 05:26 config.txt >> -rwxr-xr-x 1 root wheel 6482 Mar 18 05:26 fixup.dat >> -rwxr-xr-x 1 root wheel 2504 Mar 18 05:26 fixup_cd.dat >> -rwxr-xr-x 1 root wheel 9716 Mar 18 05:26 fixup_x.dat >> drwxr-xr-x 1 root wheel 4096 Mar 18 05:26 overlays >> -rwxr-xr-x 1 root wheel 2747896 Mar 18 05:26 start.elf >> -rwxr-xr-x 1 root wheel 618296 Mar 18 05:26 start_cd.elf >> -rwxr-xr-x 1 root wheel 3879416 Mar 18 05:26 start_x.elf >> -rwxr-xr-x 1 root wheel 9 Mar 18 05:26 startup.nsh >> -rwxr-xr-x 1 root wheel 369456 Mar 18 05:26 u-boot.bin >>=20 >> # ls -l /boot/efi/overlays/ >> total 8 >> -rwxr-xr-x 1 root wheel 1053 Mar 18 05:26 mmc.dtbo >> -rwxr-xr-x 1 root wheel 818 Mar 18 05:26 pi3-disable-bt.dtbo >>=20 >> So this is from before the sysutils/u-boot-rpi3 -r436197 >> (2017-Mar-29) that was for: >>=20 >> Do not overwrite WRKSRC when USE_GITHUB=3Dnodefault. >>=20 >> but is from -r433351 instead (2017-Feb-5 check-in). >>=20 >> To update I generally buildworld and buildkernel from source >> and install them, not doing anything with sysutils/u-boot-rpi3 >> unless something significant seems to have come along for >> u-boot. >>=20 >> I just updated from head -r314687 to -r317015 : >>=20 >> # uname -paKU >> FreeBSD rpi3 12.0-CURRENT FreeBSD 12.0-CURRENT r317015M arm64 = aarch64 1200028 1200028 >>=20 >>=20 >>=20 >> =3D=3D=3D >> Mark Millard >> markmi at dsl-only.net >>=20 >>=20 > I updated the fonts to r317063. I removed /usr/obj, removed the work = folder from the crochet folder. I recompiled using both the GENERIC = kernel r317063 and an older version of RPI3 r307565. I recorded on two = different SD cards on two different computers and still the error = persists. In this image you get the error message because that's all = that I can do. >=20 > http://pt-br.tinypic.com/view.php?pic=3D6hu6tt&s=3D9#.WPyq5Ma1thE [I do not normally run with debug kernels and I normally boot with the root file system being from an external SSD off a powered hub. But I doubt that either of these points matter. I also do not use a file for my swap space: I use a swap partition. See Bugzilla 206048 and its Comment 7 specifically. It is too bad that crochet uses a file for swap space by default. But even this I doubt matters.] I've no clue what your problem is but I do see something that seems odd compared to what I'm used to. I normally see: Release APs CPU 0: ARM Cortex-A53 r0p4 affinity: 0 Instruction Set Attributes 0 =3D Instruction Set Attributes 1 =3D <0> Processor Features 0 =3D Processor Features 1 =3D <0> Memory Model Features 0 =3D <4k Granule,64k = Granule,MixedEndian,S/NS Mem,16bit ASID,1TB PA> Memory Model Features 1 =3D <> Debug Features 0 =3D <2 CTX Breakpoints,4 Watchpoints,6 = Breakpoints,PMUv3,Debug v8> Debug Features 1 =3D <0> Auxiliary Features 0 =3D <0> Auxiliary Features 1 =3D <0> CPU 1: ARM Cortex-A53 r0p4 affinity: 1 CPU 2: ARM Cortex-A53 r0p4 affinity: 2 CPU 3: ARM Cortex-A53 r0p4 affinity: 3 Trying to mount root from . . . But in your screen shot I do not see any of the 3 CPU affinity lines spanning "CPU"s 1-3 after the CPU 0 information that can be seen. (I assume it is CPU 0 since not all the text is shown.) =3D=3D=3D Mark Millard markmi at dsl-only.net