Flash PTN3460 to latest firmware

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

Flash PTN3460 to latest firmware

1,415 Views
nak
Contributor I

Hi,

I have a Intel Atom based board with a PTN3460 on it that converts eDP to LVDS. The LVDS is the only display connected. There's a Linux image installed that can be accessed via ssh. in the Linux system there are i2c command line tools that allow for programming the PTN3460 according to https://www.nxp.com/docs/en/application-note/AN11128.pdf.

Now, there are boards in which the i915 Linux drm driver easily establishes the DP link. And there are others where the i915 driver (kernel 5.10 or kernel 5.15) fails to train the link:

[    4.255251] i915 0000:00:02.0: timed out waiting for [ENCODER:75:DP B] port ready: got 0xf, expected 0x0
[    4.255439] WARNING: CPU: 1 PID: 7 at drivers/gpu/drm/i915/display/intel_display.c:566 vlv_wait_port_ready+0xc8/0x120 [i915]

[    4.268733] i915 0000:00:02.0: [drm:intel_dp_link_train_phy [i915]] [CONNECTOR:76:DP-1][ENCODER:75:DP B][DPRX] Link Training failed at link rate = 162000, lane count = 2

[    6.902256] i915 0000:00:02.0: timed out waiting for [ENCODER:75:DP B] port ready: got 0xf, expected 0x0
[    6.902381] WARNING: CPU: 1 PID: 30 at drivers/gpu/drm/i915/display/intel_display.c:566 vlv_wait_port_ready+0xc8/0x120 [i915]

[    6.917501] i915 0000:00:02.0: [drm:intel_dp_link_train_phy [i915]] [CONNECTOR:76:DP-1][ENCODER:75:DP B][DPRX] Link Training failed at link rate = 270000, lane count = 1

Now, I assume the reason why most boards work perfectly and some do not could be the firmware of the PTN3460.

Is there any way to check and update the firmware version using i2c command line tools (i2cget/i2cset) from within my Linux system? How do I do that? Where can firmware and instructions be downloaded?

The FAQ here https://community.nxp.com/t5/Other-NXP-Products-Knowledge/PTN3460-PTN3460I-FAQs/ta-p/1166765 states that there's a Windows tool (which I suppose I can't use because there's no display available in the first place) and a DOS tool (which I haven't found either but might can be used blindly somehow.

Any clue?

Thanks in advance!

Regards, Andreas

0 Kudos
Reply
3 Replies

1,391 Views
nak
Contributor I

Any news here? Is there a way to update the PTN3460 firmware via I2C from a Linux OS? Or via I2C from a simple USB flash key with DOS on it?

0 Kudos
Reply

1,364 Views
TomasVaverka
NXP TechSupport
NXP TechSupport

Hi Andreas,

Please see below a response from our application engineer supporting the PTN3460.

We do not have SW tool which can update firmware over I2C bus.

I would suggest to either temporary use Window platform and the attached FW FoA tool (password is NXP) to update firmware into PTN3460 and move back to test in Linux OS or change different firmware version of PTN3460 on board to test if customer is suspecting that the issue may be causing by different firmware version in PTN3460.

Best regards,

Tomas

0 Kudos
Reply

1,404 Views
TomasVaverka
NXP TechSupport
NXP TechSupport

Hi Andreas,

I have asked our application engineer who is in charge of PTN3460 to look into this issue and will update this thread as soon as I have his feedback. It should be by the end of this week.

Meanwhile, attached you can find the DPCD tool (password is NXP) and its User Manual.

Best regards,

Tomas

0 Kudos
Reply