diff options
Diffstat (limited to 'hikey960/BoardConfig.mk')
-rw-r--r-- | hikey960/BoardConfig.mk | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/hikey960/BoardConfig.mk b/hikey960/BoardConfig.mk index 09a1ed70..730d5f55 100644 --- a/hikey960/BoardConfig.mk +++ b/hikey960/BoardConfig.mk @@ -11,8 +11,17 @@ TARGET_NO_DTIMAGE := false BOARD_KERNEL_CMDLINE := androidboot.hardware=hikey960 console=ttyFIQ0 androidboot.console=ttyFIQ0 BOARD_KERNEL_CMDLINE += firmware_class.path=/vendor/firmware loglevel=15 efi=noruntime -#Enable dtb fstab for treble +ifneq ($(TARGET_ANDROID_VERITY),) +# Enable dtb fstab for treble, with verity and system-as-root +# NOTE: Disabled by default until b/111829702 is fixed +BOARD_KERNEL_CMDLINE += overlay_mgr.overlay_dt_entry=hardware_cfg_enable_android_fstab_v2 +BOARD_KERNEL_CMDLINE += rootwait ro init=/init root=/dev/dm-0 +BOARD_KERNEL_CMDLINE += dm=\"system none ro,0 1 android-verity 8:58\" +BOARD_BUILD_SYSTEM_ROOT_IMAGE := true +else +# Enable dtb fstab for treble BOARD_KERNEL_CMDLINE += overlay_mgr.overlay_dt_entry=hardware_cfg_enable_android_fstab +endif ifneq ($(TARGET_SENSOR_MEZZANINE),) BOARD_KERNEL_CMDLINE += overlay_mgr.overlay_dt_entry=hardware_cfg_$(TARGET_SENSOR_MEZZANINE) |