GOLDBOX-3 Ubuntu S32G-VNP-RDB3 - Networking

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

GOLDBOX-3 Ubuntu S32G-VNP-RDB3 - Networking

1,127 Views
ankitv
Contributor II

I am using BSP 38 to build Ubuntu for Goldbox3. After a successful build, I am not able to provide internet connection to my Goldbox. 

During Startup I see the following error:

bluebox@ubuntu-s32g399aevb3:~$ [ 611.061548] s32cc-dwmac 4033c000.ethernet eth0: no phy found
[ 611.061567] s32cc-dwmac 4033c000.ethernet eth0: stmmac_open: Cannot attach to PHY (error: -19)
[ 611.069040] s32cc-dwmac 4033c000.ethernet eth0: no phy found
[ 611.069056] s32cc-dwmac 4033c000.ethernet eth0: stmmac_open: Cannot attach to PHY (error: -19)
[ 611.076265] s32cc-dwmac 4033c000.ethernet eth0: no phy found
[ 611.076279] s32cc-dwmac 4033c000.ethernet eth0: stmmac_open: Cannot attach to PHY (error: -19)
[ 611.083428] s32cc-dwmac 4033c000.ethernet eth0: no phy found
[ 611.083442] s32cc-dwmac 4033c000.ethernet eth0: stmmac_open: Cannot attach to PHY (error: -19)

 

The same error keeps on printing on the terminal when left idle. 

Can you please advise which LAN port should I use to provide Internet and how to solve the above error. I tried building Ubuntu 20.04 and Ubuntu 22.04. Both gives me same error. Thanks.

-Ankit

7 Replies

993 Views
chenyin_h
NXP Employee
NXP Employee

Hello, @ankitv

You are welcome, we feel glad to hear that the issue is fixed

Regarding to the network interface:

  1. By default. the 100Base-TX directly connected to the SJA1110 switch, you may use it by typing ifconfig pfe0 x.x.x.x in Linux.
  2. 1x2500base-T is connected to SerDes1_lane1, by default, it is mapped to the  PFE_MAC1, as a result, you may use it by typing ifconfig pfe1 x.x.x.x.

 

Best Regards

Chenyin

0 Kudos
Reply

1,036 Views
dennis-voyager
Contributor II

Hi @ankitv 

Thanks for the question, I'm having the same issue.

I am using those commands to build Ubuntu-ros for Goldbox2.

source nxp-setup-alb.sh -m s32g274aevbubuntu

bitbake fsl-image-ubuntu-ros

After a successful build, I am not able to provide internet connection to my Goldbox. 

During Startup I see the following error:

[ 4442.216923] s32cc-dwmac 4033c000.ethernet eth0: no phy found
[ 4442.216931] s32cc-dwmac 4033c000.ethernet eth0: stmmac_open: Cannot attach to PHY (error: -19)

Any suggestions and information are welcome, thanks in advance.

Dennis

 

0 Kudos
Reply

1,022 Views
ankitv
Contributor II

Hi @dennis-voyager 

Please verify if your goldbox is based on s32g274aevb and then use the correct command.

Replacing s32g399aevb3 to s32g399ardb3 worked for me as my goldbox is based on ardb3 and not aevb3. Thanks

-Ankit

993 Views
dennis-voyager
Contributor II
I get it, thanks for your suggestions.
0 Kudos
Reply

1,088 Views
chenyin_h
NXP Employee
NXP Employee

Hello, @ankitv

Thanks for the question

Goldbox3 is based on s32g399ardb3, not s32g399aevb3, as a result, according to the section3.1.3 from “Linux BSP 38.0 User Manual for S32G3 platforms”:

source nxp-setup-alb.sh -m s32g399ardb3ubuntu

bitbake fsl-image-ubuntu-base

After all necessary images built, use them on Goldbox3 and have another try.

0 Kudos
Reply

1,023 Views
ankitv
Contributor II

Hi @chenyin_h 

Yes, it is working now. Thanks for sharing the information. 

However, I found that only 4 ports of 1000Base-T x2 ports are working. How do I enable the 1000Base-T/2.5GBase-T x1 and 100Base-TX x1ports ? Thanks

 

ankitv_0-1706041900895.png

-Ankit

0 Kudos
Reply

1,124 Views
ankitv
Contributor II

Here is a screenshot of the above error

ankitv_0-1705711540548.png

 

0 Kudos
Reply