• TI thinks resolved

Linux/OMAP5432-EVM: CSI-2[MIPI] Camera Support on OMAP5432-EVM Board

Part Number: OMAP5432-EVM

Tool/software: Linux

Dear Sir/madam;

We had purchase the "omap5-uevm" board to test the ov5640 5MP camera sensor on CSI-2 [MIPI] interface.

We follow the "http://processors.wiki.ti.com/index.php/OMAP5_GLSDK_Software_Developers_Guide" Document to test the CSI-2[MIPI] interface on OMAP5432-uevm board.

As per above link we need "ti-processor-sdk-linux-automotive-omap5-uevm-6.04.00.02-installer.bin" SDK but we are unable to find the SDK also we are not finding any document which guide us how to test the camera sensor on csi-2[MIPI] interface for OMAP5432-uevm board.

We had try to post above issue on "TI-Forum" but omap5 forum was read-only so we can't do this.

So Please provide us the support for above as soon as possible.

Thanks & Best Regards,
Nikunj Patel

  • Hi Nikunj,

    The OMAP5 latest SDK (GLSDK 6.04.00.02) is available at the below link:

    downloads.ti.com/.../index_FDS.html

    ti-glsdk_omap5-uevm_6_04_00_02_linux-x64-installer.bin

    Regards,
    Pavel



  • In reply to Pavel Botev:

    Dear Pavel,

    We had already download "ti-glsdk_omap5-uevm_6_04_00_02_linux-x64-installer.bin" SDK from http://downloads.ti.com/dsps/dsps_public_sw/glsdk/6_04_00_02/index_FDS.html link.

    We had been start development on OMAP5-uevm Board but we need to interface the CSI-2[MIPI] Camera on OMAP5-uevm for end application. We check whole SDK but there was no any support for csi-2[MIPI] camera.

    Also as per TI Forum "https://e2e.ti.com/support/omap/f/885/t/288119" Yanko [TI's Engineer] had answer on "Feb 13, 2014 10:21 AM" that "The ISS driver is a part from the OMAP5 GLSDK 6.03.00.01" so we have been try to download GLSDK 6.03.00.01 from "https://www.ti.com/licreg/docs/swlicexportcontrol.tsp?form_type=1&prod_no=/ti-glsdk_omap5-uevm_6_03_00_01_linux-installer.bin" link on 20th Nov as per attached image. but still we can't get any support for that.

    So Please provide us the support for camera interface as soon as possible.

    Thanks & Best regards;

    Nikunj Patel

  • In reply to Nikunj Patel:

    Nikunj,

    We might have something in OMAP5 GLSDK, but it will be limited. The main source is in Ducati firmware which is not available in public. Please refer to the below e2e thread for details (make sure you have install/fetch everything through the scripts):

    e2e.ti.com/.../334544

    For full support of CSI2, you might switch to newer devices like DRA72x/AM571x/TDA2x/TDA3x. These devices have CAL IP and fully support CSI2:

    processors.wiki.ti.com/.../Linux_Core_CAL_User's_Guide
    processors.wiki.ti.com/.../Processor_SDK_Linux_Automotive_Software_Developers_Guide

    Regards,
    Pavel



  • In reply to Pavel Botev:

    Dear Pavel;

    Thanks for quick support.

    I have checked the "e2e.ti.com/.../334544" link but it show the "OMAP5 GLSDK 6.03.00.01" SDK. We had try to download that as per earlier message but still we can not got that so please provide us.

    I have check "processors.wiki.ti.com/.../Linux_Core_CAL_User's_Guide" &" "processors.wiki.ti.com/.../Processor_SDK_Linux_Automotive_Software_Developers_Guide" link also but this both link have support for AM571x & DRA7XX SOC which have the "CAL"[Camera access Layer] core but OMAP5432 have "ISS"[Image SUB System] core so both have different device driver.

    1. CAL require the "TI-CAL" driver

    2. ISS require the "OMAP4-ISS" or "OMAP5-ISS" Driver.

    We search for OMAP5432 CSi-2 Camera support but we can't find much about that.

    Today we follow the "patchwork.kernel.org/.../" link which have provide the patch for "omap4-iss" camera driver. We have applying this patch and some modification in dtb files as per attached . now the camera sensor and mipi detection is started but the driver is crash with below message

    [ 9.680426] omap4_iss: module is from the staging directory, the quality is unknown, you have been warned.
    [ 9.684182] omap4iss 52000000.iss: parsing endpoint /ocp/iss@52000000/ports/port@0/endpoint, interface 0
    [ 9.684190] omap4iss 52000000.iss: clock lane polarity 0, pos 4
    [ 9.684195] omap4iss 52000000.iss: data lane 0 polarity 0, pos 0
    [ 9.684200] omap4iss 52000000.iss: data lane 1 polarity 0, pos 1
    [ 9.684206] omap4iss 52000000.iss: data lane 2 polarity 0, pos 0
    [ 9.684211] omap4iss 52000000.iss: data lane 3 polarity 0, pos 0
    [ 9.684240] OF: ERROR: Bad of_node_put() on /ocp/iss@52000000/ports/port@0/endpoint
    [ 9.691934] CPU: 1 PID: 208 Comm: systemd-udevd Tainted: G C 4.9.60-armv7-lpae-x5 #13
    [ 9.691937] Hardware name: Generic OMAP5 (Flattened Device Tree)
    [ 9.691956] [<c01144c4>] (unwind_backtrace) from [<c010dbe4>] (show_stack+0x20/0x24)
    [ 9.691968] [<c010dbe4>] (show_stack) from [<c074e98c>] (dump_stack+0x94/0xb0)
    [ 9.691979] [<c074e98c>] (dump_stack) from [<c0afec30>] (of_node_release+0x98/0xa0)
    [ 9.691988] [<c0afec30>] (of_node_release) from [<c0750da8>] (kobject_put+0x104/0x1f8)
    [ 9.691994] [<c0750da8>] (kobject_put) from [<c0afda1c>] (of_node_put+0x24/0x28)
    [ 9.692002] [<c0afda1c>] (of_node_put) from [<c0af918c>] (__of_get_next_child+0x58/0x70)
    [ 9.692010] [<c0af918c>] (__of_get_next_child) from [<c0af91dc>] (of_get_next_child+0x38/0x54)
    [ 9.692018] [<c0af91dc>] (of_get_next_child) from [<c0af9438>] (of_graph_get_next_endpoint+0x4c/0x13c)
    [ 9.692046] [<c0af9438>] (of_graph_get_next_endpoint) from [<bf2ed180>] (iss_probe+0x90/0xc58 [omap4_iss])
    [ 9.692085] [<bf2ed180>] (iss_probe [omap4_iss]) from [<c0932200>] (platform_drv_probe+0x60/0xc0)
    [ 9.692094] [<c0932200>] (platform_drv_probe) from [<c092fd14>] (driver_probe_device+0xf8/0x428)
    [ 9.692102] [<c092fd14>] (driver_probe_device) from [<c0930134>] (__driver_attach+0xf0/0x104)
    [ 9.692108] [<c0930134>] (__driver_attach) from [<c092d88c>] (bus_for_each_dev+0x88/0xd0)
    [ 9.692114] [<c092d88c>] (bus_for_each_dev) from [<c092f548>] (driver_attach+0x28/0x30)
    [ 9.692121] [<c092f548>] (driver_attach) from [<c092ef74>] (bus_add_driver+0x158/0x26c)
    [ 9.692127] [<c092ef74>] (bus_add_driver) from [<c0930c50>] (driver_register+0x88/0x104)
    [ 9.692134] [<c0930c50>] (driver_register) from [<c0932140>] (__platform_driver_register+0x40/0x54)
    [ 9.692154] [<c0932140>] (__platform_driver_register) from [<bf2ff018>] (iss_driver_init+0x18/0xc0 [omap4_iss])
    [ 9.692176] [<bf2ff018>] (iss_driver_init [omap4_iss]) from [<c0101cdc>] (do_one_initcall+0x58/0x1a4)
    [ 9.692185] [<c0101cdc>] (do_one_initcall) from [<c0274e3c>] (do_init_module+0x6c/0x3c0)
    [ 9.692193] [<c0274e3c>] (do_init_module) from [<c01e4e60>] (load_module+0x1ee8/0x2534)
    [ 9.692200] [<c01e4e60>] (load_module) from [<c01e5758>] (SyS_finit_module+0xd4/0x110)
    [ 9.692207] [<c01e5758>] (SyS_finit_module) from [<c0108ee0>] (ret_fast_syscall+0x0/0x3c)

    So please check that and provide us the support as soon as possible.

    Thanks & Best Regards,

    Nikunj Patelomap5-uevm_dts.txtomap5-uevm-dmesg_log.txtomap5-board-common_dtsi.txtomap5_dtsi.txt

  • In reply to Pavel Botev:

    Dear Pavel thanks for your quick support.

    we have been check the "GLSDK 6.03.00.01" SDK but still we did not find any iss driver for csi-2[mipi camera].

    So please provide us the iss driver so we will test our sensor with the omap5432-uevm board.

    Thanks & Best Regards;

    Nikunj Patel

  • In reply to Nikunj Patel:

    Hi Nikunj,

    I do not have ISS driver or any other driver that is not included by default in the OMAP5 SDK. If you nee someone to develop for you driver (or any other software) that is not included in OMAP5 SDK by default, you might contact a 3rd party from the TI network partners.

    Regards,
    Pavel



  • In reply to Pavel Botev:

    Hello everyone & Pavel;

    I had successfully port the csi-2 [iss driver][omap4-iss] on omap5432 board and it show the node "/dev/video0".


    but whenever we try to excess the /dev/video0 node the kernel will show the below Error.

    311.065122] ------------[ cut here ]------------
    [ 311.065148] WARNING: CPU: 0 PID: 0 at drivers/bus/omap_l3_noc.c:147 l3_interrupt_handler+0x274/0x38c()
    [ 311.065159] 44000000.ocp:L3 Standard Error: MASTER MPU TARGET ISS (Read): At Address: 0x00000074 : Data Access in Supervisor mode during Functional access
    [ 311.065167] Modules linked in: smsc95xx usbnet bnep bluetooth ehci_omap ehci_hcd snd_soc_omap_hdmi_audio snd_soc_omap_abe_twl6040 snd_soc_twl6040 omap4_keypad matrix_keymap dwc3_omap spi_omap2_mcspi gpio_pca953x snd_soc_omap_mo
    [ 311.065275] CPU: 0 PID: 0 Comm: swapper/0 Tainted: G W 4.1.38-armv7-lpae-x4 #13
    [ 311.065283] Hardware name: Generic OMAP5 (Flattened Device Tree)
    [ 311.065305] [<c0031d58>] (unwind_backtrace) from [<c002c104>] (show_stack+0x20/0x24)
    [ 311.065320] [<c002c104>] (show_stack) from [<c09f3484>] (dump_stack+0x9c/0xb0)
    [ 311.065336] [<c09f3484>] (dump_stack) from [<c006065c>] (warn_slowpath_common+0x94/0xc4)
    [ 311.065349] [<c006065c>] (warn_slowpath_common) from [<c00606cc>] (warn_slowpath_fmt+0x40/0x48)
    [ 311.065364] [<c00606cc>] (warn_slowpath_fmt) from [<c0563300>] (l3_interrupt_handler+0x274/0x38c)
    [ 311.065381] [<c0563300>] (l3_interrupt_handler) from [<c00b85d4>] (handle_irq_event_percpu+0xbc/0x258)
    [ 311.065395] [<c00b85d4>] (handle_irq_event_percpu) from [<c00b87c4>] (handle_irq_event+0x54/0x74)
    [ 311.065408] [<c00b87c4>] (handle_irq_event) from [<c00bb7fc>] (handle_fasteoi_irq+0xbc/0x190)
    [ 311.065420] [<c00bb7fc>] (handle_fasteoi_irq) from [<c00b7b6c>] (generic_handle_irq+0x3c/0x4c)
    [ 311.065434] [<c00b7b6c>] (generic_handle_irq) from [<c00b7e78>] (__handle_domain_irq+0x6c/0xc4)
    [ 311.065447] [<c00b7e78>] (__handle_domain_irq) from [<c0009618>] (gic_handle_irq+0x34/0x70)
    [ 311.065458] [<c0009618>] (gic_handle_irq) from [<c09f9400>] (__irq_svc+0x40/0x54)
    [ 311.065465] Exception stack(0xc0f2ff00 to 0xc0f2ff48)
    [ 311.065474] ff00: 00000001 00000000 00000000 c004e228 c0f2e000 c0f31658 00000000 00000000
    [ 311.065484] ff20: c0a023c0 c0f315f4 c100e789 c0f2ff54 c0f2ff48 c0f2ff48 c004de50 c0028b38
    [ 311.065490] ff40: a00f0013 ffffffff
    [ 311.065504] [<c09f9400>] (__irq_svc) from [<c0028b38>] (arch_cpu_idle+0x30/0x4c)
    [ 311.065518] [<c0028b38>] (arch_cpu_idle) from [<c009ed48>] (cpu_startup_entry+0x388/0x404)
    [ 311.065531] [<c009ed48>] (cpu_startup_entry) from [<c09eed80>] (rest_init+0x88/0x8c)
    [ 311.065546] [<c09eed80>] (rest_init) from [<c0e69da4>] (start_kernel+0x444/0x450)
    [ 311.065553] ---[ end trace 48bf7e82ab86f27c ]---
    [ 311.070148] ------------[ cut here ]------------
    [ 311.070163] WARNING: CPU: 0 PID: 0 at drivers/bus/omap_l3_noc.c:147 l3_interrupt_handler+0x274/0x38c()
    [ 311.070173] 44000000.ocp:L3 Standard Error: MASTER MPU TARGET ISS (Read): At Address: 0x00010030 : Data Access in Supervisor mode during Functional access
    [ 311.070179] Modules linked in: smsc95xx usbnet bnep bluetooth ehci_omap ehci_hcd snd_soc_omap_hdmi_audio snd_soc_omap_abe_twl6040 snd_soc_twl6040 omap4_keypad matrix_keymap dwc3_omap spi_omap2_mcspi gpio_pca953x snd_soc_omap_mo
    [ 311.070270] CPU: 0 PID: 0 Comm: swapper/0 Tainted: G W 4.1.38-armv7-lpae-x4 #13
    [ 311.070277] Hardware name: Generic OMAP5 (Flattened Device Tree)
    [ 311.070292] [<c0031d58>] (unwind_backtrace) from [<c002c104>] (show_stack+0x20/0x24)
    [ 311.070305] [<c002c104>] (show_stack) from [<c09f3484>] (dump_stack+0x9c/0xb0)
    [ 311.070318] [<c09f3484>] (dump_stack) from [<c006065c>] (warn_slowpath_common+0x94/0xc4)
    [ 311.070330] [<c006065c>] (warn_slowpath_common) from [<c00606cc>] (warn_slowpath_fmt+0x40/0x48)
    [ 311.070344] [<c00606cc>] (warn_slowpath_fmt) from [<c0563300>] (l3_interrupt_handler+0x274/0x38c)
    [ 311.070358] [<c0563300>] (l3_interrupt_handler) from [<c00b85d4>] (handle_irq_event_percpu+0xbc/0x258)
    [ 311.070371] [<c00b85d4>] (handle_irq_event_percpu) from [<c00b87c4>] (handle_irq_event+0x54/0x74)
    [ 311.070383] [<c00b87c4>] (handle_irq_event) from [<c00bb7fc>] (handle_fasteoi_irq+0xbc/0x190)
    [ 311.070394] [<c00bb7fc>] (handle_fasteoi_irq) from [<c00b7b6c>] (generic_handle_irq+0x3c/0x4c)
    [ 311.070406] [<c00b7b6c>] (generic_handle_irq) from [<c00b7e78>] (__handle_domain_irq+0x6c/0xc4)
    [ 311.070417] [<c00b7e78>] (__handle_domain_irq) from [<c0009618>] (gic_handle_irq+0x34/0x70)
    [ 311.070428] [<c0009618>] (gic_handle_irq) from [<c09f9400>] (__irq_svc+0x40/0x54)
    [ 311.070434] Exception stack(0xc0f2ff00 to 0xc0f2ff48)
    [ 311.070444] ff00: 00000001 00000000 00000000 c004e228 c0f2e000 c0f31658 00000000 00000000
    [ 311.070452] ff20: c0a023c0 c0f315f4 c100e789 c0f2ff54 c0f2ff48 c0f2ff48 c004de50 c0028b38
    [ 311.070459] ff40: a00f0013 ffffffff
    [ 311.070472] [<c09f9400>] (__irq_svc) from [<c0028b38>] (arch_cpu_idle+0x30/0x4c)
    [ 311.070485] [<c0028b38>] (arch_cpu_idle) from [<c009ed48>] (cpu_startup_entry+0x388/0x404)
    [ 311.070496] [<c009ed48>] (cpu_startup_entry) from [<c09eed80>] (rest_init+0x88/0x8c)
    [ 311.070508] [<c09eed80>] (rest_init) from [<c0e69da4>] (start_kernel+0x444/0x450)
    [ 311.070515] ---[ end trace 48bf7e82ab86f27d ]---




    our dtb configuration as below:

    iss: iss@52000000 {
    compatible = "ti,omap4-iss";
    reg = <0x52000000 0x100>, /* top */
    <0x52001000 0x170>, /* csi2_a_regs1 */
    <0x52001170 0x020>, /* camerarx_core1 */
    <0x52001400 0x170>, /* csi2_b_regs1 */
    <0x52001570 0x020>, /* camerarx_core2 */
    <0x52002000 0x200>, /* bte */
    <0x52010000 0x0a0>, /* isp_sys1 */
    <0x52010400 0x400>, /* isp_resizer */
    <0x52010800 0x800>, /* isp_ipipe */
    <0x52011000 0x200>, /* isp_isif */
    <0x52011200 0x080>; /* isp_ipipeif */
    reg-names = "top",
    "csi2_a_regs1",
    "camerarx_core1",
    "csi2_b_regs1",
    "camerarx_core2",
    "bte",
    "isp_sys1",
    "isp_resizer",
    "isp_ipipe",
    "isp_isif",
    "isp_ipipeif";
    status = "ok";
    ti,hwmods = "iss";
    interrupts = <GIC_SPI 24 IRQ_TYPE_LEVEL_HIGH>;
    clocks = <&ducati_clk_mux_ck>, <&iss_ctrlclk>;
    clock-names = "iss_fck", "iss_ctrlclk";
    dmas = <&sdma 9>, <&sdma 10>, <&sdma 12>, <&sdma 13>;
    dma-names = "1", "2", "3", "4";
    };

    &i2c3 {
    pinctrl-names = "default";
    pinctrl-0 = <&i2c3_pins>;
    status = "ok";

    clock-frequency = <100000>;

    ov5640_1_camera: camera@3c {
    compatible = "omnivision,ov5640";
    status = "ok";
    reg = <0x3c>;

    pwdn-gpios = <&gpio1 13 GPIO_ACTIVE_HIGH>; // gpio1_13 - power down
    reset-gpios = <&gpio8 2 GPIO_ACTIVE_LOW>; // gpio8_226 - reset

    clocks = <&auxclk1_ck>;

    port {
    ov5640_1_cam_ep: endpoint {
    clock-lanes = <4>;
    data-lanes = <0 1>;
    remote-endpoint = <&csi2a_ep>;
    };
    };
    };
    };


    &iss {
    status = "ok";

    pinctrl-names = "default";
    pinctrl-0 = <&iss_csi21_pins>;

    ports {
    port@0 {
    csi2a_ep: endpoint {
    remote-endpoint = <&ov5640_1_cam_ep>;
    clock-lanes = <4>;
    data-lanes = <0 1>;
    crc = <0>;
    lane-polarities = <0 0 0>;
    };
    };
    };
    };

    Please provide us the further support to solve the issue.
    Thanks & Best Regards;

    Nikunj Patel 

  • In reply to Nikunj Patel:

    Hello everyone;

    We have been use the omapconf tool to check the register details. please find the more details as below.

    1) omapconf show prcm cam

    OMAPCONF (rev 1.73-nogit built Mon Jun 12 15:26:28 UTC 2017)

    HW Platform:
    Generic OMAP5 (Flattened Device Tree)
    OMAP5432 ES2.0 GP Device (STANDARD performance (1.5GHz))
    TWL6035 ES1.0 (EPROM rev0.0)
    TWL6040 ES1.2

    SW Build Details:
    Build:
    Version: Ubuntu 16.04.3 LTS
    Kernel:
    Version: 4.1.38-armv7-lpae-x4
    Author: nikunj.patel.369@ci5lub061309
    Toolchain: gcc version 4.9.4 20151028 (prerelease) (Linaro GCC 4.9-2016.02)
    Type: #31 SMP
    Date: Tue Dec 5 15:16:06 IST 2017

    |----------------------------------------------------------------|
    | CAM Power Domain Configuration |
    |----------------------------------------------------------------|
    | Power State | Current | Target | Last |
    |----------------------------------|---------|---------|---------|
    | Domain                           | ON     | OFF  | OFF   |
    | Logic                               | ON     |          |           |
    | Memory                           |           |          |           |
    | MEM                                | ON    |          |           |
    |----------------------------------------------------------------|
    | Ongoing Power Transition? | NO |
    |----------------------------------------------------------------|

    |----------------------------------------------------------------|
    | CAM Clock Domain Configuration |
    |--------------------------------------|-------------------------|
    | Clock State Transition control | HW-Auto |
    | CAM_L3_GIFCLK                   | Gated |
    | CAM_BOOST_GCLK              | Running |
    | FDIF_GCLK                             | Gated |
    | CSI_PHY_GFCLK                   | Gated |
    | CAM_GCLK                            | Gated |
    |----------------------------------------------------------------|

    |------------------------------------------------------------------------|
    | FDIF Module Configuration |
    |----------------------------------|-------------------------------------|
    | Source Clock                                | FDIF_GFCLK |
    | Source Clock Rate                       | 128.000MHz |
    | Mode                                            | Disabled (NO ACCESS) |
    | Idle Status                                    | Disabled (NO ACCESS) |
    | Standby Status                            | In Standby |
    | FDIF_CLK Ratio                          | FDIF_CLK = FUNC_128M_CLK / 1 |
    | Context                                        | Lost |
    |------------------------------------------------------------------------|

    |------------------------------------------------------------------------|
    | ISS Module Configuration |
    |----------------------------------|-------------------------------------|
    | Source Clock                  | CORE_ISS_MAIN_CLK |
    | Source Clock Rate          | 303.908MHz |
    | Mode                               | Enabled (EXPLICITLY) |
    | Idle Status                       | OCP-ONLY Idle |
    | Standby Status                | In Standby |
    | Optional functional clock | Disabled |
    | Context                            | Retained |
    |------------------------------------------------------------------------|

    |------------------------------------------------------------------------|
    | CAL Module Configuration |
    |----------------------------------|-------------------------------------|
    | Source Clock                     | CAM_L3_GICLK |
    | Source Clock Rate            | 265.919MHz |
    | Mode                                 | Disabled (NO ACCESS) |
    | Idle Status                         | Disabled (NO ACCESS) |
    | Standby Status                 | Not Available (does not exist) |
    | Context                             | Lost |
    |------------------------------------------------------------------------|



    2) omapconf dump prcm cam

    OMAPCONF (rev 1.73-nogit built Mon Jun 12 15:26:28 UTC 2017)

    HW Platform:
    Generic OMAP5 (Flattened Device Tree)
    OMAP5432 ES2.0 GP Device (STANDARD performance (1.5GHz))
    TWL6035 ES1.0 (EPROM rev0.0)
    TWL6040 ES1.2

    SW Build Details:
    Build:
    Version: Ubuntu 16.04.3 LTS
    Kernel:
    Version: 4.1.38-armv7-lpae-x4
    Author: nikunj.patel.369@ci5lub061309
    Toolchain: gcc version 4.9.4 20151028 (prerelease) (Linaro GCC 4.9-2016.02)
    Type: #31 SMP
    Date: Tue Dec 5 15:16:06 IST 2017

    |-------------------------------------------------|
    | PRM CAM Reg. Name | Reg. Address | Reg. Value |
    |-------------------------------------------------|
    | PM_CAM_PWRSTCTRL       | 0x4AE07300 | 0x00030000 |
    | PM_CAM_PWRSTST            | 0x4AE07304 | 0x00000037 |
    | RM_CAM_ISS_CONTEXT    | 0x4AE07324 | 0x00000000 |
    | RM_CAM_FDIF_CONTEXT | 0x4AE0732C | 0x00000101 |
    | RM_CAM_CAL_CONTEXT  | 0x4AE07334 | 0x00000101 |
    |-------------------------------------------------|

    |---------------------------------------------------|
    | CM CORE CAM Reg. Name | Reg. Address | Reg. Value |
    |---------------------------------------------------|
    | CM_CAM_CLKSTCTRL | 0x4A009300 | 0x00000803 |
    | CM_CAM_STATICDEP | 0x4A009304 | 0x00000040 |
    | CM_CAM_DYNAMICDEP | 0x4A009308 | 0x00000000 |
    | CM_CAM_ISS_CLKCTRL | 0x4A009320 | 0x00060002 |
    | CM_CAM_FDIF_CLKCTRL | 0x4A009328 | 0x00070000 |
    | CM_CAM_CAL_CLKCTRL | 0x4A009330 | 0x00030000 |
    |---------------------------------------------------|




    3) read all the camera address:

    CONTROL_CAMERA_RX
    root@arm:~# omapconf read 0x4A002E08
    00C01806

    CONTROL_CORE_PAD0_CSIPORTA_LANE0X_PAD1_CSIPORTA_LANE0Y
    root@arm:~# omapconf read 0x4A002958
    01000100

    CONTROL_CORE_PAD0_CSIPORTA_LANE0X_PAD1_CSIPORTA_LANE1Y
    root@arm:~# omapconf read 0x4A00295C
    01000100

    CONTROL_CORE_PAD0_CSIPORTA_LANE0X_PAD1_CSIPORTA_LANE2Y
    root@arm:~# omapconf read 0x4A002960
    010F010F

    CONTROL_CORE_PAD0_CSIPORTA_LANE0X_PAD1_CSIPORTA_LANE3Y
    root@arm:~# omapconf read 0x4A002964
    010F010F

    CONTROL_CORE_PAD0_CSIPORTA_LANE0X_PAD1_CSIPORTA_LANE4Y
    root@arm:~# omapconf read 0x4A002968
    01000100

    CSI2_SYSCONFIG
    root@arm:~# omapconf read 0x52001010
    [ 701.984338] Unhandled fault: asynchronous external abort (0x1211) at 0x00000000
    [ 701.991679] pgd = eba39080
    [ 701.994396] [00000000] *pgd=aa498003, *pmd=fd876003

    CSI2_SYSSTATUS:
    root@arm:~# omapconf read 0x52001014
    [ 758.164385] Unhandled fault: asynchronous external abort (0x1211) at 0x00000000
    [ 758.171724] pgd = ebb23400
    [ 758.174440] [00000000] *pgd=aa61f003, *pmd=fd8e8003

    CSI2_IRQSTATUS:
    root@arm:~# omapconf read 0x52001018
    [ 1015.164323] Unhandled fault: asynchronous external abort (0x1211) at 0x00000000
    [ 1015.171664] pgd = ed733e40
    [ 1015.174380] [00000000] *pgd=aa605003, *pmd=fd876003

    CSI2_IRQENABLE:
    root@arm:~# omapconf read 0x5200101c
    [ 1043.294261] Unhandled fault: asynchronous external abort (0x1211) at 0x00000000
    [ 1043.301602] pgd = ebbfb240
    [ 1043.304317] [00000000] *pgd=ad69f003, *pmd=fd833003

    CSI2_CTRL:
    root@arm:~# omapconf read 0x52001040
    [ 1097.784331] Unhandled fault: asynchronous external abort (0x1211) at 0x00000000
    [ 1097.791671] pgd = eba39e00
    [ 1097.794387] [00000000] *pgd=aa466003, *pmd=fd8e8003

    CSI2_DBG_H:
    root@arm:~# omapconf read 0x52001044
    [ 1129.944272] Unhandled fault: asynchronous external abort (0x1211) at 0x00000000
    [ 1129.951613] pgd = ebb232c0
    [ 1129.954330] [00000000] *pgd=aba1d003, *pmd=fd964003

    CSI2_COMPLEXIO_CFG:
    root@arm:~# omapconf read 0x52001050
    [ 1163.674228] Unhandled fault: asynchronous external abort (0x1211) at 0x00000000
    [ 1163.681568] pgd = ed733780
    [ 1163.684283] [00000000] *pgd=ad644003, *pmd=fd856003

    CSI2_COMPLEXIO_IRQSTATUS:
    root@arm:~# omapconf read 0x52001054
    [ 1196.354264] Unhandled fault: asynchronous external abort (0x1211) at 0x00000000
    [ 1196.361605] pgd = ea5e5680
    [ 1196.364320] [00000000] *pgd=aa44c003, *pmd=fd8a6003

    CSI2_SHORT_PACKET:
    root@arm:~# omapconf read 0x5200105c
    [ 1232.894285] Unhandled fault: asynchronous external abort (0x1211) at 0x00000000
    [ 1232.901625] pgd = ea4b2280
    [ 1232.904341] [00000000] *pgd=ab98b003, *pmd=fd8a1003

    CSI2_COMPLEXIO_IRQENABLE:
    root@arm:~# omapconf read 0x52001060
    [ 1274.474353] Unhandled fault: asynchronous external abort (0x1211) at 0x00000000
    [ 1274.481694] pgd = ed733c40
    [ 1274.484410] [00000000] *pgd=aa4e0003, *pmd=ab831003, *pte=00000000

    CSI2_DBG_P:
    root@arm:~# omapconf read 0x52001068
    [ 1304.714342] Unhandled fault: asynchronous external abort (0x1211) at 0x00000000
    [ 1304.721683] pgd = ea4b2900
    [ 1304.724398] [00000000] *pgd=aa5e4003, *pmd=ab97c003, *pte=00000000

    CSI2_TIMING:
    root@arm:~# omapconf read 0x5200106c
    [ 1349.124260] Unhandled fault: asynchronous external abort (0x1211) at 0x00000000
    [ 1349.131600] pgd = ed487940
    [ 1349.134316] [00000000] *pgd=aa5e8003, *pmd=aba78003, *pte=00000000

    CSI2_CTX_CTRL1(0):
    root@arm:~# omapconf read 0x52001070
    [ 1387.874334] Unhandled fault: asynchronous external abort (0x1211) at 0x00000000
    [ 1387.881674] pgd = ed7331c0
    [ 1387.884390] [00000000] *pgd=aa528003, *pmd=fd966003

    CSI2_CTX_CTRL2(0):
    root@arm:~# omapconf read 0x52001074
    [ 1419.294319] Unhandled fault: asynchronous external abort (0x1211) at 0x00000000
    [ 1419.301660] pgd = eba1cc40
    [ 1419.304375] [00000000] *pgd=abb28003, *pmd=fd8d3003

    CSI2_CTX_DAT_OFST(0):
    root@arm:~# omapconf read 0x52001078
    [ 1447.404312] Unhandled fault: asynchronous external abort (0x1211) at 0x00000000
    [ 1447.411653] pgd = ed686980
    [ 1447.414370] [00000000] *pgd=aa48d003, *pmd=fd924003

    CSI2_CTX_PING_ADDR(0):
    root@arm:~# omapconf read 0x5200107c
    [ 1483.634280] Unhandled fault: asynchronous external abort (0x1211) at 0x00000000
    [ 1483.641620] pgd = eb841440
    [ 1483.644337] [00000000] *pgd=aa504003, *pmd=fd921003

    CSI2_CTX_PONG_ADDR(0):
    root@arm:~# omapconf read 0x52001080
    [ 1508.834269] Unhandled fault: asynchronous external abort (0x1211) at 0x00000000
    [ 1508.841610] pgd = eba397c0
    [ 1508.844327] [00000000] *pgd=abb5a003, *pmd=fd857003

    CSI2_CTX_IRQENABLE(0):
    root@arm:~# omapconf read 0x52001084
    [ 1540.003942] Unhandled fault: asynchronous external abort (0x1211) at 0x00000000
    [ 1540.011339] pgd = eba1c2c0
    [ 1540.014057] [00000000] *pgd=ad73f003, *pmd=fd8a1003

    CSI2_CTX_IRQSTATUS(0):
    root@arm:~# omapconf read 0x52001088
    [ 1558.994299] Unhandled fault: asynchronous external abort (0x1211) at 0x00000000
    [ 1559.001639] pgd = ea5e9f80
    [ 1559.004355] [00000000] *pgd=aa5dc003, *pmd=fd966003

    as per above we are able to read the 0x4xxxxxxx address but not able to read the 0x52xxxxxx.

    Please help us to solve this issue.


    Thanks & Best Regards;
    Nikunj Patel

  • In reply to Nikunj Patel:

    Gentle reminder;

    thanks & Best Regards;
    Nikunj Patel