Dear NXP fellows,
I have access to the Ethernet Enablement Guide for the S32G-VNP-RDB3 through this page:
This guide is a valuable resource that helped me to bypass some obstacles.
However, this guide is targeting BSP33, which is a bit older. I am currently using BSP39+.
So, for example, in following U-boot setting command (page 25), the s32ccgmac is already obsolete:
U-boot simply returns:
Unknown command 's32ccgmac' - try 'help'
Besides, the pfeng_mode is also not useful anymore for U-boot 2022.4.
So, my question is: Is there any updated version of this document? If yes, where can I get it? If not, how should I correct my U-boot configuration for the recent versions of the BSP?
Thank you very much,
Guilherme
Hi, @GuilhermeS32G3 :
Thanks for your guidance, I have found the file in the picture
Hello @jiajun_cheng ,
As far as I know, the file UGS32G-VNP-RDB3-Ethernet-Enablement-Guide.pdf Rev 1.0 is the latest available version of the document. And I don't know if there are plans to release an updated version.
Regarding the figure used by @chenyin_h , it is from the S32G3_Linux_BSP_XX.X_User_Manual.pdf.
You can download it by logging in into your NXP account at nxp.com.
Then, select "My NXP Account > Apps and Services":
Then select "Software Licensing and Support":
From the Product List, select "Automotive SW - S32G Reference Software"
Then, from the Product Information select "Automotive SW - S32G - Linux BSP (Cortex-A53)":
Select the version corresponding to your BSP and board:
Accept the Software Terms and Conditions.
Finally, download the User Manual:
You may find a similar table on page 51:
Best regards,
Guilherme
Hi, @chenyin_h @GuilhermeS32G3 :
Hi, I am debugging the Ethernet functionality of RDB3 using BSP 42.0. I noticed that the S32G-VNP-RDB2 Ethernet Enablement Guide is for BSP28, so is there a manual for the newer BSP? My goal is to test the configuration of RDB3Also, can you tell me which file the configuration in this picture comes from? Thank you very much!
Hello, @GuilhermeS32G3
Thanks for your reply. I have a few suggestions below:
1. After setting the hwconfig, just reset the board to make it effective, then booting to the kernel.
2. From BSP40UM, the combination (mode0&1) need the following modifications at least:
3. If you want to use the example6 on newer BSPs, then there may be at least changes(DTS) that like what are shown in the ethernet enablement guide, also since big changes between BSP33 and BSP40/41, there would be possiblely other code changes made to make it effective,(would be a new feature to the BSP), but such custom changes is not fully supported through this channel. I do apologize.
BR
Chenyin
Hello, @chenyin_h
Thanks again for your reply.
I updated the BSP to version 41.0 and checked the configuration you kindly provided.
Attached are the two boot logs, before (using the configuration of Example 6) and after (using this new configuration).
It seems that the main issue may lie in the device tree configuration. As the Net Phy driver is not the default hardware, I am having issues configuring the address of the device.
Can you help me to point some suggestions of how to debug this issue and try to enable the PFE interfaces?
Best regards,
Guilherme
Hello, @GuilhermeS32G3
Thank for your feedback.
From the requirements from your side, seems you need to set both serdes to mode 1 if GMAC as the SGMII (like example 6) or mode0 for serdes0 and mode1 for serdes1.
For the first combination, seems it is not directly supported in current BSP, but for the second one, it seems supported from BSP40 with the following configuration under u-boot:
| setenv hwconfig "serdes0:mode=pcie,clock=ext;pcie0:mode=rc;serdes1:mode=pcie&xpcs0,clock=ext,fmhz=100;pcie1:mode=rc;xpcs1_0:speed=1G,an=0" |
I hope it will help.
BR
Chenyin
Hello, @chenyin_h
Thanks for your reply.
My concern for the document version is mostly due to the U-boot variations from version 2020.04 (BSP33) and 2022.04 (BSP39).
Yes, the idea is to reproduce the Example 6. However, here we are working with a custom design that is based on the S32G399A-RDB3.
In this design, we aim to use:
PFE_MAC0 in SGMII mode;
PFE_MAC1 in RGMII mode;
PFE_MAC2 in RGMII mode;
GMAC0 may be either disabled or as SGMII.
In this case, is there a configuration that may fulfill the design?
Best regards,
Guilherme
Hello, @GuilhermeS32G3
Thanks for your post.
The document you mentioned is released at 2022/08, which is relatively early, so that is based on early version software packages.
We feel sorry that there seems not an updated version. we apologize.
For the command you mentioned, may I know if you want to reproduce the example 6 by using BSP39?
From the BSP39UM, seems this combination is not supported:
BR
Chenyin