u-boot-brain/drivers
Roman Kovalivskyi 2b2a771b40 fastboot: Add support for 'reboot fastboot' command
Android 10 adds support for dynamic partitions and in order to support
this userspace fastboot must be used[1]. New tool fastbootd is
included into recovery.

Userspace fastboot works from recovery and is launched if:
1) - Dynamic partitioning is enabled
2) - Boot control block has 'boot-fastboot' value into command field
The bootloader is expected to load and boot into the recovery image
upon seeing boot-fastboot in the BCB command. Recovery then parses the
BCB message and switches to fastbootd mode[2].

Please note that boot script is expected to handle 'boot-fastboot'
command in BCB and load into recovery mode.

Bootloader must support 'reboot fastboot' command which should reboot
device into userspace fastboot to accomodate those changes[3].

Another command that bootloader must support[3] is 'reboot recovery'. This
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_to_the_bootloader

Signed-off-by: Roman Kovalivskyi <roman.kovalivskyi@globallogic.com>
Signed-off-by: Roman Stratiienko <r.stratiienko@gmail.com>
Change-Id: I9d2bdc9a6f6f31ea98572fe155e1cc8341e9af76
2020-09-01 14:47:43 +02:00
..
adc adc: Drop dm.h header file 2020-08-03 22:19:54 -04:00
ata Merge https://gitlab.denx.de/u-boot/custodians/u-boot-marvell 2020-08-25 13:38:29 -04:00
axi common: Drop linux/bitops.h from common header 2020-05-18 21:19:23 -04:00
bios_emulator common: Drop linux/delay.h from common header 2020-05-18 21:19:23 -04:00
block xen: pvblock: Add initial support for para-virtualized block driver 2020-08-14 15:18:30 -04:00
board common: Drop log.h from common header 2020-05-18 21:19:18 -04:00
bootcount bootcount_ext: Add Ext4 build dependency 2020-06-02 17:27:04 -04:00
bus bus: uniphier-system-bus: move hardware init from board files 2020-07-11 21:30:21 +09:00
button dm: button: add a driver for button driven by gpio 2020-07-28 19:30:39 -06:00
cache common: Drop linux/bitops.h from common header 2020-05-18 21:19:23 -04:00
clk clk: mt7622: add needed clocks for ssusb-node 2020-08-24 14:11:31 -04:00
core dm: core: Add API to read PCI bus-range property 2020-08-25 05:41:09 +02:00
cpu cpu: Convert the methods to use a const udevice * 2020-07-25 14:46:57 -06:00
crypto crypto/fsl: add RNG support 2020-07-27 14:16:29 +05:30
ddr imx8m: ddrphy_utils: Improve coding style 2020-07-27 14:02:28 +02:00
demo common: Drop log.h from common header 2020-05-18 21:19:18 -04:00
dfu dfu: fix dfu tftp on sandbox 2020-09-01 14:47:43 +02:00
dma treewide: convert devfdt_get_addr() to dev_read_addr() 2020-07-25 14:46:57 -06:00
fastboot fastboot: Add support for 'reboot fastboot' command 2020-09-01 14:47:43 +02:00
firmware firmware: ti_sci: Drop unused structure ti_sci_rm_type_map 2020-08-31 14:39:39 +05:30
fpga xilinx: zynqmp: synchronize firmware call return payload 2020-08-20 09:49:20 +02:00
gpio treewide: convert devfdt_get_addr_ptr() to dev_read_addr_ptr() 2020-08-22 08:53:37 -06:00
hwspinlock common: Drop linux/bitops.h from common header 2020-05-18 21:19:23 -04:00
i2c Link failure with CONFIG_SPL and CONFIG_I2C_MUX_PCA954x 2020-08-25 06:25:42 +02:00
input treewide: convert (void *)devfdt_get_addr() to dev_read_addr_ptr() 2020-07-25 14:46:57 -06:00
led led: led_cortina: Add CAxxx LED support 2020-08-07 22:31:32 -04:00
mailbox xilinx: zynqmp: fix incorrect map not align with IPI HW 2020-08-20 09:49:20 +02:00
memory memory: stm32-fmc2-ebi: add STM32 FMC2 EBI controller driver 2020-08-13 09:53:34 +02:00
misc i2c: eeprom: Use reg property instead of offset and size 2020-08-20 09:49:20 +02:00
mmc mmc: xenon: set signal voltage and max base clock 2020-08-31 14:45:53 +02:00
mtd mtd: rawnand: stm32_fmc2: get resources from parent node 2020-08-13 09:53:34 +02:00
net xilinx: kconfig: Change Kconfig dependencies for Xilinx drivers 2020-08-20 09:46:55 +02:00
nvme nvme: Invalidate dcache before submitting admin cmd 2020-06-23 14:43:23 -04:00
pch common: Drop log.h from common header 2020-05-18 21:19:18 -04:00
pci arm64: a37xx: pci: Depends on DM_GPIO 2020-08-31 14:45:53 +02:00
pci_endpoint Merge https://gitlab.denx.de/u-boot/custodians/u-boot-fsl-qoriq 2020-07-27 15:18:15 -04:00
phy phy: mtk-tphy: make shared reg optional for v1 2020-08-24 14:11:31 -04:00
pinctrl treewide: convert devfdt_get_addr_ptr() to dev_read_addr_ptr() 2020-08-22 08:53:37 -06:00
power power: Tidy up inclusion of regulator_common.h 2020-08-03 22:19:54 -04:00
pwm treewide: convert (void *)devfdt_get_addr() to dev_read_addr_ptr() 2020-07-25 14:46:57 -06:00
qe treewide: convert bd_t to struct bd_info by coccinelle 2020-07-17 09:30:13 -04:00
ram ram: sifive: Fix compiler warnings for 32-bit 2020-08-25 09:33:16 +08:00
remoteproc common: Drop log.h from common header 2020-05-18 21:19:18 -04:00
reset treewide: convert devfdt_get_addr_ptr() to dev_read_addr_ptr() 2020-08-22 08:53:37 -06:00
rng common: Drop linux/bitops.h from common header 2020-05-18 21:19:23 -04:00
rtc treewide: convert devfdt_get_addr() to dev_read_addr() 2020-07-25 14:46:57 -06:00
scsi common: Drop log.h from common header 2020-05-18 21:19:18 -04:00
serial treewide: convert devfdt_get_addr_ptr() to dev_read_addr_ptr() 2020-08-22 08:53:37 -06:00
smem common: Drop linux/bug.h from common header 2020-05-18 21:19:23 -04:00
soc soc: soc_ti_k3: Add device identification for J7200 SoC 2020-08-11 20:34:46 +05:30
sound sound: Add an ACPI driver for Maxim MAX98357ac 2020-07-17 14:32:24 +08:00
spi treewide: convert devfdt_get_addr_ptr() to dev_read_addr_ptr() 2020-08-22 08:53:37 -06:00
spmi treewide: convert devfdt_get_addr() to dev_read_addr() 2020-07-25 14:46:57 -06:00
sysreset treewide: convert devfdt_get_addr_ptr() to dev_read_addr_ptr() 2020-08-22 08:53:37 -06:00
tee drivers: tee: broadcom: add optee based bnxt fw load driver 2020-07-29 10:37:11 -04:00
thermal thermal: imx_scu_thermal: prevent boot hang with zero pdata 2020-05-22 13:29:25 +02:00
timer treewide: convert devfdt_get_addr_ptr() to dev_read_addr_ptr() 2020-08-22 08:53:37 -06:00
tpm drivers: rename drivers to match compatible string 2020-07-09 18:57:22 -06:00
ufs ufs: Drop dm.h header file 2020-08-03 22:19:54 -04:00
usb fastboot: Add support for 'reboot fastboot' command 2020-09-01 14:47:43 +02:00
video Convert CONFIG_SPLASH_SCREEN et al to Kconfig 2020-08-23 13:43:10 -04:00
virtio virtio_blk: set log2blksz correctly 2020-08-24 14:11:31 -04:00
w1 treewide: convert devfdt_get_addr() to dev_read_addr() 2020-07-25 14:46:57 -06:00
w1-eeprom common: Drop log.h from common header 2020-05-18 21:19:18 -04:00
watchdog watchdog: Add reset support for OcteonTX / TX2 2020-08-25 08:01:16 +02:00
xen xen: Code style conformity 2020-08-24 14:11:31 -04:00
Kconfig xen: pvblock: Add initial support for para-virtualized block driver 2020-08-14 15:18:30 -04:00
Makefile xen: Port Xen hypervisor related code from mini-os 2020-08-14 15:18:30 -04:00