summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDenis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org>2021-09-27 17:28:03 +0200
committerDenis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org>2021-09-27 17:28:34 +0200
commite7f29640047b2eb9562a56e39b2caa76aa79a0b8 (patch)
tree0a2083aeaff7feadf397ed28f29ca4cd39a65650
parentbbf0f98e5732d2d8d716e711242a1769cf5d5fa2 (diff)
downloaddevice_samsung_midas_common-e7f29640047b2eb9562a56e39b2caa76aa79a0b8.tar.gz
device_samsung_midas_common-e7f29640047b2eb9562a56e39b2caa76aa79a0b8.tar.bz2
device_samsung_midas_common-e7f29640047b2eb9562a56e39b2caa76aa79a0b8.zip
Recovery: use replicant_recovery_defconfig
We need the shrink the recovery kernel image as much as possible to make the recovery bootimage fit within the RECOVERY partition whose size is 8MiB as we don't have (yet) any bootloader that could take care of loading the kernel from the BOOT bootimage and the initramfs from the RECOVERY bootimage to make booting to the recovery completely transparent to the users. See the "Build separate recovery kernel image" commit in build/make for more details on the possible tradeoffs being made here. Signed-off-by: Denis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org>
-rw-r--r--BoardConfigCommon.mk8
1 files changed, 8 insertions, 0 deletions
diff --git a/BoardConfigCommon.mk b/BoardConfigCommon.mk
index a7e971b..f68b796 100644
--- a/BoardConfigCommon.mk
+++ b/BoardConfigCommon.mk
@@ -100,4 +100,12 @@ BOARD_RAMDISK_USE_XZ := true
BOARD_USES_FULL_RECOVERY_IMAGE := false
BOARD_USES_RECOVERY_AS_BOOT := false
+#############################
+# Software: Recovery kernel #
+#############################
+BOARD_RECOVERY_KERNEL_IMAGE_NAME := zImage-dtb
+TARGET_RECOVERY_KERNEL_CLANG_COMPILE := true
+TARGET_RECOVERY_KERNEL_CONFIG := replicant_recovery_defconfig
+TARGET_RECOVERY_KERNEL_SOURCE := kernel/replicant/linux
+
-include vendor/replicant/config/BoardConfigReplicant.mk