CAN on Android reg

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

CAN on Android reg

1,940 次查看
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

标签 (1)
0 项奖励
回复
4 回复数

1,510 次查看
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 项奖励
回复

1,510 次查看
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 项奖励
回复

1,510 次查看
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 项奖励
回复

1,510 次查看
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 项奖励
回复