Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 3 Mar 2023 19:16:08 -0800
From:      Mark Millard <marklmi@yahoo.com>
To:        Karl Denninger <karl@denninger.net>
Cc:        freebsd-arm@freebsd.org
Subject:   Re: uBoot broken on RPI2 Model B?
Message-ID:  <2FF02402-E038-46BA-83B0-3BE1E83E4548@yahoo.com>
In-Reply-To: <7284938e-2a69-af4a-e36e-dccce30e77d0@denninger.net>
References:  <a1ce1685-4d82-566e-ec35-a878592ebd0c@denninger.net> <b8ecf2c3-e0cd-3ca0-bd26-a678d915b721@denninger.net> <E08E3A80-E6F1-44BB-846D-1FC711E064BA@yahoo.com> <7284938e-2a69-af4a-e36e-dccce30e77d0@denninger.net>

next in thread | previous in thread | raw e-mail | index | archive | help
On Mar 3, 2023, at 17:48, Karl Denninger <karl@denninger.net> wrote:

> On 3/3/2023 19:36, Mark Millard wrote:
>> On Mar 3, 2023, at 14:50, Karl Denninger <karl@denninger.net> wrote:
>>=20
>>=20
>>> On 3/3/2023 16:12, Karl Denninger wrote:
>>>=20
>>>> Just tried to build -13STABLE for the RPi2
>>>>=20
>> v1.1 (so: armv7) (I'll be testing this case.)
>> v1.2 (so: aarch64 --but could also be used via armv7)
>>=20
>>=20
>>>> . . .
>>>> The layout of the disk on the boot partition is thus:
>>>> root@NewFS:/mnt # ls -la
>>>> total 12679
>>>> drwxr-xr-x 1 root wheel 16384 Dec 31 1979 .
>>>> drwxr-xr-x 35 root wheel 42 Jan 20 10:16 ..
>>>> drwxr-xr-x 1 root wheel 4096 Feb 13 11:09 EFI
>>>> -rwxr-xr-x 1 root wheel 709 Feb 13 11:09 README
>>>> -rwxr-xr-x 1 root wheel 26745 Feb 13 11:09 bcm2709-rpi-2-b.dtb
>>>>=20
>> So: armv7 style.
> Yes.  I didn't think I COULD build for aarch64 on the Pi2.... that =
will work?

Which type of RPi2? There is more than one.

I've access to:

a RPi2B v1.1 (Cortex-A7, so armv7 only)
and:
a RPi2B v1.2 (Cortex-A72, so aarch64 but also capable of armv7 use)

RPi3B variants are also Cortex-A72 based, so aarch64, but are also
armv7 capable. (I've access to a RPi3B as well.) Basically a
RPi2B v1.2 is a variant of the RPi3B.

As of the RPi4B's the RPi* folks quit trying to allow booting as
armv7. But in FreeBSD you can chroot into a armv7 world on a RPi4B,
for example. (Also on: RPi3B or RPi2B v1.2 booted as aarch64.)

You can build armv7 ports on a RPi4B via poudriere, no quemu
involved. The same for RPi3B booted as aarch64. The same for RPi2B
v1.2 booted as aarch64.

=3D=3D=3D
Mark Millard
marklmi at yahoo.com




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?2FF02402-E038-46BA-83B0-3BE1E83E4548>