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/fas
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
ring literals
to bcb_write_reboot_reason().
[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 -
incl
rm/bootable/recovery/+/eee4e260f9f6
("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: Eug
ith a user/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 +
ith a user/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 +
ith a user/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 K
s
cmd: bcb: Extract '__bcb_store' from '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:
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
ring literals
to bcb_write_reboot_reason().
[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 -
incl
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
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/fas
rm/bootable/recovery/+/eee4e260f9f6
("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: Eug
ith a user/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 K
ith a user/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 +
ith a user/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 +
store' from '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 i
ring literals
to bcb_write_reboot_reason().
[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 -
incl
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
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/fas
rm/bootable/recovery/+/eee4e260f9f6
("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: Eug
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/fas
ith a user/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 +
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
ith a user/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 +
store' from '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 i
ith a user/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 K
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
ly reboot device 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:
.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/
[7] -
http://patchwork.ozlabs.org/project/uboot/cover/cover.1592871839.git.r
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
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
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
ly reboot device 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:
over/cover.1590539734.git.roman.kovalivs...@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/
R
ly reboot device 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:
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
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
android.com/devices/bootloader/fastbootd#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/
R
his
command should simply reboot device 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
ttp://patchwork.ozlabs.org/project/uboot/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
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 +++
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 tool
s://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 Stratiienko
Change-Id: I9d2bdc9a6f6f31ea98572fe155e1cc8341e9af76
---
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 'bo
45 matches
Mail list logo