Add GPS to 8QuadXPlus (C0)

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

Add GPS to 8QuadXPlus (C0)

282 Views
svoiQ
Contributor III

Hello,

I have a GPS module (GY-GPS6MV2) and I would like to add it to the 8QuadXPlus (C0) board running Android Automotive OS, to have GPS functionality. This module uses serial to send the GPS information to the CPU.

Is there a way to read the messages from the module in the OS and expose it to apps running on AAOS, without buying any other boards?

Thank you in advance,

Voicu

0 Kudos
Reply
1 Reply

262 Views
Bio_TICFSL
NXP TechSupport
NXP TechSupport

Hello,

You can try to set this boot targets during the boot process.

setenv bootargs 'console=ttymxc2,115200 init=/init video=mxcfb0:dev=ldb,1024x768M@60,bpp=32 video=mxcfb1:off video=mxcfb2:off video=mxcfb3:off vmalloc=400M androidboot.console=ttymxc2 consoleblank=0 androidboot.hardware=freescale cma=384M androidboot.selinux=disabled androidboot.dm_verity=disabled no_console_suspend'

 

I haven't tested this configuration with an app. But I can write to the serial ports thought shell commands.

 

I found this web-page that can help you with your problem. I haven't tested the solution, but you can try it and see if it works.

Android* Security Customization with SEAndroid - CodeProject 

I hope this can solve your problem.

 

Regards

0 Kudos
Reply