2156589_en-US

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

2156589_en-US

2156589_en-US

S32G3 LLCE on GoldVip image

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?

Re: S32G3 LLCE on GoldVip image

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

Re: S32G3 LLCE on GoldVip image

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.

Re: S32G3 LLCE on GoldVip image

Hello, @MrAlexIV 

Glad to hear that the issue has been fixed

You are welcome.


BR

Chenyin

Re: S32G3 LLCE on GoldVip image

I fixed the error for the BSP. It was a silly error name in the local.conf.
Thank you for your support

Re: S32G3 LLCE on GoldVip image

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).


Re: S32G3 LLCE on GoldVip image

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 

Re: S32G3 LLCE on GoldVip image

Thank you for the observation.
Yes, I was using 1.0.9, but I now re-builded with the 1.0.10.
Anyway, I always have the same problem (I do not see the interfaces). I also noticed that I can't start the board in booting in NOR Flash Boot Mode (log attached).

Re: S32G3 LLCE on GoldVip image

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

Re: S32G3 LLCE on GoldVip image

I am using GoldVip 1.14.0
I attach the boot log in the following file

Re: S32G3 LLCE on GoldVip image

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


Re: S32G3 LLCE on GoldVip image

Hi @MrAlexIV. I have the exact same problem. Did you find a solution?

Re: S32G3 LLCE on GoldVip image

tnx 4 post

Tags (1)
No ratings
Version history
Last update:
Friday
Updated by: