MT7615 PCIe bus not work

MT7621 non ha la radio Buit in
Chiede una radio esterna.

but that device has MediaTek MT7603EN, MediaTek MT7612EN,
you have a 7615 DBDC radio

This inet.

&pcie0 {
	wifi@0,0 {
		compatible = "mediatek,mt76";
		reg = <0x0000 0 0 0 0>;
		mediatek,mtd-eeprom = <&factory 0x0>;
	};
};
1 Like

Corretto e ricompilato e ricaricato ma lo stesso:
Correct and recompiled and reloaded but the same:

[    1.255442] mt7621-pci 1e140000.pcie: pcie0 no card, disable it (RST & CLK)
[    1.262377] mt7621-pci 1e140000.pcie: pcie1 no card, disable it (RST & CLK)
[    1.269326] mt7621-pci 1e140000.pcie: pcie2 no card, disable it (RST & CLK)
[    1.276274] mt7621-pci 1e140000.pcie: Nothing is connected in virtual bridges. Exiting...

La prima versione del prototipo aveva la radio USB, però era lentissimo e poi hanno smesso di produrlo.
Avevo preso ASUS a riferimento per quello.

The first version of the prototype had USB radio, however, it was very slow and then they stopped producing it.
I had taken ASUS as a reference for that.

It looks like issue 9869.
So check reset line in dts-file and in your board, add delay after reset deassertion in pci init function for linkup test stability.

Sierge, you are alive, good to hear from you again.

Adding reset, signal is same.

&pcie {
	status = "okay";
	reset-gpios = <&gpio 19 GPIO_ACTIVE_LOW>;                        
};

Adding Delay, signal change:

static void mt7621_pcie_reset_ep_deassert(struct mt7621_pcie *pcie)
{
	struct mt7621_pcie_port *port;

	list_for_each_entry(port, &pcie->ports, list)
		mt7621_rst_gpio_pcie_deassert(port);

	mdelay(PERST_DELAY_MS);
	mdelay(1000);
	msleep(1000);
}

The two reset pulse are, the first this:
This error is present on all router and all firmware. (Can be eliminated ?)

[    0.866087] mt7621-pci 1e140000.pcie: host bridge /pcie@1e140000 ranges:
[    0.872803] mt7621-pci 1e140000.pcie:   No bus range found for /pcie@1e140000, using [bus 00-ff]
[    0.881616] mt7621-pci 1e140000.pcie:      MEM 0x0060000000..0x006fffffff -> 0x0000000000
[    0.889790] mt7621-pci 1e140000.pcie:       IO 0x001e160000..0x001e16ffff -> 0x0000000000
[    0.898077] mt7621-pci 1e140000.pcie: Parsing DT failed

The second pulse are this with 2 seconds of different RF signals on PCIe Tx

[    3.333057] mt7621-pci 1e140000.pcie: pcie0 no card, disable it (RST & CLK)
[    3.339997] mt7621-pci 1e140000.pcie: pcie1 no card, disable it (RST & CLK)
[    3.346952] mt7621-pci 1e140000.pcie: pcie2 no card, disable it (RST & CLK)
[    3.353896] mt7621-pci 1e140000.pcie: Nothing is connected in virtual bridges. Exiting...

But MT7615D new work or need to be programmed configured ?

something that might be relevant

On last graph I don't see PERST_N pulse. Only LDO_RST_N.

My error, Blue is PERST_N Pin G14_MT7621 GPIO#19
LDO_RTS is Pullup RC delay, at 3.3V

1 - is Parsing DT failed
3 - is 2 Seconds delay

Maybe now there are different problem.
Data on partition 0x000000040000-0x000000050000 : "factory"
I try to remove factory from inet.

hi,long day yestarday, can you try:

&pcie1 {
         wifi@0,0 {
                 compatible = "mediatek,mt76";
                reg = <0x0000 0 0 0 0>;
                mediatek,mtd-eeprom = <&factory 0x0000>;

pcie1 ?
I use pcie0

1 Like

Also double check on datasheet.


Sorry. I understand nothing.

All graphs wrong? Or for geva device only?

So card detection is correct now?
Pls, be more accuratlely

Sorry, Yes, all wrong

On 26/33 the purple probe was disconnected

Now same error before:
pcie0 no card, disable it

Difference from inet is, PCIe start at LDO_RST, on my board start on PERST

Cannot used my uboot on inet.
RESET button pressed!

Then i have cut inet flash:
dd if=EEPROM_LETTA_DA_INET.bin of=uboot_inet.bin bs=1 count=262144

Loaded firmware via HTML page, but do not start.

ETH_STATE_ACTIVE!!
Hit 'gl' to stop autoboot:  0
Device don't have ART,please write the default ART first...
MT7621 # 

What is ART ?

is the calibration

Se le avessi copiate male dal inet al mio, mi darebbe errore o potrebbe non rilevare la periferica PCIe ?
Ha un CRC di controllo ?

Il tuo consiglio lo provo con pcie0 ?

If I had misunderstood them from the Inet to mine, would it give me an error or may it not to detect the peripheral Pcie?
Do you have a control CRC?

if ART is lost or ruined yes

@anon4457646 Ma di hardware non ne sai ?
Potrebbe essere colpa che non ho rispettato l'impedenza sul bus anche se solo di 1Cm ?
Rifare il prototipo mi costa 1000€ e uno o due mesi, vorrei essere certo che sia l'ultimo.

Sto rivedendo tutti i ritardi allo startup paragonandoli con il iNet, visto che non trovo la documentazione.
Ho ritardato il 1.6V, devo ancora ritardare un po' il 1.1V, ma finora nulla ha avuto effetto.

Could it be the fault that I have not respected the impedance on the bus even if only 1cm?
i can redò sample but I would like to be sure it is the last.

I am reviewing all the delays for the startup by comparing them with the iNet, since I do not find the documentation.
I delayed the 1.6V, I still have to delay a bit the 1.1v, but so far nothing has had effect.

PCIe Gen 1 funziona ad una velocità di clock di 2,5 GHz

PCIe Gen 1 works at a clock speed of 2.5 GHz