* patch for rpi3 on FreeBSD
@ 2021-10-26 18:36 Mike Karels
2021-10-27 7:51 ` Emmanuel Vadot
0 siblings, 1 reply; 2+ messages in thread
From: Mike Karels @ 2021-10-26 18:36 UTC (permalink / raw)
To: u-boot; +Cc: Rick Chen, Aswath Govindraju, Tero Kristo
Hi, I have volunteered to coordinate a patch to u-boot for the Raspberry
Pi 3 on FreeBSD. The problem is that with u-boot-2021.07 and the current
MMC overlay, the SD card slot is renumbered. The SD card does not
configure, and the installation card doesn't boot. The following patch
to include/configs/rpi.h fixes the problem. Let me know if you need any
additional information.
Thanks,
Mike
--- rpi.h.orig 2021-10-25 23:02:36.928520000 -0500
+++ rpi.h 2021-10-25 16:05:16.140924000 -0500
@@ -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
#define BOOT_TARGET_MMC(func)
#endif
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: patch for rpi3 on FreeBSD
2021-10-26 18:36 patch for rpi3 on FreeBSD Mike Karels
@ 2021-10-27 7:51 ` Emmanuel Vadot
0 siblings, 0 replies; 2+ messages in thread
From: Emmanuel Vadot @ 2021-10-27 7:51 UTC (permalink / raw)
To: karels; +Cc: u-boot, Rick Chen, Aswath Govindraju, Tero Kristo
Mike,
On Tue, 26 Oct 2021 13:36:29 -0500
Mike Karels <karels@freebsd.org> wrote:
> Hi, I have volunteered to coordinate a patch to u-boot for the Raspberry
> Pi 3 on FreeBSD. The problem is that with u-boot-2021.07 and the current
> MMC overlay, the SD card slot is renumbered. The SD card does not
> configure, and the installation card doesn't boot. The following patch
> to include/configs/rpi.h fixes the problem. Let me know if you need any
> additional information.
>
> Thanks,
> Mike
You need to use git send-email to send the patch properly
Also this isn't FreeBSD specific, same problem will happen to anyone
using mmc.dtbo from rpi-firmware to switch the controller from sdhci to
sdhost.
Cheers,
> --- rpi.h.orig 2021-10-25 23:02:36.928520000 -0500
> +++ rpi.h 2021-10-25 16:05:16.140924000 -0500
> @@ -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
> #define BOOT_TARGET_MMC(func)
> #endif
--
Emmanuel Vadot <manu@bidouilliste.com> <manu@freebsd.org>
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2021-10-27 13:08 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-10-26 18:36 patch for rpi3 on FreeBSD Mike Karels
2021-10-27 7:51 ` Emmanuel Vadot
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.