imx8mq: How to build USB serial option driver for imx8mq android12

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

imx8mq: How to build USB serial option driver for imx8mq android12

470 Views
vsuneja63
Contributor III

Hi,

Thanks!

I build & flashed android 12 in imx8mq. Now i am trying to interface GPS/GSM module with evk, for the same i enabled USB serial option driver in gki_defconfig. After enabling in config I could see USB serial option source build & option.o also created but when i connect GPS module couldn't see the device showing up, even if i configured it as module then option.ko generated but not becoming the part of final image. 

Can you help me with the steps to build a kernel driver for android12? Any suggestion on this will be really helpful.

Labels (1)
0 Kudos
1 Reply

421 Views
Dhruvit
NXP TechSupport
NXP TechSupport

Hi @vsuneja63,

I hope you are doing well.

To make a driver part of the final linux image one can add the path of the driver in early.init.cfg file located at <Android_home>/device/nxp/imx8m/evk_8mq/ & then build it again.

insmod <path to option.ko>

 

Thanks & Regards,

Dhruvit Vasavada

Tags (1)
0 Kudos