i.MX6 DualLite PCIE clcok

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

i.MX6 DualLite PCIE clcok

885 Views
shichinhuang
Contributor I

Hi,

I would like to add a PCIE x1 Giga LAN solution on i.MX6 DualLite platform.

But I cannot enable PCIE interface. There is no clock output from CLK1_P/N. see below picture.

Also see attached for boot log and software setting.

The kernel version is 4.9.88

Thank you for your help! 

pastedImage_1.png

0 Kudos
4 Replies

712 Views
igorpadykov
NXP Employee
NXP Employee

Hi Shichin

one can choose i.MX6DL Sabre SD configuration, it has only internal pcie clock option

imx6dl-sabresd.dts\dts\boot\arm\arch - linux-imx - i.MX Linux kernel 

Linux 4.9.88_2.0.0 BSP & Multimedia Codecs Documentation

In general selection for pcie external clock is performed by ext_osc = <1>; as in example on

https://community.nxp.com/message/1066516?commentID=1066516#comment-1066516 

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

0 Kudos

712 Views
shichinhuang
Contributor I

Hi igor,

After do the modification of device tree, the clock is okay and output 100MHz from i.MX6 to PCI-E LAN card. (Solution is Realtek RTL8111H).

But we debug another issue like below link,

https://community.nxp.com/thread/321964

We need set MTU=500 (original default value is 1500) for LAN output packet normlly work or it cannot send any output packet.

It seems that the issue of above linked still exist in the kernel.(Linux YOCTO  version 4.9.88-imx_4.9.88_2.0.0_ga+g159b147)

Do you have any updated about the issue?

Thanks!

Sincerely,

Shichin

0 Kudos

712 Views
shichinhuang
Contributor I

Hi igor,

Any update for the MTU question?

Sincerely,

Shichin

0 Kudos

712 Views
igorpadykov
NXP Employee
NXP Employee

Hi Shichin

for new questions suggest to create new thread.

Best regards
igor

0 Kudos