S32G3 LLCE on GoldVip image

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

S32G3 LLCE on GoldVip image

ソリューションへジャンプ
664件の閲覧回数
MrAlexIV
Contributor III

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?

0 件の賞賛
返信
1 解決策
597件の閲覧回数
chenyin_h
NXP Employee
NXP Employee

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

元の投稿で解決策を見る

0 件の賞賛
返信
10 返答(返信)
20件の閲覧回数
chenyin_h
NXP Employee
NXP Employee

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

0 件の賞賛
返信
381件の閲覧回数
chenyin_h
NXP Employee
NXP Employee

Hello, @MrAlexIV 

Glad to hear that the issue has been fixed

You are welcome.

 

BR

Chenyin

0 件の賞賛
返信
501件の閲覧回数
chenyin_h
NXP Employee
NXP Employee

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 

0 件の賞賛
返信
385件の閲覧回数
MrAlexIV
Contributor III

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

0 件の賞賛
返信
439件の閲覧回数
MrAlexIV
Contributor III

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


0 件の賞賛
返信
598件の閲覧回数
chenyin_h
NXP Employee
NXP Employee

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

0 件の賞賛
返信
44件の閲覧回数
MrAlexIV
Contributor III

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.

0 件の賞賛
返信
584件の閲覧回数
MrAlexIV
Contributor III

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

0 件の賞賛
返信
639件の閲覧回数
chenyin_h
NXP Employee
NXP Employee

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

 

0 件の賞賛
返信
637件の閲覧回数
MrAlexIV
Contributor III

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

0 件の賞賛
返信