0

I am trying to build the Xavier NX kernel and include the cypress fmac drivers. Since the kernel version is 4-9 I have to use backports to build the driver modules. But I keep getting errors when building the relevant “.ko” files.

I am mainly following this tutorial to build the l4t kernel image: Ridgerun Tutorial For building l4t kernel

But after building the image when try to cross-compile cypress driver/backports modules, the make fails. Can somebody explain if the $CROSS_COMPILE variable should be same for both building the kernel image and cypress driver modules. And why do cypress modules make keeps failing?

The cypress driver package I am using can be found here: Cypress Driver Package You can find the README in here but it is not clear if I should use the same cross-compiler for building driver modules as I am using for the l4t kernel.

Does anyone have backports experience point out how should I compile the driver modules for l4t kernel?

Thanks!

Owais
  • 3
  • 1
  • "I am mainly following this tutorial to build the l4t kernel image" - Please, show (add to the question post) the **actual commands** you executed. "But I keep getting errors when building the relevant “.ko” files." - Please, show (add to the question post) the **exact error message**. – Tsyvarev Jan 22 '21 at 18:02

0 Answers0