Forum Discussion

Scotty2's avatar
Scotty2
Icon for Occasional Contributor rankOccasional Contributor
3 years ago
Solved

How to load intel RSU driver using "insmod"?

Hi, This question is slightly related to my question in this thread about Intel Stratix-10 RSU feature. I have been following the instruction from this official document. Currently, I am try...
  • Scotty2's avatar
    3 years ago

    I will leave this here in case someone in the future needs to do this.

    checkout this link for version compatibility:

    Remote System Update Compatibility | Documentation | RocketBoards.org

    What "worked" for me was to compile ATF 2.4.1, kernel 5.4.114 with RSU and u-boot 2021.01 plus the RSU libraries that needs to be put on the HPS, essentially the exact version they had in their manual.

    ATF 2.6.1 crashed when booting into the kernel, with u-boot 2021.01, Intel does not really support older versions, so performance most likely will regress.

    Side note:

    Updating to u-boot 2021.01 from 2019 also meant that the L3 registers needed to be handled differently, the "sec_reg" driver that they introduced that can touch the L3 registers in the DTS file, only starts to exist from uboot 2021.04 and even then, it does not preserve the values of the RESERVED registers.

    So for that I had to follow the suggestions at here and recompile ATF with the modification to its source code and add a script in u-boot to set them before booting the kernel.