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: 6a0f9b1a5a ("ANDROID: GKI: Convert RF switch subsys as module")
Fixes: 6647fadd21 ("ANDROID: GKI: Convert CAN Bus Subsystem as module")
Fixes: 01d9b23ec3 ("ANDROID: GKI: Convert Net PPP Protocol as module")

Test: boot the db845c build to homescreen

Change-Id: Ia2a072a9d422922a0400495a2107ea0967493ba7
Signed-off-by: Yongqin Liu <yongqin.liu@linaro.org>
This commit is contained in:
Yongqin Liu
2022-11-19 02:10:54 +08:00
committed by Yifan Hong
parent 7b9c0e11b4
commit a8dd10b422

View File

@@ -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",
],