<?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: Linux Kernel bring-up on P4040 Processor in i.MX Processors</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/Linux-Kernel-bring-up-on-P4040-Processor/m-p/352202#M49019</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN lang="EN-US" style="font-size: 10.0pt;"&gt;Freescale Linux uses u-boot for SDRAM setting.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="EN-US" style="font-size: 10.0pt;"&gt;&lt;SPAN&gt;Look at the u-boot readme file using the following page: &lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="http://git.denx.de/?p=u-boot.git;a=blob_plain;f=README;hb=HEAD" target="_blank"&gt;http://git.denx.de/?p=u-boot.git;a=blob_plain;f=README;hb=HEAD&lt;/A&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="EN-US" style="font-size: 10.0pt;"&gt;Find the Section “Configuration Options:” in this file.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="EN-US" style="font-size: 10.0pt;"&gt;This Section contains the following:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="EN-US" style="font-size: 10.0pt;"&gt;Configuration depends on the combination of board and CPU type; all&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="EN-US" style="font-size: 10.0pt;"&gt;such information is kept in a configuration file&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="EN-US" style="font-size: 10.0pt;"&gt;"include/configs/&amp;lt;board_name&amp;gt;.h".&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="EN-US" style="font-size: 10.0pt;"&gt;If Freescale SDK 1.7 is used the following path for u-boot source can be used:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="EN-US" style="font-size: 10.0pt;"&gt;QorIQ-SDK-V1.7-20141218-yocto/build_p4080ds_release/tmp/work/p4080ds-fsl-linux/u-boot-qoriq/2014.07+fslgit-r0/git&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="EN-US" style="font-size: 10.0pt;"&gt;&lt;SPAN&gt;See the following page for u-boot source code installation: &lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="http://www.freescale.com/infocenter/index.jsp?topic=%2FQORIQSDK%2F3069724.html" target="_blank"&gt;http://www.freescale.com/infocenter/index.jsp?topic=%2FQORIQSDK%2F3069724.html&lt;/A&gt;&lt;SPAN&gt;.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="EN-US" style="font-size: 10.0pt;"&gt;Change u-boot setting for your SDRAM memory.&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 06 Feb 2015 05:45:28 GMT</pubDate>
    <dc:creator>Pavel</dc:creator>
    <dc:date>2015-02-06T05:45:28Z</dc:date>
    <item>
      <title>Linux Kernel bring-up on P4040 Processor</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Linux-Kernel-bring-up-on-P4040-Processor/m-p/352201#M49018</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="font-family: arial; font-size: 10pt;"&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-family: arial; font-size: 10pt;"&gt;We are trying to load Linux on P4040 processor with 8GB DRAM (no SRAM).&lt;/P&gt;&lt;P style="font-family: arial; font-size: 10pt;"&gt;From U-boot, we pass fdt and cmdline info; initrd is yet to create (initrd_start = initrd_end = 0)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-family: arial; font-size: 10pt;"&gt;But Kernel exception (DataTLBError) happens on following function&lt;/P&gt;&lt;P style="font-family: arial; font-size: 10pt;"&gt;of_scan_flat_dt &amp;lt;-early_init_devtree &amp;lt;- machine_init &amp;lt;- _start&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-family: arial; font-size: 10pt;"&gt;Deassembly of of_scan_flat_dt is as follow and exception coming from 0xc0a62090 while trying to access memory content in 0x70e24000 (should be virtual address of device tree)&lt;/P&gt;&lt;P style="font-family: arial; font-size: 10pt;"&gt;From U-boot, we pass device tree structure at 0x00e24000 physical address which is within first 64MB of RAM.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-family: arial; font-size: 10pt;"&gt;But don't know why Kernel is translating 0x00e24000 to 0x70e24000 and hitting exception?&lt;/P&gt;&lt;P style="font-family: arial; font-size: 10pt;"&gt;As Kernel code comment, it creates TLB for first 64MB memory, then it shouldn't be a problem to access FDT.&lt;/P&gt;&lt;P style="font-family: arial; font-size: 10pt;"&gt;Is there anything wrong with address translation?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-family: arial; font-size: 10pt;"&gt;2212434 c0a62070 &amp;lt;of_scan_flat_dt&amp;gt;:&lt;/P&gt;&lt;P style="font-family: arial; font-size: 10pt;"&gt;2212435 c0a62070:&amp;nbsp;&amp;nbsp; 94 21 ff d0&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; stwu&amp;nbsp;&amp;nbsp;&amp;nbsp; r1,-48(r1)&lt;/P&gt;&lt;P style="font-family: arial; font-size: 10pt;"&gt;2212436 c0a62074:&amp;nbsp;&amp;nbsp; 7c 08 02 a6&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; mflr&amp;nbsp;&amp;nbsp;&amp;nbsp; r0&lt;/P&gt;&lt;P style="font-family: arial; font-size: 10pt;"&gt;2212437 c0a62078:&amp;nbsp;&amp;nbsp; bf 21 00 14&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; stmw&amp;nbsp;&amp;nbsp;&amp;nbsp; r25,20(r1)&lt;/P&gt;&lt;P style="font-family: arial; font-size: 10pt;"&gt;2212438 c0a6207c:&amp;nbsp;&amp;nbsp; 90 01 00 34&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; stw&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; r0,52(r1)&lt;/P&gt;&lt;P style="font-family: arial; font-size: 10pt;"&gt;2212439 c0a62080:&amp;nbsp;&amp;nbsp; 3f 20 c0 b1&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; lis&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; r25,-16207&lt;/P&gt;&lt;P style="font-family: arial; font-size: 10pt;"&gt;2212440 c0a62084:&amp;nbsp;&amp;nbsp; 81 39 85 04&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; lwz&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; r9,-31484(r25)&lt;/P&gt;&lt;P style="font-family: arial; font-size: 10pt;"&gt;2212441 c0a62088:&amp;nbsp;&amp;nbsp; 7c 7a 1b 78&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; mr&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; r26,r3&lt;/P&gt;&lt;P style="font-family: arial; font-size: 10pt;"&gt;2212442 c0a6208c:&amp;nbsp;&amp;nbsp; 7c 9b 23 78&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; mr&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; r27,r4&lt;/P&gt;&lt;P style="font-family: arial; font-size: 10pt;"&gt;&lt;SPAN style="font-weight: bold;"&gt;2212443 c0a62090:&amp;nbsp;&amp;nbsp; 83 e9 00 08&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; lwz&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; r31,8(r9)&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-family: arial; font-size: 10pt;"&gt;2212444 c0a62094:&amp;nbsp;&amp;nbsp; 3b a0 ff ff&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; li&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; r29,-1&lt;/P&gt;&lt;P style="font-family: arial; font-size: 10pt;"&gt;2212445 c0a62098:&amp;nbsp;&amp;nbsp; 7f e9 fa 14&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; add&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; r31,r9,r31&lt;/P&gt;&lt;P style="font-family: arial; font-size: 10pt;"&gt;2212446 c0a6209c:&amp;nbsp;&amp;nbsp; 80 9f 00 00&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; lwz&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; r4,0(r31)&lt;/P&gt;&lt;P style="font-family: arial; font-size: 10pt;"&gt;2212447 c0a620a0:&amp;nbsp;&amp;nbsp; 3b df 00 04&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; addi&amp;nbsp;&amp;nbsp;&amp;nbsp; r30,r31,4&lt;/P&gt;&lt;P style="font-family: arial; font-size: 10pt;"&gt;2212448 c0a620a4:&amp;nbsp;&amp;nbsp; 2b 84 00 02&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; cmplwi&amp;nbsp; cr7,r4,2&lt;/P&gt;&lt;P style="font-family: arial; font-size: 10pt;"&gt;2212449 c0a620a8:&amp;nbsp;&amp;nbsp; 40 be 00 10&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; bne&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; cr7,c0a620b8 &amp;lt;of_scan_flat_dt+0x48&amp;gt;,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-family: arial; font-size: 10pt;"&gt;Any pointer on this is appreciated.&lt;/P&gt;&lt;P style="font-family: arial; font-size: 10pt;"&gt;&lt;/P&gt;&lt;P style="font-family: arial; font-size: 10pt;"&gt;Regards,&lt;/P&gt;&lt;P style="font-family: arial; font-size: 10pt;"&gt;Rupam&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 05 Feb 2015 11:55:14 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Linux-Kernel-bring-up-on-P4040-Processor/m-p/352201#M49018</guid>
      <dc:creator>rupamsarma</dc:creator>
      <dc:date>2015-02-05T11:55:14Z</dc:date>
    </item>
    <item>
      <title>Re: Linux Kernel bring-up on P4040 Processor</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Linux-Kernel-bring-up-on-P4040-Processor/m-p/352202#M49019</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN lang="EN-US" style="font-size: 10.0pt;"&gt;Freescale Linux uses u-boot for SDRAM setting.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="EN-US" style="font-size: 10.0pt;"&gt;&lt;SPAN&gt;Look at the u-boot readme file using the following page: &lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="http://git.denx.de/?p=u-boot.git;a=blob_plain;f=README;hb=HEAD" target="_blank"&gt;http://git.denx.de/?p=u-boot.git;a=blob_plain;f=README;hb=HEAD&lt;/A&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="EN-US" style="font-size: 10.0pt;"&gt;Find the Section “Configuration Options:” in this file.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="EN-US" style="font-size: 10.0pt;"&gt;This Section contains the following:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="EN-US" style="font-size: 10.0pt;"&gt;Configuration depends on the combination of board and CPU type; all&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="EN-US" style="font-size: 10.0pt;"&gt;such information is kept in a configuration file&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="EN-US" style="font-size: 10.0pt;"&gt;"include/configs/&amp;lt;board_name&amp;gt;.h".&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="EN-US" style="font-size: 10.0pt;"&gt;If Freescale SDK 1.7 is used the following path for u-boot source can be used:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="EN-US" style="font-size: 10.0pt;"&gt;QorIQ-SDK-V1.7-20141218-yocto/build_p4080ds_release/tmp/work/p4080ds-fsl-linux/u-boot-qoriq/2014.07+fslgit-r0/git&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="EN-US" style="font-size: 10.0pt;"&gt;&lt;SPAN&gt;See the following page for u-boot source code installation: &lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="http://www.freescale.com/infocenter/index.jsp?topic=%2FQORIQSDK%2F3069724.html" target="_blank"&gt;http://www.freescale.com/infocenter/index.jsp?topic=%2FQORIQSDK%2F3069724.html&lt;/A&gt;&lt;SPAN&gt;.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="EN-US" style="font-size: 10.0pt;"&gt;Change u-boot setting for your SDRAM memory.&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 06 Feb 2015 05:45:28 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Linux-Kernel-bring-up-on-P4040-Processor/m-p/352202#M49019</guid>
      <dc:creator>Pavel</dc:creator>
      <dc:date>2015-02-06T05:45:28Z</dc:date>
    </item>
  </channel>
</rss>

