How to disable imx serial drivers

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

How to disable imx serial drivers

855 Views
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?

Labels (2)
0 Kudos
1 Reply

772 Views
b36401
NXP Employee
NXP Employee

You can remove unnecessary driver with menuconfig of the kernel.

0 Kudos