netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Prestera driver fail to probe twice
@ 2024-02-06 15:54 Köry Maincent
  2024-02-06 18:30 ` [EXT] " Elad Nachman
  2024-02-07 23:32 ` Andrew Lunn
  0 siblings, 2 replies; 15+ messages in thread
From: Köry Maincent @ 2024-02-06 15:54 UTC (permalink / raw)
  To: netdev, Taras Chornyi; +Cc: Thomas Petazzoni, Miquel Raynal

Hello,

It seems the prestera driver has never been tested as a module or in a
probe defer case:

# insmod /mnt/prestera.ko 
# insmod /mnt/prestera_pci.ko
[   87.927343] Prestera DX 0000:01:00.0: Loading mrvl/prestera/mvsw_prestera_fw-v4.1.img ...
[   87.935600] Prestera DX 0000:01:00.0: FW version '4.1.0'
[   91.556693] Prestera DX 0000:01:00.0: Prestera FW is ready
[   99.431226] Prestera DX 0000:01:00.0: using random base mac address
# rmmod /mnt/prestera_pci.ko 
# insmod /mnt/prestera_pci.ko
[  122.938273] Prestera DX 0000:01:00.0: waiting for FW loader is timed out
[  122.945163] prestera_pci_probe : 944, err -110
[  122.949704] Prestera DX: probe of 0000:01:00.0 failed with error -110

We have to find a way to detect if the firmware has already been flashed.
I am not familiar with this controller and don't have its datasheet.
Could someone handle it?

Thanks,
Regards,
-- 
Köry Maincent, Bootlin
Embedded Linux and kernel engineering
https://bootlin.com

^ permalink raw reply	[flat|nested] 15+ messages in thread

end of thread, other threads:[~2024-02-13  0:29 UTC | newest]

Thread overview: 15+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-02-06 15:54 Prestera driver fail to probe twice Köry Maincent
2024-02-06 18:30 ` [EXT] " Elad Nachman
2024-02-07 10:22   ` Köry Maincent
2024-02-07 10:56     ` Elad Nachman
2024-02-07 11:28       ` Köry Maincent
2024-02-07 12:24         ` Elad Nachman
2024-02-07 14:31           ` Köry Maincent
2024-02-07 15:06             ` Elad Nachman
2024-02-07 18:31               ` Jakub Kicinski
2024-02-08  7:36                 ` Elad Nachman
2024-02-08 15:37                   ` Jakub Kicinski
2024-02-13  0:29                     ` Jakub Kicinski
2024-02-07 23:32 ` Andrew Lunn
2024-02-08  9:10   ` Köry Maincent
2024-02-08 14:56     ` Andrew Lunn

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).