CAN on Android reg

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

CAN on Android reg

1,069 Views
sachusanal
Contributor III

Dear sir ,

As per the linux user guide I build the Android lollipop for sabresd board.

Then I configure the can module  for sabresd board. It become success

Now the can statistics shows it’s can up.

But cansend and candump is not working. How can build the can utilities for android.

Please help me , it’s an urgent issue.

I am following the below mentioned document for can bring on sabresd board.

https://community.freescale.com/thread/307066

otherwise could u please help me to build this source code as per the above document

https://github.com/zhangjie201412/Flexcan

Labels (1)
0 Kudos
4 Replies

639 Views
alejandrolozan1
NXP Employee
NXP Employee

Hi,

I have not tried that out. But you can try to add the files found at zhangjie201412/Flexcan · GitHub
in your myandroid folder. The folder contains the below files:

pastedImage_1.png

And after that rebuild the entire rootfs.

Please let us know how it goes.

Best Regards,

Alejandro

0 Kudos

639 Views
sachusanal
Contributor III

Thanks for the reply.

We have tried to build the android application source code integrated in "myandroid folder".

The build was successfull, but i could not get the apk file( I have checked it by flashing it in board).

Could you please let me know where would be the apk location?

0 Kudos

639 Views
alejandrolozan1
NXP Employee
NXP Employee

The canutils  is not generated as an apk. It should be installed like any ohter linux utility in /bin/  /usr/bin.

/Alejandro

0 Kudos

639 Views
sachusanal
Contributor III

in my rootfs i founc the following directories not found /usr/bin or /bin directory i search  each and each directory but i could n't find out  canutils , could you please suggest where i can find the canutils in which folder

please help me

2|shell@sabresd_6dq:/ $ ls

acct

cache

charger

config

d

data

default.prop

dev

device

etc

file_contexts

fstab.freescale

initinit.environ.rc

init.freescale.rc

init.freescale.usb.rc

init.rc

init.trace.rc

init.usb.rc

init.zygote32.rc

mnt

proc

property_contexts

res

root

sbin

sdcard

seapp_contexts

selinux_version

sepolicy

service_contexts

storage

sys

system

ueventd.freescale.rc

ueventd.rc

vendor

verity_key

0 Kudos