| #
1a4f6af8 |
| 02-Mar-2020 |
Joseph Chen <chenjh@rock-chips.com> |
Merge branch 'next-dev' into thunder-boot
|
| #
fd633ddc |
| 20-Nov-2019 |
Jason Zhu <jason.zhu@rock-chips.com> |
android: add function android_bcb_write
Change-Id: Ie65068dc4fca751a9bcc959c56209aaf4729f638 Signed-off-by: Jason Zhu <jason.zhu@rock-chips.com>
|
| #
b8dc613c |
| 19-Nov-2019 |
Joseph Chen <chenjh@rock-chips.com> |
Merge branch 'next-dev' into thunder-boot
|
| #
c6666740 |
| 24-Oct-2019 |
Joseph Chen <chenjh@rock-chips.com> |
common: android/rkimg: remove/clean android a/b (slot) code
- the partition disk layer takes over the responsibility of slot suffix appending, we remove relative code to make file clean; - put and
common: android/rkimg: remove/clean android a/b (slot) code
- the partition disk layer takes over the responsibility of slot suffix appending, we remove relative code to make file clean; - put android a/b code together and name them to be eary understood, this makes file esay to read.
Change-Id: Id8c838da682ce6098bd7192d7d7c64269f4e86ba Signed-off-by: Joseph Chen <chenjh@rock-chips.com>
show more ...
|
| #
503a892f |
| 14-May-2019 |
Joseph Chen <chenjh@rock-chips.com> |
common: android: avb support load android image separate
Skip fdt and ramdisk relocation to save boot time.
Change-Id: I56fd2fca97fa7795024aa542f0a45d0512be01d4 Signed-off-by: Joseph Chen <chenjh@r
common: android: avb support load android image separate
Skip fdt and ramdisk relocation to save boot time.
Change-Id: I56fd2fca97fa7795024aa542f0a45d0512be01d4 Signed-off-by: Joseph Chen <chenjh@rock-chips.com>
show more ...
|
| #
8e66ecd2 |
| 29-Jan-2019 |
Joseph Chen <chenjh@rock-chips.com> |
android: fix get wrong ramdisk address when avb verify
- add interface to get android avb enable state; - get ramdisk from "ramdisk_addr_r" only when android avb disabled and CONFIG_ANDROID_BOOT_I
android: fix get wrong ramdisk address when avb verify
- add interface to get android avb enable state; - get ramdisk from "ramdisk_addr_r" only when android avb disabled and CONFIG_ANDROID_BOOT_IMAGE_SEPARATE is enabled;
(fixes: 644e344 android: support loading android image separate)
Change-Id: I7280f911a0c5db851d119acb458b3f335dc28bce Signed-off-by: Joseph Chen <chenjh@rock-chips.com>
show more ...
|
| #
f8dbe861 |
| 01-Aug-2018 |
Joseph Chen <chenjh@rock-chips.com> |
android: support dtb overlay
- read dtbo from recovery or dtbo partition; - append "androidboot.dtbo_idx" to cmdline; - apply dtb overlay when first read kernel dtb; - pass dtb that first time read
android: support dtb overlay
- read dtbo from recovery or dtbo partition; - append "androidboot.dtbo_idx" to cmdline; - apply dtb overlay when first read kernel dtb; - pass dtb that first time read to kernel;
Change-Id: Iba5c02c1307d3dad69ef96d3b3b0927fb507be8f Signed-off-by: Joseph Chen <chenjh@rock-chips.com>
show more ...
|
| #
2301a6f5 |
| 25-Feb-2018 |
Jason Zhu <jason.zhu@rock-chips.com> |
rockchip: resrouce_img: support a/b
If apply the a/b system, open the macro CONFIG_ANDROID_AB. Then get the dtb from the boot '_a' or '_b' image.
Change-Id: I21ad9d5a5e6e63e26bc16b1aeeb2e690c669a53
rockchip: resrouce_img: support a/b
If apply the a/b system, open the macro CONFIG_ANDROID_AB. Then get the dtb from the boot '_a' or '_b' image.
Change-Id: I21ad9d5a5e6e63e26bc16b1aeeb2e690c669a535 Signed-off-by: Jason Zhu <jason.zhu@rock-chips.com>
show more ...
|
| #
891380b5 |
| 23-Nov-2017 |
Kever Yang <kever.yang@rock-chips.com> |
cmd: boot_android: support legacy aosp image from rockchip
New cmd usage: boot_android mmc 0
update boot_android: - do not need provide argv for misc partition and slot - If CONFIG_ROCKCHIP_RESOURC
cmd: boot_android: support legacy aosp image from rockchip
New cmd usage: boot_android mmc 0
update boot_android: - do not need provide argv for misc partition and slot - If CONFIG_ROCKCHIP_RESOURCE_IMAGE is enabled, try to get dtb from resource partition.
Change-Id: I7242880f9cde916ca10d677ddac07790c66a07a4 Signed-off-by: Jason Zhu <jason.zhu@rock-chips.com> Signed-off-by: Kever Yang <kever.yang@rock-chips.com>
show more ...
|
| #
b3b934b6 |
| 17-Nov-2017 |
Jason Zhu <jason.zhu@rock-chips.com> |
android: boot the system without a/b and avb
Change-Id: I9a6da661c9cf17e2e3190b55f18acd600f9b63f1 Signed-off-by: Jason Zhu <jason.zhu@rock-chips.com>
|
| #
de183ed0 |
| 18-Sep-2017 |
Jason Zhu <jason.zhu@rock-chips.com> |
android: declare some functions externally
In file boot_android.c, we use some functions belong to common/android_bootloader.c. BUt these functions attribute are static. So we modify these functions
android: declare some functions externally
In file boot_android.c, we use some functions belong to common/android_bootloader.c. BUt these functions attribute are static. So we modify these functions used in the boot_android.c.
And android_avb_boot_flow is added to boot a/b android system.
Change-Id: I3ebc0a6fb24691ab1a0f8475220e16ca633412f1 Signed-off-by: Jason Zhu <jason.zhu@rock-chips.com>
show more ...
|
| #
80622240 |
| 25-Mar-2017 |
Alex Deymo <deymo@google.com> |
boot_android: Pass the slot from the command.
In order to support booting from either slot, this patch passes the slot name from the command line.
Bug: 32707546 Test: Booted rpi3. Change-Id: I30582
boot_android: Pass the slot from the command.
In order to support booting from either slot, this patch passes the slot name from the command line.
Bug: 32707546 Test: Booted rpi3. Change-Id: I30582bd8b1b95dc0f25b0c6624e7909ee4118bd0
show more ...
|
| #
67dac674 |
| 09-Nov-2016 |
Alex Deymo <deymo@google.com> |
Initial support for the Android Bootloader flow
An Android Bootloader must comply with certain boot modes and change the kernel command line accordingly. This patch introduces the Android boot mode
Initial support for the Android Bootloader flow
An Android Bootloader must comply with certain boot modes and change the kernel command line accordingly. This patch introduces the Android boot mode concept which determines whether the device should boot to one of the following: * recovery: which should boot to the recovery image, * bootloader: which should boot to the "bootloader" (fastboot) and * normal: which should boot to the system image.
The boot mode is determined in part by the Boot Control Block (BCB) which is stored at the beginning of the "misc" partition. The BCB is defined in the "bootloader_message.h" file in AOSP, now copied here as android_bootloader_message.h with minor modifications.
This patch implements the basic boot flow that loads and boots an Android kernel image assuming an A/B device which implies that it uses boot as recovery (BOARD_USES_RECOVERY_AS_BOOT in the BoardConfig.mk). This means that the recovery image shares the same kernel with the normal boot system image, but stores the recovery image as a ramdisk which is not used in normal mode.
Among the limitations, this patch doesn't implement the A/B slot selection, it only boots from the slot "a".
Bug: 31887729 Test: Booted a rpi3 with this flow.
Signed-off-by: Alex Deymo <deymo@google.com> Change-Id: Ia2932c6f398f1ae713f0cd9670828f84103dca38 update setenv/getenv to env_set/env_get. Signed-off-by: Kever Yang <kever.yang@rock-chips.com>
show more ...
|