AnsweredAssumed Answered

Updated FlexCAN Documentation in Android OS

Question asked by Aaron Thompson on Aug 29, 2017
Latest reply on Sep 6, 2017 by Aaron Thompson

Hello, 

 

My aim is to be able to communicate through the CAN network on a Sabre SD i.MX6 device running Android 7.1.1

I have found a number of forum posts around this topic however most are now +4/5 years old and some of the steps do not seem to work with newer versions of android.

 

I am following this How to use FlexCAN in Android OS as closely as possible, however I cannot get the 'can0' device to appear when typing the command "ifconfig -a" (I just get 'sit0', 'lo' and 'eth0').

 

The 1st issue is in the "Adding Flexcan driver support on Kernel" in All Boards FlexCAN  the <*>Freescale FlexCAN does not appear in the kernel menuconfig.

Does the latest kernel from git.freescale.com/imx/linux-imx.git contain the Freescale FlexCAN drivers?

 

The 2nd issue I'm having is that any changes I make in the kernel menuconfig appear to be overwritten when building the AOSP using the steps in section 3.3 of Android_User's_Guide.pdf from Android OS for i.MX Applications Processors|NXP 

Would adding items to: kernel_imx/arch/arm/configs/imx_v7_android_defconfig cause them to be built with the AOSP?

 

Thank you for any support on these issues.

Aaron

Outcomes