Firefly Open Source Community

Title: /dev/camsys_marvin & /dev/camsys_marvin1 on Ubuntu [Print This Page]

Author: santo4ul    Time: 11/15/2017 03:05
Title: /dev/camsys_marvin & /dev/camsys_marvin1 on Ubuntu
Hi,

    I'm using Ubuntu and trying to read frames from two cameras (OV13850 board) connected to MIPI-CSI ports. From what I understand, it is not supported yet in Ubuntu.

    On the Android SDK, I see the two cameras are exposed as /dev/camsys_marvin and /dev/camsys_marvin1. The same marvin driver used in Android is also seen under Ubuntu Linux kernel source code.

    What I believe is missing in Ubuntu are the relevant DTS changes to enable the mipi-csi/isp/marvin. Android or Ubuntu, it is still Linux kernel and I belive bringing-up /dev/camsys_marvin and /dev/camsys_marvin1 on Ubuntu must be straight forward.

    Is my understanding correct? Could someone throw some light?


Thanks,
San
Author: noteMASTER_11    Time: 1/13/2018 16:40
I got many compile errors while trying to make menuconfig with built-in marvin isp as it pointed in official instruction.

  1. LD      init/built-in.o
  2. drivers/built-in.o: In function `vcodec_ion_create':
  3. /home/mike/sources/linux-kernel/drivers/video/rockchip/vcodec/vcodec_iommu_ion.c:267: undefined reference to `rockchip_ion_client_create'
  4. /home/mike/sources/linux-kernel/drivers/video/rockchip/vcodec/vcodec_iommu_ion.c:267:(.text+0x4e218): relocation truncated to fit: R_AARCH64_CALL26 against undefined symbol `rockchip_ion_client_create'
  5. drivers/built-in.o: In function `camsys_sysctl_external':
  6. /home/mike/sources/linux-kernel/drivers/media/video/rk_camsys/camsys_drv.c:455: undefined reference to `camsys_ext_fsh_ctrl'
  7. /home/mike/sources/linux-kernel/drivers/media/video/rk_camsys/camsys_drv.c:455:(.text+0x4919f8): relocation truncated to fit: R_AARCH64_CALL26 against undefined symbol `camsys_ext_fsh_ctrl'
  8. drivers/built-in.o: In function `camsys_extdev_register':
  9. /home/mike/sources/linux-kernel/drivers/media/video/rk_camsys/camsys_drv.c:203: undefined reference to `camsys_register_ext_fsh_dev'
  10. /home/mike/sources/linux-kernel/drivers/media/video/rk_camsys/camsys_drv.c:203:(.text+0x491ba0): relocation truncated to fit: R_AARCH64_CALL26 against undefined symbol `camsys_register_ext_fsh_dev'
  11. drivers/built-in.o: In function `camsys_extdev_deregister':
  12. /home/mike/sources/linux-kernel/drivers/media/video/rk_camsys/camsys_drv.c:346: undefined reference to `camsys_deregister_ext_fsh_dev'
  13. /home/mike/sources/linux-kernel/drivers/media/video/rk_camsys/camsys_drv.c:346:(.text+0x492144): relocation truncated to fit: R_AARCH64_CALL26 against undefined symbol `camsys_deregister_ext_fsh_dev'
  14. /home/mike/sources/linux-kernel/drivers/media/video/rk_camsys/camsys_drv.c:393: undefined reference to `camsys_deregister_ext_fsh_dev'
  15. /home/mike/sources/linux-kernel/drivers/media/video/rk_camsys/camsys_drv.c:393:(.text+0x49225c): relocation truncated to fit: R_AARCH64_CALL26 against undefined symbol `camsys_deregister_ext_fsh_dev'
  16. drivers/built-in.o: In function `camsys_platform_probe':
  17. /home/mike/sources/linux-kernel/drivers/media/video/rk_camsys/camsys_drv.c:1577: undefined reference to `camsys_init_ext_fsh_module'
  18. /home/mike/sources/linux-kernel/drivers/media/video/rk_camsys/camsys_drv.c:1577:(.text+0x492ddc): relocation truncated to fit: R_AARCH64_CALL26 against undefined symbol `camsys_init_ext_fsh_module'
  19. drivers/built-in.o: In function `camsys_platform_remove':
  20. /home/mike/sources/linux-kernel/drivers/media/video/rk_camsys/camsys_drv.c:1657: undefined reference to `camsys_deinit_ext_fsh_module'
  21. /home/mike/sources/linux-kernel/drivers/media/video/rk_camsys/camsys_drv.c:1657:(.text+0x4934cc): relocation truncated to fit: R_AARCH64_CALL26 against undefined symbol `camsys_deinit_ext_fsh_module'
  22. Makefile:969: §à§ê§Ú§Ò§Ü§Ñ §Ó§í§á§à§Ý§ß§Ö§ß§Ú§ñ §â§Ö§è§Ö§á§ä§Ñ §Õ§Ý§ñ §è§Ö§Ý§Ú «vmlinux»
  23. make: *** [vmlinux] §°§ê§Ú§Ò§Ü§Ñ 1
Copy the code


Sooo... Any ideas? I need to enable DVP port.
Author: leungÏÈÉ­    Time: 1/16/2018 10:30
noteMASTER_11 Posted at 1/13/2018 16:40
I got many compile errors while trying to make menuconfig with built-in marvin isp as it pointed in  ...
it cannot use mipi/dvp interface under the system ubuntu.
Wait for Rockchip support, they are working on it.
Author: noteMASTER_11    Time: 2/27/2018 22:01
leungÏÈÉ­ Posted at 1/16/2018 10:30
it cannot use mipi/dvp interface under the system ubuntu.
Wait for Rockchip support, they are wor ...

I am very dissappointed. Moreover, I can't run Cheese because of rockchip_dri.so error and can't set webcam auto_gain parameter via v4l2_ctl - libwebcam error.
Author: johnqui251    Time: 1/11/2026 18:34
The article is written with great depth, and I have learned a lot of practical knowledge. Here¡¯s the Latest D-PSC-DY-23 dumps free download test that led to my promotion and salary raise, and it¡¯s free for you today. Best of luck achieving your career goals!
Author: seankin721    Time: 1/11/2026 19:34
Thank you for sharing this insightful article, it really stood out to me. Latest 712-50 exam papers helped me achieve the promotion and raise I dreamed of, and now I¡¯m giving it to you for free!
Author: tommoor519    Time: 2/1/2026 06:26
I¡¯m left in awe by your article, thank you for sharing this treasure! Get free New exam C-OCM-2503 collection file to boost your IT knowledge. Wishing you the best of luck!
Author: davidwo388    Time: 2/19/2026 12:24
I was deeply moved by the article. Let¡¯s do this! Wishing for success in the Demo CLO-002 test exam!
Author: tomharr692    Time: 4/20/2026 10:22
This article has given me new ideas and methods for my work. The Reliable N16599GC10 dumps files exam questions are now available for free. Good luck to everyone!




Welcome Firefly Open Source Community (https://bbs.t-firefly.com/) Powered by Discuz! X3.1