From a8dd10b422fb775492ee0a3dd25387513d0bd9ff Mon Sep 17 00:00:00 2001 From: Yongqin Liu Date: Sat, 19 Nov 2022 02:10:54 +0800 Subject: [PATCH] ANDROID: BUILD.bazel: db845c: integrate gki can.ko libarc4.ko rfkill.ko as they are required by the db845c vendor modules. Otherwise error like the following will be reported: [ 1.850121][ T1] init: Loading module /lib/modules/cfg80211.ko with args '' [ 1.865624][ T1] cfg80211: Unknown symbol rfkill_alloc (err -2) [ 1.871916][ T1] cfg80211: Unknown symbol rfkill_register (err -2) [ 1.878426][ T1] cfg80211: Unknown symbol rfkill_destroy (err -2) [ 1.884845][ T1] cfg80211: Unknown symbol rfkill_resume_polling (err -2) [ 1.891889][ T1] cfg80211: Unknown symbol rfkill_unregister (err -2) [ 1.898621][ T1] cfg80211: Unknown symbol rfkill_set_hw_state_reason (err -2) [ 1.906236][ T1] cfg80211: Unknown symbol rfkill_blocked (err -2) [ 1.942752][ T1] init: Failed to insmod '/lib/modules/cfg80211.ko' with args '': No such file or directory [ 1.952811][ T1] init: LoadWithAliases was unable to load /lib/modules/cfg80211.ko Fixes: 6a0f9b1a5aa6 ("ANDROID: GKI: Convert RF switch subsys as module") Fixes: 6647fadd21af ("ANDROID: GKI: Convert CAN Bus Subsystem as module") Fixes: 01d9b23ec3b1 ("ANDROID: GKI: Convert Net PPP Protocol as module") Test: boot the db845c build to homescreen Change-Id: Ia2a072a9d422922a0400495a2107ea0967493ba7 Signed-off-by: Yongqin Liu --- BUILD.bazel | 3 +++ 1 file changed, 3 insertions(+) diff --git a/BUILD.bazel b/BUILD.bazel index ead27bb8d8f0..bdd9830f6270 100644 --- a/BUILD.bazel +++ b/BUILD.bazel @@ -67,10 +67,13 @@ define_db845c( ], gki_modules_list = [ # keep sorted + "//common:kernel_aarch64/can.ko", "//common:kernel_aarch64/can-bcm.ko", "//common:kernel_aarch64/can-dev.ko", "//common:kernel_aarch64/can-gw.ko", "//common:kernel_aarch64/can-raw.ko", + "//common:kernel_aarch64/libarc4.ko", + "//common:kernel_aarch64/rfkill.ko", "//common:kernel_aarch64/slcan.ko", "//common:kernel_aarch64/vcan.ko", ],