Re: git: 1dec3639fd0c - main - sysutils/u-boot: Update to 2021.07

From: Herbert J. Skuhra <herbert_at_gojira.at>
Date: Sun, 25 Jul 2021 08:01:36 UTC
On Sun, 18 Jul 2021 15:48:55 +0200,
"Herbert J. Skuhra" <herbert@gojira.at> wrote:
> 
> On Mon, 12 Jul 2021 13:44:43 +0200, "Herbert J. Skuhra" wrote:
> 
> > This happens even with the official builds!
> > 
> > FreeBSD-13.0-STABLE-arm64-aarch64-RPI-20210701-6aee7855180-246143.img.xz
> > ==> OK (U-Boot 2021.04)
> > FreeBSD-13.0-STABLE-arm64-aarch64-RPI-20210708-f6d448caf69-246212.img.xz
> > ==> Not OK. (U-Boot 2021.07)
> > 
> > I am using U-Boot 2021.04 again because I still don't know how to boot
> > from mmc device 2 automatically.
> 
> With the below patch my RPI 3 Model B (0xa02082) boots again:
> 
> --- include/configs/rpi.h.orig  2021-07-18 15:37:55.743031000 +0200
> +++ include/configs/rpi.h       2021-07-18 15:38:51.159286000 +0200
> @@ -173,7 +173,8 @@
>  #if CONFIG_IS_ENABLED(CMD_MMC)
>         #define BOOT_TARGET_MMC(func) \
>                 func(MMC, mmc, 0) \
> -               func(MMC, mmc, 1)
> +               func(MMC, mmc, 1) \
> +               func(MMC, mmc, 2)
>  #else
> 
> 
> (sysutils/u-boot-rpi3 / U-Boot 2021.07)

Tested also with sysutils/u-boot-(rpi-arm64|rpi2) and all my other
RPis (RPi2 and RPi4) are still working.

The following snapshots still don't boot:

FreeBSD-13.0-STABLE-arm64-aarch64-RPI-20210722-df674da44ef-246411
FreeBSD-14.0-CURRENT-arm64-aarch64-RPI-20210722-27ea55fc655-248140

--
Herbert