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!
question from:
https://stackoverflow.com/questions/65847965/building-cypress-broadcom-drivers-for-xavier-nx-using-backports 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…