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

    imx462在米尔MYC-C8MMX开发板测试失败。求助

    Scheduled Pinned Locked Moved VEYE MIPI camera
    7 Posts 2 Posters 1.5k 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.
    • H Offline
      hezudao
      last edited by

      硬件环境:米尔MYC-C8MMX开发板,基于NXP i.MX8M Mini处理器
      软件环境:Linux4.14.98,参考:http://down.myir-tech.com/MYD-C8MMX/
      操作步骤参考:http://wiki.veye.cc/index.php/VEYE_CS_Camera_on_MYIR_i.MX8_board/zh。
      移植与操作步骤:
      1,添加源文件:
      drivers/media/platform/mxc/capture/veye327_mipi_v2.c,

      修改makefile与Kconfig
      769c1169-6008-4147-b3b2-8e40152e3bb9-image.png
      5d03795a-296d-4a1e-b232-e6c288c46322-image.png
      2,修改dts文件,修改veye327相关设备树
      a6f96df3-ba69-4344-98ba-12817133a57a-image.png
      3,make menuconfig, 增加对应camera模块驱动的编译选项
      CONFIG_MXC_CAMERA_VEYE327_MIPI_V2=y
      6df18410-ee98-4341-82ce-04f6b762d4af-image.png
      4,linux 的commit信息,编译内核并将Image和dtb文件拷贝到MYC-C8MMX开发板上
      8b2e9a6e-cc5a-4b80-9e91-b20f571a9c98-image.png
      5,重新启动,linux内核 更换成功; dmesg | grep veye 找不到对应的log。imx462测试失败。
      30645472-b6ed-4aa4-825e-874261869091-image.png

      1 Reply Last reply Reply Quote 0
      • H Offline
        hezudao
        last edited by

        veye32y_mipi_v2.c文件295行代码,是错误吗?
        ed5b9d89-65cd-4c4a-a44f-acafe259b545-image.png
        e6ac86cc-55ec-4664-98d5-01f2ffee35fc-image.png

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

          @hezudao
          这个地方应该是写错了。
          我查了一下,米尔的我们只开发了8m,没有测试8m mini板子。
          你可以上传一下整个的dmesg,是不是dts没弄对啊?

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

          H 1 Reply Last reply Reply Quote 0
          • H Offline
            hezudao @veye_xumm
            last edited by

            @veye_xumm 尝试了重新编译,重新烧录Image,依然未成功。
            附上dmesg的log信息,
            重新编译后,替换了Image与dtb的log:
            dmesg_veye.txt
            米尔官方提供的Image的log:
            dmesg_myir.txt

            希望能给些指导意见,感谢

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

              @hezudao
              应该是dts文件没有改对。 没有尝试去probe veye摄像头。你可以对比一下两个dts文件试试。

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

              H 1 Reply Last reply Reply Quote 0
              • H Offline
                hezudao @veye_xumm
                last edited by

                @veye_xumm 终于找到原因了,是设备树没有生效,在uboot启动时指定了另外的设备树。感谢

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

                  @hezudao
                  不客气~

                  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