From eead637cec071f42eeee220909bffa8e9a887803 Mon Sep 17 00:00:00 2001 From: "Chung-Kai (Michael) Mei" Date: Wed, 24 May 2023 05:28:34 +0000 Subject: [PATCH] Revert^3 "shusky: disable parallel module loading" This reverts commit 04716d571187561a8bd0d02f0a8cf332dc8c4d05. Reason for revert: Now we can enter fastbootd normally. Test: shiba rebooted 1000 times without failure Bug: 280112517 Change-Id: I92736b1e535468083b35058f83a91ad153b6c5c6 --- husky/BoardConfig.mk | 6 ++++++ ripcurrent/BoardConfig.mk | 6 ++++++ shiba/BoardConfig.mk | 6 ++++++ 3 files changed, 18 insertions(+) diff --git a/husky/BoardConfig.mk b/husky/BoardConfig.mk index 205ca79..a88a5c6 100644 --- a/husky/BoardConfig.mk +++ b/husky/BoardConfig.mk @@ -14,6 +14,12 @@ # limitations under the License. # +# Enable load module in parallel +BOARD_BOOTCONFIG += androidboot.load_modules_parallel=true + +# The modules which need to be loaded in sequential +BOARD_KERNEL_CMDLINE += exynos_drm.load_sequential=1 + TARGET_BOARD_INFO_FILE := device/google/shusky/board-info.txt TARGET_BOOTLOADER_BOARD_NAME := husky TARGET_SCREEN_DENSITY := 520 diff --git a/ripcurrent/BoardConfig.mk b/ripcurrent/BoardConfig.mk index 1b5c405..9950fca 100644 --- a/ripcurrent/BoardConfig.mk +++ b/ripcurrent/BoardConfig.mk @@ -14,6 +14,12 @@ # limitations under the License. # +# Enable load module in parallel +BOARD_BOOTCONFIG += androidboot.load_modules_parallel=true + +# The modules which need to be loaded in sequential +BOARD_KERNEL_CMDLINE += exynos_drm.load_sequential=1 + TARGET_BOARD_INFO_FILE := device/google/shusky/board-info.txt TARGET_BOOTLOADER_BOARD_NAME := ripcurrent TARGET_SCREEN_DENSITY := 440 diff --git a/shiba/BoardConfig.mk b/shiba/BoardConfig.mk index 2acc2a4..92ab17c 100644 --- a/shiba/BoardConfig.mk +++ b/shiba/BoardConfig.mk @@ -14,6 +14,12 @@ # limitations under the License. # +# Enable load module in parallel +BOARD_BOOTCONFIG += androidboot.load_modules_parallel=true + +# The modules which need to be loaded in sequential +BOARD_KERNEL_CMDLINE += exynos_drm.load_sequential=1 + TARGET_BOARD_INFO_FILE := device/google/shusky/board-info.txt TARGET_BOOTLOADER_BOARD_NAME := shiba TARGET_SCREEN_DENSITY := 420