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

"Herbert J. Skuhra" <[email protected]>
Newsgroups gmane.os.freebsd.devel.arm
Message-ID <[email protected]>
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)

--
Herbert
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.