15 Replies Latest reply on Feb 3, 2015 7:29 AM by LynnZ

    Bay Trail E38xx ATOM ISP Driver

    Balaji89 Green Belt

      Hi all,

       

      We have Congatec QA3 Intel E3845 SOM with its evaluation kit. Currently we are testing Intel E38xx MIPI CSI-2 Camera (AtomISP) driver. We are using Ubuntu 14.04 with LTSI-3.10 kernel where all patches for isp, io drivers are applied. While inserting the camera driver module, we got some errors regarding the virtual and physical paging. Here I have attached the log for your reference.

       

      Thanks for your help.

       

       

      Camera driver error log.

       

      [   15.025499] atomisp_pci_probe(), line 1033

      [   15.026089] atomisp 0000:00:03.0: setting latency timer to 64

      [   15.026123] atomisp 0000:00:03.0: irq 111 for MSI/MSI-X

      [   15.026212] atomisp_pci_probe(), line 1149

      [   15.026454] atomisp_subdev_probe(), line 630

      [   15.026472] atomisp 0000:00:03.0: Failed to find i2c adapter for subdev ov5640-1

      [   15.026530] atomisp 0000:00:03.0: no camera attached or fail to detect

      [   15.026991] atomisp: FILE_INPUT enable, camera_cnt: 0

      [   15.026996] atomisp: TPG detected, camera_cnt: 1

      [   15.028848] atomisp: DFS target freq is rejected by HW.

      [   15.028873] atomisp: power-off in progress, ISPSSPM0: 0x3

      [   15.029039] atomisp: power-off in progress, ISPSSPM0: 0x3000003

      [   15.310068] BUG: unable to handle kernel paging request at 0000000072557000

      [   15.310203] IP: [<ffffffffa003c6c5>] alloc_page_table+0x130/0x160 [atomisp]

      [   15.310318] PGD 63609067 PUD 0

      [   15.310441] Oops: 0002 [#1] PREEMPT SMP

      [   15.310606] Modules linked in: atomisp joydev videobuf2_dma_contig serio_raw fuse

      [   15.310889] CPU: 2 PID: 545 Comm: v4l_id Tainted: G        W    3.10.28-03142014-ltsi+ #19

      [   15.310945] Hardware name: To be filled by O.E.M. To be filled by O.E.M./Aptio CRB, BIOS 5.6.5 06/12/2014

      [   15.311004] task: ffff8800726a0000 ti: ffff880063924000 task.ti: ffff880063924000

      [   15.311203] RIP: 0010:[<ffffffffa003c6c5>]  [<ffffffffa003c6c5>] alloc_page_table+0x130/0x160 [atomisp]

      [   15.311467] RSP: 0018:ffff880063925ac8  EFLAGS: 00010202

      [   15.311585] RAX: 0000000000000004 RBX: 0000000072557000 RCX: 0000000072557000

      [   15.311707] RDX: ffff880072557000 RSI: 00000000000fffff RDI: ffffffff81e20780

      [   15.311829] RBP: ffff880063925ae0 R08: 0000000000000002 R09: 00000000fffffffe

      [   15.311952] R10: 0000000000000001 R11: 0000000000000000 R12: ffff880072557000

      [   15.312075] R13: ffffffffa0092140 R14: 0000000063612000 R15: 0000000000000000

      [   15.312197] FS:  00007fa0f1778740(0000) GS:ffff880079500000(0000) knlGS:0000000000000000

      [   15.312393] CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033

      [   15.312510] CR2: 0000000072557000 CR3: 000000006392b000 CR4: 00000000001007e0

      [   15.312631] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000

      [   15.312751] DR3: 0000000000000000 DR6: 00000000ffff0ff0 DR7: 0000000000000400

      [   15.312869] Stack:

      [   15.312980]  ffffffffa0092140 ffff880075dfeda0 ffffffffa0092140 ffff880063925b30

      [   15.313316]  ffffffffa003ca9a ffff880075dfeda0 0000000000000000 0000000000000001

      [   15.313651]  0000000000000000 ffff880075dfeda0 ffffffffa0092140 0000000000000000

      [   15.313986] Call Trace:

      [   15.314120]  [<ffffffffa003ca9a>] isp_mmu_map+0x2e/0x20e [atomisp]

      [   15.314259]  [<ffffffffa003e68a>] hmm_bo_bind+0x11f/0x1c5 [atomisp]

      [   15.314396]  [<ffffffffa003d0ee>] hmm_alloc+0xbf/0x10c [atomisp]

      [   15.314532]  [<ffffffffa003d756>] hmm_init+0x9c/0xa8 [atomisp]

      [   15.314668]  [<ffffffffa003f5d6>] hrt_isp_css_mm_init+0x12/0x1e [atomisp]

      [   15.314803]  [<ffffffffa0038606>] atomisp_open+0x209/0x2df [atomisp]

      [   15.314926]  [<ffffffff814cd703>] v4l2_open+0x90/0xdb

      [   15.315046]  [<ffffffff810fdfb9>] chrdev_open+0x11c/0x13f

      [   15.315164]  [<ffffffff810fde9d>] ? cdev_put+0x1e/0x1e

      [   15.315282]  [<ffffffff810f90ad>] do_dentry_open.isra.17+0x170/0x22a

      [   15.315402]  [<ffffffff810f9182>] finish_open+0x1b/0x25

      [   15.315521]  [<ffffffff81105bbc>] do_last.isra.42+0x80f/0x9af

      [   15.315640]  [<ffffffff81105e0c>] path_openat.isra.43+0xb0/0x430

      [   15.315760]  [<ffffffff81106d41>] do_filp_open+0x43/0x98

      [   15.315879]  [<ffffffff81762b50>] ? _raw_spin_unlock+0x9/0x33

      [   15.315999]  [<ffffffff81110ea1>] ? __alloc_fd+0xd5/0xe5

      [   15.316116]  [<ffffffff810f9eac>] do_sys_open+0x105/0x195

      [   15.316234]  [<ffffffff810f9eac>] ? do_sys_open+0x105/0x195

      [   15.316352]  [<ffffffff810f9f55>] SyS_open+0x19/0x1b

      [   15.316469]  [<ffffffff81763992>] system_call_fastpath+0x16/0x1b

      [   15.316586] Code: d9 48 c7 c7 ab 1b 07 a0 31 c0 e8 d9 a8 71 e1 48 ba 00 00 00 00 00 88 ff ff 31 c0 48 01 da 49 8b 4d 00 48 83 c0 04 8b 71 0c 89 d1 <89> 74 08 fc 48 3d 00 10 00 00 75 e7 ba 75 00 00 00 48 c7 c6 40

      [   15.319281] RIP  [<ffffffffa003c6c5>] alloc_page_table+0x130/0x160 [atomisp]

      [   15.319455]  RSP <ffff880063925ac8>

      [   15.319566] CR2: 0000000072557000

      [   15.320676] ---[ end trace 32552a36e95323d1 ]---

      [   15.320982] systemd-udevd[335]: 'v4l_id /dev/video2' [545] terminated by signal 9 (Killed)

      [   15.720193] init: cups main process (595) killed by HUP signal

      [   15.720338] init: cups main process ended, respawning

      [   16.200569] atomisp: atomisp: ISP firmware iaisp_2400_css.bin.big successfully loaded

      [   16.577796] init: alsa-restore main process (713) terminated with status 99

      [   17.255303] init: plymouth-upstart-bridge main process ended, respawning

       

       

      Best Regards,

      Balaji P