Skip to content
GitLab
  • Menu
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
  • Sign in / Register
  • L linux
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 140
    • Issues 140
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 24
    • Merge requests 24
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages & Registries
    • Packages & Registries
    • Package Registry
    • Container Registry
    • Infrastructure Registry
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • Librem5
  • linux
  • Issues
  • #312
Closed
Open
Issue created Apr 29, 2021 by Dorota Czaplejewicz@dorota.czaplejewiczMaintainer

5.12.0 amber is not the same as git

And also not the same as the version tagged pureos/5.12.0pureos1_amber1 (51b1d9a3).

I confirmed this by compiling that version myself. Logs captured using:

purism@pureos:~$ sudo modprobe s5k3l6xx debug=5
purism@pureos:~$ echo 'file drivers/media/platform/* +p' | sudo tee /sys/kernel/debug/dynamic_debug/control
file drivers/media/platform/* +p
purism@pureos:~$ v4l2-ctl -d 1 --set-fmt-video=width=2000,height=2000,pixelformat=GRBG

Correct output is nothing, but Amber .deb version here gives:

VIDIOC_S_FMT: failed: Invalid argument

logs:

5.12.0-librem5-g51b1d9a3

[   33.750365] mx6s-csi 30b80000.csi2_bridge: csi_dmareq_rff_enable: starting
[   33.750389] mx6s-csi 30b80000.csi2_bridge: csi_dmareq_rff_enable: fmt not set. returning.
[   33.750410] mx6s-csi 30b80000.csi2_bridge: mx6s_vidioc_querycap: starting
[   33.750440] mx6s-csi 30b80000.csi2_bridge: VIDIOC_G_SELECTION not implemented
[   33.750452] mx6s-csi 30b80000.csi2_bridge: mx6s_vidioc_querycap: starting
[   33.750687] mx6s-csi 30b80000.csi2_bridge: get pixelformat '(null)' w=0 h=0 size=0
[   33.750709] mx6s-csi 30b80000.csi2_bridge: mx6s_vidioc_s_fmt_vid_cap: starting
[   33.750718] mx6s-csi 30b80000.csi2_bridge: Starting mx6s_vidioc_try_fmt_vid_cap.
[   33.750727] format_by_fourcc : found format nr. 4 :'GRBG'
[   33.750739] mxc-mipi-csi2_yav 30b60000.mipi_csi2: mipi_csi2_set_fmt: set_fmt w=2000 h=2000
[   33.750750] mxc-mipi-csi2_yav 30b60000.mipi_csi2: mipi_csi2_set_fmt: set send_level 64 hs_settle 0x9
[   33.750762] format_by_fourcc : found format nr. 4 :'GRBG'
[   33.750771] mx6s-csi 30b80000.csi2_bridge: set to pixelformat 'RAWRGB' w=2104 h=1560 size=3282240
[   33.750782] mx6s-csi 30b80000.csi2_bridge: mx6s_configure_csi : starting.
[   33.750791] mx6s-csi 30b80000.csi2_bridge: IMAGE: 2104x1560
[   33.750828] mx6s-csi 30b80000.csi2_bridge: csi_dmareq_rff_disable: starting

5.12.0-1-librem5

[   40.177025] mx6s-csi 30b80000.csi2_bridge: csi_dmareq_rff_enable: starting
[   40.177050] mx6s-csi 30b80000.csi2_bridge: csi_dmareq_rff_enable: fmt not set. returning.
[   40.177073] mx6s-csi 30b80000.csi2_bridge: mx6s_vidioc_querycap: starting
[   40.177103] mx6s-csi 30b80000.csi2_bridge: VIDIOC_G_SELECTION not implemented
[   40.177114] mx6s-csi 30b80000.csi2_bridge: mx6s_vidioc_querycap: starting
[   40.177356] mx6s-csi 30b80000.csi2_bridge: get pixelformat '(null)' w=0 h=0 size=0
[   40.177377] mx6s-csi 30b80000.csi2_bridge: mx6s_vidioc_s_fmt_vid_cap: starting
[   40.177387] mx6s-csi 30b80000.csi2_bridge: Starting mx6s_vidioc_try_fmt_vid_cap.
[   40.177396] format_by_fourcc : found format nr. 4 :'GRBG'
[   40.177408] mxc-mipi-csi2_yav 30b60000.mipi_csi2: mipi_csi2_set_fmt: set_fmt w=2000 h=2000
[   40.177419] mxc-mipi-csi2_yav 30b60000.mipi_csi2: mipi_csi2_set_fmt: set send_level 64 hs_settle 0x9
[   40.177432] S5K3L6-CIS 3-0010: set_fmt choice unsupported
[   40.177520] mx6s-csi 30b80000.csi2_bridge: csi_dmareq_rff_disable: starting
Edited May 14, 2021 by Dorota Czaplejewicz
Assignee
Assign to
Time tracking