Hi Fawaz,
Thank you for your detailed explanation! The hint and information to the bit field helped to understand the entries...
I updated the device tree according to your description and added the ECC node for EMAC1:
emac1-rx-ecc@ff8c1000 {
compatible = "altr,socfpga-eth-mac-ecc";
reg = <0xff8c1000 0x400>;
altr,ecc-parent = <&gmac1>;
interrupts = <6 IRQ_TYPE_LEVEL_HIGH>,
<38 IRQ_TYPE_LEVEL_HIGH>;
};
emac1-tx-ecc@ff8c1400 {
compatible = "altr,socfpga-eth-mac-ecc";
reg = <0xff8c1400 0x400>;
altr,ecc-parent = <&gmac1>;
interrupts = <7 IRQ_TYPE_LEVEL_HIGH>,
<39 IRQ_TYPE_LEVEL_HIGH>;
};
However for some reason, the kernel is still not booting anymore with the active EMAC driver. As said I followed the documentation: https://www.rocketboards.org/foswiki/Documentation/EnableL2CacheECCInLinux?erpm_id=6579622_ts1753093952709 which results in the failure.
I tried two things. First, exactly according to the documentation. In another test, I just enabled the Altera SOCFPGA ECC driver (without any of the sub-drivers). But in both cases, the kernel is not booting anymore.
What is wrong with the settings? Is there any other changes required?