Dmitry Rokosov
a995084beb
cmd: bcb: introduce 'ab_dump' command to print BCB block content
...
It's really helpful to have the ability to dump BCB block for debugging
A/B logic on the board supported this partition schema.
Command 'bcb ab_dump' prints all fields of bootloader_control struct
including slot_metadata for all presented slots.
Output example:
=====
> board# bcb ab_dump ubi 0#misc
> Read 512 bytes from volume misc to 000000000bf07580
> Read 512 bytes from volume misc to 000000000bf42f40
> Bootloader Control: [misc]
> Active Slot: _a
> Magic Number: 0x42414342
> Version: 1
> Number of Slots: 2
> Recovery Tries Remaining: 0
> CRC: 0x2c8b50bc (Valid)
>
> Slot[0] Metadata:
> - Priority: 15
> - Tries Remaining: 0
> - Successful Boot: 1
> - Verity Corrupted: 0
>
> Slot[1] Metadata:
> - 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 field within the ABC data.
Signed-off-by: Dmitry Rokosov <ddrokosov@salutedevices.com >
Reviewed-by: Mattijs Korpershoek <mkorpershoek@baylibre.com >
Tested-by: Mattijs Korpershoek <mkorpershoek@baylibre.com > # vim3_android
Link: https://lore.kernel.org/r/20241017-android_ab_master-v5-5-43bfcc096d95@salutedevices.com
Signed-off-by: Mattijs Korpershoek <mkorpershoek@baylibre.com >
2024-10-24 09:45:55 +02:00
..
2024-06-26 13:17:51 -06:00
2024-05-20 13:35:03 -06:00
2024-05-20 13:35:03 -06:00
2024-09-05 12:13:24 -06:00
2024-09-10 10:10:43 +08:00
2024-05-13 16:51:13 -06:00
2024-05-20 13:35:03 -06:00
2024-10-18 14:10:21 -06:00
2017-02-08 15:56:28 -05:00
2024-05-20 13:35:03 -06:00
2024-07-18 13:51:30 -06:00
2024-05-20 13:35:03 -06:00
2024-06-26 13:17:51 -06:00
2024-05-20 13:35:03 -06:00
2024-05-20 13:35:03 -06:00
2024-05-20 13:35:03 -06:00
2024-05-20 13:35:03 -06:00
2024-05-20 13:35:03 -06:00
2024-02-15 10:38:34 +01:00
2024-05-20 13:35:03 -06:00
2024-10-24 09:45:55 +02:00
2024-10-16 11:11:56 -06:00
2024-08-27 14:30:14 -06:00
2024-05-20 13:35:03 -06:00
2024-05-20 13:35:03 -06:00
2024-05-20 13:35:03 -06:00
2024-05-20 13:35:03 -06:00
2024-06-26 13:17:51 -06:00
2024-05-20 13:35:03 -06:00
2024-05-20 13:35:03 -06:00
2024-05-20 13:35:03 -06:00
2024-05-20 13:35:03 -06:00
2024-05-20 13:35:03 -06:00
2024-05-01 07:37:32 +02:00
2024-05-20 13:35:03 -06:00
2024-10-02 13:32:56 -06:00
2024-07-15 12:12:17 -06:00
2024-05-20 13:35:03 -06:00
2024-10-15 10:24:27 -06:00
2024-07-19 16:48:07 -06:00
2024-09-03 14:08:50 -06:00
2024-05-20 13:35:03 -06:00
2024-05-20 13:35:03 -06:00
2024-07-15 12:12:17 -06:00
2024-05-20 13:35:03 -06:00
2024-05-20 13:35:03 -06:00
2024-05-20 13:35:03 -06:00
2024-06-26 13:17:51 -06:00
2024-10-09 22:04:56 -06:00
2024-05-20 13:35:03 -06:00
2024-05-20 13:35:03 -06:00
2024-05-20 13:35:03 -06:00
2024-05-20 13:35:03 -06:00
2024-07-15 12:12:17 -06:00
2024-08-02 15:16:51 -03:00
2024-07-15 12:12:17 -06:00
2024-05-20 13:35:03 -06:00
2024-06-16 12:13:44 +02:00
2024-08-13 06:12:40 +02:00
2024-05-20 13:35:03 -06:00
2024-05-20 13:35:03 -06:00
2024-05-20 13:35:03 -06:00
2024-05-20 13:35:03 -06:00
2024-05-20 13:35:03 -06:00
2024-05-20 13:35:03 -06:00
2024-06-07 10:48:41 -06:00
2024-09-12 17:35:37 +02:00
2024-09-12 17:35:37 +02:00
2024-05-20 13:35:03 -06:00
2024-06-10 11:43:37 +02:00
2024-09-21 10:57:41 +02:00
2024-10-16 11:11:56 -06:00
2022-03-15 16:19:29 -04:00
2024-05-20 13:35:03 -06:00
2024-05-20 13:35:03 -06:00
2024-05-20 13:35:03 -06:00
2024-05-20 13:35:03 -06:00
2024-05-20 13:35:03 -06:00
2024-07-15 12:12:17 -06:00
2024-05-20 13:35:03 -06:00
2024-07-15 12:12:17 -06:00
2024-05-20 13:35:03 -06:00
2024-09-12 17:35:37 +02:00
2024-10-18 14:10:21 -06:00
2024-05-20 13:35:03 -06:00
2024-05-20 13:35:03 -06:00
2024-05-20 13:35:03 -06:00
2024-05-20 13:35:03 -06:00
2024-05-20 13:35:03 -06:00
2024-06-30 13:58:31 +02:00
2024-05-20 13:35:03 -06:00
2024-05-20 13:35:03 -06:00
2024-09-12 17:35:37 +02:00
2024-05-20 13:35:03 -06:00
2024-05-20 13:35:03 -06:00
2024-05-20 13:35:03 -06:00
2024-05-20 13:35:03 -06:00
2024-08-13 06:23:05 +02:00
2024-05-20 13:35:03 -06:00
2024-05-20 13:35:03 -06:00
2024-05-20 13:35:03 -06:00
2024-05-20 13:35:03 -06:00
2024-10-17 15:38:50 -06:00
2024-05-20 13:35:03 -06:00
2024-05-20 13:35:03 -06:00
2024-06-30 10:59:42 -06:00
2024-10-24 09:45:55 +02:00
2024-08-15 11:30:41 -06:00
2024-05-20 13:35:03 -06:00
2024-05-20 13:35:03 -06:00
2019-12-04 17:10:51 -05:00
2024-05-20 13:35:03 -06:00
2024-09-03 14:08:50 -06:00
2024-05-20 13:35:03 -06:00
2024-05-20 13:35:03 -06:00
2024-05-20 13:35:03 -06:00
2024-10-24 09:45:55 +02:00
2024-05-20 13:35:03 -06:00
2024-03-07 09:23:10 -05:00
2024-05-20 13:35:03 -06:00
2024-09-18 13:01:00 -06:00
2024-05-20 13:35:03 -06:00
2024-05-20 13:35:03 -06:00
2024-09-18 13:07:19 -06:00
2024-07-15 12:12:17 -06:00
2024-10-10 16:02:20 -06:00
2024-07-15 12:12:17 -06:00
2024-05-20 13:35:03 -06:00
2024-05-20 13:35:03 -06:00
2024-10-16 11:11:56 -06:00
2024-10-16 11:11:56 -06:00
2024-10-16 11:11:56 -06:00
2024-09-12 17:35:37 +02:00
2024-10-11 11:44:48 -06:00
2024-05-20 13:35:03 -06:00
2024-05-20 13:35:03 -06:00
2024-05-20 13:35:03 -06:00
2024-05-20 13:35:03 -06:00
2024-05-20 13:35:03 -06:00
2024-05-22 08:55:29 -06:00
2022-09-02 13:40:42 -04:00
2024-05-20 13:35:03 -06:00
2024-05-20 13:35:03 -06:00
2024-05-20 13:35:03 -06:00
2024-05-20 13:35:03 -06:00
2024-05-20 13:35:03 -06:00
2024-05-20 13:35:03 -06:00
2024-05-20 13:35:03 -06:00
2021-07-27 14:50:47 -04:00
2023-10-24 16:34:45 -04:00
2024-05-20 13:35:03 -06:00
2022-03-04 15:20:06 -05:00
2024-10-15 10:24:27 -06:00
2024-05-20 13:35:03 -06:00
2024-09-18 13:01:00 -06:00
2024-05-20 13:35:03 -06:00
2024-05-20 13:35:03 -06:00
2024-05-20 13:35:03 -06:00
2024-05-20 13:35:03 -06:00
2024-05-20 13:35:03 -06:00
2024-05-20 13:35:03 -06:00
2024-05-20 13:35:03 -06:00
2024-05-20 13:35:03 -06:00
2024-08-26 14:05:38 -06:00
2024-06-26 13:17:51 -06:00
2024-05-20 13:35:03 -06:00
2024-05-20 13:35:03 -06:00
2024-05-20 13:35:03 -06:00
2024-05-20 13:35:03 -06:00
2024-09-20 17:38:16 -06:00
2024-05-20 13:35:03 -06:00
2024-05-20 13:35:03 -06:00
2024-03-27 09:22:49 +01:00
2024-05-20 13:35:03 -06:00
2024-06-24 13:34:52 -06:00
2024-05-20 13:35:03 -06:00
2024-05-20 13:35:03 -06:00
2024-07-15 12:12:17 -06:00
2020-08-07 22:31:32 -04:00
2024-05-20 13:35:03 -06:00
2024-05-20 13:35:03 -06:00
2024-10-15 10:24:27 -06:00
2024-10-17 03:12:47 +02:00
2024-05-20 13:35:03 -06:00
2024-07-15 12:12:17 -06:00
2024-05-20 13:35:03 -06:00
2024-05-20 13:35:03 -06:00
2024-05-20 13:35:03 -06:00
2024-05-20 13:35:03 -06:00
2024-05-20 13:35:03 -06:00
2024-07-15 12:12:17 -06:00
2024-05-20 13:35:03 -06:00
2023-06-13 08:51:07 +03:00
2024-05-20 13:35:03 -06:00
2024-06-04 08:09:09 -06:00
2024-05-20 13:35:03 -06:00
2024-05-20 13:35:03 -06:00
2024-10-10 16:02:20 -06:00
2024-07-15 12:12:17 -06:00
2024-05-20 13:35:03 -06:00
2024-07-15 12:12:17 -06:00
2024-07-03 07:36:32 +01:00
2024-05-20 13:35:03 -06:00
2024-10-18 14:18:05 -06:00
2024-05-20 13:35:03 -06:00
2024-05-20 13:35:03 -06:00
2024-09-18 13:00:59 -06:00
2024-10-11 11:44:47 -06:00
2024-05-20 13:35:03 -06:00
2024-05-20 13:35:03 -06:00
2024-05-20 13:35:03 -06:00
2024-05-20 13:35:03 -06:00
2024-05-20 13:35:03 -06:00
2024-05-20 13:35:03 -06:00
2024-07-15 12:12:17 -06:00
2024-05-20 13:35:03 -06:00
2024-07-15 12:12:17 -06:00
2024-07-15 12:12:17 -06:00
2024-05-20 13:35:03 -06:00