P2040: mac to mac connection

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

P2040: mac to mac connection

7,799 次查看
gouravjain
Contributor IV

Hi experts,

We have designed custom board based on P2040RDB. Here we have mac to mac connection between processor P2040 and Vittesse switch.

can anyone pls guide me what all changes are required in uboot to make it through? Currently we are working on U-Boot 2013.01

Any help will be appreciated.

Note: schematic files are attached for reference.

thanks,

Gourav

标签 (1)
标记 (1)
0 项奖励
回复
5 回复数

7,318 次查看
Pavel
NXP Employee
NXP Employee

We use NXP SDK 1.9 for the T2080QDS board. This SDK is available on the following page:

http://www.nxp.com/products/developer-resources/run-time-software/linux-sdk/linux-sdk-for-qoriq-proc...

 

Compare u-boot files from this SDK and your u-boot files. Perhaps u-boot from this SDK can be used on your board.


Have a great day,
Pavel Chubakov

-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

0 项奖励
回复

7,318 次查看
gouravjain
Contributor IV

hi Paval

1) Which SDK i should download from below link,

https://nxp.flexnetoperations.com/control/frse/download?agree=Accept&element=7726177 

2) I was trying to understand the dtsec initialization code flow. And found new module called TBI PHY. 

As far as i understood TBI module sits between MAC and outside phy device. MAC (PPC) <---> TBI (PPC)<---> external phy.

So first auto-negotiation should happen between TBI (PPC) and external phy then only MAC(PPC) will be configured. Correct me if im wrong.

But there is no TBI link status checking in code(LXR uboot/drivers/net/fm/eth.c ) after that mac is supposed to configure.

Can you pls tell where my understand is getting wronged? 

--

Gourav

0 项奖励
回复

7,318 次查看
Pavel
NXP Employee
NXP Employee

This mac-to-mac connection is a “fixed-link” under Linux.

If similar connection under Linux is used tree node and a “fixed-link” property have been added. Details can be found in

Documentation/devicetree/bindings/net/fsl-tsec-phy.txt

 

If this connection is used under u-boot see the following pages:

https://patchwork.ozlabs.org/patch/291191/

 

and

 

https://patchwork.ozlabs.org/patch/742677/

 

https://lists.denx.de/pipermail/u-boot/2013-November/167163.html


Have a great day,
Pavel Chubakov

-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

0 项奖励
回复

7,318 次查看
gouravjain
Contributor IV

Hi Paval,

[U-Boot,3/4] powerpc/t2080qds: add support for t2080qds board - Patchwork 

In above link, they have a function call fdt_delprop and fdt_setprop. but i dont have in my file.

+     } else if (fm_info_get_enet_if(port) == PHY_INTERFACE_MODE_XGMII) {+          switch (srds_s1) {+          case 0x66: /* XFI interface */+          case 0x6b:+          case 0x6c:+          case 0x6d:+          case 0x71:+               f_link.phy_id = port;+               f_link.duplex = 1;+               f_link.link_speed = 10000;+               f_link.pause = 0;+               f_link.asym_pause = 0;+               /* no PHY for XFI */+               fdt_delprop(fdt, offset, "phy-handle");+               fdt_setprop(fdt, offset, "fixed-link", &f_link,+                        sizeof(f_link));+               break;+          default:+               break;+          }



0 项奖励
回复

7,318 次查看
gouravjain
Contributor IV

hi,

my file is,

u-boot/eth.c at master · ohporter/u-boot · GitHub 

can you pls tell me how to make changes here ??

regards,

Gourav

0 项奖励
回复