Hi,
I built and installed the GoldVip image on the SD card (using Yocto), as described in chapter 23 of the GoldVip-User-Manual.pdf, also including the components required for LLCE. When I boot the system, I can indeed see that the LLCE firmware is loaded. I also see that the llce_can entries in the DTS (attached) are set to “okay,” and in the .config I have:
CONFIG_CAN_LLCE=y
CONFIG_CAN_LLCE_CORE=y
CONFIG_CAN_LLCE_CONTROLLER=m
My problem, however, is that I don’t see the llce_can interfaces with ifconfig or ip link show; I only see can0 and can and can1 (which belong to FlexCAN).
How is this possible?
解決済! 解決策の投稿を見る。
Hello, @MrAlexIV
Thanks for your reply.
From the release notes, the BSP44 and LLCE1.0.10 are used in GoldVIP1.14, from the log, seems it was 1.0.9 used? would you mind checking it from your test?
Thanks
BR
Chenyin
Hello, @MrAlexIV
Thanks for the reply.
The method provided could be used under pure BSP44, GoldVIP utilize the BSP44 for its A53 side implementation, however, it is a whole reference software for automotive purposes, all CAN uses are managed by the real time cores, therefore adding LLCE-CAN to Linux may not be successful.
I suggest referencing the chapter 14 of GoldVIP User Manual, to get details of how the LLCE-CAN are handled in the GoldVIP.
BR
Chenyin
Hello, @MrAlexIV
Thanks for your reply.
I did a quick test with the BSP44 Yocto source directly, with the modification on the conf/local.conf
DISTRO_FEATURES:append = " llce-fw-load llce-can"
NXP_FIRMWARE_LOCAL_DIR = "PATH_TO_LLCEFW"
Once rebuilt, the llcecan0-15 could be seen from the linux shell.
BR
Chenyin
I fixed the error for the BSP. It was a silly error name in the local.conf.
Thank you for your support
Thank you for your reply.
I tried with the BSP44.0, but I still can't see the interface. I used the lines you mentioned.
I attach the boot logs (with some operations I did).
Also, in the boot I can clearly see this message :
"[ 7.054478] llce_mb 43a00000.llce_mb: LLCE modules are under reset. Is the LLCE firmware loaded?
[ 7.062890] llce_mb: probe of 43a00000.llce_mb failed with error -13"
I uploaded the binaries before doing the build and changed the local.conf as you mentioned (the same procedure I did with the binaries of the LLCE 1.0.9, but at least there the firmware seemed uploaded).
Hello, @MrAlexIV
Thanks for your reply.
From the release notes, the BSP44 and LLCE1.0.10 are used in GoldVIP1.14, from the log, seems it was 1.0.9 used? would you mind checking it from your test?
Thanks
BR
Chenyin
Hi,
I was able to build the BSP 44 image with the enabling of the LLCE FW.
Then I was trying to build my YOCTO image starting from the GoldVip base image and the attached local.conf file.
I managed to build the image, but when it is loaded on the SD card and the board is on, no LLCE interfaces appear in ifconfig output. Although, I can see the LLCE interfaces as enabled in the DTS file after the build (attached as well).
Can you explain how to face with this situation?
Thank you.
Hello, @MrAlexIV
Thanks for your post.
1. May I know which version GoldVIP you are working with?
2. Would you mind sharing me with the full booting log from console?
Thanks
BR
Chenyin