Skip to content

IPU6 driver not working on Jasper Lake tablets #160

@jwrdegoede

Description

@jwrdegoede

I'm trying to get the IPU6 driver to work on a Jasper Lake Juno tablet:
https://junocomputers.com/us/product/juno-tablet/

Unfortunately the jsl_penguin_peak branches of the various IPU6 driver stack components have not been updated for quite a while.

After cherry-picking various fixes to build against newer kernels from ipu6-drivers/master into the jsl_penguin_peak, I have ended up with an ipu6-drivers jsl_penguin_peak branch which shows no differences from the last merged master commit: https://github.com/jwrdegoede/ipu6-drivers/commits/jsl_penguin_peak

So I believe that Jasper Lake should work with the latest ipu6-drivers/master branch and I have been trying to get the GC5035 sensor on the Juno tablet to work using the latest ipu6-drivers/master + 6.4.0 .

For ipu6-camera-bins and ipu6-camera-hal I did use the jsl_penguin_peak branches, which are out of sync with the main branches, please update these if possible.

At first I used the config/linux/ipu6ep/gcss/graph_settings_gc5035.xml file from intel/ipu6-camera-hal#49 but that causes a segfault inside ipu6-camera-hal, so then I used config/ubuntu/jsl/gcss/graph_settings_OV13858_YHCE_JSLP.xml as a base instead and adjusted that for the gc5035
graph_settings_gc5035.xml.txt.

With this using gst-launch icamerasrc does try to start streaming, but then things fail with the following message in dmesg when using dyndbg:

[   49.513130] intel-ipu6-isys intel-ipu6-isys0: ---------------------------
[   49.513133] intel-ipu6-isys intel-ipu6-isys0: IPU_FW_ISYS_STREAM_CFG_DATA
[   49.513135] intel-ipu6-isys intel-ipu6-isys0: ---------------------------
[   49.513137] intel-ipu6-isys intel-ipu6-isys0: Source 0
[   49.513139] intel-ipu6-isys intel-ipu6-isys0: VC 0
[   49.513142] intel-ipu6-isys intel-ipu6-isys0: Nof input pins 1
[   49.513144] intel-ipu6-isys intel-ipu6-isys0: Nof output pins 1
[   49.513146] intel-ipu6-isys intel-ipu6-isys0: Input pin 0
[   49.513149] intel-ipu6-isys intel-ipu6-isys0: Mipi data type 0x2b
[   49.513151] intel-ipu6-isys intel-ipu6-isys0: Mipi store mode 0
[   49.513153] intel-ipu6-isys intel-ipu6-isys0: Bits per pixel 0
[   49.513155] intel-ipu6-isys intel-ipu6-isys0: Mapped data type 0x40
[   49.513158] intel-ipu6-isys intel-ipu6-isys0: Input res width 2592
[   49.513160] intel-ipu6-isys intel-ipu6-isys0: Input res height 1944
[   49.513163] intel-ipu6-isys intel-ipu6-isys0: mipi decompression 0
[   49.513165] intel-ipu6-isys intel-ipu6-isys0: capture_mode 0
[   49.513167] intel-ipu6-isys intel-ipu6-isys0: Crop info
[   49.513169] intel-ipu6-isys intel-ipu6-isys0: Crop.top_offset 0
[   49.513171] intel-ipu6-isys intel-ipu6-isys0: Crop.left_offset 0
[   49.513173] intel-ipu6-isys intel-ipu6-isys0: Crop.bottom_offset 1944
[   49.513175] intel-ipu6-isys intel-ipu6-isys0: Crop.right_offset 2592
[   49.513177] intel-ipu6-isys intel-ipu6-isys0: ----------------
[   49.513180] intel-ipu6-isys intel-ipu6-isys0: Output pin 0
[   49.513182] intel-ipu6-isys intel-ipu6-isys0: Output input pin id 0
[   49.513184] intel-ipu6-isys intel-ipu6-isys0: Output res width 2592
[   49.513186] intel-ipu6-isys intel-ipu6-isys0: Output res height 1944
[   49.513188] intel-ipu6-isys intel-ipu6-isys0: Stride 5632
[   49.513190] intel-ipu6-isys intel-ipu6-isys0: Pin type 3
[   49.513193] intel-ipu6-isys intel-ipu6-isys0: Payload 10960896
[   49.513195] intel-ipu6-isys intel-ipu6-isys0: Ft 24
[   49.513197] intel-ipu6-isys intel-ipu6-isys0: Watermar in lines 0
[   49.513199] intel-ipu6-isys intel-ipu6-isys0: Send irq 1
[   49.513201] intel-ipu6-isys intel-ipu6-isys0: Reserve compression 1
[   49.513204] intel-ipu6-isys intel-ipu6-isys0: snoopable 0
[   49.513206] intel-ipu6-isys intel-ipu6-isys0: error_handling_enable 0
[   49.513208] intel-ipu6-isys intel-ipu6-isys0: sensor type 1
[   49.513210] intel-ipu6-isys intel-ipu6-isys0: ----------------
[   49.513212] intel-ipu6-isys intel-ipu6-isys0: Isl_use 0
[   49.513214] intel-ipu6-isys intel-ipu6-isys0: stream sensor_type 0
[   49.513285] intel-ipu6-isys intel-ipu6-isys0: send_token: STREAM_OPEN
[   49.513727] intel-ipu6-isys intel-ipu6-isys0: hostlib: error resp 00 STREAM_OPEN_DONE, stream 0, error 7, details 8, timestamp 0x0000000000000000, pin 0
[   49.514258] intel-ipu6-isys intel-ipu6-isys0: stream open error: 7

I'm happy to try any patches or hints you may have to fix this.

Cc: @junocomp @liang1wang

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions