from commit [1] with one modification: the
separator for specifying the name of metadata partition was changed
from ';' to '#', because ';' is used for commands separation.
[1]
https://android-review.googlesource.com/c/platform/external/u-boot/+/729880/2
Signed-off-by:
em (and A/B boot is
enabled), boot up process will be terminated and next message will be
shown:
"boot_a(b) partition not found"
[1] https://source.android.com/devices/tech/ota/ab
[2] https://source.android.com/devices/tech/ota/ab/ab_implement#kernel
Signed-off-by: Ruslan Trofymen
Add a short documentation for A/B enablement and 'ab_select' command
usage.
Signed-off-by: Ruslan Trofymenko
Reviewed-by: Alistair Strachan
Reviewed-by: Sam Protsenko
---
Changes in v2:
* Сhanges related to command renaming (android_ab_select -> ab_select)
doc/README.an
[1]
https://android-review.googlesource.com/c/platform/external/u-boot/+/729880/2
Signed-off-by: Ruslan Trofymenko
Reviewed-by: Alistair Strachan
Reviewed-by: Sam Protsenko
---
Changes in v2:
* Error codes are changed to -EINVAL instead of -1
-by: Ruslan Trofymenko
Reviewed-by: Sam Protsenko
---
Changes in v2:
* Function return codes are clarified
* Some types and constants are renamed (for compactness)
* android_bootloader_message.h is renamed to android_bl_msg.h
* 'debug' calls are changed to 'log_debug'
Add sandbox test for 'ab_select' command.
Test: ./test/py/test.py --bd sandbox --build -k test_ab
Signed-off-by: Ruslan Trofymenko
Reviewed-by: Alistair Strachan
Reviewed-by: Sam Protsenko
---
Changes in v2:
* Сhanges related to command renaming
* Assertion condition was clari
des are clarified (errno using)
* Some types constants and files are renamed
* Assertion condition is clarified in test case
* 'debug' calls are changed to 'log_debug'
* The Guide is clarified by the results of changes
[1] https://source.android.com/devices/tech/ota/ab
This sub-command serves for getting the partition index from
partition name. Also it can be used to test the existence of specified
partition.
Signed-off-by: Ruslan Trofymenko
Reviewed-by: Alistair Strachan
Reviewed-by: Sam Protsenko
Reviewed-by: Simon Glass
---
Changes in v2: None
cmd
Hi Simon,
On Thu, 6 Dec 2018 at 03:31, Simon Glass wrote:
>
> Hi,
>
> On Tue, 27 Nov 2018 at 12:57, Ruslan Trofymenko
> wrote:
> >
> > Add a short documentation for A/B enablement and 'android_ab_select'
> > command usage.
> >
>
Add a short documentation for A/B enablement and 'android_ab_select'
command usage.
Signed-off-by: Ruslan Trofymenko
---
doc/README.android-ab | 67 +++
1 file changed, 67 insertions(+)
create mode 100644 doc/README.android-ab
diff -
acted from commit [1] with one modification: the
separator for specifying the name of metadata partition was changed
from ';' to '#', because ';' is used for commands separation.
[1]
https://android-review.googlesource.com/c/platform/external/u-boot/+/729880/2
Add sandbox test for 'android_ab_select' command.
Test: ./test/py/test.py --bd sandbox --build -k test_ab
Signed-off-by: Ruslan Trofymenko
---
configs/sandbox_defconfig | 2 ++
test/py/tests/test_ab.py | 74 +++
2 files changed, 76
ons are not present in system (and A/B boot is
enabled), boot up process will be terminated and next message will be
shown:
"boot_a(b) partition not found"
[1] https://source.android.com/devices/tech/ota/ab
[2] https://source.android.com/devices/t
[1]
https://android-review.googlesource.com/c/platform/external/u-boot/+/729880/2
Signed-off-by: Ruslan Trofymenko
---
disk/part.c| 68 ++
include/part.h | 21 ++
2 files changed, 89 insertions(+)
diff --git a/disk/part.c
-by: Ruslan Trofymenko
---
common/Kconfig | 10 ++
common/Makefile | 1 +
common/android_ab.c | 278 +++
include/android_ab.h | 34 +
include/android_bootloader_message.h | 164
ch/ota/ab/ab_implement
[2]
bootable/recovery/bootloader_message/include/bootloader_message/bootloader_message.h
[3] https://lists.denx.de/pipermail/u-boot/2017-April/285841.html
Ruslan Trofymenko (7):
cmd: part: Add 'number' sub-command
disk: part: Extend API to get partition info
This sub-command serves for getting the partition index from
partition name. Also it can be used to test the existence of specified
partition.
Signed-off-by: Ruslan Trofymenko
---
cmd/part.c | 16 +++-
1 file changed, 15 insertions(+), 1 deletion(-)
diff --git a/cmd/part.c b/cmd
17 matches
Mail list logo