AnsweredAssumed Answered

[i.MX6] how to remove a built-in kernel driver?

Question asked by myung lee on Jun 2, 2018
Latest reply on Jun 4, 2018 by Carlos_Musich

[i.MX6] how to remove a built-in kernel driver? such as 'btusb.ko'?

 

(kernel version: linux-imx-rel_imx_4.1.15_2.0.0_ga)

 

The 'btusb.ko' is an built-in kernel dirver and can't be removed by doing following.
    root@imx6sxsabresd:/etc/bluetooth# modprobe -r btusb
    modprobe: FATAL: Module btusb is builtin.

 

Just rebuilding the zImage with following configuration doesn't remove it,
    CONFIG_BT=n
    CONFIG_BT_HCIBTUSB=n

 

how to remove a built-in kernel driver? such as 'btusb.ko'?
Regards, Myung

Outcomes