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

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

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

2,951件の閲覧回数
myunglee
Contributor I

[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

0 件の賞賛
返信
2 返答(返信)

2,736件の閲覧回数
Carlos_Musich
NXP Employee
NXP Employee

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!
-----------------------------------------------------------------------------------------------------------------------

0 件の賞賛
返信

2,736件の閲覧回数
albertlai
Contributor I

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: 

0 件の賞賛
返信