Big camera can't take a large picture with Megapixels
Seems the camera is stuck on an interrupt. I got a .dng file out of this attempt, but the size was wrong.
Similar to https://source.puri.sm/Librem5/linux-next/-/issues/309 , but the difference is that there the interrupt doesn't come, and here it doesn't push things forward.
Might be related to https://source.puri.sm/Librem5/linux-next/-/issues/293 and https://source.puri.sm/Librem5/linux-next/-/issues/297 although dmesg doesn't show anything like there:
[ 1096.827517] S5K3L6-CIS 3-0010: Setting frame format 1:1 8bpp ?fps
[ 1096.827900] s5k3l6xx: i2c_write to 0x0136 : 0x1900
[...]
[ 1096.835947] s5k3l6xx: i2c_write to 0x0114 : 0x01
[ 1096.836401] s5k3l6xx: i2c_read: 0x0114 : 0x01
[ 1096.836411] S5K3L6-CIS 3-0010: set_stream 1
[ 1096.836789] s5k3l6xx: i2c_write to 0x0100 : 0x01
[ 1096.837189] s5k3l6xx: i2c_read: 0x0100 : 0x01
[ 1125.891841] S5K3L6-CIS 3-0010: set_stream 0
[ 1125.892238] s5k3l6xx: i2c_write to 0x0100 : 0x00
[ 1125.892629] s5k3l6xx: i2c_read: 0x0100 : 0x00
[ 1126.252243] mx6s-csi 30a90000.csi1_bridge: Skip frame on fb 0
Kernel logs:
sudo trace-cmd record -p function -l v4l2_poll -l s5k3l6xx_set_fmt -l 'mx6s*' -l s5k3l6xx_s_stream
megapixels-8872 [001] 1096.778950: function: mx6s_videobuf_queue
megapixels-8872 [001] 1096.778951: function: mx6s_start_streaming
megapixels-8872 [001] 1096.824298: function: s5k3l6xx_s_stream
megapixels-8872 [002] 1096.837225: function: mx6s_vidioc_g_ctrl
megapixels-8872 [002] 1096.837236: function: mx6s_vidioc_g_ctrl
megapixels-8872 [002] 1096.837343: function: v4l2_poll
single-8874 [000] 1096.952327: function: mx6s_csi_irq_handler
systemd-coredum-8877 [000] 1097.042456: function: mx6s_csi_irq_handler
systemd-coredum-8877 [000] 1097.132593: function: mx6s_csi_irq_handler
systemd-coredum-8877 [000] 1097.222722: function: mx6s_csi_irq_handler
systemd-coredum-8877 [000] 1097.312855: function: mx6s_csi_irq_handler
<idle>-0 [000] 1097.402986: function: mx6s_csi_irq_handler
<idle>-0 [000] 1097.493654: function: mx6s_csi_irq_handler
<idle>-0 [000] 1097.583254: function: mx6s_csi_irq_handler
<idle>-0 [000] 1097.673917: function: mx6s_csi_irq_handler
<idle>-0 [000] 1097.763516: function: mx6s_csi_irq_handler
<idle>-0 [000] 1097.854174: function: mx6s_csi_irq_handler
<idle>-0 [000] 1097.943781: function: mx6s_csi_irq_handler
<idle>-0 [000] 1098.033913: function: mx6s_csi_irq_handler