2020144_en-US

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

2020144_en-US

2020144_en-US

S32G-VNP-RDB3 how to Enable 6*100baseT1 Enternet port.

HI Dear Sir.

I am using the  S32G-VNP-RDB3 board with BSP42.0 software. 

I have enable the PFE and SJA1110 firmware successfull. 

Now I want to use the 100BASE_T1 port (ex: TRX10) to send message.

 I get a picture from the network , there are those port in ifconfig -a command.  Could you help to tell me how to set the SJA1110 to get enable TRX5-10 prot? Then i can set IP for TRX10. 

Wzlinux_0-1735365804985.png


follow are my PFE and SJA110 information:

Wzlinux_1-1735365860540.png

Wzlinux_2-1735365896101.png

Re: S32G-VNP-RDB3 how to Enable 6*100baseT1 Enternet port.Thank you.
It workd.
Re: S32G-VNP-RDB3 how to Enable 6*100baseT1 Enternet port.

Hi, @Wzlinux 

Thanks for your reply.

I suggest referencing the 7.7.3 of BSP42 UM carefully, to enable the DSA driver for SJA1110, while done, the interfaces are able to be shown in the Linux


BR

Chenyin

回复: S32G-VNP-RDB3 how to Enable 6*100baseT1 Enternet port.

From https://community.nxp.com/t5/S32G/S32G399A-MDIO-configuration-in-the-Device-Tree/m-p/1954576 I get the information that "Yes, if ethernet-switch@1 is enable ,then the PHYs driver of Port 2 &3, and 6 * 100BaseT Ports of SJA1110 will be loaded when Linux kernel boots and The ports could be viewed with command "ifconfig -a""

and I change the fsl-auto-yocto-bsp/build_s32g399ardb3/tmp/work/s32g399ardb3-fsl-linux/linux-s32/6.6.32-r0/git/arch/arm64/boot/dts/freescale/s32gxxxa-rdb.dtsi file as follow:

Wzlinux_0-1735373528312.png


But this seem not work. after i bitbake this . the ifconfig -a without TRX* information.


root@s32g399ardb3:/lib/modules# ifconfig -a
can0: flags=128 mtu 16
unspec 00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00 txqueuelen 10 (UNSPEC)
RX packets 0 bytes 0 (0.0 B)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 0 bytes 0 (0.0 B)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0

can1: flags=128 mtu 16
unspec 00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00 txqueuelen 10 (UNSPEC)
RX packets 0 bytes 0 (0.0 B)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 0 bytes 0 (0.0 B)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0

eth0: flags=4099 mtu 1500
inet6 fe80::bc1a:1ff:fe94:64e prefixlen 64 scopeid 0x20
ether be:1a:01:94:06:4e txqueuelen 1000 (Ethernet)
RX packets 13 bytes 1034 (1.0 KiB)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 23 bytes 3617 (3.5 KiB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
device interrupt 55 base 0xa000

lo: flags=73 mtu 65536
inet 127.0.0.1 netmask 255.0.0.0
inet6 ::1 prefixlen 128 scopeid 0x10
loop txqueuelen 1000 (Local Loopback)
RX packets 82 bytes 6220 (6.0 KiB)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 82 bytes 6220 (6.0 KiB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0

pfe0: flags=4163 mtu 1500
inet6 fe80::204:9fff:febe:ef00 prefixlen 64 scopeid 0x20
ether 00:04:9f:be:ef:00 txqueuelen 1000 (Ethernet)
RX packets 0 bytes 0 (0.0 B)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 71 bytes 18022 (17.5 KiB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
device memory 0x46000000-46ffffff

pfe1: flags=4099 mtu 1500
ether 00:04:9f:be:ef:01 txqueuelen 1000 (Ethernet)
RX packets 0 bytes 0 (0.0 B)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 0 bytes 0 (0.0 B)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
device memory 0x46000000-46ffffff

pfe2: flags=4099 mtu 1500
ether 00:04:9f:be:ef:02 txqueuelen 1000 (Ethernet)
RX packets 0 bytes 0 (0.0 B)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 0 bytes 0 (0.0 B)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
device memory 0x46000000-46ffffff

sit0: flags=128 mtu 1480
unspec 00-00-00-00-00-00-38-9B-00-00-00-00-00-00-00-00 txqueuelen 1000 (UNSPEC)
RX packets 0 bytes 0 (0.0 B)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 0 bytes 0 (0.0 B)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0



Tags (1)
No ratings
Version history
Last update:
‎11-21-2025 09:05 PM
Updated by: