patch for rpi3 on FreeBSD

Emmanuel Vadot manu at bidouilliste.com
Wed Oct 27 09:51:56 CEST 2021


 Mike,

On Tue, 26 Oct 2021 13:36:29 -0500
Mike Karels <karels at 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 at bidouilliste.com> <manu at freebsd.org>


More information about the U-Boot mailing list