<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic IMX6 CAAM kerne panic in non-secure world Linux kernel in i.MX Processors</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/IMX6-CAAM-kerne-panic-in-non-secure-world-Linux-kernel/m-p/374024#M53554</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I modified Linux kernel to work in non-secure world.&lt;/P&gt;&lt;P&gt;Linux version 3.10.17-svn1666 / (gcc version 4.6.3 (Ubuntu/Linaro 4.6.3-1ubuntu5) ) #2 Thu Apr 2 19:43:43 KST 2015&lt;/P&gt;&lt;P&gt;It print kernel panic messages with back-trace when kernel is booting in non-secure.&lt;/P&gt;&lt;P&gt;Exactly, on caam_rng_init process as bellow messages&lt;/P&gt;&lt;P&gt;I dont know what i do now.&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;I have set the CSU_CSL17 register to 0x00ff00ff so that CAAM can be accessible in both non-secure and secure world.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333330154419px;"&gt;should I check more CAAM's register like that Secure Memory Access Groups (SMAG) Register, &lt;/SPAN&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;Master Configuration Register (MCFGR) ?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;please help me~~~&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;usb 1-1: new high-speed USB device number 2 using ci_hdrc&lt;/P&gt;&lt;P&gt;&lt;STRONG style="color: #ff0000;"&gt;platform 2101000.jr0: failed to flush job ring 0&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #ff0000;"&gt;&lt;STRONG&gt;fsl,sec-v4.0-job-ring not found&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;(ring 0)&lt;/P&gt;&lt;P&gt;&lt;STRONG style="color: #ff0000;"&gt;caam: probe of 2100000.caam failed with error -5&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;platform 2100000.caam: dev_get_drvdata failed&lt;/P&gt;&lt;P&gt;mmc1: host does not support reading read-only switch. assuming write-enable.&lt;/P&gt;&lt;P&gt;mmc1: new high speed SDHC card at address 0007&lt;/P&gt;&lt;P&gt;mmcblk0: mmc1:0007 SD4GB 3.70 GiB&lt;/P&gt;&lt;P&gt; mmcblk0: p1&lt;/P&gt;&lt;P&gt;hub 1-1:1.0: USB hub found&lt;/P&gt;&lt;P&gt;hub 1-1:1.0: 3 ports detected&lt;/P&gt;&lt;P&gt;waiting for driver to load&lt;/P&gt;&lt;P&gt;waiting for driver to load&lt;/P&gt;&lt;P&gt;waiting for driver to load&lt;/P&gt;&lt;P&gt;waiting for driver to load&lt;/P&gt;&lt;P&gt;waiting for driver to load&lt;/P&gt;&lt;P&gt;waiting for driver to load&lt;/P&gt;&lt;P&gt;waiting for driver to load&lt;/P&gt;&lt;P&gt;waiting for driver to load&lt;/P&gt;&lt;P&gt;waiting for driver to load&lt;/P&gt;&lt;P&gt;Unable to handle kernel NULL pointer dereference at virtual address 00000014&lt;/P&gt;&lt;P&gt;pgd = c0004000&lt;/P&gt;&lt;P&gt;[00000014] *pgd=00000000&lt;/P&gt;&lt;P&gt;Internal error: Oops: 5 [#1] ARM&lt;/P&gt;&lt;P&gt;Modules linked in:&lt;/P&gt;&lt;P&gt;CPU: 0 PID: 1 Comm: swapper Tainted: G&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; W&amp;nbsp;&amp;nbsp;&amp;nbsp; 3.10.17-svn1666 #3&lt;/P&gt;&lt;P&gt;task: d2046000 ti: d2058000 task.ti: d2058000&lt;/P&gt;&lt;P&gt;PC is at &lt;STRONG style=": ; color: #ff0000;"&gt;caam_rng_init&lt;/STRONG&gt;+0x58/0x214&lt;/P&gt;&lt;P&gt;LR is at caam_rng_init+0x58/0x214&lt;/P&gt;&lt;P&gt;pc : [&amp;lt;c0802c44&amp;gt;]&amp;nbsp;&amp;nbsp;&amp;nbsp; lr : [&amp;lt;c0802c44&amp;gt;]&amp;nbsp;&amp;nbsp;&amp;nbsp; psr: a0000113&lt;/P&gt;&lt;P&gt;sp : d2059ee8&amp;nbsp; ip : d2059ee8&amp;nbsp; fp : d2059f0c&lt;/P&gt;&lt;P&gt;r10: 000000c8&amp;nbsp; r9 : c08174fc&amp;nbsp; r8 : c080f7b8&lt;/P&gt;&lt;P&gt;r7 : c0802bec&amp;nbsp; r6 : c0854ec0&amp;nbsp; r5 : 00000000&amp;nbsp; r4 : c0854ec0&lt;/P&gt;&lt;P&gt;r3 : d20a6e00&amp;nbsp; r2 : 00000001&amp;nbsp; r1 : 00000000&amp;nbsp; r0 : 00000000&lt;/P&gt;&lt;P&gt;Flags: NzCv&amp;nbsp; IRQs on&amp;nbsp; FIQs on&amp;nbsp; Mode SVC_32&amp;nbsp; ISA ARM&amp;nbsp; Segment kernel&lt;/P&gt;&lt;P&gt;Control: 10c53c7d&amp;nbsp; Table: 10004059&amp;nbsp; DAC: 00000015&lt;/P&gt;&lt;P&gt;Process swapper (pid: 1, stack limit = 0xd2058230)&lt;/P&gt;&lt;P&gt;Stack: (0xd2059ee8 to 0xd205a000)&lt;/P&gt;&lt;P&gt;9ee0:&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 00000000 c0854ec0 c0854ec0 00000000 c0854ec0 c0802bec&lt;/P&gt;&lt;P&gt;9f00: d2059f54 d2059f10 c0008600 c0802bf8 00000001 c0784170 60000113 c0044028&lt;/P&gt;&lt;P&gt;9f20: c0044000 c10c9e3b d2059f54 c080f7b0 00000007 c0854ec0 c07df648 c080f7b8&lt;/P&gt;&lt;P&gt;9f40: c08174fc 000000c8 d2059f94 d2059f58 c07df59c c00085d0 00000006 00000006&lt;/P&gt;&lt;P&gt;9f60: c07df648 ffffffff ffffffff 00000000 c0611f00 00000000 00000000 00000000&lt;/P&gt;&lt;P&gt;9f80: 00000000 00000000 d2059fac d2059f98 c0611f10 c07df494 00000000 00000000&lt;/P&gt;&lt;P&gt;9fa0: 00000000 d2059fb0 c000ee18 c0611f0c 00000000 00000000 00000000 00000000&lt;/P&gt;&lt;P&gt;9fc0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000&lt;/P&gt;&lt;P&gt;9fe0: 00000000 00000000 00000000 00000000 00000013 00000000 ffffffff ffffffff&lt;/P&gt;&lt;P&gt;Backtrace:&lt;/P&gt;&lt;P&gt;[&amp;lt;c0802bec&amp;gt;] (&lt;SPAN style="color: #ff0000;"&gt;&lt;STRONG&gt;caam_rng_ini&lt;/STRONG&gt;&lt;/SPAN&gt;t+0x0/0x214) from [&amp;lt;c0008600&amp;gt;] (do_one_initcall+0x3c/0x174)&lt;/P&gt;&lt;P&gt; r7:c0802bec r6:c0854ec0 r5:00000000 r4:c0854ec0&lt;/P&gt;&lt;P&gt;[&amp;lt;c00085c4&amp;gt;] (do_one_initcall+0x0/0x174) from [&amp;lt;c07df59c&amp;gt;] (kernel_init_freeable+0x114/0x1c0)&lt;/P&gt;&lt;P&gt;[&amp;lt;c07df488&amp;gt;] (kernel_init_freeable+0x0/0x1c0) from [&amp;lt;c0611f10&amp;gt;] (kernel_init+0x10/0xf0)&lt;/P&gt;&lt;P&gt;[&amp;lt;c0611f00&amp;gt;] (kernel_init+0x0/0xf0) from [&amp;lt;c000ee18&amp;gt;] (ret_from_fork+0x14/0x3c)&lt;/P&gt;&lt;P&gt; r4:00000000 r3:00000000&lt;/P&gt;&lt;P&gt;Code: e3500000 0a00006d e2800010 ebed219e (e5902014)&lt;/P&gt;&lt;P&gt;---[ end trace 1b75b31a2719ed1d ]---&lt;/P&gt;&lt;P&gt;Kernel panic - not syncing: Attempted to kill init! exitcode=0x0000000b&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 02 Apr 2015 13:21:00 GMT</pubDate>
    <dc:creator>myungjinhwang</dc:creator>
    <dc:date>2015-04-02T13:21:00Z</dc:date>
    <item>
      <title>IMX6 CAAM kerne panic in non-secure world Linux kernel</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/IMX6-CAAM-kerne-panic-in-non-secure-world-Linux-kernel/m-p/374024#M53554</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I modified Linux kernel to work in non-secure world.&lt;/P&gt;&lt;P&gt;Linux version 3.10.17-svn1666 / (gcc version 4.6.3 (Ubuntu/Linaro 4.6.3-1ubuntu5) ) #2 Thu Apr 2 19:43:43 KST 2015&lt;/P&gt;&lt;P&gt;It print kernel panic messages with back-trace when kernel is booting in non-secure.&lt;/P&gt;&lt;P&gt;Exactly, on caam_rng_init process as bellow messages&lt;/P&gt;&lt;P&gt;I dont know what i do now.&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;I have set the CSU_CSL17 register to 0x00ff00ff so that CAAM can be accessible in both non-secure and secure world.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333330154419px;"&gt;should I check more CAAM's register like that Secure Memory Access Groups (SMAG) Register, &lt;/SPAN&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;Master Configuration Register (MCFGR) ?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;please help me~~~&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;usb 1-1: new high-speed USB device number 2 using ci_hdrc&lt;/P&gt;&lt;P&gt;&lt;STRONG style="color: #ff0000;"&gt;platform 2101000.jr0: failed to flush job ring 0&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #ff0000;"&gt;&lt;STRONG&gt;fsl,sec-v4.0-job-ring not found&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;(ring 0)&lt;/P&gt;&lt;P&gt;&lt;STRONG style="color: #ff0000;"&gt;caam: probe of 2100000.caam failed with error -5&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;platform 2100000.caam: dev_get_drvdata failed&lt;/P&gt;&lt;P&gt;mmc1: host does not support reading read-only switch. assuming write-enable.&lt;/P&gt;&lt;P&gt;mmc1: new high speed SDHC card at address 0007&lt;/P&gt;&lt;P&gt;mmcblk0: mmc1:0007 SD4GB 3.70 GiB&lt;/P&gt;&lt;P&gt; mmcblk0: p1&lt;/P&gt;&lt;P&gt;hub 1-1:1.0: USB hub found&lt;/P&gt;&lt;P&gt;hub 1-1:1.0: 3 ports detected&lt;/P&gt;&lt;P&gt;waiting for driver to load&lt;/P&gt;&lt;P&gt;waiting for driver to load&lt;/P&gt;&lt;P&gt;waiting for driver to load&lt;/P&gt;&lt;P&gt;waiting for driver to load&lt;/P&gt;&lt;P&gt;waiting for driver to load&lt;/P&gt;&lt;P&gt;waiting for driver to load&lt;/P&gt;&lt;P&gt;waiting for driver to load&lt;/P&gt;&lt;P&gt;waiting for driver to load&lt;/P&gt;&lt;P&gt;waiting for driver to load&lt;/P&gt;&lt;P&gt;Unable to handle kernel NULL pointer dereference at virtual address 00000014&lt;/P&gt;&lt;P&gt;pgd = c0004000&lt;/P&gt;&lt;P&gt;[00000014] *pgd=00000000&lt;/P&gt;&lt;P&gt;Internal error: Oops: 5 [#1] ARM&lt;/P&gt;&lt;P&gt;Modules linked in:&lt;/P&gt;&lt;P&gt;CPU: 0 PID: 1 Comm: swapper Tainted: G&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; W&amp;nbsp;&amp;nbsp;&amp;nbsp; 3.10.17-svn1666 #3&lt;/P&gt;&lt;P&gt;task: d2046000 ti: d2058000 task.ti: d2058000&lt;/P&gt;&lt;P&gt;PC is at &lt;STRONG style=": ; color: #ff0000;"&gt;caam_rng_init&lt;/STRONG&gt;+0x58/0x214&lt;/P&gt;&lt;P&gt;LR is at caam_rng_init+0x58/0x214&lt;/P&gt;&lt;P&gt;pc : [&amp;lt;c0802c44&amp;gt;]&amp;nbsp;&amp;nbsp;&amp;nbsp; lr : [&amp;lt;c0802c44&amp;gt;]&amp;nbsp;&amp;nbsp;&amp;nbsp; psr: a0000113&lt;/P&gt;&lt;P&gt;sp : d2059ee8&amp;nbsp; ip : d2059ee8&amp;nbsp; fp : d2059f0c&lt;/P&gt;&lt;P&gt;r10: 000000c8&amp;nbsp; r9 : c08174fc&amp;nbsp; r8 : c080f7b8&lt;/P&gt;&lt;P&gt;r7 : c0802bec&amp;nbsp; r6 : c0854ec0&amp;nbsp; r5 : 00000000&amp;nbsp; r4 : c0854ec0&lt;/P&gt;&lt;P&gt;r3 : d20a6e00&amp;nbsp; r2 : 00000001&amp;nbsp; r1 : 00000000&amp;nbsp; r0 : 00000000&lt;/P&gt;&lt;P&gt;Flags: NzCv&amp;nbsp; IRQs on&amp;nbsp; FIQs on&amp;nbsp; Mode SVC_32&amp;nbsp; ISA ARM&amp;nbsp; Segment kernel&lt;/P&gt;&lt;P&gt;Control: 10c53c7d&amp;nbsp; Table: 10004059&amp;nbsp; DAC: 00000015&lt;/P&gt;&lt;P&gt;Process swapper (pid: 1, stack limit = 0xd2058230)&lt;/P&gt;&lt;P&gt;Stack: (0xd2059ee8 to 0xd205a000)&lt;/P&gt;&lt;P&gt;9ee0:&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 00000000 c0854ec0 c0854ec0 00000000 c0854ec0 c0802bec&lt;/P&gt;&lt;P&gt;9f00: d2059f54 d2059f10 c0008600 c0802bf8 00000001 c0784170 60000113 c0044028&lt;/P&gt;&lt;P&gt;9f20: c0044000 c10c9e3b d2059f54 c080f7b0 00000007 c0854ec0 c07df648 c080f7b8&lt;/P&gt;&lt;P&gt;9f40: c08174fc 000000c8 d2059f94 d2059f58 c07df59c c00085d0 00000006 00000006&lt;/P&gt;&lt;P&gt;9f60: c07df648 ffffffff ffffffff 00000000 c0611f00 00000000 00000000 00000000&lt;/P&gt;&lt;P&gt;9f80: 00000000 00000000 d2059fac d2059f98 c0611f10 c07df494 00000000 00000000&lt;/P&gt;&lt;P&gt;9fa0: 00000000 d2059fb0 c000ee18 c0611f0c 00000000 00000000 00000000 00000000&lt;/P&gt;&lt;P&gt;9fc0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000&lt;/P&gt;&lt;P&gt;9fe0: 00000000 00000000 00000000 00000000 00000013 00000000 ffffffff ffffffff&lt;/P&gt;&lt;P&gt;Backtrace:&lt;/P&gt;&lt;P&gt;[&amp;lt;c0802bec&amp;gt;] (&lt;SPAN style="color: #ff0000;"&gt;&lt;STRONG&gt;caam_rng_ini&lt;/STRONG&gt;&lt;/SPAN&gt;t+0x0/0x214) from [&amp;lt;c0008600&amp;gt;] (do_one_initcall+0x3c/0x174)&lt;/P&gt;&lt;P&gt; r7:c0802bec r6:c0854ec0 r5:00000000 r4:c0854ec0&lt;/P&gt;&lt;P&gt;[&amp;lt;c00085c4&amp;gt;] (do_one_initcall+0x0/0x174) from [&amp;lt;c07df59c&amp;gt;] (kernel_init_freeable+0x114/0x1c0)&lt;/P&gt;&lt;P&gt;[&amp;lt;c07df488&amp;gt;] (kernel_init_freeable+0x0/0x1c0) from [&amp;lt;c0611f10&amp;gt;] (kernel_init+0x10/0xf0)&lt;/P&gt;&lt;P&gt;[&amp;lt;c0611f00&amp;gt;] (kernel_init+0x0/0xf0) from [&amp;lt;c000ee18&amp;gt;] (ret_from_fork+0x14/0x3c)&lt;/P&gt;&lt;P&gt; r4:00000000 r3:00000000&lt;/P&gt;&lt;P&gt;Code: e3500000 0a00006d e2800010 ebed219e (e5902014)&lt;/P&gt;&lt;P&gt;---[ end trace 1b75b31a2719ed1d ]---&lt;/P&gt;&lt;P&gt;Kernel panic - not syncing: Attempted to kill init! exitcode=0x0000000b&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 02 Apr 2015 13:21:00 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/IMX6-CAAM-kerne-panic-in-non-secure-world-Linux-kernel/m-p/374024#M53554</guid>
      <dc:creator>myungjinhwang</dc:creator>
      <dc:date>2015-04-02T13:21:00Z</dc:date>
    </item>
  </channel>
</rss>

