mail archive of the rauc mailing list
 help / color / mirror / Atom feed
* Re: [RAUC] Inquiry About Initializing Both Slots with RAUC Without Reboot
       [not found] <OS7PR01MB147471EF9E888386BBF570DD2F5C9A@OS7PR01MB14747.jpnprd01.prod.outlook.com>
@ 2025-11-17  6:46 ` Robert Schwebel via RAUC
  2025-11-17 16:03 ` Jan Lübbe via RAUC
  1 sibling, 0 replies; 2+ messages in thread
From: Robert Schwebel via RAUC @ 2025-11-17  6:46 UTC (permalink / raw)
  To: Jan Lübbe; +Cc: Enrico Joerns, rauc

Hi Jan,

kannst Du dazu was sagen?

On Mon, Nov 17, 2025 at 02:52:18AM +0000, 大原 匠汰 via RAUC wrote:
> Dear RAUC Development Team,

-- 
Pengutronix e.K.                           | Dipl.-Ing. Robert Schwebel  |
Steuerwalder Str. 21                       | https://www.pengutronix.de/ |
31137 Hildesheim, Germany                  | Phone: +49-5121-206917-0    |
Amtsgericht Hildesheim, HRA 2686           | Fax:   +49-5121-206917-9    |



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

* Re: [RAUC] Inquiry About Initializing Both Slots with RAUC Without Reboot
       [not found] <OS7PR01MB147471EF9E888386BBF570DD2F5C9A@OS7PR01MB14747.jpnprd01.prod.outlook.com>
  2025-11-17  6:46 ` [RAUC] Inquiry About Initializing Both Slots with RAUC Without Reboot Robert Schwebel via RAUC
@ 2025-11-17 16:03 ` Jan Lübbe via RAUC
  1 sibling, 0 replies; 2+ messages in thread
From: Jan Lübbe via RAUC @ 2025-11-17 16:03 UTC (permalink / raw)
  To: 大原 匠汰, rauc

Hi Ohara,

On Mon, 2025-11-17 at 02:52 +0000, 大原 匠汰 via RAUC wrote:
> Dear RAUC Development Team,
> I am currently working on a product that uses RAUC and involves a dual-slot
> (A/B) update setup. 
> During factory initialization, we would like to write an image to both slots
> without rebooting between operations.

Please note that in general factory bring-up is considered out-of-scope for
RAUC:https://rauc.readthedocs.io/en/latest/index.html#and-what-not:~:text=And%20finally%2C%20factory%20bring%20up%20of%20your%20device

> The system uses an eMMC with two slots for RAUC as follows:
>  * /dev/mmcblk0p1 → slot.A (on eMMC)
>  * /dev/mmcblk0p2 → slot.B (on eMMC)
> During the factory process, we Boot from an SD card that contains a separate
> partition for initialization:
>  * /dev/mmcblk1p1 → Factory initialization partition (on SD card)
> Currently, even when booting from the SD card, one of the eMMC slots (A or B)
> is still recognized as the active slot by RAUC.

That should not happen, but don't know enough details about your setup to
recommend anything specific. Please check:
https://rauc.readthedocs.io/en/latest/integration.html#booted-slot-detection
(specially the section on 'rauc.external')

> As a result, the factory image is only written to the inactive slot.
> Is there a way to configure RAUC to explicitly write to both slots (A and B)
> during the factory initialization process, without requiring a reboot between
> slot updates?

When you've told RAUC that none of your slots is active, you'll probably need
https://github.com/rauc/rauc/pull/1525 as well. This is part of the v1.15
release.

Regards,
Jan

> Thank you very much in advance for your support.
> Best regards,
>     Ohara

-- 
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] 2+ messages in thread

end of thread, other threads:[~2025-11-17 16:03 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <OS7PR01MB147471EF9E888386BBF570DD2F5C9A@OS7PR01MB14747.jpnprd01.prod.outlook.com>
2025-11-17  6:46 ` [RAUC] Inquiry About Initializing Both Slots with RAUC Without Reboot Robert Schwebel via RAUC
2025-11-17 16:03 ` Jan Lübbe via RAUC

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