FlexCAN on Android 7.1.1

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

FlexCAN on Android 7.1.1

Jump to solution
1,925 Views
tommos23
Contributor III

Hello all,

How do I add the Freescale FlexCAN driver (All Boards FlexCAN ) to the latest android kernel from freescale (n7.1.1_1.0.0-ga)?

Thanks for your help,

Aaron

Labels (2)
0 Kudos
1 Solution
1,166 Views
igorpadykov
NXP Employee
NXP Employee

Hi Aaron

sabre ai image will not work on sabre sd board as these two boards are different.

One can check sabre ai dts for can records and make similar changes to sabre sd file.

Best regards
igor

View solution in original post

5 Replies
1,166 Views
igorpadykov
NXP Employee
NXP Employee

Hi Aaron

seems android flexcan usage may be similar to previous versions, so one can

look at efforts described on

https://community.nxp.com/thread/333623
https://github.com/ryangithub/sunxi-can-driver
https://www.technexion.com/products/system-on-modules/edm/edm-modules/detail/EDM1-CF-IMX6

Best regards
igor
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

0 Kudos
1,166 Views
tommos23
Contributor III

Hi Igor,

Thanks for the reply this will come in very handy in the future but the root problem I am having is that 'can0' or 'can1' do not appear in the list of devices when typing 'ifconfig -all'.

ipLinkSet.PNG

How do I add the can devices to the Linux kernel in the freescale Android 7.1.1 release?

Thanks,

Aaron

0 Kudos
1,166 Views
igorpadykov
NXP Employee
NXP Employee

Hi Aaron

sabresd board does not support flexcan, please build image for

sabre ai board which supports flexcan, refer to sect.37.2.4 Linux Menu Configuration

Options attached Linux Manual.

Best regards
igor

0 Kudos
1,166 Views
tommos23
Contributor III

Hi Igor,

I built the image for saber ai (sabreauto_6q) however this does not appear to work on the sabreSD board.

I am using mfgtools to load the image into emmc (mfgtool2-android-mx6dl-sabresd-emmc.vbs). Did I use the correct configuration?

Thanks,

Aaron

0 Kudos
1,167 Views
igorpadykov
NXP Employee
NXP Employee

Hi Aaron

sabre ai image will not work on sabre sd board as these two boards are different.

One can check sabre ai dts for can records and make similar changes to sabre sd file.

Best regards
igor