Thanks a lot for your help. I now have the can binaries in /usb/bin. I will just need to copy the new RFS to the SD card and I should be able to use CAN tools I hope.
I also recently faced a problem while using ltib: when running ./ltib I get this error:
Processing: fsl-mm-codeclib
=============================
Build path taken because: no prebuilt rpm,
Testing network connectivity
^Ckilled by SIGINT
Started: Mon Feb 27 07:53:56 2012
Ended: Mon Feb 27 07:54:19 2012
Elapsed: 23 seconds
Build Failed
I am still trying to fix this so if you know what to do it would be very helpful!
Thank you
Philippe Bongrain
Alexander Keller said:
Check the to make sure that the Can utilities are installed on your SD card. On you SD card look under the folders /usr/bin/. There you should see the binary for the CAN utilities. If the binary is there make sure you are typing in the command in the terminal right. (i.e. canecho --help) If the CAN utilities are not there then you need to build the CAN utilities as shown on the .pdf from winter workshop. The spec files are located in ltib/dist/lfs-5.1/canutils. Note that this is in the same place as the the helloworld example, so you can use the same commands and process.
As for the can pin outs, look at the schematic on the .pdf from winter workshop. The schematic shows what each pin is connected to.
Hope this helps,
Alexander Keller