unabel to load module .ko using init.rc

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

unabel to load module .ko using init.rc

1,724 Views
susangracerapak
Contributor II

Hi ,

I am working on Android Oreo build, on i.Mx6 SabreSD platform.

I am trying to install custom driver modules using /device/fsl/sabresd_6dq/init.rc file [same is working for Nougat]. I am unable to insert driver modules In Oreo .Please anyone help me ?

# INSMOD START
        insmod /system/lib/onebox_common_gpl.ko
        insmod /system/lib/wlan.ko
        insmod /system/lib/wlan_wep.ko
        insmod /system/lib/wlan_tkip.ko
        insmod /system/lib/wlan_ccmp.ko
        insmod /system/lib/wlan_acl.ko
        insmod /system/lib/wlan_xauth.ko
        insmod /system/lib/wlan_scan_sta.ko
        insmod /system/lib/onebox_wlan_nongpl.ko
        insmod /system/lib/onebox_wlan_gpl.ko
        insmod /system/lib/onebox_bt_nongpl.ko bt_rf_tx_power_mode=0 bt_rf_rx_power_mode=0
        insmod /system/lib/onebox_bt_gpl.ko
        insmod /system/lib/onebox_nongpl.ko driver_mode=1 firmware_path=/system/lib/firmware/ onebox_zone_enabled=0x50013 ta_aggr=4 skip_fw_load=0 fw_load_mode=1 sdio_clock=12000 coex_mode=1
        insmod /system/lib/onebox_gpl.ko
# INSMOD END

Regards

Susan

0 Kudos
Reply
1 Reply

1,282 Views
diegoadrian
NXP Employee
NXP Employee

Hello,

You can look the below website. Probably it can solve your question:

How do you create a loadable kernel module for Android? - Stack Overflow 

Best Regards,

Diego.

0 Kudos
Reply