This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

SK-AM62A-LP: camera-Unable to produce image(ds954+ds953+sensor+isp)

Part Number: SK-AM62A-LP
Other Parts Discussed in Thread: TEST2

hw link: 

ds954+ds953+SG2-OX03CC-5200-FPDLink(sensor+isp->YUV422_8b)

Some of the issues can be found in the following link

AM62A7: AM62A7-支持ub960-ub953 - 处理器论坛 - 处理器 - E2ETm 设计支持 (ti.com)

following,we use ,get noting 

SK-AM62A-LP: debug about csi2rx - Processors forum - Processors - TI E2E support forums

8780.imx390_dummy.c
Fullscreen
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
// SPDX-License-Identifier: GPL-2.0
/*
* Dummy driver for IMX390 self streaming cameras
*
*/
#include <linux/i2c.h>
#include <linux/module.h>
#include <linux/of.h>
#include <linux/v4l2-mediabus.h>
#include <linux/videodev2.h>
#include <media/v4l2-subdev.h>
struct imx390_dummy {
struct device *dev;
struct i2c_client *client;
struct v4l2_subdev subdev;
struct media_pad pad;
};
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

实验2-imx390-dummy.txt
Fullscreen
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
sh fmt-dummy.sh
root@am62axx-evm:/opt/edgeai-gst-apps# yavta -s 1920x1080 -f UYVY /dev/video2 -c100^C
root@am62axx-evm:/opt/edgeai-gst-apps# media-ctl -2023 Feb 27 10:38:50 am62axx-evm Process 1172 (edgeai-gui-app) of user 0 dumped core.
2023 Feb 27 10:38:50 am62axx-evm Process 1172 (edgeai-gui-app) of user 0 dumped core.
p
Media controller API version 5.10.168
Media device information
------------------------
driver j721e-csi2rx
model TI-CSI2RX
serial
bus info platform:30102000.ticsi2rx
hw revision 0x1
driver version 5.10.168
Device topology
- entity 1: 30102000.ticsi2rx (7 pads, 7 links, 1 route)
type V4L2 subdev subtype Unknown flags 0
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

  • Hi Daiwei,

    Your cdns csi-bridge format is incorrect:

    Fullscreen
    1
    2
    3
    4
    5
    6
    7
    8
    9
    - entity 9: cdns_csi2rx.30101000.csi-bridge (5 pads, 2 links, 0 route)
    type V4L2 subdev subtype Unknown flags 0
    device node name /dev/v4l-subdev1
    pad0: Sink
    [stream:0 fmt:UYVY8_1X16/640x480 field:none colorspace:srgb xfer:srgb ycbcr:601 quantization:lim-range]
    <- "ds90ub960 4-003d":4 [ENABLED,IMMUTABLE]
    pad1: Source
    [stream:0 fmt:UYVY8_1X16/640x480 field:none colorspace:srgb xfer:srgb ycbcr:601 quantization:lim-range]
    -> "30102000.ticsi2rx":0 [ENABLED,IMMUTABLE]
    XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

    In SDK 8.6, when you set the sensor format, the csi-bridge format should be set automatically. You code may have some issues. Can you try to set it to the same format as the sensor using the same command? For example, 

    media-ctl -V '"cdns_csi2rx.30101000.csi-bridge":0 [fmt:UYVY8_2X8/1920x1080 field: none]'

    Regards,

    Jianzhong

  • Now,I send the media-ctrl cmd,and get noting too

    test1:

    Fullscreen
    1
    media-ctl -V '"cdns_csi2rx.30101000.csi-bridge":0·[fmt:UYVY8_2X8/1920x1080 field: none]'
    XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

    Fullscreen
    1
    2
    3
    4
    5
    6
    7
    8
    9
    10
    11
    12
    13
    14
    15
    16
    17
    18
    19
    20
    21
    Media controller API version 5.10.168
    Media device information
    ------------------------
    driver j721e-csi2rx
    model TI-CSI2RX
    serial
    bus info platform:30102000.ticsi2rx
    hw revision 0x1
    driver version 5.10.168
    Device topology
    - entity 1: 30102000.ticsi2rx (7 pads, 7 links, 1 route)
    type V4L2 subdev subtype Unknown flags 0
    device node name /dev/v4l-subdev0
    routes:
    0/0 -> 1/0 [ACTIVE]
    pad0: Sink
    [stream:0 fmt:UYVY8_1X16/640x480 field:none colorspace:srgb xfer:srgb ycbcr:601 quantization:lim-range]
    <- "cdns_csi2rx.30101000.csi-bridge":1 [ENABLED,IMMUTABLE]
    pad1: Source
    XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

    test2:

    add media-ctl -V '"30102000.ticsi2rx":0 [fmt:UYVY8_2X8/1920x1080 field: none]'

    Fullscreen
    1
    2
    media-ctl -V '"cdns_csi2rx.30101000.csi-bridge":0 [fmt:UYVY8_2X8/1920x1080 field: none]'
    media-ctl -V '"30102000.ticsi2rx":0 [fmt:UYVY8_2X8/1920x1080 field: none]'
    XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

    but I find the format has some problem,the format on 30102000.ticsi2rx can't change

    30102000.ticsi2rx 

    [stream:0 fmt:YUYV8_1X16/1920x1080 field:none]

     cdns_csi2rx.30101000.csi-bridge

     [stream:0 fmt:UYVY8_2X8/1920x1080 field:none]

    check the source code not have format UYVY8_2X8

    ti-processor-sdk-linux-am62axx-evm-08.06.00.45\board-support\linux-kernel\drivers\media\platform\ti\j721e-csi2rx\j721e-csi2rx.c

    Fullscreen
    1
    2
    3
    4
    5
    6
    7
    8
    9
    10
    11
    12
    13
    14
    15
    16
    17
    18
    19
    20
    21
    static const struct ti_csi2rx_fmt formats[] = {
    {
    .fourcc = V4L2_PIX_FMT_YUYV,
    .code = MEDIA_BUS_FMT_YUYV8_1X16,
    .colorspace = V4L2_COLORSPACE_SRGB,
    .csi_df = CSI_DF_YUV422,
    .bpp = 16,
    .size = SHIM_DMACNTX_SIZE_8,
    }, {
    .fourcc = V4L2_PIX_FMT_UYVY,
    .code = MEDIA_BUS_FMT_UYVY8_1X16,
    .colorspace = V4L2_COLORSPACE_SRGB,
    .csi_df = CSI_DF_YUV422,
    .bpp = 16,
    .size = SHIM_DMACNTX_SIZE_8,
    }, {
    .fourcc = V4L2_PIX_FMT_YVYU,
    .code = MEDIA_BUS_FMT_YVYU8_1X16,
    .colorspace = V4L2_COLORSPACE_SRGB,
    .csi_df = CSI_DF_YUV422,
    .bpp = 16,
    XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX


    Fullscreen
    1
    2
    3
    4
    5
    6
    7
    8
    9
    10
    11
    12
    13
    14
    15
    16
    17
    18
    19
    20
    21
    media-ctl -V '"30102000.ticsi2rx":0 [fmt:UYVY8_2X8/1920x1080 field: none]'
    root@am62axx-evm:/opt/edgeai-gst-apps# media-ctl -V '"cdns_csi2rx.30101000.csi-bridge":0 [fmt:UYVY8_2X8/1920x1080 field: none]'
    root@am62axx-evm:/opt/edgeai-gst-apps# media-ctl -p
    Media controller API version 5.10.168
    Media device information
    ------------------------
    driver j721e-csi2rx
    model TI-CSI2RX
    serial
    bus info platform:30102000.ticsi2rx
    hw revision 0x1
    driver version 5.10.168
    Device topology
    - entity 1: 30102000.ticsi2rx (7 pads, 7 links, 1 route)
    type V4L2 subdev subtype Unknown flags 0
    device node name /dev/v4l-subdev0
    routes:
    0/0 -> 1/0 [ACTIVE]
    pad0: Sink
    XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

    test :

    Fullscreen
    1
    2
    3
    4
    5
    6
    7
    8
    9
    10
    11
    12
    13
    14
    15
    16
    17
    18
    19
    20
    21
    yavta -c -Fcapture -s 1920x1080 -f UYVY /dev/video2
    Device /dev/video2 opened.
    [ 236.942246] zyk ti_csi2rx_queue_setup 823
    Device `j721e-csi2rx' on `platform:30102000.ticsi2rx' is a video[ 236.950487] videobuf2_common: [cap-0000000029faadb1] __setup_offsets: buffer 0, plane 0 offset 0x00000000
    output (without mplanes) device.
    Video format set: UYVY (59565[ 236.965242] videobuf2_common: [cap-0000000029faadb1] __setup_offsets: buffer 1, plane 0 offset 0x003f5000
    955) 1920x1080 (stride 3840) field none buffer size 4147200
    Vid[ 236.980453] videobuf2_common: [cap-0000000029faadb1] __setup_offsets: buffer 2, plane 0 offset 0x007ea000
    eo format: UYVY (59565955) 1920x1080 (stride 3840) field none bu[ 236.995574] videobuf2_common: [cap-0000000029faadb1] __setup_offsets: buffer 3, plane 0 offset 0x00bdf000
    ffer size 4147200
    [ 237.010711] videobuf2_common: [cap-0000000029faadb1] __setup_offsets: buffer 4, plane 0 offset 0x00fd4000
    [ 237.021861] videobuf2_common: [cap-0000000029faadb1] __setup_offsets: buffer 5, plane 0 offset 0x013c9000
    [ 237.032949] videobuf2_common: [cap-0000000029faadb1] __setup_offsets: buffer 6, plane 0 offset 0x017be000
    [ 237.044175] videobuf2_common: [cap-0000000029faadb1] __setup_offsets: buffer 7, plane 0 offset 0x01bb3000
    [ 237.053954] videobuf2_common: [cap-0000000029faadb1] __vb2_queue_alloc: allocated 8 buffers, 1 plane(s) each
    8 buffers requested.
    [ 237.064111] videobuf2_common: [cap-0000000029faadb1] vb2_mmap: buffer 0, plane 0 successfully mapped
    length: 4147200 offset: 0 timestamp type/source: mono/EoF
    [ 237.075102] videobuf2_common: [cap-0000000029faadb1] vb2_mmap: buffer 1, plane 0 successfully mapped
    Buffer 0/0 mapped at address 0xffff9fb1f000.
    length: 4147200 of[ 237.089220] videobuf2_common: [cap-0000000029faadb1] vb2_mmap: buffer 2, plane 0 successfully mapped
    XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

    debug

    0x438 on ds954 is 1080,0xf00 for 1920 ,and devmem2 0x30101048 CSI_RX_IF_VBUS2APB_DPHY_STATUS is toggling between ‘0x2’ and ‘0x3’

    Fullscreen
    1
    2
    3
    4
    5
    6
    7
    8
    9
    10
    11
    12
    13
    14
    15
    16
    17
    18
    19
    20
    21
    root@am62axx-evm:/opt/edgeai-gst-apps# sh get_camera_data_info.sh
    0x33
    0x04
    0x38
    0x0f
    0x00
    root@am62axx-evm:/opt/edgeai-gst-apps# devmem2 0x30101048
    /dev/mem opened.
    Memory mapped at address 0xffff9cf13000.
    Read at address 0x30101048 (0xffff9cf13048): 0x00333206
    root@am62axx-evm:/opt/edgeai-gst-apps# devmem2 0x30101048
    /dev/mem opened.
    Memory mapped at address 0xffff9e0fb000.
    Read at address 0x30101048 (0xffff9e0fb048): 0x00222206
    root@am62axx-evm:/opt/edgeai-gst-apps# devmem2 0x30101048
    /dev/mem opened.
    Memory mapped at address 0xffffb4b4d000.
    Read at address 0x30101048 (0xffffb4b4d048): 0x00333206
    root@am62axx-evm:/opt/edgeai-gst-apps# devmem2 0x30101048
    /dev/mem opened.
    Memory mapped at address 0xffffa1759000.
    XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

    test 3:

    fix ti-processor-sdk-linux-am62axx-evm-08.06.00.45\board-support\linux-kernel\drivers\media\platform\ti\j721e-csi2rx\j721e-csi2rx.c  yuv format

    setting format

    Fullscreen
    1
    2
    3
    4
    5
    media-ctl -V '"ds90ub953 4-0044":0 [fmt:UYVY8_2X8/1920x1080 field: none]'
    media-ctl -V '"ds90ub960 4-003d":0 [fmt:UYVY8_2X8/1920x1080 field: none]'
    media-ctl -V '"imx390dummy 6-001a":0 [fmt:UYVY8_2X8/1920x1080 field: none]'
    media-ctl -V '"cdns_csi2rx.30101000.csi-bridge":0 [fmt:UYVY8_2X8/1920x1080 field: none]'
    media-ctl -V '"30102000.ticsi2rx":0 [fmt:UYVY8_2X8/1920x1080 field: none]'
    XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

    print media-ctrl -p

    Fullscreen
    1
    2
    3
    4
    5
    6
    7
    8
    9
    10
    11
    12
    13
    14
    15
    16
    17
    18
    19
    20
    21
    root@am62axx-evm:/opt/edgeai-gst-apps# media-ctl -p
    Media controller API version 5.10.168
    Media device information
    ------------------------
    driver j721e-csi2rx
    model TI-CSI2RX
    serial
    bus info platform:30102000.ticsi2rx
    hw revision 0x1
    driver version 5.10.168
    Device topology
    - entity 1: 30102000.ticsi2rx (7 pads, 7 links, 1 route)
    type V4L2 subdev subtype Unknown flags 0
    device node name /dev/v4l-subdev0
    routes:
    0/0 -> 1/0 [ACTIVE]
    pad0: Sink
    [stream:0 fmt:UYVY8_2X8/1920x1080 field:none]
    <- "cdns_csi2rx.30101000.csi-bridge":1 [ENABLED,IMMUTABLE]
    XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

    test ,get noting

    Fullscreen
    1
    2
    3
    4
    5
    6
    7
    8
    9
    10
    11
    12
    13
    14
    15
    16
    17
    18
    19
    20
    21
    yavta -s 1920x1080 -f UYVY /dev/video2 -c100
    Device /dev/video2 opened.
    [ 1219.258501] zyk ti_csi2rx_queue_setup 832
    Device `j721e-csi2rx' on `platform:30102000.ticsi2rx' is a video[ 1219.266732] videobuf2_common: [cap-000000003165fb16] __setup_offsets: buffer 0, plane 0 offset 0x00000000
    output (without mplanes) device.
    Video format set: UYVY (59565[ 1219.281492] videobuf2_common: [cap-000000003165fb16] __setup_offsets: buffer 1, plane 0 offset 0x003f5000
    955) 1920x1080 (stride 3840) field none buffer size 4147200
    Vid[ 1219.296798] videobuf2_common: [cap-000000003165fb16] __setup_offsets: buffer 2, plane 0 offset 0x007ea000
    eo format: UYVY (59565955) 1920x1080 (stride 3840) field none bu[ 1219.311839] videobuf2_common: [cap-000000003165fb16] __setup_offsets: buffer 3, plane 0 offset 0x00bdf000
    ffer size 4147200
    [ 1219.326985] videobuf2_common: [cap-000000003165fb16] __setup_offsets: buffer 4, plane 0 offset 0x00fd4000
    [ 1219.338137] videobuf2_common: [cap-000000003165fb16] __setup_offsets: buffer 5, plane 0 offset 0x013c9000
    [ 1219.349340] videobuf2_common: [cap-000000003165fb16] __setup_offsets: buffer 6, plane 0 offset 0x017be000
    [ 1219.360644] videobuf2_common: [cap-000000003165fb16] __setup_offsets: buffer 7, plane 0 offset 0x01bb3000
    [ 1219.370376] videobuf2_common: [cap-000000003165fb16] __vb2_queue_alloc: allocated 8 buffers, 1 plane(s) each
    8 buffers requested.
    [ 1219.380533] videobuf2_common: [cap-000000003165fb16] vb2_mmap: buffer 0, plane 0 successfully mapped
    length: 4147200 offset: 0 timestamp type/source: mono/EoF
    [ 1219.391532] videobuf2_common: [cap-000000003165fb16] vb2_mmap: buffer 1, plane 0 successfully mapped
    Buffer 0/0 mapped at address 0xffff7f1ea000.
    length: 4147200 of[ 1219.405638] videobuf2_common: [cap-000000003165fb16] vb2_mmap: buffer 2, plane 0 successfully mapped
    XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

  • Hello Daiwei,

    I'm on holiday break and will get back to you in early January.

    Thanks for your patience.

    Regards,

    Jianzhong

  • Hello Daiwei,

    I'm back from holiday break. What's your current debugging status?

    Regards,

    Jianzhong

  • pls see my last reply,I have no update

  • Ok. Thanks.

    fix ti-processor-sdk-linux-am62axx-evm-08.06.00.45\board-support\linux-kernel\drivers\media\platform\ti\j721e-csi2rx\j721e-csi2rx.c  yuv format

    Can you share your code change to j721e-csi2rx.c?

  • j721e-csi2rx.c
    Fullscreen
    1
    2
    3
    4
    5
    6
    7
    8
    9
    10
    11
    12
    13
    14
    15
    16
    17
    18
    19
    // SPDX-License-Identifier: GPL-2.0-only
    /*
    * TI CSI2 RX driver.
    *
    * Copyright (C) 2021 Texas Instruments Incorporated - https://www.ti.com/
    *
    * Author: Pratyush Yadav <p.yadav@ti.com>
    */
    #include <linux/bitfield.h>
    #include <linux/module.h>
    #include <linux/platform_device.h>
    #include <linux/dmaengine.h>
    #include <linux/of_platform.h>
    #include <linux/pm.h>
    #include <media/v4l2-device.h>
    #include <media/v4l2-ioctl.h>
    #include <media/videobuf2-dma-contig.h>
    XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

    file upload

  • Hello Daiwei,

    Thanks for sharing the code. I checked internally, and found out UYVY8_2X8 is not supported by TI's CSI RX driver, because 2X8 is not a valid format for CSI. Please use "YUYV8_1X16", "UYVY8_1X16", etc, instead of 2X8, in your sensor driver. 

    I would also recommend you to switch to SDK 9.1 release: www.ti.com/.../PROCESSOR-SDK-AM62A. There has been major upgrades to UB960 driver since 9.0 release.

    Regards,

    Jianzhong

  • Fullscreen
    1
    2
    3
    4
    5
    6
    7
    8
    9
    10
    11
    12
    13
    14
    15
    16
    17
    18
    19
    20
    21
    Media controller API version 5.10.168
    Media device information
    ------------------------
    driver j721e-csi2rx
    model TI-CSI2RX
    serial
    bus info platform:30102000.ticsi2rx
    hw revision 0x1
    driver version 5.10.168
    Device topology
    - entity 1: 30102000.ticsi2rx (7 pads, 7 links, 1 route)
    type V4L2 subdev subtype Unknown flags 0
    device node name /dev/v4l-subdev0
    routes:
    0/0 -> 1/0 [ACTIVE]
    pad0: Sink
    [stream:0 fmt:UYVY8_1X16/1920x1080 field:none]
    <- "cdns_csi2rx.30101000.csi-bridge":1 [ENABLED,IMMUTABLE]
    pad1: Source
    XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

     yavta -s 1920x1280 -f UYVY /dev/video2 -c125 -Fframe-#.bin

    Fullscreen
    1
    2
    3
    4
    5
    6
    7
    8
    9
    10
    11
    12
    13
    14
    15
    16
    17
    18
    19
    20
    21
    Device /dev/video2 opened.
    [ 163.183367] zyk ti_csi2rx_queue_setup 832
    Device `j721e-csi2rx' on `platform:30102000.ticsi2rx' is a video[ 163.191734] videobuf2_common: [cap-00000000494f17ea] __setup_offsets: buffer 0, plane 0 offset 0x00000000
    output (without mplanes) device.
    Video format set: UYVY (59565[ 163.206385] videobuf2_common: [cap-00000000494f17ea] __setup_offsets: buffer 1, plane 0 offset 0x004b0000
    955) 1920x1280 (stride 3840) field none buffer size 4915200
    Vid[ 163.221531] videobuf2_common: [cap-00000000494f17ea] __setup_offsets: buffer 2, plane 0 offset 0x00960000
    eo format: UYVY (59565955) 1920x1280 (stride 3840) field none bu[ 163.237086] videobuf2_common: [cap-00000000494f17ea] __setup_offsets: buffer 3, plane 0 offset 0x00e10000
    ffer size 4915200
    [ 163.251977] videobuf2_common: [cap-00000000494f17ea] __setup_offsets: buffer 4, plane 0 offset 0x012c0000
    [ 163.263233] videobuf2_common: [cap-00000000494f17ea] __setup_offsets: buffer 5, plane 0 offset 0x01770000
    [ 163.274334] videobuf2_common: [cap-00000000494f17ea] __setup_offsets: buffer 6, plane 0 offset 0x01c20000
    [ 163.285930] videobuf2_common: [cap-00000000494f17ea] __setup_offsets: buffer 7, plane 0 offset 0x020d0000
    [ 163.295652] videobuf2_common: [cap-00000000494f17ea] __vb2_queue_alloc: allocated 8 buffers, 1 plane(s) each
    8 buffers requested.
    [ 163.305792] videobuf2_common: [cap-00000000494f17ea] vb2_mmap: buffer 0, plane 0 successfully mapped
    length: 4915200 offset: 0 timestamp type/source: mono/EoF
    [ 163.316794] videobuf2_common: [cap-00000000494f17ea] vb2_mmap: buffer 1, plane 0 successfully mapped
    Buffer 0/0 mapped at address 0xffffac5b3000.
    length: 4915200 of[ 163.330909] videobuf2_common: [cap-00000000494f17ea] vb2_mmap: buffer 2, plane 0 successfully mapped
    fset: 4915200 timestamp type/source: mono/EoF
    XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

    and got nothing to,no irq update

    I would also recommend you to switch to SDK 9.1 release: www.ti.com/.../PROCESSOR-SDK-AM62A. There has been major upgrades to UB960 driver since 9.0 release.

    update ub960 make compile error so much 

  • update ub960 make compile error so much 

    How did you build it? Can you provide a log of all the steps you took to build?

  • copy ti-processor-sdk-linux-edgeai-am62axx-evm-09_00_00_08\board-support\linux-6.1.33+gitAUTOINC+8f7f371be2-g8f7f371be2\drivers\media\i2c\ds90ub960.c-》

     ti-processor-sdk-linux-am62axx-evm-08.06.00.45\board-support\linux-kernel\drivers\media\i2c\ds90ub960.c 

    copy related header files

    and make linux -j,Um, is there a problem with this operation?

    Fullscreen
    1
    2
    3
    4
    5
    6
    7
    8
    9
    10
    11
    12
    13
    14
    15
    16
    17
    18
    19
    20
    21
    make linux -j
    =====================================
    Building the Linux Kernel DTBs
    =====================================
    make -C /extstorage/zyk/ti_am/0806/sdk0806/ti-processor-sdk-linux-am62axx-evm-08.06.00.45/board-support/linux-kernel ARCH=arm64 CROSS_COMPILE=/extstorage/zyk/ti_am/0806/sdk0806/ti-processor-sdk-linux-am62axx-evm-08.06.00.45/linux-devkit/sysroots/x86_64-arago-linux/usr/bin/aarch64-none-linux-gnu- tisdk_am62axx-evm_defconfig
    make[1]: Entering directory '/extstorage/zyk/ti_am/0806/sdk0806/ti-processor-sdk-linux-am62axx-evm-08.06.00.45/board-support/linux-kernel'
    #
    # No change to .config
    #
    make[1]: Leaving directory '/extstorage/zyk/ti_am/0806/sdk0806/ti-processor-sdk-linux-am62axx-evm-08.06.00.45/board-support/linux-kernel'
    make[1]: Entering directory '/extstorage/zyk/ti_am/0806/sdk0806/ti-processor-sdk-linux-am62axx-evm-08.06.00.45/board-support/linux-kernel'
    make[1]: Leaving directory '/extstorage/zyk/ti_am/0806/sdk0806/ti-processor-sdk-linux-am62axx-evm-08.06.00.45/board-support/linux-kernel'
    make[1]: Entering directory '/extstorage/zyk/ti_am/0806/sdk0806/ti-processor-sdk-linux-am62axx-evm-08.06.00.45/board-support/linux-kernel'
    make[1]: Leaving directory '/extstorage/zyk/ti_am/0806/sdk0806/ti-processor-sdk-linux-am62axx-evm-08.06.00.45/board-support/linux-kernel'
    make[1]: Entering directory '/extstorage/zyk/ti_am/0806/sdk0806/ti-processor-sdk-linux-am62axx-evm-08.06.00.45/board-support/linux-kernel'
    make[1]: Leaving directory '/extstorage/zyk/ti_am/0806/sdk0806/ti-processor-sdk-linux-am62axx-evm-08.06.00.45/board-support/linux-kernel'
    make[1]: Entering directory '/extstorage/zyk/ti_am/0806/sdk0806/ti-processor-sdk-linux-am62axx-evm-08.06.00.45/board-support/linux-kernel'
    make[1]: Leaving directory '/extstorage/zyk/ti_am/0806/sdk0806/ti-processor-sdk-linux-am62axx-evm-08.06.00.45/board-support/linux-kernel'
    make[1]: Entering directory '/extstorage/zyk/ti_am/0806/sdk0806/ti-processor-sdk-linux-am62axx-evm-08.06.00.45/board-support/linux-kernel'
    make[1]: Leaving directory '/extstorage/zyk/ti_am/0806/sdk0806/ti-processor-sdk-linux-am62axx-evm-08.06.00.45/board-support/linux-kernel'
    make[1]: Entering directory '/extstorage/zyk/ti_am/0806/sdk0806/ti-processor-sdk-linux-am62axx-evm-08.06.00.45/board-support/linux-kernel'
    XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

  • You'll need to port your sensor driver to 9.0 SDK (or the latest 9.1 release). You can't just copy the ub960 driver code from 9.0 to 8.6. Many dependencies  were updated from 8.6 to 9.0.

  • I think this issue is related to the version of ub960, because we configured camera later on, and this is related to the issue

    https://e2e.ti.com/support/processors-group/processors/f/processors-forum/1308194/sk-am62a-lp-sk-am62a-lp-camera-kkc-a002-32--the-effect-of-taking-photos

    The same operation method is also used in the middle

  • The other issue was resolved by using YUV 1X16 instead of YUV 2X8.

    For this one, I recommended to use YUV 1X16 in your sensor driver and use ub960 driver from SDK 9.1. Did this help?

  • The other issue 

    use imx219 SRGGB10 also catpure frame,It seems unrelated to the format

    YUV 1X16 case on other issue,green is exist,you said the data from sensor has problem

    this case:

    YUV 1X16

    In the previous reply, I have already replied but there has been no improvement,

     use ub960 driver from SDK 9.1

    I have no porting successful

  • Can you port your sensor driver to SDK 9.1?

  • there is a error on sdk9.1 when I porting,I try to fix it 

  • The V4L2 framework has changed quite a lot from 8.6 to 9.1.