Date: Thu, 19 Aug 2021 21:23:11 +0200 From: Emmanuel Vadot <manu@bidouilliste.com> To: "Herbert J. Skuhra" <herbert@gojira.at> Cc: freebsd-arm@freebsd.org Subject: Re: git: 1dec3639fd0c - main - sysutils/u-boot: Update to 2021.07 Message-ID: <20210819212311.e880b3e4f0667da3afab5f93@bidouilliste.com> 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) > Can you submit that upstream ? We've tried over the past years to have no local patches for u-boot. Also can you try removing the overlays loaded by the firmware (in config.txt), I think that the mmc overlays might renumber the mmc device and upstream u-boot might not be happy about this. Thanks, -- Emmanuel Vadot <manu@bidouilliste.com> <manu@FreeBSD.org>
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20210819212311.e880b3e4f0667da3afab5f93>