How to disable imx serial drivers

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

How to disable imx serial drivers

910件の閲覧回数
joseargao
Contributor I

I am currently working on a custom imx6 board and tweaking the imx tty driver for my needs. My current workflow involves applying a patch to drivers/tty/serial/imx.c during the image build process. It's a bit cumbersome to have to create and flash a new image every time I make a small change to the driver, though.

What I would like to be able to do is just create new builds of the driver and load/unload it into the system as needed. I know I can add kernel headers to the image by adding kernel-dev to IMAGE_INSTALL_append in local.conf, but I wouldn't be able to load it as the UART is being held by the default imx driver. How could I disable this driver from being loaded, so I can build and load my own?

ラベル(2)
0 件の賞賛
1 返信

827件の閲覧回数
b36401
NXP Employee
NXP Employee

You can remove unnecessary driver with menuconfig of the kernel.

0 件の賞賛