Navigation

    VEYE IMAGING Forum

    • Register
    • Login
    • Search
    • Categories
    • Tags
    • Recent
    • Popular
    • Users
    • WIKI
    • veye.cc

    SOLVED Problem cross-compiling

    CS MIPI camera
    2
    5
    744
    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
      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_xumm 1 Reply Last reply Reply Quote 0
      • veye_xumm
        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 \
        T 1 Reply Last reply Reply Quote 0
        • T
          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_xumm 1 Reply Last reply Reply Quote 0
          • veye_xumm
            veye_xumm @tj last edited by

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

            T 1 Reply Last reply Reply Quote 0
            • T
              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
              • First post
                Last post