Problem cross-compiling
-
As the raspberry folks have released a new kernel (20210430), I'm trying to compile the drivers for a new camera of @MK. Following the instructions, at the last build command I get the error:
make ARCH=arm CROSS_COMPILE=arm-linux-gnueabihf- zImage modules dtbs -j2 make[2]: *** No rule to make target 'arch/arm/boot/dts/overlays/csimx307-overlay.dtbo', needed by '__build'. Stop. make[1]: *** [scripts/Makefile.build:496: arch/arm/boot/dts/overlays] Error 2What am I doing wrong? I've double checked that I did the four steps:
- add driver sources
- update Makefile and Kconfig
- add dts files
- change Makefile in dts folder
-
@tj said in Problem cross-compiling:
change Makefile in dts folder
You should edit this file:
arch\arm\boot\dts\overlays\Makefileveye327.dtbo \ csimx307.dtbo \ cssc132.dtbo \ -
@veye_xumm Thanks for having a look. I had already added those lines. However I still get the error.
-
@tj please attach your Makefile let me take a look at it.
-
@veye_xumm Thanks for the offer. While posting the Makefile I noticed I had -overlay.dtbo in the filenames. Compiling now.
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login