Enable pfe0 in linux on S32G

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

Enable pfe0 in linux on S32G

跳至解决方案
2,909 次查看
walt83
Contributor I

Hi all,

I'm trying to setup ethernet communication with S32G PFE0 and a Realtek Phy (RTL9010AA) which is connected via RGMII.

PFE Firmware 0.9.4 gets recognized by u-boot and PFE_MAC_0 gets enabled. But during kernel startup there is nothing recognized or configured in pfeng and i dont see pfe adapters with ifconfig.

PFE Firmware is flashed on an eMMC. BSP29 is used.

Is there something specifc to be configured in the kernel? Where can i start to analyze?

0 项奖励
回复
1 解答
2,874 次查看
andrei_skok
NXP Employee
NXP Employee

There are some steps need to check:

1. Ensure hardware connection is correct.

2. Check pfe0 pinctrl(mii, mdio) and clock configuration in U-boot and Linux device tree.

2. "phy-mode", "phy-handle" and phy address should be set correctly in Linux device tree.

3.  "RTL9010AA" driver should be enable via menuconfig.

      menuconfig->Device Drivers-> PHY Device support and infrastructure -> Drivers for Realtek PHYs

4. Rebuild the image

5. Boot up the board and set "pfeng_mode" by "setenv pfeng_mode enable,rgmii,none,none"

 

在原帖中查看解决方案

0 项奖励
回复
1 回复
2,875 次查看
andrei_skok
NXP Employee
NXP Employee

There are some steps need to check:

1. Ensure hardware connection is correct.

2. Check pfe0 pinctrl(mii, mdio) and clock configuration in U-boot and Linux device tree.

2. "phy-mode", "phy-handle" and phy address should be set correctly in Linux device tree.

3.  "RTL9010AA" driver should be enable via menuconfig.

      menuconfig->Device Drivers-> PHY Device support and infrastructure -> Drivers for Realtek PHYs

4. Rebuild the image

5. Boot up the board and set "pfeng_mode" by "setenv pfeng_mode enable,rgmii,none,none"

 

0 项奖励
回复