Re: [PATCH 3/3] common: fdt: hand over original fdt bootargs into board chosen handler

2025-01-17 Thread Dmitry Rokosov
Hello Tom, On Thu, Jan 16, 2025 at 01:11:25PM -0600, Tom Rini wrote: > On Thu, Jan 16, 2025 at 04:11:40PM +0300, Dmitry Rokosov wrote: > > Hello Quentin, > > > > On Tue, Jan 14, 2025 at 12:16:35PM +0100, Quentin Schulz wrote: > > > Hi Dmitry, > > > >

Re: [PATCH 3/3] common: fdt: hand over original fdt bootargs into board chosen handler

2025-01-16 Thread Dmitry Rokosov
Hello Simon, On Tue, Jan 14, 2025 at 06:14:59AM -0700, Simon Glass wrote: > Hi Dmitry, > > On Thu, 19 Dec 2024 at 14:42, Dmitry Rokosov > wrote: > > > > Sometimes, it is necessary to provide an additional bootargs string to > > the kernel command line. > > &

Re: [PATCH 3/3] common: fdt: hand over original fdt bootargs into board chosen handler

2025-01-16 Thread Dmitry Rokosov
Hello Quentin, On Tue, Jan 14, 2025 at 12:16:35PM +0100, Quentin Schulz wrote: > Hi Dmitry, > > On 12/19/24 10:42 PM, Dmitry Rokosov wrote: > > Sometimes, it is necessary to provide an additional bootargs string to > > the kernel command line. > > > > We have

[PATCH 0/3] fdt_support: improve board_fdt_chosen_bootargs() for flexibility

2024-12-19 Thread Dmitry Rokosov
configurability of U-Boot for various kernel images without relying on outdated configurations like CMDLINE_EXTEND. CI/CD results: https://github.com/u-boot/u-boot/pull/716/checks Signed-off-by: Dmitry Rokosov --- Dmitry Rokosov (3): include/fdt_support: fix docstyle to comply with kernel-doc

[PATCH 3/3] common: fdt: hand over original fdt bootargs into board chosen handler

2024-12-19 Thread Dmitry Rokosov
argument to board_fdt_chosen_bootargs() to share the original 'chosen/bootargs' data with the board code. Consequently, the board developer can decide how to handle this information for their board setup: whether to drop it or merge it with the bootargs environment. Signed-off-by: Dmitry

[PATCH 1/3] include/fdt_support: fix docstyle to comply with kernel-doc requirements

2024-12-19 Thread Dmitry Rokosov
/fdt_support.h:500: info: Scanning doc for fdt_kaslrseed Signed-off-by: Dmitry Rokosov --- include/fdt_support.h | 169 +- 1 file changed, 100 insertions(+), 69 deletions(-) diff --git a/include/fdt_support.h b/include/fdt_support.h index

[PATCH 2/3] fdt_support: board_fdt_chosen_bootargs() should return const char*

2024-12-19 Thread Dmitry Rokosov
It should be structured this way to demonstrate to the caller that freeing the return value is unnecessary and that the caller cannot modify it. The function fdt_setprop() includes a parameter with a const char* prototype, so it is better to use the const qualifier. Signed-off-by: Dmitry Rokosov

Re: [PATCH v5 0/6] android_ab: introduce bcb ab_dump command and provide several bcb fixes

2024-10-18 Thread Dmitry Rokosov
On Thu, Oct 17, 2024 at 05:12:05PM +0300, Dmitry Rokosov wrote: > The patch series include changes: > - move ab_select_slot() documentation to @ notation > - redesign 'bcb' command to U_BOOT_LONGHELP approach > - move ab_select command to bcb subcommands >

[PATCH v5 0/6] android_ab: introduce bcb ab_dump command and provide several bcb fixes

2024-10-17 Thread Dmitry Rokosov
o useful for testing slot_suffix problem code paths Signed-off-by: Dmitry Rokosov --- Changes in v5: - rework direct #ifdefs to IS_ENABLED() macro - redesign 'bcb' command to U_BOOT_LONGHELP approach - check argc directly in the ab_select and ab_dump subcommands handlers - Link to v4: http

[PATCH v5 2/6] cmd: bcb: rework the command to U_BOOT_LONGHELP approach

2024-10-17 Thread Dmitry Rokosov
commands more succinctly. Signed-off-by: Dmitry Rokosov --- cmd/bcb.c | 151 ++ 1 file changed, 43 insertions(+), 108 deletions(-) diff --git a/cmd/bcb.c b/cmd/bcb.c index 97a96c009641cc094645607ef833575f3c03fe4b

[PATCH v5 4/6] cmd: bcb: change strcmp() usage style in the do_bcb_ab_select()

2024-10-17 Thread Dmitry Rokosov
: Dmitry Rokosov --- cmd/bcb.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmd/bcb.c b/cmd/bcb.c index 2854408e5669b0d7d2a06073fa81158b21834b99..b33c046af0385a112fd40634ab7f48e05542ca48 100644 --- a/cmd/bcb.c +++ b/cmd/bcb.c @@ -391,7 +391,7 @@ __maybe_unused static int

[PATCH v5 6/6] common: android_ab: fix slot suffix for abc block

2024-10-17 Thread Dmitry Rokosov
ce [1]. Links: [1] - https://source.android.com/docs/core/architecture/bootloader/updating#slots Based-on: https://android-review.googlesource.com/c/platform/external/u-boot/+/1446439 Reviewed-by: Mattijs Korpershoek Reviewed-by: Simon Glass Tested-by: Guillaume La Roque Signed-off-by: Dmitry Ro

[PATCH v5 3/6] treewide: bcb: move ab_select command to bcb subcommands

2024-10-17 Thread Dmitry Rokosov
as the 'ab_select' subcommand, maintaining the same parameter list for consistency. Signed-off-by: Dmitry Rokosov --- MAINTAINERS | 1 - cmd/Kconfig | 14 --- cmd/Makefile | 1 - cmd/ab

[PATCH v5 5/6] cmd: bcb: introduce 'ab_dump' command to print BCB block content

2024-10-17 Thread Dmitry Rokosov
Priority: 14 > - Tries Remaining: 7 > - Successful Boot: 0 > - Verity Corrupted: 0 The ab_dump command allows you to display ABC data directly on the U-Boot console. During an A/B test execution, this test verifies the accuracy of each

[PATCH v5 1/6] include/android_ab: move ab_select_slot() documentation to @ notation

2024-10-17 Thread Dmitry Rokosov
There are new function documentation requirements in U-Boot, so apply these changes for android_ab. Reviewed-by: Mattijs Korpershoek Reviewed-by: Simon Glass Tested-by: Guillaume La Roque Signed-off-by: Dmitry Rokosov --- boot/android_ab.c| 43

Re: [PATCH v3 2/6] treewide: bcb: move ab_select command to bcb subcommands

2024-10-16 Thread Dmitry Rokosov
Hi Simon, On Tue, Oct 15, 2024 at 09:27:14AM -0600, Simon Glass wrote: > Hi Dmitry, > > On Tue, 15 Oct 2024 at 08:42, Dmitry Rokosov > wrote: > > > > Hi Mattijs, Simon, > > > > On Tue, Oct 15, 2024 at 02:10:10PM +0200, Mattijs Korpershoek wrote: > > &

Re: [PATCH v3 2/6] treewide: bcb: move ab_select command to bcb subcommands

2024-10-16 Thread Dmitry Rokosov
On Tue, Oct 15, 2024 at 05:26:37PM +0200, Mattijs Korpershoek wrote: > Hi Dmitry, > > On mar., oct. 15, 2024 at 16:26, Dmitry Rokosov > wrote: > > > Hi Mattijs, > > > > On Tue, Oct 15, 2024 at 02:10:10PM +0200, Mattijs Korpershoek wrote: > >> Hi Simon

Re: [PATCH v3 2/6] treewide: bcb: move ab_select command to bcb subcommands

2024-10-15 Thread Dmitry Rokosov
Hi Mattijs, Simon, On Tue, Oct 15, 2024 at 02:10:10PM +0200, Mattijs Korpershoek wrote: > Hi Simon, Dmitry > > On lun., oct. 14, 2024 at 15:06, Simon Glass wrote: > > > Hi Dmitry, > > > > On Mon, 14 Oct 2024 at 14:38, Dmitry Rokosov > > wrote: > >>

Re: [PATCH v3 2/6] treewide: bcb: move ab_select command to bcb subcommands

2024-10-15 Thread Dmitry Rokosov
Hi Mattijs, On Tue, Oct 15, 2024 at 02:10:10PM +0200, Mattijs Korpershoek wrote: > Hi Simon, Dmitry > > On lun., oct. 14, 2024 at 15:06, Simon Glass wrote: > > > Hi Dmitry, > > > > On Mon, 14 Oct 2024 at 14:38, Dmitry Rokosov > > wrote: > >> >

[PATCH v4 5/5] common: android_ab: fix slot suffix for abc block

2024-10-14 Thread Dmitry Rokosov
ce [1]. Links: [1] - https://source.android.com/docs/core/architecture/bootloader/updating#slots Based-on: https://android-review.googlesource.com/c/platform/external/u-boot/+/1446439 Reviewed-by: Mattijs Korpershoek Reviewed-by: Simon Glass Tested-by: Guillaume La Roque Signed-off-by: Dmitry Ro

[PATCH v4 2/5] treewide: bcb: move ab_select command to bcb subcommands

2024-10-14 Thread Dmitry Rokosov
as the 'ab_select' subcommand, maintaining the same parameter list for consistency. Signed-off-by: Dmitry Rokosov --- MAINTAINERS | 1 - cmd/Kconfig | 14 -- cmd/Makefile | 1 - cmd/ab

[PATCH v4 4/5] cmd: bcb: introduce 'ab_dump' command to print BCB block content

2024-10-14 Thread Dmitry Rokosov
ABC data. Reviewed-by: Mattijs Korpershoek Reviewed-by: Simon Glass Tested-by: Guillaume La Roque Signed-off-by: Dmitry Rokosov --- boot/android_ab.c | 68 +++ cmd/bcb.c | 35 ++ include/andr

[PATCH v4 1/5] include/android_ab: move ab_select_slot() documentation to @ notation

2024-10-14 Thread Dmitry Rokosov
There are new function documentation requirements in U-Boot, so apply these changes for android_ab. Reviewed-by: Mattijs Korpershoek Reviewed-by: Simon Glass Tested-by: Guillaume La Roque Signed-off-by: Dmitry Rokosov --- boot/android_ab.c| 43

[PATCH v4 3/5] cmd: bcb: change strcmp() usage style in the do_bcb_ab_select()

2024-10-14 Thread Dmitry Rokosov
: Dmitry Rokosov --- cmd/bcb.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmd/bcb.c b/cmd/bcb.c index bf28726da91134fa287ca8aada884ed74ecc8f2b..3935b7f8d535e87593020b91a6b37d7c5ef02a83 100644 --- a/cmd/bcb.c +++ b/cmd/bcb.c @@ -439,7 +439,7 @@ static int do_bcb_ab_select

[PATCH v4 0/5] android_ab: introduce bcb ab_dump command and provide several bcb fixes

2024-10-14 Thread Dmitry Rokosov
/lore.kernel.org/all/20240725194716.32232-1-ddroko...@salutedevices.com/ [2] https://lore.kernel.org/all/20240911214945.15873-1-ddroko...@salutedevices.com/ Signed-off-by: Dmitry Rokosov --- Changes in v4: - add #ifdefs for CONFIG_ANDROID_AB in cmd/bcb.c to allow the usage of the bcb command without A

Re: [PATCH v3 2/6] treewide: bcb: move ab_select command to bcb subcommands

2024-10-14 Thread Dmitry Rokosov
Hello Mattijs, On Sat, Oct 12, 2024 at 10:49:08AM +0200, Mattijs Korpershoek wrote: > Hi Dmitry, > > On ven., oct. 11, 2024 at 21:00, Dmitry Rokosov > wrote: > > > On Fri, Oct 11, 2024 at 04:20:39PM +0200, Mattijs Korpershoek wrote: > >> On ven., oct. 11, 2024

Re: [PATCH v3 2/6] treewide: bcb: move ab_select command to bcb subcommands

2024-10-11 Thread Dmitry Rokosov
On Fri, Oct 11, 2024 at 04:20:39PM +0200, Mattijs Korpershoek wrote: > On ven., oct. 11, 2024 at 15:30, "Mattijs Korpershoek via groups.io" > wrote: > > > Hi Dmitry, > > > > Thank you for the patch. > > > > On mar., oct. 08, 2024 at 23:18, Dmi

Re: [PATCH v3 4/6] cmd: bcb: introduce 'ab_dump' command to print BCB block content

2024-10-11 Thread Dmitry Rokosov
Hello Mattijs, On Fri, Oct 11, 2024 at 04:22:43PM +0200, Mattijs Korpershoek wrote: > Hi Dmitry, > > On jeu., oct. 10, 2024 at 14:17, "Mattijs Korpershoek via groups.io" > wrote: > > [...] > > >>> > > > >>> > > Reviewed-by: Simon Glass > >>> > > > >>> > > Can you also update the test? > >>>

Re: [PATCH v3 4/6] cmd: bcb: introduce 'ab_dump' command to print BCB block content

2024-10-10 Thread Dmitry Rokosov
On Wed, Oct 09, 2024 at 03:13:57PM -0600, Simon Glass wrote: > Hi Dmitry, > > On Wed, 9 Oct 2024 at 07:26, Dmitry Rokosov > wrote: > > > > Hello Simon, > > > > On Tue, Oct 08, 2024 at 07:57:15PM -0600, Simon Glass wrote: > > > On Tue, 8 Oc

Re: [PATCH v3 0/6] android_ab: introduce bcb ab_dump command and provide several bcb fixes

2024-10-09 Thread Dmitry Rokosov
hanks for your patches. > > Tested-by: Guillaume La Roque > > > Le 08/10/2024 à 22:18, Dmitry Rokosov a écrit : > > The patch series include changes: > > - move ab_select_slot() documentation to @ notation > > - move ab_select command to bcb subcommands

Re: [PATCH v3 0/6] android_ab: introduce bcb ab_dump command and provide several bcb fixes

2024-10-09 Thread Dmitry Rokosov
On Tue, Oct 08, 2024 at 11:18:03PM +0300, Dmitry Rokosov wrote: > The patch series include changes: > - move ab_select_slot() documentation to @ notation > - move ab_select command to bcb subcommands > - introduce the ab_dump command to print the content of the BCB >

Re: [PATCH v3 4/6] cmd: bcb: introduce 'ab_dump' command to print BCB block content

2024-10-09 Thread Dmitry Rokosov
Hello Simon, On Tue, Oct 08, 2024 at 07:57:15PM -0600, Simon Glass wrote: > On Tue, 8 Oct 2024 at 14:18, Dmitry Rokosov > wrote: > > > > It's really helpful to have the ability to dump BCB block for debugging > > A/B logic on the board supported this partition

[PATCH v3 2/6] treewide: bcb: move ab_select command to bcb subcommands

2024-10-08 Thread Dmitry Rokosov
as the 'ab_select' subcommand, maintaining the same parameter list for consistency. Signed-off-by: Dmitry Rokosov --- MAINTAINERS | 1 - cmd/Kconfig | 15 +-- cmd/Makefile | 1 - cmd/ab

[PATCH v3 5/6] common: android_ab: fix slot suffix for abc block

2024-10-08 Thread Dmitry Rokosov
ce [1]. Links: [1] - https://source.android.com/docs/core/architecture/bootloader/updating#slots Based-on: https://android-review.googlesource.com/c/platform/external/u-boot/+/1446439 Reviewed-by: Mattijs Korpershoek Reviewed-by: Simon Glass Signed-off-by: Dmitry Rokosov --- boot/android_ab.

[PATCH v3 4/6] cmd: bcb: introduce 'ab_dump' command to print BCB block content

2024-10-08 Thread Dmitry Rokosov
Priority: 14 > - Tries Remaining: 7 > - Successful Boot: 0 > - Verity Corrupted: 0 Signed-off-by: Dmitry Rokosov --- boot/android_ab.c| 68 cmd/bcb.c| 35 +++ i

[PATCH v3 6/6] test/py: introduce test for ab_dump command

2024-10-08 Thread Dmitry Rokosov
The ab_dump command allows you to display ABC data directly on the U-Boot console. During an A/B test execution, this test verifies the accuracy of each field within the ABC data. Reviewed-by: Simon Glass Reviewed-by: Mattijs Korpershoek Signed-off-by: Dmitry Rokosov --- test/py/tests

[PATCH v3 3/6] cmd: bcb: change strcmp() usage style in the do_bcb_ab_select()

2024-10-08 Thread Dmitry Rokosov
In the entire cmd/bcb.c file, the return value of strcmp() is not directly compared to 0. Therefore, it would be better to maintain this style in the new do_bcb_ab_select() function as well. Reviewed-by: Mattijs Korpershoek Reviewed-by: Simon Glass Signed-off-by: Dmitry Rokosov --- cmd/bcb.c

[PATCH v3 0/6] android_ab: introduce bcb ab_dump command and provide several bcb fixes

2024-10-08 Thread Dmitry Rokosov
/lore.kernel.org/all/20240725194716.32232-1-ddroko...@salutedevices.com/ [2] https://lore.kernel.org/all/20240911214945.15873-1-ddroko...@salutedevices.com/ Signed-off-by: Dmitry Rokosov --- Dmitry Rokosov (6): include/android_ab: move ab_select_slot() documentation to @ notation treewide: bcb: mo

[PATCH v3 1/6] include/android_ab: move ab_select_slot() documentation to @ notation

2024-10-08 Thread Dmitry Rokosov
There are new function documentation requirements in U-Boot, so apply these changes for android_ab. Reviewed-by: Mattijs Korpershoek Reviewed-by: Simon Glass Signed-off-by: Dmitry Rokosov --- boot/android_ab.c| 43 --- include/android_ab.h | 7

Re: [PATCH v2 2/6] treewide: bcb: move ab_select command to bcb subcommands

2024-10-08 Thread Dmitry Rokosov
On Mon, Sep 30, 2024 at 01:24:21PM +0200, Mattijs Korpershoek wrote: > Hi Dmitry, > > Thank you for the patch. > > On jeu., sept. 12, 2024 at 00:49, Dmitry Rokosov > wrote: > > > To enhance code organization, it is beneficial to consolidate all A/B > > BCB

Re: [PATCH v2 0/6] android_ab: introduce bcb ab_dump command and provide several bcb fixes

2024-09-13 Thread Dmitry Rokosov
On Thu, Sep 12, 2024 at 10:10:53AM +0300, Dmitry Rokosov wrote: > There are Pipeline results. One test was failed. I suppose it's not > related to my patch series: > > https://github.com/u-boot/u-boot/pull/625/checks?check_run_id=30029925059 > > =

Re: [PATCH v2 0/6] android_ab: introduce bcb ab_dump command and provide several bcb fixes

2024-09-13 Thread Dmitry Rokosov
Hello Tom, On Thu, Sep 12, 2024 at 11:45:01AM -0600, Tom Rini wrote: > On Thu, Sep 12, 2024 at 10:10:53AM +0300, Dmitry Rokosov wrote: > > There are Pipeline results. One test was failed. I suppose it's not > > related to my patch series: > > > > https://github.c

Re: [PATCH v2 0/6] android_ab: introduce bcb ab_dump command and provide several bcb fixes

2024-09-12 Thread Dmitry Rokosov
s: 1 => === FAILURES ======= On Thu, Sep 12, 2024 at 12:49:08AM +0300, Dmitry Rokosov wrote: > The patch series include changes: > - move ab_select_slot() documentation to @ notation > - move ab_select command to bcb subcommands > - introd

Re: [PATCH v2 5/6] common: android_ab: fix slot suffix for abc block

2024-09-11 Thread Dmitry Rokosov
necessary. On Thu, Sep 12, 2024 at 12:49:13AM +0300, Dmitry Rokosov wrote: > To align with the official Android BCB (Bootloader Control Block) > specifications, it's important to note that the slot_suffix should start > with an underscore symbol. > > For a comprehensive understan

[PATCH v2 2/6] treewide: bcb: move ab_select command to bcb subcommands

2024-09-11 Thread Dmitry Rokosov
as the 'ab_select' subcommand, maintaining the same parameter list for consistency. Signed-off-by: Dmitry Rokosov --- MAINTAINERS | 1 - cmd/Kconfig | 15 + cmd/Makefile | 1 - cmd/ab

[PATCH v2 0/6] android_ab: introduce bcb ab_dump command and provide several bcb fixes

2024-09-11 Thread Dmitry Rokosov
d RvB tags Links: [1] https://lore.kernel.org/all/20240725194716.32232-1-ddroko...@salutedevices.com/ Signed-off-by: Dmitry Rokosov Dmitry Rokosov (6): include/android_ab: move ab_select_slot() documentation to @ notation treewide: bcb: move ab_select command to bcb subcommands cmd: b

[PATCH v2 4/6] cmd: bcb: introduce 'ab_dump' command to print BCB block content

2024-09-11 Thread Dmitry Rokosov
Priority: 14 > - Tries Remaining: 7 > - Successful Boot: 0 > - Verity Corrupted: 0 Signed-off-by: Dmitry Rokosov --- boot/android_ab.c| 68 cmd/bcb.c| 35 +++ include

[PATCH v2 5/6] common: android_ab: fix slot suffix for abc block

2024-09-11 Thread Dmitry Rokosov
ce [1]. Links: [1] - https://source.android.com/docs/core/architecture/bootloader/updating#slots Based-on: https://android-review.googlesource.com/c/platform/external/u-boot/+/1446439 Signed-off-by: Dmitry Rokosov Reviewed-by: Simon Glass Reviewed-by: Mattijs Korpershoek --- boot/android_ab.

[PATCH v2 1/6] include/android_ab: move ab_select_slot() documentation to @ notation

2024-09-11 Thread Dmitry Rokosov
There are new function documentation requirements in U-Boot, so apply these changes for android_ab. Signed-off-by: Dmitry Rokosov --- boot/android_ab.c| 43 --- include/android_ab.h | 7 --- 2 files changed, 28 insertions(+), 22 deletions

[PATCH v2 6/6] test/py: introduce test for ab_dump command

2024-09-11 Thread Dmitry Rokosov
The ab_dump command allows you to display ABC data directly on the U-Boot console. During an A/B test execution, this test verifies the accuracy of each field within the ABC data. Signed-off-by: Dmitry Rokosov Reviewed-by: Mattijs Korpershoek --- test/py/tests/test_android/test_ab.py | 23

[PATCH v2 3/6] cmd: bcb: change strcmp() usage style in the do_bcb_ab_select()

2024-09-11 Thread Dmitry Rokosov
In the entire cmd/bcb.c file, the return value of strcmp() is not directly compared to 0. Therefore, it would be better to maintain this style in the new do_bcb_ab_select() function as well. Signed-off-by: Dmitry Rokosov --- cmd/bcb.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff

Re: [PATCH v1 2/4] cmd: ab: introduce 'ab_dump' command to print BCB block content

2024-07-31 Thread Dmitry Rokosov
. 28, 2024 at 13:36, Simon Glass wrote: > > > > > Hi Dmitry, > > > > > > On Thu, 25 Jul 2024 at 14:55, Dmitry Rokosov > > > wrote: > > >> > > >> It's really helpful to have the ability to dump BCB block for debugging > >

Re: [PATCH v1 4/4] common: android_ab: fix slot suffix for abc block

2024-07-30 Thread Dmitry Rokosov
On Tue, Jul 30, 2024 at 10:43:13AM +0200, Mattijs Korpershoek wrote: > Hi Dmitry, > > Thank you for the patch. > > On jeu., juil. 25, 2024 at 22:47, Dmitry Rokosov > wrote: > > > To align with the official Android BCB (Boot Control Block) > > specifications

Re: [PATCH v1 2/4] cmd: ab: introduce 'ab_dump' command to print BCB block content

2024-07-29 Thread Dmitry Rokosov
On Sun, Jul 28, 2024 at 01:36:04PM -0600, Simon Glass wrote: > Hi Dmitry, > > On Thu, 25 Jul 2024 at 14:55, Dmitry Rokosov > wrote: > > > > It's really helpful to have the ability to dump BCB block for debugging > > A/B logic on the board supported this partiti

Re: [PATCH v1 4/4] common: android_ab: fix slot suffix for abc block

2024-07-29 Thread Dmitry Rokosov
On Sun, Jul 28, 2024 at 01:36:06PM -0600, Simon Glass wrote: > Hi Dmitry, > > On Thu, 25 Jul 2024 at 14:55, Dmitry Rokosov > wrote: > > > > To align with the official Android BCB (Boot Control Block) > > specifications, it's important to note that the s

Re: [PATCH v1 3/4] test/py: introduce test for ab_dump command

2024-07-29 Thread Dmitry Rokosov
Hello Simon, On Sun, Jul 28, 2024 at 01:36:05PM -0600, Simon Glass wrote: > Hi Dmitry, > > On Thu, 25 Jul 2024 at 14:55, Dmitry Rokosov > wrote: > > > > The ab_dump command allows you to display ABC data directly on the > > U-Boot console. During an A/B test exe

Re: [PATCH v1 0/4] android_ab: fix slot_suffix issue and introduce ab_dump command

2024-07-26 Thread Dmitry Rokosov
Azure pipeline is successfully DONE https://github.com/u-boot/u-boot/pull/625/checks On Thu, Jul 25, 2024 at 10:47:00PM +0300, Dmitry Rokosov wrote: > The patch series include changes: > - fix indentation problems for --no-dec parameter in the ab_select > command > - i

[PATCH v1 1/4] cmd: ab_select: fix indentation problems for --no-dec parameter

2024-07-25 Thread Dmitry Rokosov
Command ab_select has wrong help description from indentation perspective. Signed-off-by: Dmitry Rokosov --- cmd/ab_select.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/cmd/ab_select.c b/cmd/ab_select.c index bfb67b8236b6..9e2f74573c22 100644 --- a/cmd/ab_select.c

[PATCH v1 4/4] common: android_ab: fix slot suffix for abc block

2024-07-25 Thread Dmitry Rokosov
s: [1] - https://source.android.com/docs/core/architecture/bootloader/updating#slots Signed-off-by: Dmitry Rokosov --- boot/android_ab.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/boot/android_ab.c b/boot/android_ab.c index 359cc1a00428..45c154b10f1a 100644 --- a

[PATCH v1 2/4] cmd: ab: introduce 'ab_dump' command to print BCB block content

2024-07-25 Thread Dmitry Rokosov
5 > - Successful Boot: 0 > - Verity Corrupted: 0 Signed-off-by: Dmitry Rokosov --- boot/android_ab.c| 68 cmd/ab_select.c | 30 +++ include/android_ab.h | 9 ++ 3 files changed, 107 insert

[PATCH v1 3/4] test/py: introduce test for ab_dump command

2024-07-25 Thread Dmitry Rokosov
The ab_dump command allows you to display ABC data directly on the U-Boot console. During an A/B test execution, this test verifies the accuracy of each field within the ABC data. Signed-off-by: Dmitry Rokosov --- test/py/tests/test_android/test_ab.py | 23 +++ 1 file

[PATCH v1 0/4] android_ab: fix slot_suffix issue and introduce ab_dump command

2024-07-25 Thread Dmitry Rokosov
nd to verify the accuracy of each field within the ABC data displayed. - fix the slot suffix format in the ABC block to align with official Android BCB specifications Dmitry Rokosov (4): cmd: ab_select: fix indentation problems for --no-dec parameter cmd: ab: introduce &#x