VEYE IMAGING Forum
    • Categories
    • Tags
    • Recent
    • Popular
    • Users
    • WIKI
    • veye.cc
    • Register
    • Login

    Problem cross-compiling

    Scheduled Pinned Locked Moved CS MIPI camera
    5 Posts 2 Posters 1.7k Views 1 Watching
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • T Offline
      tj
      last edited by

      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 2
      

      What 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
      veye_xummV 1 Reply Last reply Reply Quote 0
      • veye_xummV Offline
        veye_xumm @tj
        last edited by

        @tj

        @tj said in Problem cross-compiling:

        change Makefile in dts folder

        You should edit this file:
        arch\arm\boot\dts\overlays\Makefile

        veye327.dtbo \
        csimx307.dtbo \
        cssc132.dtbo \
        

        Questions will be answered as soon as possible, please be patient.
        如果你使用中文,请直接用中文提问。
        May the force be with YOU. (This is the translation of the mysterious Chinese symbol above.)

        T 1 Reply Last reply Reply Quote 0
        • T Offline
          tj @veye_xumm
          last edited by

          @veye_xumm Thanks for having a look. I had already added those lines. However I still get the error.

          veye_xummV 1 Reply Last reply Reply Quote 0
          • veye_xummV Offline
            veye_xumm @tj
            last edited by

            @tj please attach your Makefile let me take a look at it.

            Questions will be answered as soon as possible, please be patient.
            如果你使用中文,请直接用中文提问。
            May the force be with YOU. (This is the translation of the mysterious Chinese symbol above.)

            T 1 Reply Last reply Reply Quote 0
            • T Offline
              tj @veye_xumm
              last edited by tj

              @veye_xumm Thanks for the offer. While posting the Makefile I noticed I had -overlay.dtbo in the filenames. Compiling now.

              1 Reply Last reply Reply Quote 0

              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
              • First post
                Last post