Fix a potential segmentation fault, by not accessing the member of a
null pointer to a private slot's name field.
Signed-off-by: Martin Schwan
---
boot/bootmeth_rauc.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/boot/bootmeth_rauc.c b/boot/bootmeth_rauc.c
that case, scanning for a non-existence boot
script would result in an error (and thus not booting anything), which
was different behavior compared to the legacy RAUC boot.
Signed-off-by: Martin Schwan
---
boot/bootmeth_rauc.c | 30 +++---
1 file changed, 15 insertions
Fix a potential memory leak, by checking the return value of realloc
first, before assigning it to the private list of slots.
Signed-off-by: Martin Schwan
---
boot/bootmeth_rauc.c | 8 ++--
1 file changed, 6 insertions(+), 2 deletions(-)
diff --git a/boot/bootmeth_rauc.c b/boot
Fix some small bugs that I noticed during testing.
Signed-off-by: Martin Schwan
---
Martin Schwan (3):
bootstd: rauc: Fix potential memory leak
bootstd: rauc: Fix segfault occurring during private struct access
bootstd: rauc: Only scan all partitions instead of boot files
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA512
Hi everyone,
On Fri, 2025-06-06 at 06:59 +, Martin Schwan wrote:
> Hi Simon,
>
> On Thu, 2025-06-05 at 11:29 -0600, Simon Glass wrote:
> > Hi Martin,
> >
> > On Wed, 4 Jun 2025 at 06:16, Martin Schwan
> >
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA512
Hi Tom,
On Fri, 2025-06-06 at 07:50 -0600, Tom Rini wrote:
> On Fri, Jun 06, 2025 at 06:59:05AM +0000, Martin Schwan wrote:
> > -BEGIN PGP SIGNED MESSAGE-
> > Hash: SHA512
> >
> > Hi Simon,
> >
> > O
inaro.org wrote:
> > > Hi,
> > >
> > > On 04/06/2025 14:15, Martin Schwan wrote:
> > > > This series implements a new bootmeth for RAUC A/B systems.
> > > > RAUC (Robust
> > > > Auto Update Controller) is a lightweight update client,
>
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA512
Hi Simon,
On Thu, 2025-06-05 at 11:29 -0600, Simon Glass wrote:
> Hi Martin,
>
> On Wed, 4 Jun 2025 at 06:16, Martin Schwan
> wrote:
> >
> > This series implements a new bootmeth for RAUC A/B systems. RAUC
> > (Rob
Add documentation for the bootmeth "rauc", which boots an A/B system
with RAUC from MMC.
Signed-off-by: Martin Schwan
---
doc/develop/bootstd/index.rst| 1 +
doc/develop/bootstd/overview.rst | 1 +
doc/develop/bootstd/rauc.rst | 56 +++
Add a bootmeth driver which supports booting A/B system with RAUC as
their update client.
Signed-off-by: Martin Schwan
---
boot/Kconfig | 51 ++
boot/Makefile| 1 +
boot/bootmeth_rauc.c | 432 +++
3 files changed, 484
to be in line with
"distro_bootpart".
- Change the bootmeth flag to "global", as the rauc bootmeth does not
work for individual partitions.
- Update documentation accordingly.
- Link to v1:
https://lore.kernel.org/r/20250129-wip-bootmeth-rauc-v1-0-6308e732f...@phytec.de
-
Add a bootmeth driver which supports booting A/B system with RAUC as
their update client.
Signed-off-by: Martin Schwan
---
boot/Kconfig | 51 ++
boot/Makefile| 1 +
boot/bootmeth_rauc.c | 432 +++
3 files changed, 484
Add documentation for the bootmeth "rauc", which boots an A/B system
with RAUC from MMC.
Signed-off-by: Martin Schwan
---
doc/develop/bootstd/index.rst| 1 +
doc/develop/bootstd/overview.rst | 1 +
doc/develop/bootstd/rauc.rst | 56 +++
"mmcroot" to "distro_rootpart", to be in line with
"distro_bootpart".
- Change the bootmeth flag to "global", as the rauc bootmeth does not
work for individual partitions.
- Update documentation accordingly.
- Link to v1:
https://lore.kernel.org/r/20250
0600, Simon Glass wrote:
> > > > Hi Tom,
> > > >
> > > > On Thu, 24 Apr 2025 at 12:49, Tom Rini
> > > > wrote:
> > > > >
> > > > > On Thu, Apr 24, 2025 at 12:31:38PM -0600, Simon Glass wrote:
> > > > > > Hi
Hi Simon,
thanks for the review and sorry for my delayed reply.
On Mon, 2025-04-14 at 05:32 -0600, Simon Glass wrote:
> Hi Martin,
>
> On Wed, 29 Jan 2025 at 07:25, Martin Schwan
> wrote:
> >
> > Add a bootmeth driver which supports booting A/B system with RAUC
> &
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA256
On Wed, 2025-01-29 at 10:03 -0600, Tom Rini wrote:
> On Wed, Jan 29, 2025 at 03:25:25PM +0100, Martin Schwan wrote:
> > Add a bootmeth driver which supports booting A/B system with RAUC
> > as
> > their update client.
> >
Add a bootmeth driver which supports booting A/B system with RAUC as
their update client.
Signed-off-by: Martin Schwan
---
boot/Kconfig | 11 ++
boot/Makefile| 1 +
boot/bootmeth_rauc.c | 408 +++
3 files changed, 420 insertions
Add documentation for the bootmeth "rauc", which boots an A/B system
with RAUC from MMC.
Signed-off-by: Martin Schwan
---
doc/develop/bootstd/index.rst| 1 +
doc/develop/bootstd/overview.rst | 1 +
doc/develop/bootstd/rauc.rst | 55 +++
eu/en/produkte/single-board-computer/phyboard-pollux/
[2]:
https://download.phytec.de/Software/Linux/BSP-Yocto-i.MX8MP/BSP-Yocto-Ampliphy-i.MX8MP-PD24.1.2/
---
Martin Schwan (2):
bootstd: Add implementation for bootmeth rauc
doc: Add description for bootmeth rauc
boot/Kconfig
20 matches
Mail list logo