, then bcb_set_reboot_reason would simply return
error, so it won't introduce any new behaviour for such targets.
Signed-off-by: Roman Kovalivskyi
---
drivers/fastboot/fb_common.c | 12 +++-
1 file changed, 11 insertions(+), 1 deletion(-)
diff --git a/drivers/fastboot/fb_common.c b/drivers/fastboot
0f9f6
("recovery: Add "boot-fastboot" command to BCB.")
[4] https://android.googlesource.com/platform/system/core/+/5e98b633a748695f
("init: Write the reason in BCB on "reboot recovery"")
Signed-off-by: Eugeniu Rosca
Signed-off-by: Rom
().
[1]
http://u-boot.10912.n7.nabble.com/PATCH-v2-0-2-Add-bcb-command-to-read-modify-write-Android-BCB-td369934i20.html#a370456
Cc: Simon Glass
Signed-off-by: Eugeniu Rosca
Signed-off-by: Roman Kovalivskyi
---
cmd/bcb.c | 17 -
include/bcb.h | 4 ++--
2 files changed, 14
commit introduces new generic implementation of
fastboot_set_reboot_flag.
Signed-off-by: Roman Kovalivskyi
---
drivers/fastboot/Kconfig | 12 --
drivers/fastboot/Makefile | 1 -
drivers/fastboot/fb_bcb_impl.c | 43 --
include/fastboot.h
, then bcb_set_reboot_reason would simply return
error, so it won't introduce any new behaviour for such targets.
Signed-off-by: Roman Kovalivskyi
---
drivers/fastboot/fb_common.c | 12 +++-
1 file changed, 11 insertions(+), 1 deletion(-)
diff --git a/drivers/fastboot/fb_common.c b/drivers/fastboot
/caller-friendly prototype (i.e. do not force the caller
to wrap an integer into a string).
This second patch makes '__bcb_set' available for internal needs.
No functional change intended.
Signed-off-by: Eugeniu Rosca
Signed-off-by: Roman Kovalivskyi
---
cmd/bcb.c | 17 +++--
1 file
commit introduces new generic implementation of
fastboot_set_reboot_flag.
Signed-off-by: Roman Kovalivskyi
---
drivers/fastboot/Kconfig | 12 --
drivers/fastboot/Makefile | 1 -
drivers/fastboot/fb_bcb_impl.c | 43 --
include/fastboot.h
/caller-friendly prototype (i.e. do not force the caller
to wrap an integer into a string).
This third patch makes '__bcb_store' available for internal needs.
No functional change intended.
Signed-off-by: Eugeniu Rosca
Signed-off-by: Roman Kovalivskyi
---
cmd/bcb.c | 9 +++--
1 file changed
cmd: bcb: Expose 'bcb_write_reboot_reason' to external callers
cmd: bcb: Add support for processing const string literals in
bcb_set()
Roman Kovalivskyi (2):
Revert "fastboot: Add default fastboot_set_reboot_flag implementation"
fastboot: Implement generic fastboot_set_reboot_
/caller-friendly prototype (i.e. do not force the caller
to wrap an integer into a string).
This first patch makes '__bcb_load' available for internal needs.
No functional change, except for a tiny update in error handling.
Signed-off-by: Eugeniu Rosca
Signed-off-by: Roman Kovalivskyi
---
cmd
Android 10 adds support for dynamic partitions and in order to support
them userspace fastboot must be used[1]. New tool called fastbootd is included
into recovery image.
Userspace fastboot works from recovery and is launched if:
1) - Dynamic partitioning is enabled
2) - Boot control block has
/bootloader/fastbootd#unified_fastboot_and_recovery
[3] -
https://source.android.com/devices/bootloader/fastbootd#modifications_to_the_bootloader
Signed-off-by: Roman Kovalivskyi
Signed-off-by: Roman Stratiienko
Change-Id: I9d2bdc9a6f6f31ea98572fe155e1cc8341e9af76
---
drivers/fastboot/fb_command.c
On 27.05.20 15:56, Alex Kiernan wrote:
> On Wed, May 27, 2020 at 12:14 PM Roman Kovalivskyi
> wrote:
>> From: Roman Stratiienko
>>
>> Android 10 adds support for dynamic partitions and in order to support
>> them userspace fastboot must be used[1]. New
, then bcb_set_reboot_reason would simply return
error, so it won't introduce any new behaviour for such targets.
Signed-off-by: Roman Kovalivskyi
---
drivers/fastboot/fb_common.c | 12 +++-
1 file changed, 11 insertions(+), 1 deletion(-)
diff --git a/drivers/fastboot/fb_common.c b/drivers/fastboot
().
[1]
http://u-boot.10912.n7.nabble.com/PATCH-v2-0-2-Add-bcb-command-to-read-modify-write-Android-BCB-td369934i20.html#a370456
Cc: Simon Glass
Signed-off-by: Eugeniu Rosca
Signed-off-by: Roman Kovalivskyi
---
cmd/bcb.c | 17 -
include/bcb.h | 4 ++--
2 files changed, 14
0f9f6
("recovery: Add "boot-fastboot" command to BCB.")
[4] https://android.googlesource.com/platform/system/core/+/5e98b633a748695f
("init: Write the reason in BCB on "reboot recovery"")
Signed-off-by: Eugeniu Rosca
Signed-off-by: Rom
/caller-friendly prototype (i.e. do not force the caller
to wrap an integer into a string).
This first patch makes '__bcb_load' available for internal needs.
No functional change, except for a tiny update in error handling.
Signed-off-by: Eugeniu Rosca
Signed-off-by: Roman Kovalivskyi
---
cmd
commit introduces new generic implementation of
fastboot_set_reboot_flag.
Signed-off-by: Roman Kovalivskyi
---
drivers/fastboot/Kconfig | 12 --
drivers/fastboot/Makefile | 1 -
drivers/fastboot/fb_bcb_impl.c | 43 --
include/fastboot.h
/caller-friendly prototype (i.e. do not force the caller
to wrap an integer into a string).
This third patch makes '__bcb_store' available for internal needs.
No functional change intended.
Signed-off-by: Eugeniu Rosca
Signed-off-by: Roman Kovalivskyi
---
cmd/bcb.c | 9 +++--
1 file changed
/caller-friendly prototype (i.e. do not force the caller
to wrap an integer into a string).
This second patch makes '__bcb_set' available for internal needs.
No functional change intended.
Signed-off-by: Eugeniu Rosca
Signed-off-by: Roman Kovalivskyi
---
cmd/bcb.c | 17 +++--
1 file
cmd: bcb: Expose 'bcb_write_reboot_reason' to external callers
cmd: bcb: Add support for processing const string literals in
bcb_set()
Roman Kovalivskyi (2):
Revert "fastboot: Add default fastboot_set_reboot_flag implementation"
fastboot: Implement generic fastboot_set_reboot_
...@globallogic.com/
[5] -
http://patchwork.ozlabs.org/project/uboot/cover/cover.1591254465.git.roman.kovalivs...@globallogic.com/
[6] -
http://patchwork.ozlabs.org/project/uboot/cover/cover.1591806433.git.roman.kovalivs...@globallogic.com/
Roman Kovalivskyi (3):
fastboot: Extend
] - https://source.android.com/devices/bootloader/fastbootd
[2] -
https://source.android.com/devices/bootloader/fastbootd#unified_fastboot_and_recovery
[3] -
https://source.android.com/devices/bootloader/fastbootd#modifications_to_the_bootloader
Signed-off-by: Roman Kovalivskyi
Signed-off-by: Roman
lease note that FASTBOOT_USE_BCB_SET_REBOOT_FLAG is mutually exclusive
with some platforms which already have their own implementation of this
function.
Signed-off-by: Roman Kovalivskyi
---
drivers/fastboot/Kconfig | 12 +
drivers/fastboot/Makefile | 1 +
drivers/fastboot/fb_bcb_i
Extend fastboot_set_reboot_flag arguments with reboot reason so that
it could handle different reboot cases in future.
Signed-off-by: Roman Kovalivskyi
---
arch/arm/mach-meson/board-common.c | 6 +-
arch/arm/mach-rockchip/board.c | 6 +-
board/amazon/kc1/kc1.c | 6
#modifications_to_the_bootloader
[4] -
http://patchwork.ozlabs.org/project/uboot/cover/cover.1590539734.git.roman.kovalivs...@globallogic.com/
[5] -
http://patchwork.ozlabs.org/project/uboot/cover/cover.1591254465.git.roman.kovalivs...@globallogic.com/
Roman Kovalivskyi (3):
fastboot: Extend
Extend fastboot_set_reboot_flag arguments with reboot reason so that
it could handle different reboot cases in future.
Signed-off-by: Roman Kovalivskyi
---
arch/arm/mach-meson/board-common.c | 6 +-
arch/arm/mach-rockchip/board.c | 6 +-
board/amazon/kc1/kc1.c | 6
] - https://source.android.com/devices/bootloader/fastbootd
[2] -
https://source.android.com/devices/bootloader/fastbootd#unified_fastboot_and_recovery
[3] -
https://source.android.com/devices/bootloader/fastbootd#modifications_to_the_bootloader
Signed-off-by: Roman Kovalivskyi
Signed-off-by: Roman
lease note that FASTBOOT_USE_BCB_SET_REBOOT_FLAG is mutually exclusive
with some platforms which already have their own implementation of this
function.
Signed-off-by: Roman Kovalivskyi
---
drivers/fastboot/Kconfig | 9 +++
drivers/fastboot/Makefile | 1 +
drivers/fastboot/fb_bcb_i
into recovery mode.
[1] - https://source.android.com/devices/bootloader/fastbootd
[2] -
https://source.android.com/devices/bootloader/fastbootd#unified_fastboot_and_recovery
[3] -
https://source.android.com/devices/bootloader/fastbootd#modifications_to_the_bootloader
Signed-off-by: Roman
/cover/cover.1590539734.git.roman.kovalivs...@globallogic.com/
Roman Kovalivskyi (1):
fastboot: add default fastboot_set_reboot_flag implementation
Roman Stratiienko (1):
fastboot: add support for 'reboot fastboot' command
arch/arm/mach-meson/board-common.c | 7 -
arch/arm/mach-rockchip
lease note that FASTBOOT_USE_BCB_SET_REBOOT_FLAG is mutually exclusive
with some platforms which already have their own implementation of this
function.
Signed-off-by: Roman Kovalivskyi
---
drivers/fastboot/Kconfig | 9 +
drivers/fastboot/fb_common.c | 36 +++
/project/uboot/cover/cover.1591254465.git.roman.kovalivs...@globallogic.com/
[6] -
http://patchwork.ozlabs.org/project/uboot/cover/cover.1591806433.git.roman.kovalivs...@globallogic.com/
[7] -
http://patchwork.ozlabs.org/project/uboot/cover/cover.1592871839.git.roman.kovalivs...@globallogic.com/
Roman
Extend fastboot_set_reboot_flag arguments with reboot reason so that
it could handle different reboot cases in future.
Signed-off-by: Roman Kovalivskyi
---
arch/arm/mach-meson/board-common.c | 6 +-
arch/arm/mach-rockchip/board.c | 6 +-
board/amazon/kc1/kc1.c | 6
] - https://source.android.com/devices/bootloader/fastbootd
[2] -
https://source.android.com/devices/bootloader/fastbootd#unified_fastboot_and_recovery
[3] -
https://source.android.com/devices/bootloader/fastbootd#modifications_to_the_bootloader
Signed-off-by: Roman Kovalivskyi
Signed-off-by: Roman
lease note that FASTBOOT_USE_BCB_SET_REBOOT_FLAG is mutually exclusive
with some platforms which already have their own implementation of this
function.
Signed-off-by: Roman Kovalivskyi
---
drivers/fastboot/Kconfig | 12 ++
drivers/fastboot/Makefile | 1 +
drivers/fastboot/fb_bcb_i
it reverts that implementtion in order to bring a
new cleaner one.
Next commit introduces new generic implementation of
fastboot_set_reboot_flag.
Signed-off-by: Roman Kovalivskyi
---
drivers/fastboot/Kconfig | 12 --
drivers/fastboot/Makefile | 1 -
drivers/fastboot
/caller-friendly prototype (i.e. do not force the caller
to wrap an integer into a string).
This first patch makes '__bcb_load' available for internal needs.
No functional change, except for a tiny update in error handling.
Signed-off-by: Eugeniu Rosca
Signed-off-by: Roman Kovalivskyi
---
cmd
/caller-friendly prototype (i.e. do not force the caller
to wrap an integer into a string).
This third patch makes '__bcb_store' available for internal needs.
No functional change intended.
Signed-off-by: Eugeniu Rosca
Signed-off-by: Roman Kovalivskyi
---
cmd/bcb.c | 9 +++--
1 file changed
'do_bcb_store' for internal needs
cmd: bcb: Expose 'bcb_write_reboot_reason' to external callers
cmd: bcb: Add support for processing const string literals in
bcb_set()
Roman Kovalivskyi (2):
Revert "fastboot: Add default fastboot_set_reboot_flag implementation"
fastboot:
/caller-friendly prototype (i.e. do not force the caller
to wrap an integer into a string).
This second patch makes '__bcb_set' available for internal needs.
No functional change intended.
Signed-off-by: Eugeniu Rosca
Signed-off-by: Roman Kovalivskyi
---
cmd/bcb.c | 17 +++--
1 file
0f9f6
("recovery: Add "boot-fastboot" command to BCB.")
[4] https://android.googlesource.com/platform/system/core/+/5e98b633a748695f
("init: Write the reason in BCB on "reboot recovery"")
Signed-off-by: Eugeniu Rosca
Signed-off-by: Rom
, then bcb_set_reboot_reason would simply return
error, so it won't introduce any new behaviour for such targets.
Signed-off-by: Roman Kovalivskyi
---
drivers/fastboot/fb_common.c | 16 +++-
1 file changed, 15 insertions(+), 1 deletion(-)
diff --git a/drivers/fastboot/fb_common.c b/drivers/fastboot
commit introduces new generic implementation of
fastboot_set_reboot_flag.
Signed-off-by: Roman Kovalivskyi
---
drivers/fastboot/Kconfig | 12 --
drivers/fastboot/Makefile | 1 -
drivers/fastboot/fb_bcb_impl.c | 43 --
include/fastboot.h
().
[1]
http://u-boot.10912.n7.nabble.com/PATCH-v2-0-2-Add-bcb-command-to-read-modify-write-Android-BCB-td369934i20.html#a370456
Cc: Simon Glass
Signed-off-by: Eugeniu Rosca
Signed-off-by: Roman Kovalivskyi
---
cmd/bcb.c | 17 -
include/bcb.h | 4 ++--
2 files changed, 14
45 matches
Mail list logo