[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
HI miung,
If you are not using the module you can remove it for Kenel build in the menuconfig. If you are using the module con can look for it in the menuconfig an build it as 'M' instead of '*'. This way you will be able to remove it.
Regards,
Carlos
NXP Technical Support
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------
Do you mean I should do:
bitbake linux-imx -c menuconfig ?
I got many errors when I do this !!! (I am also trying to get rid of the generic Bluetooth "btusb.ko" driver !!!
Here are the errors: