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

    树莓派5 + RAW-MIPI-IMX462M编译出错

    Scheduled Pinned Locked Moved Raspberry Pi App Software
    8 Posts 2 Posters 2.8k Views 2 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.
    • C Offline
      chenhaoyu
      last edited by

      在树莓派5上配置IMX462M款的相机驱动时出现Common error,按照提示的方式更新系统后系统崩溃
      使用的驱动:
      https://github.com/veyeimaging/raspberrypi_v4l2/tree/main
      树莓派5官方系统32位,按readme执行命令结果如下:
      20241101_13h24m35s_grim.png
      按照解决方法1更新后,重新启动系统崩溃,无法进入系统。

      重新刷新系统,尝试64位系统,出现以下报错:
      20241101_13h01m42s_grim.png

      同样,按照方法1更新后无法进入系统。

      重复刷新系统,错误可以复现且报错一致。

      有尝试解决方法2,出现issue中同样问题:
      github_pi-source.png

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

        @chenhaoyu
        你用的系统是6.6版本,应该进入rpi-6.6.y版本进行编译,而不是进入5.15版本目录进行编译。

        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.)

        C 1 Reply Last reply Reply Quote 0
        • C Offline
          chenhaoyu @veye_xumm
          last edited by

          @veye_xumm 好的谢谢,那请问Compile drivers这一步还是进入5.15_all吗?

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

            @chenhaoyu
            5.15的目录对应kernel版本是5.15
            6.6的目录对应的kernel版本是6.6

            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.)

            C 1 Reply Last reply Reply Quote 0
            • C Offline
              chenhaoyu @veye_xumm
              last edited by chenhaoyu

              @veye_xumm 很抱歉可能我的问题有一些疑惑,在Compile dts这一步中我已经知道应该按照你给的修改建议进行改动,但是我现在困惑的是前一步Compile drivers中是否任然进入rpi-5.15_all?我先进入了~/raspberrypi_v4l2/driver_source/cam_drv_src/并在这个文件夹下看到了四个子文件夹:rpi-5.15_all,rpi-5.x_all,rpi-6.1.y,rpi-6.6.y。我是否应该进入rpi-6.6.y?

              我进入rpi-6.6.y make了之后执行Compile dts,如下:

              chy@raspberrypi:~/raspberrypi_v4l2/driver_source/cam_drv_src $ ls
              rpi-5.15_all  rpi-5.x_all  rpi-6.1.y  rpi-6.6.y
              chy@raspberrypi:~/raspberrypi_v4l2/driver_source/cam_drv_src $ cd rpi-6.6.y/
              chy@raspberrypi:~/raspberrypi_v4l2/driver_source/cam_drv_src/rpi-6.6.y $ make
              make -C /lib/modules/6.6.51+rpt-rpi-2712/build  M=/home/chy/raspberrypi_v4l2/driver_source/cam_drv_src/rpi-6.6.y modules
              make[1]: Entering directory '/usr/src/linux-headers-6.6.51+rpt-rpi-2712'
                CC [M]  /home/chy/raspberrypi_v4l2/driver_source/cam_drv_src/rpi-6.6.y/veye_mvcam.o
                CC [M]  /home/chy/raspberrypi_v4l2/driver_source/cam_drv_src/rpi-6.6.y/veyecam2m.o
                CC [M]  /home/chy/raspberrypi_v4l2/driver_source/cam_drv_src/rpi-6.6.y/csimx307.o
                CC [M]  /home/chy/raspberrypi_v4l2/driver_source/cam_drv_src/rpi-6.6.y/cssc132.o
                CC [M]  /home/chy/raspberrypi_v4l2/driver_source/cam_drv_src/rpi-6.6.y/veye_vbyone.o
              /home/chy/raspberrypi_v4l2/driver_source/cam_drv_src/rpi-6.6.y/veye_vbyone.c:81:12: warning: ‘thcv241a_read’ defined but not used [-Wunused-function]
                 81 | static int thcv241a_read(struct thcv241a_priv *priv, unsigned int reg,
                    |            ^~~~~~~~~~~~~
              /home/chy/raspberrypi_v4l2/driver_source/cam_drv_src/rpi-6.6.y/veye_vbyone.c:55:12: warning: ‘thcv242a_read’ defined but not used [-Wunused-function]
                 55 | static int thcv242a_read(struct thcv242a_priv *priv, unsigned int reg,
                    |            ^~~~~~~~~~~~~
                CC [M]  /home/chy/raspberrypi_v4l2/driver_source/cam_drv_src/rpi-6.6.y/ds90ub954.o
              /home/chy/raspberrypi_v4l2/driver_source/cam_drv_src/rpi-6.6.y/ds90ub954.c:963:12: warning: ‘ds90ub953_disable_testpattern’ defined but not used [-Wunused-function]
                963 | static int ds90ub953_disable_testpattern(struct ds90ub953_priv *priv)
                    |            ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
              /home/chy/raspberrypi_v4l2/driver_source/cam_drv_src/rpi-6.6.y/ds90ub954.c:261:12: warning: ‘ds90ub954_disable_testpattern’ defined but not used [-Wunused-function]
                261 | static int ds90ub954_disable_testpattern(struct ds90ub954_priv *priv)
                    |            ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
                MODPOST /home/chy/raspberrypi_v4l2/driver_source/cam_drv_src/rpi-6.6.y/Module.symvers
                CC [M]  /home/chy/raspberrypi_v4l2/driver_source/cam_drv_src/rpi-6.6.y/veye_mvcam.mod.o
                LD [M]  /home/chy/raspberrypi_v4l2/driver_source/cam_drv_src/rpi-6.6.y/veye_mvcam.ko
                CC [M]  /home/chy/raspberrypi_v4l2/driver_source/cam_drv_src/rpi-6.6.y/veyecam2m.mod.o
                LD [M]  /home/chy/raspberrypi_v4l2/driver_source/cam_drv_src/rpi-6.6.y/veyecam2m.ko
                CC [M]  /home/chy/raspberrypi_v4l2/driver_source/cam_drv_src/rpi-6.6.y/csimx307.mod.o
                LD [M]  /home/chy/raspberrypi_v4l2/driver_source/cam_drv_src/rpi-6.6.y/csimx307.ko
                CC [M]  /home/chy/raspberrypi_v4l2/driver_source/cam_drv_src/rpi-6.6.y/cssc132.mod.o
                LD [M]  /home/chy/raspberrypi_v4l2/driver_source/cam_drv_src/rpi-6.6.y/cssc132.ko
                CC [M]  /home/chy/raspberrypi_v4l2/driver_source/cam_drv_src/rpi-6.6.y/veye_vbyone.mod.o
                LD [M]  /home/chy/raspberrypi_v4l2/driver_source/cam_drv_src/rpi-6.6.y/veye_vbyone.ko
                CC [M]  /home/chy/raspberrypi_v4l2/driver_source/cam_drv_src/rpi-6.6.y/ds90ub954.mod.o
                LD [M]  /home/chy/raspberrypi_v4l2/driver_source/cam_drv_src/rpi-6.6.y/ds90ub954.ko
              make[1]: Leaving directory '/usr/src/linux-headers-6.6.51+rpt-rpi-2712'
              chy@raspberrypi:~/raspberrypi_v4l2/driver_source/cam_drv_src/rpi-6.6.y $ cd ~/raspberrypi_v4l2/driver_source/dts/
              chy@raspberrypi:~/raspberrypi_v4l2/driver_source/dts $ ls
              README.txt     rpi-5.10.92+  rpi-5.10.y  rpi-5.4_all  rpi-6.1.y-bookworm
              rpi-5.10.103+  rpi-5.10.92-  rpi-5.15.y  rpi-6.1.y    rpi-6.6.y
              chy@raspberrypi:~/raspberrypi_v4l2/driver_source/dts $ cd rpi-6.6.y/
              chy@raspberrypi:~/raspberrypi_v4l2/driver_source/dts/rpi-6.6.y $ ./build_dtbo.sh
              bash: ./build_dtbo.sh: Permission denied
              chy@raspberrypi:~/raspberrypi_v4l2/driver_source/dts/rpi-6.6.y $ sudo ./build_dtbo.sh
              sudo: ./build_dtbo.sh: command not found
              
              
              
              veye_xummV 1 Reply Last reply Reply Quote 0
              • veye_xummV Offline
                veye_xumm @chenhaoyu
                last edited by

                @chenhaoyu
                你现在树莓派的piOs版本是什么,就进入哪个版本对应的目录进行编译即可。

                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.)

                C 1 Reply Last reply Reply Quote 0
                • C Offline
                  chenhaoyu @veye_xumm
                  last edited by

                  @veye_xumm 好的感谢,这个问题解决了。
                  同时我有一个小问题,我想要用一块树莓派板子来控制四个IMX462相机,但是板子上只有两个MIPI的接口,请问有没有什么解决的办法?好像没有找到有MIPI转USB的转换搬

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

                    @chenhaoyu
                    这个实现不了,树莓派只有两个mipi口。

                    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.)

                    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