ROCK 5B Debug Party Invitation

So the normal power mode switch speed is fast enough for not causing power loss during switching but PD hard reset still causes this?

My oldest 5V SBC power brick with A-to-C cable:

in0:           5.00 V  (min =  +5.00 V, max =  +5.00 V)
curr1:         0.00 A  (max =  +0.00 A)

in_voltage0_raw: 4081
in_voltage1_raw: 4093
in_voltage2_raw: 3275
in_voltage3_raw: 4
in_voltage4_raw: 4089
in_voltage5_raw: 3237
in_voltage6_raw: 888  -> 888 / 175 = 5.07
in_voltage7_raw: 1724

RPi USB-C power brick:

in0:           5.00 V  (min =  +5.00 V, max =  +5.00 V)
curr1:         3.00 A  (max =  +3.00 A)

in_voltage0_raw: 4082
in_voltage1_raw: 4092
in_voltage2_raw: 3042
in_voltage3_raw: 4
in_voltage4_raw: 4092
in_voltage5_raw: 2435
in_voltage6_raw: 927  -> 927 / 175 = 5.3
in_voltage7_raw: 1169

Apple 96W charger:

in0:           9.00 V  (min =  +9.00 V, max =  +9.00 V)
curr1:         3.00 A  (max =  +3.00 A)

in_voltage0_raw: 4080
in_voltage1_raw: 4093
in_voltage2_raw: 3282
in_voltage3_raw: 4
in_voltage4_raw: 4088
in_voltage5_raw: 3238
in_voltage6_raw: 1565 -> 1565 / 175 = 8.94
in_voltage7_raw: 1988

24W charger with default DT (maxing out at 12V):

in0:          12.00 V  (min = +12.00 V, max = +12.00 V)
curr1:         1.50 A  (max =  +1.50 A)

in_voltage0_raw: 4080
in_voltage1_raw: 4094
in_voltage2_raw: 3283
in_voltage3_raw: 3194
in_voltage4_raw: 4094
in_voltage5_raw: 3227
in_voltage6_raw: 2096 -> 2096 / 175 = 11.98
in_voltage7_raw: 2376

24W charger with adjusted sink-pdos DT entries:

in0:          15.00 V  (min = +15.00 V, max = +15.00 V)
curr1:         1.60 A  (max =  +1.60 A)

in_voltage0_raw: 4080
in_voltage1_raw: 4090
in_voltage2_raw: 3277
in_voltage3_raw: 6
in_voltage4_raw: 4088
in_voltage5_raw: 3234
in_voltage6_raw: 2625 -> 2625 / 175 = 15
in_voltage7_raw: 2418

The 175 divider I just pulled out of nowhere…

From the schematic. The other appear to be board rev/etc
image

The others are described on page 15 of the schematic.

Since not being an EE or having any clues of hardware… is the 175 divider ok or not?

saradc is 1.8v so 12 bit FFF (4095) I guess.

35e to decimal = 862 / 4095 * 1.8 = .378

The resistor network is just the ratio of the total so 8.2k1/ 108.2k1
According to that
888 = 5.150v
927 = 5.376
1565 = 9.07
2096 = 12.156
2625 = 15.225

172.5 is closer. As Stuart pointed out, it’s a voltage divider. An easy reference though is that 20V is advertised as D79 hex, 3449 decimal. 3449/20V = 172.45

SarADC are often not that accurate and the errors can be non linear where sometimes in code there is an error correction table but prob not required here as its just sensing the approx input voltage.
Anyone measured the USB 5v when feeding with the 5v power sources, as guess this is just for interest?

Not with anything I would consider calibrated. I did just pick up a benchtop supply, so if I can get the power to a type C I can do a sweep and see. I don’t think it’s critical either though.

It doesn’t really as the second buck drives the further power domains from the 5.14 or whatever output the 1st gives.
Think its just usb 5v and fan / gpio vcc that take from that line and after the buck with inefficiencies guessing it could drop below 5v and not sure at what point the input needs to be to keep in USB spec with load.

Thanks for the feedback, Jack. As long as it is being looked at seriously, I have no complaints. I think the I2C clock at 1 MHz may be a bit of a risk on it’s own, I believe this is the absolute maximum frequency of the fusb302. I assume then this is running a default 400 khz now? I assume you’ll be changing to a bit stronger pullup than the 10k?

1 Like

I hope very much that they change the pull-up resistors. 10k is usually fine for 100kHz but will not work at 1MHz. The input capacitance of the fusb302 is specified with 50pF. If we double this to 100pF to account for PCB capacitance and the output capacitance of the RK3588 we have a Tau of the signal of 1us. Usually the Tau should at least be 4 times smaller than the target frequency so instead of using 10k resistors <2.5k are required for 1MHz operation (they should just use 1k ones to be safe).
Even 400kHz is borderline with 10k pull ups…

Regarding the measured VIN6 voltage, you should be able to calculate it by multiplying the raw LSB value with 0.0058V/LSB --> (1.8V/4095)*((100k+8.2k)/8.2k)
Fyi, 1/0.0058 = 172.41

4 Likes

I received the board this afternoon. I am running Ubuntu 20.04.4 LTS here (CLI).
I tried to encode and decode some files but failed. did anyone get this working?

Failed with:

[  999.117152] rk_vcodec: mpp_collect_msgs:1476: session 0 process cmd 100 ret -22
[  999.117198] rk_vcodec: mpp_dev_ioctl:1587: collect msgs failed -22
[ 1033.754919] rk_vcodec: mpp_collect_msgs:1476: session 0 process cmd 100 ret -22
[ 1033.754948] rk_vcodec: mpp_dev_ioctl:1587: collect msgs failed -22

SDL2 didn’t work properly either, but opengles is working perfectly with gbm.
Version: 2.23.1

Update: There is a fix for this error that i missed, but still not working.

SDL version 2.0.20 works with minor help:

DEBUG: /dev/dri/card0 connector, encoder and CRTC counts are: 2 3 4
DEBUG: /dev/dri/card0 connector, encoder and CRTC counts are: 2 3 4
DEBUG: KMSDRM_VideoInit()
DEBUG: Opening device /dev/dri/card0
DEBUG: Opened DRM FD (5)
DEBUG: Failed loading udev_device_get_action: /usr/local/lib/libSDL2-2.0.so.0: undefined symbol: _udev_device_get_action
DEBUG: Failed loading eglGetPlatformDisplayEXT: /usr/lib/aarch64-linux-gnu/mali/libGLESv2.so.2: undefined symbol: _eglGetPlatformDispl
DEBUG: Failed loading _eglGetPlatformDisplayEXT: /usr/lib/aarch64-linux-gnu/mali/libGLESv2.so.2: undefined symbol: __eglGetPlatformDis
arm_release_ver of this libmali is 'g6p0-01eac0', rk_so_ver is '5'.
DEBUG: Could not hide current cursor with drmModeSetCursor().
DEBUG: Failed to set DRM cursor.
DEBUG: That operation is not supported
INFO: Screen bpp: 32
INFO: 
INFO: Vendor     : ARM
INFO: Renderer   : Mali-LODX
INFO: Version    : OpenGL ES 3.2 v1.g6p0-01eac0.3b670429c215b5ca848ad5d6b11ce5bc
INFO: Extensions : GL_ARM_rgba8 GL_ARM_mali_shader_binary GL_OES_depth24 GL_OES_depth_texture GL_OES_depth_texture_cube_map GL_OES_packed_depth_stencil GL_OES_rgb8_rgba8 GL_EXT_read_format_bgra GL_OES_compressed_paletted_texture GL_OES_compressed_ETC1_RGB8_texture GL_OES_standard_derivatives GL_OES_EGL_image GL_OES_EGL_image_external GL_OES_EGL_image_external_essl3 GL_OES_EGL_sync GL_OES_texture_npot GL_OES_vertex_half_float GL_OES_required_internalformat GL_OES_vertex_array_object GL_OES_mapbuffer GL_EXT_texture_format_BGRA8888 GL_EXT_texture_rg GL_EXT_texture_type_2_10_10_10_REV GL_OES_fbo_render_mipmap GL_OES_element_index_uint GL_EXT_shadow_samplers GL_OES_texture_compression_astc GL_KHR_texture_compression_astc_ldr GL_KHR_texture_compression_astc_hdr GL_KHR_texture_compression_astc_sliced_3d GL_EXT_texture_compression_astc_decode_mode GL_EXT_texture_compression_astc_decode_mode_rgb9e5 GL_KHR_debug GL_EXT_occlusion_query_boolean GL_EXT_disjoint_timer_query GL_EXT_blend_minmax GL_EXT_discard_framebuffer GL_OES_get_program_binary GL_OES_texture_3D GL_EXT_texture_storage GL_EXT_multisampled_render_to_texture GL_EXT_multisampled_render_to_texture2 GL_OES_surfaceless_context GL_OES_texture_stencil8 GL_EXT_shader_pixel_local_storage GL_ARM_shader_framebuffer_fetch GL_ARM_shader_framebuffer_fetch_depth_stencil GL_ARM_mali_program_binary GL_EXT_sRGB GL_EXT_sRGB_write_control GL_EXT_texture_sRGB_decode GL_EXT_texture_sRGB_R8 GL_EXT_texture_sRGB_RG8 GL_KHR_blend_equation_advanced GL_KHR_blend_equation_advanced_coherent GL_OES_texture_storage_multisample_2d_array GL_OES_shader_image_atomic GL_EXT_robustness GL_EXT_draw_buffers_indexed GL_OES_draw_buffers_indexed GL_EXT_texture_border_clamp GL_OES_texture_border_clamp GL_EXT_texture_cube_map_array GL_OES_texture_cube_map_array GL_OES_sample_variables GL_OES_sample_shading GL_OES_shader_multisample_interpolation GL_EXT_shader_io_blocks GL_OES_shader_io_blocks GL_EXT_tessellation_shader GL_OES_tessellation_shader GL_EXT_primitive_bounding_box GL_OES_primitive_bounding_box GL_EXT_geometry_shader GL_OES_geometry_shader GL_ANDROID_extension_pack_es31a GL_EXT_gpu_shader5 GL_OES_gpu_shader5 GL_EXT_texture_buffer GL_OES_texture_buffer GL_EXT_copy_image GL_OES_copy_image GL_EXT_shader_non_constant_global_initializers GL_EXT_color_buffer_half_float GL_EXT_unpack_subimage GL_EXT_color_buffer_float GL_EXT_float_blend GL_EXT_YUV_target GL_OVR_multiview GL_OVR_multiview2 GL_OVR_multiview_multisampled_render_to_texture GL_KHR_robustness GL_KHR_robust_buffer_access_behavior GL_EXT_draw_elements_base_vertex GL_OES_draw_elements_base_vertex GL_EXT_buffer_storage GL_EXT_texture_filter_anisotropic GL_OES_texture_float_linear GL_ARM_texture_unnormalized_coordinates GL_EXT_shader_framebuffer_fetch 
INFO: 
INFO: SDL_GL_RED_SIZE: requested 5, got 8
INFO: SDL_GL_GREEN_SIZE: requested 5, got 8
INFO: SDL_GL_BLUE_SIZE: requested 5, got 8
INFO: SDL_GL_DEPTH_SIZE: requested 16, got 24
DEBUG: New DRM FB (208): 1920x1080, stride 7680 from BO 0x558d5eb180
DEBUG: New DRM FB (252): 1920x1080, stride 7680 from BO 0x558d648240
DEBUG: New DRM FB (253): 1920x1080, stride 7680 from BO 0x558d566840
DEBUG: drmModeMoveCursor() failed.
INFO: 60.00 frames per second
DEBUG: Could not hide current cursor with drmModeSetCursor().
DEBUG: Delete DRM FB 253
DEBUG: Delete DRM FB 208
DEBUG: Delete DRM FB 252

Hi. Can somebody check if there is any working Vulkan driver on rock 5b on Debian or Android 12 at least?

Running an old glmark2-es2-drm (1920x1080) is capped at 60 FPS, no idea how to override vsync, unfortunately. The new version could not run with drm.

glmark2-es2-drm 
arm_release_ver of this libmali is 'g6p0-01eac0', rk_so_ver is '5'.
Using display 0x556d312c80 with EGL version 0.0
EGL Version "1.4 Valhall-"g6p0-01eac0""
EGL Vendor "ARM"
EGL Extensions "EGL_NV_context_priority_realtime EGL_KHR_partial_update EGL_KHR_config_attribs EGL_KHR_image EGL_KHR_image_base EGL_KHR_fence_sync EGL_KHR_wait_sync EGL_KHR_gl_colorspace EGL_KHR_get_all_proc_addresses EGL_IMG_context_priority EGL_KHR_no_config_context EGL_EXT_image_dma_buf_import EGL_EXT_image_dma_buf_import_modifiers EGL_EXT_yuv_surface EGL_EXT_pixel_format_float EGL_ARM_pixmap_multisample_discard EGL_KHR_gl_texture_2D_image EGL_KHR_gl_renderbuffer_image EGL_KHR_create_context EGL_KHR_surfaceless_context EGL_KHR_gl_texture_cubemap_image EGL_EXT_image_gl_colorspace EGL_EXT_create_context_robustness"
=======================================================
    glmark2 2021.02
=======================================================
    OpenGL Information
    GL_VENDOR:     ARM
    GL_RENDERER:   Mali-LODX
    GL_VERSION:    OpenGL ES 3.2 v1.g6p0-01eac0.3b670429c215b5ca848ad5d6b11ce5bc
=======================================================
[build] use-vbo=false: FPS: 60 FrameTime: 16.667 ms
[build] use-vbo=true: FPS: 60 FrameTime: 16.667 ms
[texture] texture-filter=nearest: FPS: 60 FrameTime: 16.667 ms
[texture] texture-filter=linear: FPS: 60 FrameTime: 16.667 ms
[texture] texture-filter=mipmap: FPS: 60 FrameTime: 16.667 ms
[shading] shading=gouraud: FPS: 60 FrameTime: 16.667 ms
[shading] shading=blinn-phong-inf: FPS: 60 FrameTime: 16.667 ms
[shading] shading=phong: FPS: 60 FrameTime: 16.667 ms
[shading] shading=cel: FPS: 60 FrameTime: 16.667 ms
[bump] bump-render=high-poly: FPS: 60 FrameTime: 16.667 ms
[bump] bump-render=normals: FPS: 60 FrameTime: 16.667 ms
[bump] bump-render=height: FPS: 60 FrameTime: 16.667 ms
[effect2d] kernel=0,1,0;1,-4,1;0,1,0;: FPS: 60 FrameTime: 16.667 ms
[effect2d] kernel=1,1,1,1,1;1,1,1,1,1;1,1,1,1,1;: FPS: 60 FrameTime: 16.667 ms
[pulsar] light=false:quads=5:texture=false: FPS: 60 FrameTime: 16.667 ms
[desktop] blur-radius=5:effect=blur:passes=1:separable=true:windows=4: FPS: 60 FrameTime: 16.667 ms
[desktop] effect=shadow:windows=4: FPS: 60 FrameTime: 16.667 ms
[buffer] columns=200:interleave=false:update-dispersion=0.9:update-fraction=0.5:update-method=map: FPS: 60 FrameTime: 16.667 ms
[buffer] columns=200:interleave=false:update-dispersion=0.9:update-fraction=0.5:update-method=subdata: FPS: 60 FrameTime: 16.667 ms
[buffer] columns=200:interleave=true:update-dispersion=0.9:update-fraction=0.5:update-method=map: FPS: 60 FrameTime: 16.667 ms
[ideas] speed=duration: FPS: 60 FrameTime: 16.667 ms
[jellyfish] <default>: FPS: 60 FrameTime: 16.667 ms
[terrain] <default>: FPS: 59 FrameTime: 16.949 ms
[shadow] <default>: FPS: 60 FrameTime: 16.667 ms
[refract] <default>: FPS: 60 FrameTime: 16.667 ms
[conditionals] fragment-steps=0:vertex-steps=0: FPS: 60 FrameTime: 16.667 ms
[conditionals] fragment-steps=5:vertex-steps=0: FPS: 60 FrameTime: 16.667 ms
[conditionals] fragment-steps=0:vertex-steps=5: FPS: 60 FrameTime: 16.667 ms
[function] fragment-complexity=low:fragment-steps=5: FPS: 60 FrameTime: 16.667 ms
[function] fragment-complexity=medium:fragment-steps=5: FPS: 60 FrameTime: 16.667 ms
[loop] fragment-loop=false:fragment-steps=5:vertex-steps=5: FPS: 60 FrameTime: 16.667 ms
[loop] fragment-steps=5:fragment-uniform=false:vertex-steps=5: FPS: 60 FrameTime: 16.667 ms
[loop] fragment-steps=5:fragment-uniform=true:vertex-steps=5: FPS: 60 FrameTime: 16.667 ms
=======================================================
                                  glmark2 Score: 59 
=======================================================

regarding SDL2, the problem was that i was using HDMI2 and it had problems finding geometry, using HDMI1 is just fine.

Looks like everybody is on discord now? Anyway, here is the Radxa camera. IMX415.
I believe they changed the connector if you look at the last batch image. I am figuring out how things work, i will post here if i have any progress.

Connector:

Radxa Camera:

Detecting the camera:

[    4.984014] rockchip-csi2-dphy-hw fedc0000.csi2-dphy0-hw: csi2 dphy hw probe successfully!
[    4.984175] rockchip-csi2-dphy csi2-dphy0: csi2 dphy0 probe successfully!
[    5.874168] rkcif rkcif-mipi-lvds2: Entity type for entity rockchip-mipi-csi2 was not initialized!
[    5.874176] rockchip-mipi-csi2: Async registered subdev
[    5.874183] rockchip-mipi-csi2: probe success, v4l2_dev:rkcif-mipi-lvds2!
[    5.874546] rkisp_hw fdcb0000.rkisp: Adding to iommu group 13
[    5.874689] rkisp_hw fdcb0000.rkisp: is_thunderboot: 0
[    5.874694] rkisp_hw fdcb0000.rkisp: max input:0x0@0fps
[    5.874699] rkisp_hw fdcb0000.rkisp: Missing rockchip,grf property
[    5.874770] rkisp_hw fdcb0000.rkisp: no find phandle sram
[    5.875034] rkisp rkisp0-vir0: rkisp driver version: v01.09.00
[    5.875157] rkisp rkisp0-vir0: Entity type for entity rkisp-isp-subdev was not initialized!
[    5.951036] imx415 3-001a: driver version: 00.01.07
[    5.951058] imx415 3-001a:  Get hdr mode failed! no hdr default
[    5.951183] imx415 3-001a: Failed to get power-gpios
[    5.951195] imx415 3-001a: could not get default pinstate
[    5.951205] imx415 3-001a: could not get sleep pinstate
[    5.951217] imx415 3-001a: Looking up dvdd-supply from device tree
[    5.951233] imx415 3-001a: Looking up dvdd-supply property in node /i2c@feab0000/imx415@1a failed
[    5.951856] imx415 3-001a: supply dvdd not found, using dummy regulator
[    5.951905] imx415 3-001a: Looking up dovdd-supply from device tree
[    5.951911] imx415 3-001a: Looking up dovdd-supply property in node /i2c@feab0000/imx415@1a failed
[    5.951919] imx415 3-001a: supply dovdd not found, using dummy regulator
[    5.951935] imx415 3-001a: Looking up avdd-supply from device tree
[    5.951939] imx415 3-001a: Looking up avdd-supply property in node /i2c@feab0000/imx415@1a failed
[    5.951946] imx415 3-001a: supply avdd not found, using dummy regulator
[    6.011551] imx415 3-001a: Detected imx415 id 0000e0
[    6.011622] rockchip-csi2-dphy csi2-dphy0: dphy0 matches m00_b_imx415 3-001a:bus type 5
[    6.013247] rkisp0-vir0: Async subdev notifier completed
[    6.258507] rkisp rkisp0-vir0: clear unready subdev num: 0
[    9.388385] imx415 3-001a: set exposure(shr0) 2047 = cur_vts(2250) - val(203)

First attempt:

[  287.556278] rkcif-mipi-lvds2: stream[1] start streaming
[  287.556285] rkcifhw fdce0000.rkcif: Only support one master device, master device count 0
[  287.557065] rkcif-mipi-lvds2: Allocate dummy buffer, size: 0x007e9000
[  287.557087] rkcif-mipi-lvds2: can not find output format: 0x32315559
[  287.557103] rockchip-mipi-csi2 fdd30000.mipi2-csi2: stream on, src_sd: 00000000ca9c3ea3, sd_name:rockchip-csi2-dphy0
[  287.557115] rockchip-mipi-csi2 fdd30000.mipi2-csi2: stream ON
[  287.557130] rockchip-csi2-dphy0: dphy0, data_rate_mbps 892
[  287.557150] rockchip-csi2-dphy csi2-dphy0: csi2_dphy_s_stream stream on:1, dphy0
[  287.557151] rockchip-csi2-dphy csi2-dphy0: csi2_dphy_s_stream stream on:1, dphy0
[  287.557154] imx415 3-001a: s_stream: 1. 3864x2192, hdr: 0, bpp: 10
[  287.617600] imx415 3-001a: set vblank 0x3a vts 2250
[  287.618922] imx415 3-001a: set exposure(shr0) 2047 = cur_vts(2250) - val(203)
[  287.619810] imx415 3-001a: set analog gain 0x0
[  292.946868] rkcif-mipi-lvds2: stream[1] start stopping, total mode 0x1, cur 0x1
[  293.953300] rockchip-mipi-csi2 fdd30000.mipi2-csi2: stream off, src_sd: 00000000ca9c3ea3, sd_name:rockchip-csi2-dphy0
[  293.953336] rockchip-mipi-csi2 fdd30000.mipi2-csi2: stream OFF
[  293.954388] rockchip-csi2-dphy csi2-dphy0: csi2_dphy_s_stream_stop stream stop, dphy0
[  293.954396] rockchip-csi2-dphy csi2-dphy0: csi2_dphy_s_stream stream on:0, dphy0
[  293.954417] rockchip-csi2-dphy csi2-dphy0: csi2_dphy_s_stream stream on:0, dphy0
[  293.954427] imx415 3-001a: s_stream: 0. 3864x2192, hdr: 0, bpp: 10
[  294.012515] rkcif-mipi-lvds2: stream[1] stopping finished

video dev: (incomplete due to space constraint)

/dev/video0
Driver Info:
	Driver name      : rkcif
	Card type        : rkcif
	Bus info         : platform:rkcif-mipi-lvds2
	Driver version   : 5.10.66
	Capabilities     : 0x84201000
		Video Capture Multiplanar
		Streaming
		Extended Pix Format
		Device Capabilities
	Device Caps      : 0x04201000
		Video Capture Multiplanar
		Streaming
		Extended Pix Format
Media Driver Info:
	Driver name      : rkcif
	Model            : rkcif-mipi-lvds2
	Serial           : 
	Bus info         : 
	Media version    : 5.10.66
	Hardware revision: 0x00000000 (0)
	Driver version   : 5.10.66
Interface Info:
	ID               : 0x03000002
	Type             : V4L Video
Entity Info:
	ID               : 0x00000001 (1)
	Name             : stream_cif_mipi_id0
	Function         : V4L2 I/O
	Pad 0x01000004   : 0: Sink
	  Link 0x02000043: from remote pad 0x100002f of entity 'rockchip-mipi-csi2': Data, Enabled
	  Link 0x02000059: from remote pad 0x1000030 of entity 'rockchip-mipi-csi2': Data
	  Link 0x0200006f: from remote pad 0x1000031 of entity 'rockchip-mipi-csi2': Data
	  Link 0x02000085: from remote pad 0x1000032 of entity 'rockchip-mipi-csi2': Data
	  Link 0x0200009b: from remote pad 0x1000033 of entity 'rockchip-mipi-csi2': Data
	  Link 0x020000b1: from remote pad 0x1000034 of entity 'rockchip-mipi-csi2': Data
	  Link 0x020000c7: from remote pad 0x1000035 of entity 'rockchip-mipi-csi2': Data
	  Link 0x020000dd: from remote pad 0x1000036 of entity 'rockchip-mipi-csi2': Data
	  Link 0x020000f3: from remote pad 0x1000037 of entity 'rockchip-mipi-csi2': Data
	  Link 0x02000109: from remote pad 0x1000038 of entity 'rockchip-mipi-csi2': Data
	  Link 0x0200011f: from remote pad 0x1000039 of entity 'rockchip-mipi-csi2': Data
ioctl: VIDIOC_ENUM_FMT
	Type: Video Capture Multiplanar

	[0]: 'NV16' (Y/CbCr 4:2:2)
	[1]: 'NV61' (Y/CrCb 4:2:2)
	[2]: 'NV12' (Y/CbCr 4:2:0)
	[3]: 'NV21' (Y/CrCb 4:2:0)
	[4]: 'YUYV' (YUYV 4:2:2)
	[5]: 'YVYU' (YVYU 4:2:2)
	[6]: 'UYVY' (UYVY 4:2:2)
	[7]: 'VYUY' (VYUY 4:2:2)
	[8]: 'RGB3' (24-bit RGB 8-8-8)
	[9]: 'RGBP' (16-bit RGB 5-6-5)
	[10]: 'BGRH' (18-bit BGRX 6-6-6-14)
	[11]: 'RGGB' (8-bit Bayer RGRG/GBGB)
	[12]: 'GRBG' (8-bit Bayer GRGR/BGBG)
	[13]: 'GBRG' (8-bit Bayer GBGB/RGRG)
	[14]: 'BA81' (8-bit Bayer BGBG/GRGR)
	[15]: 'RG10' (10-bit Bayer RGRG/GBGB)
	[16]: 'BA10' (10-bit Bayer GRGR/BGBG)
	[17]: 'GB10' (10-bit Bayer GBGB/RGRG)
	[18]: 'BG10' (10-bit Bayer BGBG/GRGR)
	[19]: 'RG12' (12-bit Bayer RGRG/GBGB)
	[20]: 'BA12' (12-bit Bayer GRGR/BGBG)
	[21]: 'GB12' (12-bit Bayer GBGB/RGRG)
	[22]: 'BG12' (12-bit Bayer BGBG/GRGR)
	[23]: 'BYR2' (16-bit Bayer BGBG/GRGR)
	[24]: 'GB16' (16-bit Bayer GBGB/RGRG)
	[25]: 'GR16' (16-bit Bayer GRGR/BGBG)
	[26]: 'RG16' (16-bit Bayer RGRG/GBGB)
	[27]: 'Y16 ' (16-bit Greyscale)
	[28]: 'GREY' (8-bit Greyscale)
	[29]: 'EBD8' (Embedded data 8-bit)
	[30]: 'SPD6' (Shield pix data 16-bit)
	[31]: 'Y12 ' (12-bit Greyscale)
	[32]: 'Y10 ' (10-bit Greyscale)
===============
/dev/video1
Driver Info:
	Driver name      : rkcif
	Card type        : rkcif
	Bus info         : platform:rkcif-mipi-lvds2
	Driver version   : 5.10.66
	Capabilities     : 0x84201000
		Video Capture Multiplanar
		Streaming
		Extended Pix Format
		Device Capabilities
	Device Caps      : 0x04201000
		Video Capture Multiplanar
		Streaming
		Extended Pix Format
Media Driver Info:
	Driver name      : rkcif
	Model            : rkcif-mipi-lvds2
	Serial           : 
	Bus info         : 
	Media version    : 5.10.66
	Hardware revision: 0x00000000 (0)
	Driver version   : 5.10.66
Interface Info:
	ID               : 0x03000006
	Type             : V4L Video
Entity Info:
	ID               : 0x00000005 (5)
	Name             : stream_cif_mipi_id1
	Function         : V4L2 I/O
	Pad 0x01000008   : 0: Sink
	  Link 0x02000045: from remote pad 0x100002f of entity 'rockchip-mipi-csi2': Data
	  Link 0x0200005b: from remote pad 0x1000030 of entity 'rockchip-mipi-csi2': Data, Enabled
	  Link 0x02000071: from remote pad 0x1000031 of entity 'rockchip-mipi-csi2': Data
	  Link 0x02000087: from remote pad 0x1000032 of entity 'rockchip-mipi-csi2': Data
	  Link 0x0200009d: from remote pad 0x1000033 of entity 'rockchip-mipi-csi2': Data
	  Link 0x020000b3: from remote pad 0x1000034 of entity 'rockchip-mipi-csi2': Data
	  Link 0x020000c9: from remote pad 0x1000035 of entity 'rockchip-mipi-csi2': Data
	  Link 0x020000df: from remote pad 0x1000036 of entity 'rockchip-mipi-csi2': Data
	  Link 0x020000f5: from remote pad 0x1000037 of entity 'rockchip-mipi-csi2': Data
	  Link 0x0200010b: from remote pad 0x1000038 of entity 'rockchip-mipi-csi2': Data
	  Link 0x02000121: from remote pad 0x1000039 of entity 'rockchip-mipi-csi2': Data
ioctl: VIDIOC_ENUM_FMT
	Type: Video Capture Multiplanar

	[0]: 'NV16' (Y/CbCr 4:2:2)
	[1]: 'NV61' (Y/CrCb 4:2:2)
	[2]: 'NV12' (Y/CbCr 4:2:0)
	[3]: 'NV21' (Y/CrCb 4:2:0)
	[4]: 'YUYV' (YUYV 4:2:2)
	[5]: 'YVYU' (YVYU 4:2:2)
	[6]: 'UYVY' (UYVY 4:2:2)
	[7]: 'VYUY' (VYUY 4:2:2)
	[8]: 'RGB3' (24-bit RGB 8-8-8)
	[9]: 'RGBP' (16-bit RGB 5-6-5)
	[10]: 'BGRH' (18-bit BGRX 6-6-6-14)
	[11]: 'RGGB' (8-bit Bayer RGRG/GBGB)
	[12]: 'GRBG' (8-bit Bayer GRGR/BGBG)
	[13]: 'GBRG' (8-bit Bayer GBGB/RGRG)
	[14]: 'BA81' (8-bit Bayer BGBG/GRGR)
	[15]: 'RG10' (10-bit Bayer RGRG/GBGB)
	[16]: 'BA10' (10-bit Bayer GRGR/BGBG)
	[17]: 'GB10' (10-bit Bayer GBGB/RGRG)
	[18]: 'BG10' (10-bit Bayer BGBG/GRGR)
	[19]: 'RG12' (12-bit Bayer RGRG/GBGB)
	[20]: 'BA12' (12-bit Bayer GRGR/BGBG)
	[21]: 'GB12' (12-bit Bayer GBGB/RGRG)
	[22]: 'BG12' (12-bit Bayer BGBG/GRGR)
	[23]: 'BYR2' (16-bit Bayer BGBG/GRGR)
	[24]: 'GB16' (16-bit Bayer GBGB/RGRG)
	[25]: 'GR16' (16-bit Bayer GRGR/BGBG)
	[26]: 'RG16' (16-bit Bayer RGRG/GBGB)
	[27]: 'Y16 ' (16-bit Greyscale)
	[28]: 'GREY' (8-bit Greyscale)
	[29]: 'EBD8' (Embedded data 8-bit)
	[30]: 'SPD6' (Shield pix data 16-bit)
	[31]: 'Y12 ' (12-bit Greyscale)
	[32]: 'Y10 ' (10-bit Greyscale)
===============
/dev/video10
Driver Info:
	Driver name      : rkcif
	Card type        : rkcif
	Bus info         : platform:rkcif-mipi-lvds2
	Driver version   : 5.10.66
	Capabilities     : 0x84201000
		Video Capture Multiplanar
		Streaming
		Extended Pix Format
		Device Capabilities
	Device Caps      : 0x04201000
		Video Capture Multiplanar
		Streaming
		Extended Pix Format
Media Driver Info:
	Driver name      : rkcif
	Model            : rkcif-mipi-lvds2
	Serial           : 
	Bus info         : 
	Media version    : 5.10.66
	Hardware revision: 0x00000000 (0)
	Driver version   : 5.10.66
Interface Info:
	ID               : 0x0300002b
	Type             : V4L Video
Entity Info:
	ID               : 0x00000029 (41)
	Name             : rkcif_tools_id2
	Function         : V4L2 I/O
	Pad 0x0100002a   : 0: Sink
	  Link 0x02000057: from remote pad 0x100002f of entity 'rockchip-mipi-csi2': Data
	  Link 0x0200006d: from remote pad 0x1000030 of entity 'rockchip-mipi-csi2': Data
	  Link 0x02000083: from remote pad 0x1000031 of entity 'rockchip-mipi-csi2': Data
	  Link 0x02000099: from remote pad 0x1000032 of entity 'rockchip-mipi-csi2': Data
	  Link 0x020000af: from remote pad 0x1000033 of entity 'rockchip-mipi-csi2': Data
	  Link 0x020000c5: from remote pad 0x1000034 of entity 'rockchip-mipi-csi2': Data
	  Link 0x020000db: from remote pad 0x1000035 of entity 'rockchip-mipi-csi2': Data
	  Link 0x020000f1: from remote pad 0x1000036 of entity 'rockchip-mipi-csi2': Data
	  Link 0x02000107: from remote pad 0x1000037 of entity 'rockchip-mipi-csi2': Data
	  Link 0x0200011d: from remote pad 0x1000038 of entity 'rockchip-mipi-csi2': Data
	  Link 0x02000133: from remote pad 0x1000039 of entity 'rockchip-mipi-csi2': Data, Enabled
ioctl: VIDIOC_ENUM_FMT
	Type: Video Capture Multiplanar

	[0]: 'RGGB' (8-bit Bayer RGRG/GBGB)
	[1]: 'GRBG' (8-bit Bayer GRGR/BGBG)
	[2]: 'GBRG' (8-bit Bayer GBGB/RGRG)
	[3]: 'BA81' (8-bit Bayer BGBG/GRGR)
	[4]: 'RG10' (10-bit Bayer RGRG/GBGB)
	[5]: 'BA10' (10-bit Bayer GRGR/BGBG)
	[6]: 'GB10' (10-bit Bayer GBGB/RGRG)
	[7]: 'BG10' (10-bit Bayer BGBG/GRGR)
	[8]: 'RG12' (12-bit Bayer RGRG/GBGB)
	[9]: 'BA12' (12-bit Bayer GRGR/BGBG)
	[10]: 'GB12' (12-bit Bayer GBGB/RGRG)
	[11]: 'BG12' (12-bit Bayer BGBG/GRGR)
===============
/dev/video11
Driver Info:
	Driver name      : rkisp_v6
	Card type        : rkisp_mainpath
	Bus info         : platform:rkisp0-vir0
	Driver version   : 1.9.0
	Capabilities     : 0x84201000
		Video Capture Multiplanar
		Streaming
		Extended Pix Format
		Device Capabilities
	Device Caps      : 0x04201000
		Video Capture Multiplanar
		Streaming
		Extended Pix Format
Media Driver Info:
	Driver name      : rkisp0-vir0
	Model            : rkisp0
	Serial           : 
	Bus info         : 
	Media version    : 5.10.66
	Hardware revision: 0x00000000 (0)
	Driver version   : 5.10.66
Interface Info:
	ID               : 0x03000007
	Type             : V4L Video
Entity Info:
	ID               : 0x00000006 (6)
	Name             : rkisp_mainpath
	Function         : V4L2 I/O
	Pad 0x01000009   : 0: Sink
	  Link 0x0200000a: from remote pad 0x1000004 of entity 'rkisp-isp-subdev': Data, Enabled
ioctl: VIDIOC_ENUM_FMT
	Type: Video Capture Multiplanar

	[0]: 'UYVY' (UYVY 4:2:2)
	[1]: '422P' (Planar YUV 4:2:2)
	[2]: 'NV16' (Y/CbCr 4:2:2)
	[3]: 'NV61' (Y/CrCb 4:2:2)
	[4]: 'YM16' (Planar YUV 4:2:2 (N-C))
	[5]: 'NV21' (Y/CrCb 4:2:0)
	[6]: 'NV12' (Y/CbCr 4:2:0)
	[7]: 'NM21' (Y/CrCb 4:2:0 (N-C))
	[8]: 'NM12' (Y/CbCr 4:2:0 (N-C))
	[9]: 'YU12' (Planar YUV 4:2:0)
	[10]: 'YM24' (Planar YUV 4:4:4 (N-C))
	[11]: 'RGGB' (8-bit Bayer RGRG/GBGB)
	[12]: 'GRBG' (8-bit Bayer GRGR/BGBG)
	[13]: 'GBRG' (8-bit Bayer GBGB/RGRG)
	[14]: 'BA81' (8-bit Bayer BGBG/GRGR)
	[15]: 'RG10' (10-bit Bayer RGRG/GBGB)
	[16]: 'BA10' (10-bit Bayer GRGR/BGBG)
	[17]: 'GB10' (10-bit Bayer GBGB/RGRG)
	[18]: 'BG10' (10-bit Bayer BGBG/GRGR)
	[19]: 'RG12' (12-bit Bayer RGRG/GBGB)
	[20]: 'BA12' (12-bit Bayer GRGR/BGBG)
	[21]: 'GB12' (12-bit Bayer GBGB/RGRG)
	[22]: 'BG12' (12-bit Bayer BGBG/GRGR)
===============
/dev/video12
Driver Info:
	Driver name      : rkisp_v6
	Card type        : rkisp_selfpath
	Bus info         : platform:rkisp0-vir0
	Driver version   : 1.9.0
	Capabilities     : 0x84201000
		Video Capture Multiplanar
		Streaming
		Extended Pix Format
		Device Capabilities
	Device Caps      : 0x04201000
		Video Capture Multiplanar
		Streaming
		Extended Pix Format
Media Driver Info:
	Driver name      : rkisp0-vir0
	Model            : rkisp0
	Serial           : 
	Bus info         : 
	Media version    : 5.10.66
	Hardware revision: 0x00000000 (0)
	Driver version   : 5.10.66
Interface Info:
	ID               : 0x0300000d
	Type             : V4L Video
Entity Info:
	ID               : 0x0000000c (12)
	Name             : rkisp_selfpath
	Function         : V4L2 I/O
	Pad 0x0100000f   : 0: Sink
	  Link 0x02000010: from remote pad 0x1000004 of entity 'rkisp-isp-subdev': Data, Enabled
ioctl: VIDIOC_ENUM_FMT
	Type: Video Capture Multiplanar

	[0]: 'UYVY' (UYVY 4:2:2)
	[1]: '422P' (Planar YUV 4:2:2)
	[2]: 'NV16' (Y/CbCr 4:2:2)
	[3]: 'NV61' (Y/CrCb 4:2:2)
	[4]: 'YM16' (Planar YUV 4:2:2 (N-C))
	[5]: 'NV21' (Y/CrCb 4:2:0)
	[6]: 'NV12' (Y/CbCr 4:2:0)
	[7]: 'NM21' (Y/CrCb 4:2:0 (N-C))
	[8]: 'NM12' (Y/CbCr 4:2:0 (N-C))
	[9]: 'YU12' (Planar YUV 4:2:0)
	[10]: 'YM24' (Planar YUV 4:4:4 (N-C))
	[11]: 'GREY' (8-bit Greyscale)
	[12]: 'XR24' (32-bit BGRX 8-8-8-8)
	[13]: 'RGBP' (16-bit RGB 5-6-5)
	[14]: 'FBCG' (Rockchip fbc gain)
===============
/dev/video13
Driver Info:
	Driver name      : rkisp_v6
	Card type        : rkisp_fbcpath
	Bus info         : platform:rkisp0-vir0
	Driver version   : 1.9.0
	Capabilities     : 0x84201000
		Video Capture Multiplanar
		Streaming
		Extended Pix Format
		Device Capabilities
	Device Caps      : 0x04201000
		Video Capture Multiplanar
		Streaming
		Extended Pix Format
Media Driver Info:
	Driver name      : rkisp0-vir0
	Model            : rkisp0
	Serial           : 
	Bus info         : 
	Media version    : 5.10.66
	Hardware revision: 0x00000000 (0)
	Driver version   : 5.10.66
Interface Info:
	ID               : 0x03000013
	Type             : V4L Video
Entity Info:
	ID               : 0x00000012 (18)
	Name             : rkisp_fbcpath
	Function         : V4L2 I/O
	Pad 0x01000015   : 0: Sink
	  Link 0x02000016: from remote pad 0x1000004 of entity 'rkisp-isp-subdev': Data, Enabled
ioctl: VIDIOC_ENUM_FMT
	Type: Video Capture Multiplanar

	[0]: 'FBC0' (Rockchip yuv420sp fbc encoder)
	[1]: 'FBC2' (Rockchip yuv422sp fbc encoder)
===============
/dev/video14
Driver Info:
	Driver name      : rkisp_v6
	Card type        : rkisp_iqtool
	Bus info         : platform:rkisp0-vir0
	Driver version   : 1.9.0
	Capabilities     : 0x84201000
		Video Capture Multiplanar
		Streaming
		Extended Pix Format
		Device Capabilities
	Device Caps      : 0x04201000
		Video Capture Multiplanar
		Streaming
		Extended Pix Format
Media Driver Info:
	Driver name      : rkisp0-vir0
	Model            : rkisp0
	Serial           : 
	Bus info         : 
	Media version    : 5.10.66
	Hardware revision: 0x00000000 (0)
	Driver version   : 5.10.66
Interface Info:
	ID               : 0x03000019
	Type             : V4L Video
Entity Info:
	ID               : 0x00000018 (24)
	Name             : rkisp_iqtool
	Function         : V4L2 I/O
	Pad 0x0100001b   : 0: Sink
	  Link 0x0200001c: from remote pad 0x1000004 of entity 'rkisp-isp-subdev': Data, Enabled
ioctl: VIDIOC_ENUM_FMT
	Type: Video Capture Multiplanar

	[0]: 'UYVY' (UYVY 4:2:2)
	[1]: '422P' (Planar YUV 4:2:2)
	[2]: 'NV16' (Y/CbCr 4:2:2)
	[3]: 'NV61' (Y/CrCb 4:2:2)
	[4]: 'YM16' (Planar YUV 4:2:2 (N-C))
	[5]: 'NV21' (Y/CrCb 4:2:0)
	[6]: 'NV12' (Y/CbCr 4:2:0)
	[7]: 'NM21' (Y/CrCb 4:2:0 (N-C))
	[8]: 'NM12' (Y/CbCr 4:2:0 (N-C))
	[9]: 'YU12' (Planar YUV 4:2:0)
	[10]: 'YM24' (Planar YUV 4:4:4 (N-C))
	[11]: 'RGGB' (8-bit Bayer RGRG/GBGB)
	[12]: 'GRBG' (8-bit Bayer GRGR/BGBG)
	[13]: 'GBRG' (8-bit Bayer GBGB/RGRG)
	[14]: 'BA81' (8-bit Bayer BGBG/GRGR)
	[15]: 'RG10' (10-bit Bayer RGRG/GBGB)
	[16]: 'BA10' (10-bit Bayer GRGR/BGBG)
	[17]: 'GB10' (10-bit Bayer GBGB/RGRG)
	[18]: 'BG10' (10-bit Bayer BGBG/GRGR)
	[19]: 'RG12' (12-bit Bayer RGRG/GBGB)
	[20]: 'BA12' (12-bit Bayer GRGR/BGBG)
	[21]: 'GB12' (12-bit Bayer GBGB/RGRG)
	[22]: 'BG12' (12-bit Bayer BGBG/GRGR)
===============
/dev/video15
Driver Info:
	Driver name      : rkisp_v6
	Card type        : rkisp_rawrd0_m
	Bus info         : platform:rkisp0-vir0
	Driver version   : 1.9.0
	Capabilities     : 0x84202000
		Video Output Multiplanar
		Streaming
		Extended Pix Format
		Device Capabilities
	Device Caps      : 0x04202000
		Video Output Multiplanar
		Streaming
		Extended Pix Format
Media Driver Info:
	Driver name      : rkisp0-vir0
	Model            : rkisp0
	Serial           : 
	Bus info         : 
	Media version    : 5.10.66
	Hardware revision: 0x00000000 (0)
	Driver version   : 5.10.66
Interface Info:
	ID               : 0x0300001f
	Type             : V4L Video
Entity Info:
	ID               : 0x0000001e (30)
	Name             : rkisp_rawrd0_m
	Function         : V4L2 I/O
	Pad 0x01000021   : 0: Source
	  Link 0x02000022: to remote pad 0x1000002 of entity 'rkisp-isp-subdev': Data
ioctl: VIDIOC_ENUM_FMT
	Type: Video Capture Multiplanar

===============
/dev/video16
Driver Info:
	Driver name      : rkisp_v6
	Card type        : rkisp_rawrd2_s
	Bus info         : platform:rkisp0-vir0
	Driver version   : 1.9.0
	Capabilities     : 0x84202000
		Video Output Multiplanar
		Streaming
		Extended Pix Format
		Device Capabilities
	Device Caps      : 0x04202000
		Video Output Multiplanar
		Streaming
		Extended Pix Format
Media Driver Info:
	Driver name      : rkisp0-vir0
	Model            : rkisp0
	Serial           : 
	Bus info         : 
	Media version    : 5.10.66
	Hardware revision: 0x00000000 (0)
	Driver version   : 5.10.66
Interface Info:
	ID               : 0x03000025
	Type             : V4L Video
Entity Info:
	ID               : 0x00000024 (36)
	Name             : rkisp_rawrd2_s
	Function         : V4L2 I/O
	Pad 0x01000027   : 0: Source
	  Link 0x02000028: to remote pad 0x1000002 of entity 'rkisp-isp-subdev': Data
ioctl: VIDIOC_ENUM_FMT
	Type: Video Capture Multiplanar

===============
/dev/video17
Driver Info:
	Driver name      : rkisp_v6
	Card type        : rkisp_rawrd1_l
	Bus info         : platform:rkisp0-vir0
	Driver version   : 1.9.0
	Capabilities     : 0x84202000
		Video Output Multiplanar
		Streaming
		Extended Pix Format
		Device Capabilities
	Device Caps      : 0x04202000
		Video Output Multiplanar
		Streaming
		Extended Pix Format
Media Driver Info:
	Driver name      : rkisp0-vir0
	Model            : rkisp0
	Serial           : 
	Bus info         : 
	Media version    : 5.10.66
	Hardware revision: 0x00000000 (0)
	Driver version   : 5.10.66
Interface Info:
	ID               : 0x0300002b
	Type             : V4L Video
Entity Info:
	ID               : 0x0000002a (42)
	Name             : rkisp_rawrd1_l
	Function         : V4L2 I/O
	Pad 0x0100002d   : 0: Source
	  Link 0x0200002e: to remote pad 0x1000002 of entity 'rkisp-isp-subdev': Data
ioctl: VIDIOC_ENUM_FMT
	Type: Video Capture Multiplanar

===============
/dev/video18
Driver Info:
	Driver name      : rkisp_v6
	Card type        : rkisp-statistics
	Bus info         : platform: rkisp
	Driver version   : 1.9.0
	Capabilities     : 0x84a00000
		Metadata Capture
		Streaming
		Extended Pix Format
		Device Capabilities
	Device Caps      : 0x04a00000
		Metadata Capture
		Streaming
		Extended Pix Format
Media Driver Info:
	Driver name      : rkisp0-vir0
	Model            : rkisp0
	Serial           : 
	Bus info         : 
	Media version    : 5.10.66
	Hardware revision: 0x00000000 (0)
	Driver version   : 5.10.66
Interface Info:
	ID               : 0x03000032
	Type             : V4L Video
Entity Info:
	ID               : 0x00000030 (48)
	Name             : rkisp-statistics
	Function         : V4L2 I/O
	Pad 0x01000031   : 0: Sink
	  Link 0x02000034: from remote pad 0x1000005 of entity 'rkisp-isp-subdev': Data, Enabled
ioctl: VIDIOC_ENUM_FMT
	Type: Video Capture

===============

“the debug party has essentially ended and some of us realise this” :wink:

ouch, so it is about to be released then? :smile:

The good thing is that i think i have hdmi in working, haha…

Well, I would appreciate sharing your findings/proceedings here (and not in some hidden/closed Discord channel).

BTW: When I added IMX415 info to my review I claimed ‘8MP camera able to stream 4K @ 90 frames/sec’ based on SONY material. Is that correct?

I grabbed a frame from the camera, asked 1920x1080 nv12 and receive this:
-rw-rw-r-- 1 rock rock 12441600 Aug 7 16:03 frame_1920x1080.nv12

i need to be sure about what i am really getting. I expect 4k@30 with current driver, but the size is wrong.
v4l2-ctl --device /dev/video0 --stream-mmap=4 --stream-count=1 --stream-skip=150 --set-fmt-video=width=1920,height=1080,pixelformat=NV12
<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<< 30.00 fps
<<<<<<<<<<<<<<<<<<<<<<<<<<<<<< 30.00 fps
<<<<<<<<<<<<<<<<<<<<<<<<<<<<<< 30.00 fps
<<<<<<<<<<<<<<<<<<<<<<<<<<<<<< 30.00 fps