Re: git: 9dc70af83e59 - main - stand/uboot: reorg

From: Warner Losh <imp_at_bsdimp.com>
Date: Mon, 07 Feb 2022 07:42:42 UTC
On Mon, Feb 7, 2022, 12:26 AM Mark Millard <marklmi@yahoo.com> wrote:

> Kyle Evans <kevans_at_freebsd.org> wrote on
> Date: Sun, 6 Feb 2022 23:30:37 -0600 :
>
> > . . .
> > Hey Warner,
> >
> > ubldr.bin used to be built/installed unconditionally above
> > . . .
> > But now it's behind MK_PIE, which is disabled in numerous places
> > through stand/ as well as in defs.mk. This broke the armv7 snapshot
> > build, which is expecting a ubldr.bin it can pluck out.
> >
> > I suspect the intention was to specifically avoid it in powerpc64, but
> > we'll need to re-work it a tad bit.
> > . . .
>
> But . . .
>
> https://cgit.freebsd.org/ports/commit/sysutils/u-boot-rpi2?id=0d6e5081eb00
>
> shows:
>

The release scripts should be updated to stop the useless copying.

Warner

author  Emmanuel Vadot <manu@FreeBSD.org>       2021-05-11 18:27:14 +0000
> committer       Emmanuel Vadot <manu@FreeBSD.org>       2021-05-11
> 20:22:54 +0000
> . . .
>
> sysutils/u-boot-*: Remove ubldr support
>
> We have been using loader.efi on armv7 for a long time now.
> Remove support for booting with ubldr and the needed patches that were
> never upstreamed.
> While here add CONFIG_EFI_GRUB_ARM32_WORKAROUND=y in the Fragment as it's
> needed to have the cache flushed for us when loader.efi is started.
>
> Diffstat (limited to 'sysutils/u-boot-rpi2')
> -rw-r--r--      sysutils/u-boot-rpi2/Makefile   2
> 1 files changed, 2 insertions, 0 deletions
> diff --git a/sysutils/u-boot-rpi2/Makefile b/sysutils/u-boot-rpi2/Makefile
> index f875b8840cab..d11d15970b04 100644
> --- a/sysutils/u-boot-rpi2/Makefile
> +++ b/sysutils/u-boot-rpi2/Makefile
> @@ -6,6 +6,8 @@ MODEL=          rpi2
>  BOARD_CONFIG=  rpi_2_defconfig
>  FAMILY=                rpi
>
> +U_BOOT_SLAVE_PORTREVISION_2021.04=     1
> +
>  DEPENDS=
>  ${LOCALBASE}/share/rpi-firmware/bootcode.bin:sysutils/rpi-firmware
>
>  CONFIG_FRAGMENT=       ${.CURDIR}/files/rpi2_fragment
>
>
> ===
> Mark Millard
> marklmi at yahoo.com
>
>