Firefly Open Source Community

   Login   |   Register   |
New_Topic
Print Previous Topic Next Topic

[Linux] ROC-RK3588S-PC failed with CAM-8MS1M with Debian 11 v1.1.1a SDK

23

Credits

0

Prestige

0

Contribution

new registration

Rank: 1

Credits
23

【Linux】 ROC-RK3588S-PC failed with CAM-8MS1M with Debian 11 v1.1.1a SDK

Posted at 9/12/2023 01:04:23      View:1268 | Replies:4        Print      Only Author   [Copy Link] 1#
Problem description and steps to reproduce:
Last edited by CameraMen In 9/12/2023 01:05 Editor

Hello,
Camera module CAM-8MS1M is not working on ROC-RK3588S-PC with Debian 11 v1.1.1a SDK .

Can it be fixed?

sdk_1_1_1a.zip

19.55 KB, Down times: 0

Reply

Use props Report

14

Credits

0

Prestige

0

Contribution

new registration

Rank: 1

Credits
14
Posted at 9/13/2023 14:26:52        Only Author  2#
The same for me, I used the prebuilt sdk firmware for Ubuntu and Debian with the camera, it was not detected.
Then I built the firmare sdk and added the recommended driver file include into kernel/arch/arm64/boot/dts/rockchip/roc-rk3588s-pc.dts.
But also with this image the camera was not usable, e.g. with the test_camera.-*.sh scripts of the sdk.
Reply

Use props Report

208

Credits

0

Prestige

0

Contribution

intermediate

Rank: 3Rank: 3

Credits
208
Posted at 9/25/2023 11:54:44        Only Author  3#
Please use this version of firmware(ROC-RK3588S-PC_Debian11_v1.0.4b_221123). There are some issues with the latest version of Debian firmware about CAM-8MS1M, and we will fix and reissue the firmware in the future .
Reply

Use props Report

208

Credits

0

Prestige

0

Contribution

intermediate

Rank: 3Rank: 3

Credits
208
Posted at 9/25/2023 11:55:40        Only Author  4#
The latest firmware for Ubuntu has been fixed, but Debian's will take some time~

Reply

Use props Report

23

Credits

0

Prestige

0

Contribution

new registration

Rank: 1

Credits
23
Posted at 9/30/2023 13:59:17        Only Author  5#
Last edited by CameraMen In 9/30/2023 14:15 Editor

Thank you. Indeed, version 1.1.1c Ubuntu supports CAM-8MS1M.
But this version has an issue - HDMI always used as video out even if DSI selected.
I built image with
  1. ./build.sh roc-rk3588s-pc-BE45-A1-debian.mk # MIPI DSI
Copy the code

device tree was modified for DSI LCD display init (was tested with version 1.0.4 and works fine).
In uboot:

  1. Model: Firefly ROC-RK3588S-PC V13 MIPI(Linux)
  2. MPIDR: 0x81000000
  3. No resource file: logo.bmp
  4. =================begin===================
  5. 512 bytes read in 4 ms (125 KiB/s)
  6. logo(Distro): logo.bmp
  7. =================begin===================
  8. 127818 bytes read in 4 ms (30.5 MiB/s)
  9. logo(Distro): logo.bmp
  10. Rockchip UBOOT DRM driver version: v1.0.1
  11. vp0 have layer nr:2[0 2 ], primary plane: 2
  12. vp1 have layer nr:2[1 3 ], primary plane: 3
  13. vp2 have layer nr:2[6 8 ], primary plane: 8
  14. vp3 have layer nr:2[7 9 ], primary plane: 9
  15. Using display timing dts
  16. dsi@fde20000:  detailed mode clock 76400 kHz, flags[a]
  17.     H: 0720 0740 0744 0749
  18.     V: 1280 1300 1304 1324
  19. bus_format: 100e
  20. VOP update mode to: 720x1280p77, type: MIPI0 for VP3
  21. [list]p_rate=1188000000, best_rate=74250000, div=16, sel=0
  22. [list]p_rate=1500000000, best_rate=75000000, div=20, sel=1
  23. [list]p_rate=0, best_rate=75000000, div=20, sel=1
  24. [list]p_rate=786431991, best_rate=75000000, div=20, sel=1
  25. [result]p_rate=786431991, best_rate=75000000, div=20, sel=1
  26. VP3 set crtc_clock to 75000KHz
  27. VOP VP3 enable Esmart3[500x501->500x501@110x389] fmt[2] addr[0xedf20000]
  28. final DSI-Link bandwidth: 500000 Kbps x 4
  29. [Firefly]-[rockchip_panel_send_dsi_cmds]-[265]:  read DA = 0
  30. [Firefly]-[rockchip_panel_send_dsi_cmds]-[267]: MIPI ID Check Pass!
  31. hdmi@fde80000 disconnected
Copy the code

but no video on LCD. How to enable DSI LCD?
Reply

Use props Report

You need to log in before you can reply Login | Register

This forum Credits Rules

Quick Reply Back to top Back to list