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

    OrangePi cm5-tablet RAW-MIPI-SC132M

    Scheduled Pinned Locked Moved Rockchip App camera
    35 Posts 3 Posters 9.4k 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.
    • veye_xummV Offline
      veye_xumm @zoldaten
      last edited by

      @zoldaten
      My recommended approach is to set up the system compilation environment following the official OrangePi method, then place our provided dtsi files and drivers into it to compile a new deb package.
      Your suggested method might work as well, but I haven't personally tried 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.)

      zoldatenZ 3 Replies Last reply Reply Quote 0
      • zoldatenZ Offline
        zoldaten @veye_xumm
        last edited by

        @veye_xumm ok. i tried method you recommend but when i built new image step-by-step and burn it to sd nothing changed. no veye camera there and no drivers.

        1 Reply Last reply Reply Quote 0
        • zoldatenZ Offline
          zoldaten @veye_xumm
          last edited by

          @veye_xumm hi. i`ve built once again image folowing https://github.com/veyeimaging/rk35xx_orangepi/tree/main/linux
          and nothing works:
          no_veye.png

          no_veye2.png

          could you check again instructions you provided ?

          moreover, i took rk3588s-orangepi-cm5-tablet.dtb from image with drivers installed you provided above and rk3588s-orangepi-cm5-tablet.dts from original image to compare.

          i decompiled `em to .dts and looked for differences.
          as far as i see on your image you do not use overlays and put all changes to dts:
          2026-02-26_11h37_09.png
          i looks like you changes overlap original ov5647, ov138*, etc and they stop working.

          in addition, i see address drift in program list:
          2026-02-26_11h39_53.png

          could your explain a bit how to make mixed up cameras working as you changes broke dts ?

          1 Reply Last reply Reply Quote 0
          • zoldatenZ Offline
            zoldaten @veye_xumm
            last edited by zoldaten

            @veye_xumm and i do not see any overlays from here compiled on image

            2026-02-26_11h44_43.png :

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

              @zoldaten I noticed you placed the compiled image onto the SD card. This is likely incorrect. You should refer to the official Orange Pi documentation and flash the compiled image to the eMMC storage that comes with the Orange Pi CM5 core board.

              Additionally, you might wonder why we compile the camera's dtsi directly into the main dtb instead of building it separately as an overlay. This approach follows the practice recommended by the Orange Pi manufacturer.

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

              zoldatenZ 1 Reply Last reply Reply Quote 0
              • zoldatenZ Offline
                zoldaten @veye_xumm
                last edited by

                @veye_xumm got it.
                but why do you recommend flash eMMC ?
                i burned SD with your image provided and there veye presented. what`s the difference ?

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

                  @zoldaten

                  @zoldaten said in OrangePi cm5-tablet RAW-MIPI-SC132M:

                  i burned SD with your image provided and there veye presented. what`s the difference ?

                  Sorry, I misunderstood you earlier. I thought you meant that following the steps to compile wasn't working at all. So, now that you've successfully compiled it, the veyecamera has appeared, correct?

                  What you should do now is modify the source code of the DTS. For different MIPI interfaces, use different dtsi configurations to set it up for the specific camera or sensor model you want.

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

                  zoldatenZ 1 Reply Last reply Reply Quote 0
                  • zoldatenZ Offline
                    zoldaten @veye_xumm
                    last edited by zoldaten

                    @veye_xumm veye appears only on image you provided via download link.
                    the image i built has no veye on board.

                    should i change the main dts after decompilation ...tablet.dbt > ...tablet.dts?
                    or use somehow dtsi (https://github.com/veyeimaging/rk35xx_orangepi/tree/main/linux/drivers/cm5/cm5-mvcam-dts) to link with your ...tablet.dbt ?

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

                      @zoldaten
                      As long as you follow the steps and place our driver and DTS files into the Orange Pi source tree, then compile the image according to the official Orange Pi instructions and flash this image onto the board, the VEYE camera driver should appear correctly.

                      Essentially, this operation just adds the driver to the original standard Orange Pi system. No additional steps are required after flashing the image. I suspect that you may not have fully applied the modifications in all the necessary parts of the source code.

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

                      zoldatenZ 2 Replies Last reply Reply Quote 0
                      • zoldatenZ Offline
                        zoldaten @veye_xumm
                        last edited by

                        @veye_xumm hi. i`m trying to build Kernel itself left alone the full image.
                        and see this error in compile the veye driver:
                        error_driver.png

                        so the problem in driver file - [0_1772540181473_veyecam2m.zip](Загрузка 100%)

                        1 Reply Last reply Reply Quote 0
                        • zoldatenZ Offline
                          zoldaten @veye_xumm
                          last edited by

                          @veye_xumm and could you check steps it did before start build process:

                          sudo cp -r rk35xx_orangepi/linux/drivers/cm5/cm5-mvcam-dts orangepi-build/kernel/orange-pi-5.10-rk35xx/arch/arm64/boot/dts/rockchip/
                          sudo cp rk35xx_orangepi/linux/drivers/cm5/config/linux-rockchip-rk3588-legacy.config orangepi-build/external/config/kernel/linux-rockchip-rk3588-legacy.config
                          sudo cp -r rk35xx_veye_bsp/linux/drivers/kernel_v5.10 orangepi-build/kernel/orange-pi-5.10-rk35xx/drivers/media/i2c/
                          
                          sudo nano orangepi-build/kernel/orange-pi-5.10-rk35xx/drivers/media/i2c/Kconfig
                          config VIDEO_DS90UB954
                                 tristate "TI FDPLINK III support."
                                 depends on I2C && VIDEO_V4L2 && VIDEO_V4L2_SUBDEV_API
                                 help
                                      Driver for TI FDPLINK III .
                          
                          config VIDEO_VEYECAM2M
                                 tristate "VEYE 2M camera support."
                                 depends on I2C && VIDEO_V4L2 && VIDEO_V4L2_SUBDEV_API
                                 depends on MEDIA_CAMERA_SUPPORT
                                 help
                                         Driver for veye 2m camera.
                                         
                          config VIDEO_VEYEMVCAM
                                 tristate "VEYE MV series camera support."
                                 depends on I2C && VIDEO_V4L2 && VIDEO_V4L2_SUBDEV_API
                                 depends on MEDIA_CAMERA_SUPPORT
                                 help
                                         Driver for veye mv series camera.
                          
                          config VIDEO_VEYEVBYONE
                                 tristate "VEYE V-by-One hs toolkit support."
                                 depends on I2C && VIDEO_V4L2 && VIDEO_V4L2_SUBDEV_API
                                 depends on MEDIA_CAMERA_SUPPORT
                                 help
                                         Driver for vV-by-One hs toolkit .
                          
                          sudo nano orangepi-build/kernel/orange-pi-5.10-rk35xx/drivers/media/i2c/Makefile
                          obj-$(CONFIG_VIDEO_DS90UB954) += ds90ub954.o
                          obj-$(CONFIG_VIDEO_VEYEVBYONE) += veye_vbyone.o
                          obj-$(CONFIG_VIDEO_VEYECAM2M) += veyecam2m.o
                          obj-$(CONFIG_VIDEO_VEYEMVCAM) += veye_mvcam.o
                          

                          may be i miss something leads to empty image ?

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

                            @zoldaten
                            In the source code of veyecam2m.c, please comment out this function.
                            97370844-9834-4215-84b5-ed9811d2221c-image.png
                            Additionally, since you are using the RAW-MIPI-SC132M camera, you only need the mvcam driver and its corresponding dtb.

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

                            zoldatenZ 1 Reply Last reply Reply Quote 0
                            • zoldatenZ Offline
                              zoldaten @veye_xumm
                              last edited by

                              @veye_xumm ok. i just del it and remove from Makefile.
                              and changed in main dts - uncomment camera-1.
                              build kernel package without full image.
                              installed to jammy 20.04 via dpkg.
                              and... my mixed cams start working !

                              later i`ll tried to repair broken driver for veye you provided.

                              thanks for help!

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

                                @zoldaten looking forward to your good news.

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

                                zoldatenZ 1 Reply Last reply Reply Quote 0
                                • zoldatenZ Offline
                                  zoldaten @veye_xumm
                                  last edited by

                                  @veye_xumm hi. could you provide link to image kernel 6.* image with cameras integrated ?
                                  as far as i saw there are only kernel 5.10 links...

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

                                    @zoldaten Sorry, we currently only provide kernel version 5.x images for Orange Pi. If you need version 6.x, you will need to compile it yourself based on our open-source code.

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

                                    zoldatenZ 2 Replies Last reply Reply Quote 0
                                    • zoldatenZ Offline
                                      zoldaten @veye_xumm
                                      last edited by

                                      @veye_xumm got it. i tried to do that but have segmentation fault - something wrong with mali drivers. at the same time drivers for cameras built correctly.

                                      1 Reply Last reply Reply Quote 0
                                      • zoldatenZ Offline
                                        zoldaten @veye_xumm
                                        last edited by

                                        @veye_xumm

                                        @veye_xumm said in OrangePi cm5-tablet RAW-MIPI-SC132M:

                                        @zoldaten Sorry, we currently only provide kernel version 5.x images for Orange Pi. If you need version 6.x, you will need to compile it yourself based on our open-source code.

                                        hi. i built kernel 6.1.99 - but the errors almost the same as in start of the spoiler to this topic:
                                        2026-04-07_12h07_15.png

                                        in build progress i saw strange missing packages errors.
                                        could your check your instructions ? may be them got obsolete ?

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

                                          @zoldaten You can ignore the warning shown in your screenshot. However, your probe information is incomplete; it seems that the mvcam probe function has not been triggered.

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

                                          zoldatenZ 1 Reply Last reply Reply Quote 0
                                          • zoldatenZ Offline
                                            zoldaten @veye_xumm
                                            last edited by

                                            @veye_xumm i think so.
                                            please see screens attached:
                                            1.png 2.png
                                            when i copied .dts files from veye i saw errors building missing files.

                                            i tried to build on:

                                            • orange pi 5 tablet
                                            • VM machine with Ubuntu 22.04 installed
                                              got the same errors.
                                              please check your files.
                                            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