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:  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:  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]  isp_mmu_map+0x2e/0x20e [atomisp]
[ 15.314259]  hmm_bo_bind+0x11f/0x1c5 [atomisp]
[ 15.314396]  hmm_alloc+0xbf/0x10c [atomisp]
[ 15.314532]  hmm_init+0x9c/0xa8 [atomisp]
[ 15.314668]  hrt_isp_css_mm_init+0x12/0x1e [atomisp]
[ 15.314803]  atomisp_open+0x209/0x2df [atomisp]
[ 15.314926]  v4l2_open+0x90/0xdb
[ 15.315046]  chrdev_open+0x11c/0x13f
[ 15.315164]  ? cdev_put+0x1e/0x1e
[ 15.315282]  do_dentry_open.isra.17+0x170/0x22a
[ 15.315402]  finish_open+0x1b/0x25
[ 15.315521]  do_last.isra.42+0x80f/0x9af
[ 15.315640]  path_openat.isra.43+0xb0/0x430
[ 15.315760]  do_filp_open+0x43/0x98
[ 15.315879]  ? _raw_spin_unlock+0x9/0x33
[ 15.315999]  ? __alloc_fd+0xd5/0xe5
[ 15.316116]  do_sys_open+0x105/0x195
[ 15.316234]  ? do_sys_open+0x105/0x195
[ 15.316352]  SyS_open+0x19/0x1b
[ 15.316469]  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  alloc_page_table+0x130/0x160 [atomisp]
[ 15.319455] RSP
[ 15.319566] CR2: 0000000072557000
[ 15.320676] ---[ end trace 32552a36e95323d1 ]---
[ 15.320982] systemd-udevd: 'v4l_id /dev/video2'  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
Hi Balaji P,
Welcome to the Intel® Embedded Community.
This platform supports Linux OS based on Yocto Project* Tools and Linux OS based on Fedora distribution. If you need assistance on these distributions please contact: Yocto Project or Timesys respectively for the proper support. You can check these documents for more information; Atom Processor E3800 Platform Brief https://www-ssl.intel.com/content/dam/www/public/us/en/documents/platform-briefs/atom-processor-e380... https://www-ssl.intel.com/content/dam/www/public/us/en/documents/platform-briefs/atom-processor-e380... or Bay Trail Linux Overview http://www.intel.com/content/www/us/en/embedded/products/bay-trail/linux-overview.html Optimizing the Linux* Platform for Intel® Atom™ Processors
Hi, Balaji P. The below documents may be helpful to you. They are all classified as Intel Confidential.
http://www.intel.com/content/www/us/en/secure/intelligent-systems/privileged/bay-trail/atom-e3800-m-... Intel® Atom™ SoC E3800-I BIOS Writer's Guide Addendum
http://www.intel.com/content/www/us/en/secure/intelligent-systems/privileged/bay-trail/atom-e3800-m-... Intel® Atom™ Processor E3800-M/D SoC BIOS Writer's Guide, Vol. 1
http://www.intel.com/content/www/us/en/secure/intelligent-systems/privileged/bay-trail/atom-e3800-m-... Intel® Atom™ Processor E3800-M/D SoC BIOS Writer's Guide, Vol. 2
http://www.intel.com/content/www/us/en/secure/intelligent-systems/privileged/bay-trail/atom-e3800-m-... Intel® Atom™ Processor E3800-M/D/T/I, Intel® TXE BIOS Guide
It appears that your company may already have a CNDA with Intel. Please go to http://www.intel.com/content/www/us/en/intelligent-systems/embedded-design-center-contact-us.html Intel® Embedded Design Center Contact and Support and click on MANAGE MY INTEL PROFILE. From there you can click up "UPGRADE TO PRIVILEGED". Your application will be submitted for review and upon approval, you will be able to access these documents.
Hi, Balaji P!
Congratulations! I see that as of Oct 27th you have Privileged access and can now access the above content. Please let us know if you need anything else. Have a great day! LynnZ
Thanks leonalexismeneses for your assistance, too!
Which intel baytrail(e38xx) reference board/evaluation kit we can use to test the mipi csi (camera) interface. Please suggest on this. Whether the ISP driver is tested with any reference platform?
Hi, Balaji P!
Unfortunately none of our current embedded development kits have this interface due to uncommon usage in the embedded space. Are you using the Congatec board by chance as I believe the drivers for Windows OS & Linux OS is available. If you are using the Linux version the customized BIOS might cause the error as well. You can connect with http://www.congatec.com/us/support.html Congatec for support. Or I could have an Intel representative contact you to discuss the possibility of using on CRB on loan. Please let me know if you would like me to coordinate that for you. Happy New Year!! LynnZ.
Wish you a happy and prosperous new year .
Thanks for the reply. Yes, we are using congatec board for our mipi camera board evaluation, but the driver doesn't work. We already approached congatec regarding the mipi camera support but they told that it is beyond their scope. So, we would like to get support from the intel. We would like to develop mipi camera board for baytrail platform, so please make an arrangement to get the CRB for us to evaluate our camera board. Thank you very much for your support.
And one more query, is it possible to get the prebuilt BIOS binary for e3845 which you are using, so that i will port that to congatec board and check the isp driver.
Thanks and regards,
Hello. Sorry for the delay as we have been on holiday. On Monday I will put your request into our system so that it is routed to the appropriate Intel representative who will be able to assist you. Thank you! LynnZ.
Thank you very much for your kind support. We are waiting for the intel representative's response. We would like to launch mipi camera daughter board for e38xx in this Q1 2015. So, please make the board availability as soon as possible.
Thanks and regards,
Good day to you. So far, no one from Intel was contacting me regarding the intel CRB. We are in hurry and we will ready to launch MIPI camera for Baytrail within this Q1 2015. Please help us to get rid of this issue.
Thanks and regards,
Good day, Balaji! I understand that Kanad contacted you about your project with Bay Trail. Thanks for your interest in Intel and good luck with your project! LynnZ