Hello,
i am new IMIX 6, currently i am using L3.10.53_1.1.0_iMX6QDLS_Bundle
for my board and it run.
but when i used example in SocketCAN - Wikipedia, the free encyclopedia
to send data out using Can socket,
i config :
#ip link set can0 up type can bitrate 125000
root@imx6qdlsolo:/run/media/mmcblk2p1# ./demo_can_1
can0 at index 4
Wrote 16 bytes
i use oscilloscope to measure result sinal out but i can't see any thing.
First. i don't know can0 is J34 or J35 on my board so i measure both, can0 is j34 or J35 ?
Second Please tell me why i can send can frame out (because of linux binary or some thing) help me
Any help would be greatly appreciated.
Solved! Go to Solution.
i try to built and it have done but i can't run flexcan with new image
i try to built and it have done but i can't run flexcan with new image
just to test flexcan please follow
https://community.freescale.com/message/524947#comment-524947
i.MX6Q Linux BSP just support general Linux CAN APIs, so to support
SocketCan you may need to add additional libraries with user application
and then rebuild BSP. You may wish to use Freescale Professional Services
to develop full solution:
http://www.nxp.com/support/nxp-professional-services:PROFESSIONAL-SERVICE
Best regards
igor
Hi manh
had you installed Auto CPU2 Yocto Project Patch, as describes attached document,
can0 should be j34, also please look at Chapter 39 FlexCAN Driver attached Linux Manual
and usage at
CAN protocol test on imx6 sabrelite board
some simple tests in unit tests (), folder /can
imx-test-5.4.tar.gz
www.nxp.com/lgfiles/NMG/MAD/YOCTO/imx-test-5.4.tar.gz
Best regards
igor
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------
Hi,
I followed MX_6DualQuad_6DualLite_SABRE_Auto_CPU2_Yocto_Project_Patch_Release_Notes.pdf
to build image but result i have a lot of warning and error. I don't know how to fix it. Could you help me?
thank you so much.
i run:
$ MACHINE=imx6qsabreauto source fsl-setup-release.sh –b build-x11 –e x11
$ bitbake fsl-image-qt5
WARNING: Failed to fetch URL http://zlib.net/pigz/pigz-2.3.1.tar.gz, attempting MIRRORS if available
WARNING: Failed to fetch URL ftp://ftp.debian.org/debian/pool/main/b/base-passwd/base-passwd_3.5.29.tar.gz, attempting MIRRORS if available
WARNING: Failed to fetch URL http://downloads.sourceforge.net/project/libpng/libpng16/1.6.8/libpng-1.6.8.tar.xz, attempting MIRRORS if available
WARNING: Failed to fetch URL ftp://ftp.freedesktop.org/pub/mesa/9.2.5/MesaLib-9.2.5.tar.bz2, attempting MIRRORS if available
WARNING: Checksum failure encountered with download of http://www.freescale.com/lgfiles/NMG/MAD/YOCTO//imx-gpu-viv-5.0.11.p4.3-hfp.bin;fsl-eula=true - will attempt other sources if available
WARNING: Renaming /home/public/yocto_3.10.53-1.1.1/downloads/imx-gpu-viv-5.0.11.p4.3-hfp.bin to /home/public/yocto_3.10.53-1.1.1/downloads/imx-gpu-viv-5.0.11.p4.3-hfp.bin_bad-checksum_9867289adc4377b7214885da3be39220
ERROR: Fetcher failure for URL: 'http://www.freescale.com/lgfiles/NMG/MAD/YOCTO//imx-gpu-viv-5.0.11.p4.3-hfp.bin;fsl-eula=true'. Checksum mismatch!
File: '/home/public/yocto_3.10.53-1.1.1/downloads/imx-gpu-viv-5.0.11.p4.3-hfp.bin' has md5 checksum 9867289adc4377b7214885da3be39220 when 57996c100b5fdc5982f73c1ec9a9dee6 was expected
File: '/home/public/yocto_3.10.53-1.1.1/downloads/imx-gpu-viv-5.0.11.p4.3-hfp.bin' has sha256 checksum 2ab7e7cc98a1ebd8ce26ddfbde563c8911b5999016cc9e9f985233d6f5bd3f95 when 1432e3fc3d9d80fb48d236ab0bfe8201219fe09bf98728cca32cb65fe7d7d88a was expected
If this change is expected (e.g. you have upgraded to a new version without updating the checksums) then you can use these lines within the recipe:
SRC_URI[md5sum] = "9867289adc4377b7214885da3be39220"
SRC_URI[sha256sum] = "2ab7e7cc98a1ebd8ce26ddfbde563c8911b5999016cc9e9f985233d6f5bd3f95"
Otherwise you should retry the download and/or check with upstream to determine if the file has become corrupted or otherwise unexpectedly modified.
ERROR: Function failed: Fetcher failure for URL: 'http://www.freescale.com/lgfiles/NMG/MAD/YOCTO//imx-gpu-viv-5.0.11.p4.3-hfp.bin;fsl-eula=true'. Unable to fetch URL from any source.
ERROR: Logfile of failure stored in: /home/public/yocto_3.10.53-1.1.1/build/tmp/work/cortexa9hf-vfp-neon-mx6-poky-linux-gnueabi/imx-gpu-viv/1_5.0.11.p4.3-hfp-r0/temp/log.do_fetch.21164
ERROR: Task 1084 (/home/public/yocto_3.10.53-1.1.1/sources/meta-fsl-bsp-release/imx/meta-fsl-arm/recipes-graphics/imx-gpu-viv/imx-gpu-viv_5.0.11.p4.3-hfp.bb, do_fetch) failed with exit code '1'
Hi manh
for image building errors please create new community thread.
Best regards
igor