<?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 Re: Using ioremap on iMX6 in i.MX Processors</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/Using-ioremap-on-iMX6/m-p/562488#M87029</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi mondher&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;3.14.12 is not supported on nxp linux releases, suggest to test&lt;/P&gt;&lt;P&gt;with official L3.14.28&lt;/P&gt;&lt;P&gt;&lt;A href="http://git.freescale.com/git/cgit.cgi/imx/linux-2.6-imx.git/?h=imx_3.14.28_1.0.0_ga" title="http://git.freescale.com/git/cgit.cgi/imx/linux-2.6-imx.git/?h=imx_3.14.28_1.0.0_ga"&gt;linux-2.6-imx.git - Freescale i.MX Linux Tree&lt;/A&gt; &lt;/P&gt;&lt;P&gt;&lt;A href="http://git.freescale.com/git/cgit.cgi/imx/linux-2.6-imx.git/tree/arch/arm/mm/ioremap.c?h=imx_3.14.28_1.0.0_ga" title="http://git.freescale.com/git/cgit.cgi/imx/linux-2.6-imx.git/tree/arch/arm/mm/ioremap.c?h=imx_3.14.28_1.0.0_ga"&gt;linux-2.6-imx.git - Freescale i.MX Linux Tree&lt;/A&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards&lt;/P&gt;&lt;P&gt;igor&lt;/P&gt;&lt;P&gt;-----------------------------------------------------------------------------------------------------------------------&lt;/P&gt;&lt;P&gt;Note: If this post answers your question, please click the Correct Answer button. Thank you!&lt;/P&gt;&lt;P&gt;-----------------------------------------------------------------------------------------------------------------------&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 23 Jun 2016 12:22:12 GMT</pubDate>
    <dc:creator>igorpadykov</dc:creator>
    <dc:date>2016-06-23T12:22:12Z</dc:date>
    <item>
      <title>Using ioremap on iMX6</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Using-ioremap-on-iMX6/m-p/562487#M87028</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am trying to map physical memory allocated at boot time to virtual kernel space and virtual user space address using ioremap() and remap_pfn_range(), so i developped a kernel module that implement those to functions, i tested the module on ubuntu (3.13.0-86-generic) and it's work fine, but when i cross copile it and insert it to my imx6 board i get the following error :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;WARNING: CPU: 0 PID: 521 at arch/arm/mm/ioremap.c:301 __arm_ioremap_pfn_caller+0x17c/0x1bc()&lt;/P&gt;&lt;P&gt;Modules linked in: memmapMod(O+)&lt;/P&gt;&lt;P&gt;CPU: 0 PID: 521 Comm: insmod Tainted: G&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; W&amp;nbsp; O 3.14.12-rt9-ga81067a #1&lt;/P&gt;&lt;P&gt;Backtrace: &lt;/P&gt;&lt;P&gt;[&amp;lt;80012100&amp;gt;] (dump_backtrace) from [&amp;lt;800123e0&amp;gt;] (show_stack+0x18/0x1c)&lt;/P&gt;&lt;P&gt; r6:808aa37c r5:ffffffff r4:00000000 r3:00000000&lt;/P&gt;&lt;P&gt;[&amp;lt;800123c8&amp;gt;] (show_stack) from [&amp;lt;806386e4&amp;gt;] (dump_stack+0x80/0xd4)&lt;/P&gt;&lt;P&gt;[&amp;lt;80638664&amp;gt;] (dump_stack) from [&amp;lt;80027960&amp;gt;] (warn_slowpath_common+0x70/0x94)&lt;/P&gt;&lt;P&gt; r7:0000012d r6:8001bd40 r5:00000009 r4:00000000&lt;/P&gt;&lt;P&gt;[&amp;lt;800278f0&amp;gt;] (warn_slowpath_common) from [&amp;lt;80027a28&amp;gt;] (warn_slowpath_null+0x24/0x2c)&lt;/P&gt;&lt;P&gt; r8:01400000 r7:0001e000 r6:808988d4 r5:1e000000 r4:00000000&lt;/P&gt;&lt;P&gt;[&amp;lt;80027a04&amp;gt;] (warn_slowpath_null) from [&amp;lt;8001bd40&amp;gt;] (__arm_ioremap_pfn_caller+0x17c/0x1bc)&lt;/P&gt;&lt;P&gt;[&amp;lt;8001bbc4&amp;gt;] (__arm_ioremap_pfn_caller) from [&amp;lt;8001bdd8&amp;gt;] (__arm_ioremap_caller+0x58/0x60)&lt;/P&gt;&lt;P&gt; r9:7f00429c r8:00000001 r7:9bc48148 r6:9bc48140 r5:7f004094 r4:7f0043cc&lt;/P&gt;&lt;P&gt;[&amp;lt;8001bd80&amp;gt;] (__arm_ioremap_caller) from [&amp;lt;8001baac&amp;gt;] (__arm_ioremap+0x1c/0x24)&lt;/P&gt;&lt;P&gt;[&amp;lt;8001ba90&amp;gt;] (__arm_ioremap) from [&amp;lt;7f0040d8&amp;gt;] (simple_init+0x44/0xa4 [memmapMod])&lt;/P&gt;&lt;P&gt;[&amp;lt;7f004094&amp;gt;] (simple_init [memmapMod]) from [&amp;lt;8000894c&amp;gt;] (do_one_initcall+0xf8/0x168)&lt;/P&gt;&lt;P&gt; r4:9cf68000&lt;/P&gt;&lt;P&gt;[&amp;lt;80008854&amp;gt;] (do_one_initcall) from [&amp;lt;80089da8&amp;gt;] (load_module+0x1a48/0x1f28)&lt;/P&gt;&lt;P&gt; r10:7f004290 r9:7f00429c r8:00000001 r7:9bc48148 r6:9bc48140 r5:00000001&lt;/P&gt;&lt;P&gt; r4:9cf69f48&lt;/P&gt;&lt;P&gt;[&amp;lt;80088360&amp;gt;] (load_module) from [&amp;lt;8008a3f0&amp;gt;] (SyS_finit_module+0x70/0x80)&lt;/P&gt;&lt;P&gt; r10:00000000 r9:9cf68000 r8:8000ec84 r7:0000017b r6:0002499c r5:00000003&lt;/P&gt;&lt;P&gt; r4:00000000&lt;/P&gt;&lt;P&gt;[&amp;lt;8008a380&amp;gt;] (SyS_finit_module) from [&amp;lt;8000eb00&amp;gt;] (ret_fast_syscall+0x0/0x30)&lt;/P&gt;&lt;P&gt; r6:00000000 r5:00000000 r4:00000000&lt;/P&gt;&lt;P&gt;---[ end trace 0000000000000003 ]---&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;memmapMod is the name of my module, i am using linux &lt;STRONG&gt;3.14.12&lt;/STRONG&gt; on &lt;STRONG&gt;Cortex-A9 Freescale i.MX6 Solo&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;have any one idea how to sole this problem ?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 23 Jun 2016 09:28:22 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Using-ioremap-on-iMX6/m-p/562487#M87028</guid>
      <dc:creator>mondherammar</dc:creator>
      <dc:date>2016-06-23T09:28:22Z</dc:date>
    </item>
    <item>
      <title>Re: Using ioremap on iMX6</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Using-ioremap-on-iMX6/m-p/562488#M87029</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi mondher&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;3.14.12 is not supported on nxp linux releases, suggest to test&lt;/P&gt;&lt;P&gt;with official L3.14.28&lt;/P&gt;&lt;P&gt;&lt;A href="http://git.freescale.com/git/cgit.cgi/imx/linux-2.6-imx.git/?h=imx_3.14.28_1.0.0_ga" title="http://git.freescale.com/git/cgit.cgi/imx/linux-2.6-imx.git/?h=imx_3.14.28_1.0.0_ga"&gt;linux-2.6-imx.git - Freescale i.MX Linux Tree&lt;/A&gt; &lt;/P&gt;&lt;P&gt;&lt;A href="http://git.freescale.com/git/cgit.cgi/imx/linux-2.6-imx.git/tree/arch/arm/mm/ioremap.c?h=imx_3.14.28_1.0.0_ga" title="http://git.freescale.com/git/cgit.cgi/imx/linux-2.6-imx.git/tree/arch/arm/mm/ioremap.c?h=imx_3.14.28_1.0.0_ga"&gt;linux-2.6-imx.git - Freescale i.MX Linux Tree&lt;/A&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards&lt;/P&gt;&lt;P&gt;igor&lt;/P&gt;&lt;P&gt;-----------------------------------------------------------------------------------------------------------------------&lt;/P&gt;&lt;P&gt;Note: If this post answers your question, please click the Correct Answer button. Thank you!&lt;/P&gt;&lt;P&gt;-----------------------------------------------------------------------------------------------------------------------&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 23 Jun 2016 12:22:12 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Using-ioremap-on-iMX6/m-p/562488#M87029</guid>
      <dc:creator>igorpadykov</dc:creator>
      <dc:date>2016-06-23T12:22:12Z</dc:date>
    </item>
    <item>
      <title>Re: Using ioremap on iMX6</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Using-ioremap-on-iMX6/m-p/562489#M87030</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have tried also with linux 3.10.17(fsl) and i get the same error, i have changed the function ioremap with phys_to_virt and it's work fine.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 24 Jun 2016 09:48:43 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Using-ioremap-on-iMX6/m-p/562489#M87030</guid>
      <dc:creator>mondherammar</dc:creator>
      <dc:date>2016-06-24T09:48:43Z</dc:date>
    </item>
  </channel>
</rss>

