Start low-level drivers development for Android

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

Start low-level drivers development for Android

655 Views
artemdmitriev
Contributor I

Hello!

I am going to develop a custom board with IMX6 DUAL LIGHT processor with android and microSD and DDR memories only (without eMMC, NAND, NOR). 

What documents can i read to start learning how to develop drivers, port firmwares, build firmware, kernel from sources? I am embedded developer, I know how to work with Cortex-M controllers, know Cortex-A architecture a little. But i don't understand how Linux kernel and Android sources are work together. As i know, a kernel and sources can be built separately and can be flashed separately. But how a kernel driver's API work with android sources API if they are compiled separately, how Android system can call functions in kernel? How to debug a kernel, via JTAG?

Thank you for answers!

Labels (4)
0 Kudos
4 Replies

582 Views
Rita_Wang
NXP TechSupport
NXP TechSupport

About the debug, the i.MX6 board use the usb-uart port. Use the usb-otg to download the images to board.

0 Kudos

582 Views
artemdmitriev
Contributor I

Can i debug kernel via USB?

0 Kudos

582 Views
Rita_Wang
NXP TechSupport
NXP TechSupport

Hi,

Which version of android BSP are you using?

Have a nice day

Rita

0 Kudos

582 Views
artemdmitriev
Contributor I

I have VAR-SOM-MX6 CPU: NXP/Freescale iMX6 - Variscite   board now. I want to use their BSP. Can you advice documents about android on IMX?

0 Kudos