GOLDBOX-3 Ubuntu S32G-VNP-RDB3 - Networking

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

GOLDBOX-3 Ubuntu S32G-VNP-RDB3 - Networking

692 次查看
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 回复数

558 次查看
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 项奖励
回复

601 次查看
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 项奖励
回复

587 次查看
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

558 次查看
dennis-voyager
Contributor II
I get it, thanks for your suggestions.
0 项奖励
回复

653 次查看
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 项奖励
回复

588 次查看
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 项奖励
回复

689 次查看
ankitv
Contributor II

Here is a screenshot of the above error

ankitv_0-1705711540548.png

 

0 项奖励
回复