[PATCH] ARM: i.MX Riotboard: Use eMMC boot partition to boot

Ahmad Fatoum a.fatoum at pengutronix.de
Tue Dec 9 01:47:47 PST 2025


Hi,

On 12/9/25 9:17 AM, Sascha Hauer wrote:
> The Riotboard boots fine from eMMC boot partitions, so use them to store
> barebox.
> 
> Signed-off-by: Sascha Hauer <s.hauer at pengutronix.de>

Reviewed-by: Ahmad Fatoum <a.fatoum at pengutronix.de>

Is this worth a migration guide entry?

Cheers,
Ahmad

> ---
>  arch/arm/boards/embest-riotboard/board.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/arch/arm/boards/embest-riotboard/board.c b/arch/arm/boards/embest-riotboard/board.c
> index ebaff48388..83fbf0ee57 100644
> --- a/arch/arm/boards/embest-riotboard/board.c
> +++ b/arch/arm/boards/embest-riotboard/board.c
> @@ -21,7 +21,7 @@
>  
>  static int riotboard_probe(struct device *dev)
>  {
> -	imx6_bbu_internal_mmc_register_handler("emmc", "/dev/mmc3.barebox",
> +	imx6_bbu_internal_mmcboot_register_handler("emmc", "/dev/mmc3",
>  			BBU_HANDLER_FLAG_DEFAULT);
>  	imx6_bbu_internal_mmc_register_handler("sd", "/dev/mmc2", 0);
>  

-- 
Pengutronix e.K.                  |                             |
Steuerwalder Str. 21              | http://www.pengutronix.de/  |
31137 Hildesheim, Germany         | Phone: +49-5121-206917-0    |
Amtsgericht Hildesheim, HRA 2686  | Fax:   +49-5121-206917-5555 |




More information about the barebox mailing list