Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 23 Apr 2017 07:21:31 -0700
From:      Mark Millard <markmi@dsl-only.net>
To:        =?utf-8?B?T3RhY8OtbGlv?= <otacilio.neto@bsd.com.br>
Cc:        "freebsd-arm@freebsd.org" <freebsd-arm@freebsd.org>
Subject:   Re: HEAD on RPI3
Message-ID:  <A074ADA8-0639-44DB-BD6D-121706E25E1F@dsl-only.net>
In-Reply-To: <c5627253-3a25-ada3-2290-b467059beb96@bsd.com.br>
References:  <a2bd3e2b-0280-510a-2864-32066d99d81c@bsd.com.br> <244BD33F-67B0-4C47-84E4-FD4B485689D1@dsl-only.net> <c5627253-3a25-ada3-2290-b467059beb96@bsd.com.br>

next in thread | previous in thread | raw e-mail | index | archive | help
On 2017-Apr-23, at 6:35 AM, Otac=C3=ADlio <otacilio.neto at bsd.com.br> =
wrote:
>=20
> Em 19/04/2017 22:26, Mark Millard escreveu:
>> On 2017-Apr-18, at 8:10 PM, Otac=C3=ADlio <otacilio.neto@bsd.com.br>
>>  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 <CRC32>
 Instruction Set Attributes 1 =3D <0>
         Processor Features 0 =3D <AdvSIMD,Float,EL3 32,EL2 32,EL1 =
32,EL0 32>
         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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?A074ADA8-0639-44DB-BD6D-121706E25E1F>