mail archive of the barebox mailing list
 help / color / mirror / Atom feed
* [PATCH] ARM: i.MX Riotboard: Use eMMC boot partition to boot
@ 2025-12-09  8:17 Sascha Hauer
  2025-12-09  9:47 ` Ahmad Fatoum
  2025-12-15  7:20 ` Sascha Hauer
  0 siblings, 2 replies; 4+ messages in thread
From: Sascha Hauer @ 2025-12-09  8:17 UTC (permalink / raw)
  To: Barebox List

The Riotboard boots fine from eMMC boot partitions, so use them to store
barebox.

Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
---
 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);
 
-- 
2.47.3




^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [PATCH] ARM: i.MX Riotboard: Use eMMC boot partition to boot
  2025-12-09  8:17 [PATCH] ARM: i.MX Riotboard: Use eMMC boot partition to boot Sascha Hauer
@ 2025-12-09  9:47 ` Ahmad Fatoum
  2025-12-11  8:10   ` Sascha Hauer
  2025-12-15  7:20 ` Sascha Hauer
  1 sibling, 1 reply; 4+ messages in thread
From: Ahmad Fatoum @ 2025-12-09  9:47 UTC (permalink / raw)
  To: Sascha Hauer, Barebox List

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@pengutronix.de>

Reviewed-by: Ahmad Fatoum <a.fatoum@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 |




^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [PATCH] ARM: i.MX Riotboard: Use eMMC boot partition to boot
  2025-12-09  9:47 ` Ahmad Fatoum
@ 2025-12-11  8:10   ` Sascha Hauer
  0 siblings, 0 replies; 4+ messages in thread
From: Sascha Hauer @ 2025-12-11  8:10 UTC (permalink / raw)
  To: Ahmad Fatoum; +Cc: Barebox List

On Tue, Dec 09, 2025 at 10:47:47AM +0100, Ahmad Fatoum wrote:
> 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@pengutronix.de>
> 
> Reviewed-by: Ahmad Fatoum <a.fatoum@pengutronix.de>
> 
> Is this worth a migration guide entry?

Yeah, added one.

Sascha

> 
> 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 |
> 
> 

-- 
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 |



^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [PATCH] ARM: i.MX Riotboard: Use eMMC boot partition to boot
  2025-12-09  8:17 [PATCH] ARM: i.MX Riotboard: Use eMMC boot partition to boot Sascha Hauer
  2025-12-09  9:47 ` Ahmad Fatoum
@ 2025-12-15  7:20 ` Sascha Hauer
  1 sibling, 0 replies; 4+ messages in thread
From: Sascha Hauer @ 2025-12-15  7:20 UTC (permalink / raw)
  To: Barebox List, Sascha Hauer


On Tue, 09 Dec 2025 09:17:31 +0100, Sascha Hauer wrote:
> The Riotboard boots fine from eMMC boot partitions, so use them to store
> barebox.
> 
> 

Applied, thanks!

[1/1] ARM: i.MX Riotboard: Use eMMC boot partition to boot
      https://git.pengutronix.de/cgit/barebox/commit/?id=9e881c7af3c7 (link may not be stable)

Best regards,
-- 
Sascha Hauer <s.hauer@pengutronix.de>




^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2025-12-15  7:21 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2025-12-09  8:17 [PATCH] ARM: i.MX Riotboard: Use eMMC boot partition to boot Sascha Hauer
2025-12-09  9:47 ` Ahmad Fatoum
2025-12-11  8:10   ` Sascha Hauer
2025-12-15  7:20 ` Sascha Hauer

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox