Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 25 Jul 2021 10:01:36 +0200
From:      "Herbert J. Skuhra" <herbert@gojira.at>
To:        freebsd-arm@freebsd.org
Subject:   Re: git: 1dec3639fd0c - main - sysutils/u-boot: Update to 2021.07
Message-ID:  <87fsw2rfdr.wl-herbert@gojira.at>
In-Reply-To: <87k0lnybp4.wl-herbert@gojira.at>
References:  <202107071618.167GIvXd048504@gitrepo.freebsd.org> <874kd3390q.wl-herbert@gojira.at> <87o8b8n1rf.wl-herbert@gojira.at> <87mtqsn0we.wl-herbert@gojira.at> <20210712115010.a405a8f5e313ec75142fa544@bidouilliste.com> <YOwrKzaucSIo67Wd@mail.bsd4all.net> <87k0lnybp4.wl-herbert@gojira.at>

next in thread | previous in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?87fsw2rfdr.wl-herbert>