How to share the internet from GMAC0 ethernet port on NXP S32G to other ethernet ports ?

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

How to share the internet from GMAC0 ethernet port on NXP S32G to other ethernet ports ?

1,116件の閲覧回数
girkulkarni
Contributor I

I have flashed the SJA1110 firmware , but not able to share the internet from GMAC0 port to other devices connected to ethernet ports on S32G . Tried to enable SJA1110 on S32G with default sja1110_switch.bin from Goldvip 1.5.0 .  

Also followed ethernet enablement guide from NXP Website to enable sja1110 switch . (Screenshot attached ) . But not able to get the IP for the  PC connected to goldbox .

 

Please find the below logs 

 

[ 4.766549] sja1110 spi5.1: Successfully configured!
[ 4.766600] sja1110 spi5.0: [sja1110_post_probe_upload_worker] Trying to initialize uC
[ 4.782953] sja1110 spi5.0: [sja1110_init_hw] loaded fw 'sja1110_uc.bin'
[ 4.782972] sja1110 spi5.0: [sja1110_pre_uc_upload] Found firmware of size 320312
[ 4.783115] sja1110 spi5.0: [sja1110_pre_uc_upload] firmware appears to be valid
[ 4.783190] sja1110 spi5.0: [sja1110_pre_uc_upload] µC not ready for download (Status=0x31)
[ 4.783471] sja1110 spi5.0: Uploading firmware...
[ 5.912053] sja1110 spi5.0: Upload successfully verified!
[ 5.938436] pfeng 46000000.pfe pfe0: configuring for fixed/sgmii link mode
[ 5.938791] pfeng 46000000.pfe pfe0: Link is Up - 1Gbps/Full - flow control off
[ 6.012975] pfeng 46000000.pfe: HIF1 started
[ 6.015651] pfeng 46000000.pfe pfe1: PHY [stmmac-0:08] driver [Aquantia AQR113c] (irq=POLL)
[ 6.015673] pfeng 46000000.pfe pfe1: configuring for phy/sgmii link mode
[ 6.015705] phy-s32gen1-serdes 44180000.serdes: Speed not supported
[ 6.099616] pfeng 46000000.pfe: HIF2 started
[ 6.164600] pfeng 46000000.pfe pfe2: PHY [PFEng Ethernet MDIO.2:04] driver [Micrel KSZ9031 Gigabit PHY] (irq=POLL)
[ 6.164622] pfeng 46000000.pfe pfe2: configuring for phy/rgmii-id link mode

0 件の賞賛
返信
5 返答(返信)

995件の閲覧回数
Sabeur
NXP Employee
NXP Employee

Hi, 

thanks for your answer. The steps I shared described how to enable Pfe and then you can connect corresponding ports according to which PFE interface is used. 

 

regards,

Sabeur

0 件の賞賛
返信

989件の閲覧回数
girkulkarni
Contributor I

Hi Sabeur,

            Are we making use of SJA1110 switch in this case ? Also will this share the internet from GMAC0 port  to SJA1110 ports? Because SJA1110 switch had multiple ports which would be helpful for us to connect multiple devices and communicate with Dom0 and Domu on goldbox. 

0 件の賞賛
返信

1,009件の閲覧回数
Sabeur
NXP Employee
NXP Employee

Hi, 

What SW is used on the S32G ?
The best is to follow the steps described here: https://www.nxp.com/document/guide/getting-started-with-the-goldbox-for-vehicle-network-processing:G...

in Projects and Tutorials -> PFE Ethernet interface with LWIP and FreeRTOS

 

regards,

Sabeur

0 件の賞賛
返信

1,002件の閲覧回数
girkulkarni
Contributor I

We will be connecting a hardware/device to nxp s32g gateway and our requirement is to get internet access to connected hardware through goldbox so that connected device and goldbox can communicate over ethernet 

0 件の賞賛
返信

944件の閲覧回数
radupirea
NXP Employee
NXP Employee

@girkulkarni you are running the Linux BSP on S32G?

0 件の賞賛
返信