Bug 217922 - FEC driver not working for imx7dea-com board from kernel 6.1 or later
Summary: FEC driver not working for imx7dea-com board from kernel 6.1 or later
Status: NEW
Alias: None
Product: Networking
Classification: Unclassified
Component: Other (show other bugs)
Hardware: ARM Linux
: P3 normal
Assignee: Stephen Hemminger
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-09-18 11:51 UTC by Oleg Vyskrebentsev
Modified: 2023-09-18 14:04 UTC (History)
1 user (show)

See Also:
Kernel Version:
Subsystem:
Regression: No
Bisected commit-id:


Attachments

Description Oleg Vyskrebentsev 2023-09-18 11:51:45 UTC
Fast ethernet controller driver (fec) for imx7d cpu not working in kernel 6.1 or later.
Boot kernel error is:
[    1.860925] fec: probe of 30be0000.ethernet failed with error -12.

Kernel version from github:
https://github.com/embeddedartists/linux-imx/tree/ea_6.1.y

start driver succsessfully:

[    1.401249] fec 30be0000.ethernet eth0: registered PHC device 0

but have other problems to boot system.


Driver sources from embeddedartists repository compiled succsessfully with small adjust of header files on kernel version 6.5.3. But fec driver failed with error -12 too.

DTB file working successfully on kernel 5.15 and not changed now for kernel 6.1 - 6.5.

Where is mistake, who is use imx7d cpu with 6.1-6.5 kernel sucsessfully?
Comment 1 Bagas Sanjaya 2023-09-18 14:04:58 UTC
(In reply to Oleg Vyskrebentsev from comment #0)
> Fast ethernet controller driver (fec) for imx7d cpu not working in kernel
> 6.1 or later.
> Boot kernel error is:
> [    1.860925] fec: probe of 30be0000.ethernet failed with error -12.
> 
> Kernel version from github:
> https://github.com/embeddedartists/linux-imx/tree/ea_6.1.y
> 
> start driver succsessfully:
> 
> [    1.401249] fec 30be0000.ethernet eth0: registered PHC device 0
> 
> but have other problems to boot system.
> 
> 
> Driver sources from embeddedartists repository compiled succsessfully with
> small adjust of header files on kernel version 6.5.3. But fec driver failed
> with error -12 too.
> 
> DTB file working successfully on kernel 5.15 and not changed now for kernel
> 6.1 - 6.5.
> 

Please do bisection between v5.15..v6.1. See Documentation/admin-guide/bug-bisect.rst for instructions.

Note You need to log in before you can comment on or make changes to this bug.