Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 22 Apr 2024 15:25:54 -0700
From:      Mark Millard <marklmi@yahoo.com>
To:        Mike Karels <mike@karels.net>
Cc:        Warner Losh <imp@bsdimp.com>, Lexi Winter <lexi@le-fay.org>, freebsd-arm@freebsd.org
Subject:   Re: building armv6 bootable media
Message-ID:  <A0040EBC-C753-48E0-ACBE-8722DC672206@yahoo.com>
In-Reply-To: <567137D6-0BCC-4993-9C09-D5602C47EB8C@karels.net>
References:  <ZibIjbEM732wW21l@ilythia.eden.le-fay.org> <CANCZdfpdAC5dRQVnBDtkZOpuBFFUKqGrpqkOuCnYxvdnU7ebDQ@mail.gmail.com> <ZibOJDNS_WcV4Bs2@ilythia.eden.le-fay.org> <CANCZdfpY41j2-HGPJVtYeueyLyt%2Bu_9hivm0z2FsqamEdAwQeg@mail.gmail.com> <567137D6-0BCC-4993-9C09-D5602C47EB8C@karels.net>

next in thread | previous in thread | raw e-mail | index | archive | help
On Apr 22, 2024, at 15:10, Mike Karels <mike@karels.net> wrote:

> On 22 Apr 2024, at 16:06, Warner Losh wrote:
>=20
>> Hmmm, if this is -current, then armv6 has started to be unwound...
>>=20
>> thermite.sh was in the releng repo... I can't find it now... and kyle =
on
>> irc said my memory might be faulty and thermite was just a wrapper =
around
>> release.
>>=20
>> Warner
>=20
> I don't think you want thermite.sh; it is used to build all of the
> architectures in parallel for snapshots and releases.  But -current
> doesn't have a conf file for armv6.  Older releases (including 13.3)
> or stable/13 have a config file for RPI-B that probably could serve
> as a template.

So far as I know, the FreeBSD kernel was only designed to handle the
RPI-B for armv6. That in turn involves the RPI-B's firmware and
U-Boot being involved before FreeBSD, not just FreeBSD. The RPI-B
firmware might make live changes to the .dtb file contents that it
loads. The RPI-B firmware is not arm code but some Broadcom code,
as I understand. (Until more recent times, arm cores in RPi*'s were
slave processors to the Broadcom video core hardware.)

The more I think about this path, the more it looks unlikely to be
readily used.

> Mike
>=20
>> On Mon, Apr 22, 2024 at 2:53=E2=80=AFPM Lexi Winter <lexi@le-fay.org> =
wrote:
>>=20
>>> Warner Losh:
>>>> On Mon, Apr 22, 2024 at 2:30=E2=80=AFPM Lexi Winter =
<lexi@le-fay.org> wrote:
>>>>> after running 'make -C release NO_ROOT=3Dyes release' for =
arm.armv6 i
>>> have
>>>>> the following files:
>>> [...]
>>>>> none of these appear to be bootable media
>>>=20
>>>> IIRC, arm stuff was built by thermite and not the release script.
>>>=20
>>> thanks, i guess that explains why i don't get a bootable media.
>>>=20
>>> i'm trying to boot an armv6 GENERIC kernel under qemu to test my PR:
>>> https://github.com/freebsd/freebsd-src/pull/1124
>>>=20
>>> could you recommend the best way to do this?  duckduckgoing "freebsd
>>> thermite" doesn't return any results that look relevant.
>>>=20
>=20

=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?A0040EBC-C753-48E0-ACBE-8722DC672206>