* [Buildroot] [PATCH RFC 1/1] package/rauc: select fw_printenv for uboot based systems
@ 2019-12-05 9:42 Titouan Christophe
2019-12-05 20:38 ` Thomas Petazzoni
2019-12-07 11:09 ` Peter Korsgaard
0 siblings, 2 replies; 3+ messages in thread
From: Titouan Christophe @ 2019-12-05 9:42 UTC (permalink / raw)
To: buildroot
When operating on a uboot based system, rauc interacts with
the bootloader environment using fw_printenv and fw_setenv [1].
These commands should therefore be present on the target if
the system being built uses uboot.
[1] See:
https://github.com/rauc/rauc/blob/v1.2/src/bootchooser.c#L21-L22
https://github.com/rauc/rauc/blob/v1.2/src/bootchooser.c#L644-L645
Signed-off-by: Titouan Christophe <titouan.christophe@railnova.eu>
---
Note: we should maybe do the same for EFI, Grub and Barebox, but
I'm not familiar with these ones.
---
package/rauc/Config.in | 2 ++
1 file changed, 2 insertions(+)
diff --git a/package/rauc/Config.in b/package/rauc/Config.in
index 4a1516a595..676ff42b51 100644
--- a/package/rauc/Config.in
+++ b/package/rauc/Config.in
@@ -7,6 +7,8 @@ config BR2_PACKAGE_RAUC
select BR2_PACKAGE_OPENSSL
select BR2_PACKAGE_DBUS
select BR2_PACKAGE_SQUASHFS # run-time dependency
+ select BR2_PACKAGE_UBOOT_TOOLS if BR2_TARGET_UBOOT # run-time dependency
+ select BR2_PACKAGE_UBOOT_TOOLS_FWPRINTENV if BR2_TARGET_UBOOT
help
RAUC is the Robust Auto-Update Controller developed by
Pengutronix. It supports updating embedded Linux
--
2.21.0
^ permalink raw reply related [flat|nested] 3+ messages in thread
* [Buildroot] [PATCH RFC 1/1] package/rauc: select fw_printenv for uboot based systems
2019-12-05 9:42 [Buildroot] [PATCH RFC 1/1] package/rauc: select fw_printenv for uboot based systems Titouan Christophe
@ 2019-12-05 20:38 ` Thomas Petazzoni
2019-12-07 11:09 ` Peter Korsgaard
1 sibling, 0 replies; 3+ messages in thread
From: Thomas Petazzoni @ 2019-12-05 20:38 UTC (permalink / raw)
To: buildroot
On Thu, 5 Dec 2019 10:42:38 +0100
Titouan Christophe <titouan.christophe@railnova.eu> wrote:
> When operating on a uboot based system, rauc interacts with
> the bootloader environment using fw_printenv and fw_setenv [1].
>
> These commands should therefore be present on the target if
> the system being built uses uboot.
>
> [1] See:
> https://github.com/rauc/rauc/blob/v1.2/src/bootchooser.c#L21-L22
> https://github.com/rauc/rauc/blob/v1.2/src/bootchooser.c#L644-L645
>
> Signed-off-by: Titouan Christophe <titouan.christophe@railnova.eu>
> ---
> Note: we should maybe do the same for EFI, Grub and Barebox, but
> I'm not familiar with these ones.
> ---
> package/rauc/Config.in | 2 ++
> 1 file changed, 2 insertions(+)
Applied to master, thanks.
Thomas
--
Thomas Petazzoni, CTO, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com
^ permalink raw reply [flat|nested] 3+ messages in thread
* [Buildroot] [PATCH RFC 1/1] package/rauc: select fw_printenv for uboot based systems
2019-12-05 9:42 [Buildroot] [PATCH RFC 1/1] package/rauc: select fw_printenv for uboot based systems Titouan Christophe
2019-12-05 20:38 ` Thomas Petazzoni
@ 2019-12-07 11:09 ` Peter Korsgaard
1 sibling, 0 replies; 3+ messages in thread
From: Peter Korsgaard @ 2019-12-07 11:09 UTC (permalink / raw)
To: buildroot
>>>>> "Titouan" == Titouan Christophe <titouan.christophe@railnova.eu> writes:
> When operating on a uboot based system, rauc interacts with
> the bootloader environment using fw_printenv and fw_setenv [1].
> These commands should therefore be present on the target if
> the system being built uses uboot.
> [1] See:
> https://github.com/rauc/rauc/blob/v1.2/src/bootchooser.c#L21-L22
> https://github.com/rauc/rauc/blob/v1.2/src/bootchooser.c#L644-L645
> Signed-off-by: Titouan Christophe <titouan.christophe@railnova.eu>
Committed to 2019.02.x, 2019.08.x and 2019.11.x, thanks.
--
Bye, Peter Korsgaard
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2019-12-07 11:09 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-12-05 9:42 [Buildroot] [PATCH RFC 1/1] package/rauc: select fw_printenv for uboot based systems Titouan Christophe
2019-12-05 20:38 ` Thomas Petazzoni
2019-12-07 11:09 ` Peter Korsgaard
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.