Colibri iMX6DL 512MB IT v1.1B
Colibri Evaluation Board
Hi guys,
I was going through the CAN documentation and noticed few problems:
- cansend can0 123#deadbeef doesn’t work:
colibri-imx6-10866289:~/EmeraBlockEnergyBox$ cansend
-sh: cansend: command not found
- candump doesnt work
colibri-imx6-10866289:~/EmeraBlockEnergyBox$ candump can0
-sh: candump: command not found
Did I miss a step to install these utilities, or do I have a bad $PATH?
# echo $PATH
/usr/local/bin:/usr/bin:/bin:/usr/local/sbin:/usr/sbin:/sbin
- Earlier on there are instructions:
# docker load -i can-torizon-sample.tar
After the load, you can check that the image is in the system:
# docker image ls
verdin-imx8mm-06612136:~$ docker image ls
REPOSITORY TAG IMAGE ID CREATED SIZE
can-torizon-sample latest 5ea7a31bf664 About an hour ago 203MB
Now that we have our customized container image for CAN in our target system, we can execute it.
$ docker run -it --rm --name=can-test --net=host --cap-add="NET_ADMIN" \
-v /dev:/dev -v /tmp:/tmp -v /run/udev/:/run/udev/ \
can-torizon
In this last step the prompt is $ not #. Is that a typo? I assume you cant run this from the PC, but rather on the target (iMX6) computer right?