Welcome to OGeek Q&A Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
517 views
in Technique[技术] by (71.8m points)

kernel module - Building cypress broadcom drivers for Xavier NX using backports

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

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Reply

0 votes
by (71.8m points)
Waitting for answers

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
OGeek|极客中国-欢迎来到极客的世界,一个免费开放的程序员编程交流平台!开放,进步,分享!让技术改变生活,让极客改变未来! Welcome to OGeek Q&A Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...