How to disable imx serial drivers

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

How to disable imx serial drivers

1,043 次查看
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 回复

960 次查看
b36401
NXP Employee
NXP Employee

You can remove unnecessary driver with menuconfig of the kernel.

0 项奖励
回复