<?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: iMX51 EVK Board issue when accessing RAM in i.MX Processors</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/iMX51-EVK-Board-issue-when-accessing-RAM/m-p/181471#M7767</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks for your answer Terry.&lt;/P&gt;&lt;P&gt;Your solution is working ! In order to fix this, I applied the following changement in mx51_bbg.c:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;unsigned long ttb_base = PHYS_SDRAM_1 + PHYS_SDRAM_1_SIZE - ARM_FIRST_LEVEL_PAGE_TABLE_SIZE;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This line will move the ttb table at the end of the ram and fix the issue.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Thanks for your quick answer.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Nicolas&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 02 Nov 2011 08:46:14 GMT</pubDate>
    <dc:creator>nmnz</dc:creator>
    <dc:date>2011-11-02T08:46:14Z</dc:date>
    <item>
      <title>iMX51 EVK Board issue when accessing RAM</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/iMX51-EVK-Board-issue-when-accessing-RAM/m-p/181462#M7758</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="font-family: Arial; font-size: 2; "&gt;Dear all,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: Arial; font-size: 2; "&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: Arial; font-size: 2; "&gt;Thank you for reading my post.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: Arial; font-size: 2; "&gt;I just have downloaded and compiled the latest u-boot from Freescale’s website (11.09.01 version), and I have RAM issues.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: Arial; font-size: 2; "&gt;When booting on the iMX51 EVK, the command “mw 90000000 a5 100000” results in a crash.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: Arial; font-size: 2; "&gt;In a similar way, if I do the following sequence : “mw 90000000 a5 40000” followed by “mw 91000000 a5 40000”, the board crashes. If I do the same sequence, but in the reverse order, I get no crash.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: Arial; font-size: 2; "&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: Arial; font-size: 2; "&gt;Could someone confirm that he is experiencing the same issues with u-boot? What could fix this issue?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: Arial; font-size: 2; "&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: Arial; font-size: 2; "&gt;Thank you and best regards,&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 31 Oct 2011 08:30:55 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/iMX51-EVK-Board-issue-when-accessing-RAM/m-p/181462#M7758</guid>
      <dc:creator>nmnz</dc:creator>
      <dc:date>2011-10-31T08:30:55Z</dc:date>
    </item>
    <item>
      <title>Re: iMX51 EVK Board issue when accessing RAM</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/iMX51-EVK-Board-issue-when-accessing-RAM/m-p/181463#M7759</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;From Which device did you boot from?&lt;/P&gt;&lt;P&gt;Can You Please Specify?&lt;/P&gt;&lt;P&gt;SPI-NOR?&lt;/P&gt;&lt;P&gt;NAND?&lt;/P&gt;&lt;P&gt;MMC/SD?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 31 Oct 2011 10:06:21 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/iMX51-EVK-Board-issue-when-accessing-RAM/m-p/181463#M7759</guid>
      <dc:creator>KrishnaPavan</dc:creator>
      <dc:date>2011-10-31T10:06:21Z</dc:date>
    </item>
    <item>
      <title>Re: iMX51 EVK Board issue when accessing RAM</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/iMX51-EVK-Board-issue-when-accessing-RAM/m-p/181464#M7760</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I boot from SDCard.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Any idea ?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 31 Oct 2011 10:23:44 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/iMX51-EVK-Board-issue-when-accessing-RAM/m-p/181464#M7760</guid>
      <dc:creator>nmnz</dc:creator>
      <dc:date>2011-10-31T10:23:44Z</dc:date>
    </item>
    <item>
      <title>Re: iMX51 EVK Board issue when accessing RAM</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/iMX51-EVK-Board-issue-when-accessing-RAM/m-p/181465#M7761</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I boot from the SDcard (the EVK has no NAND).&lt;/P&gt;&lt;P&gt;On the other hand,I just made some tests on a custom design on which I boot from NAND, and the behavior is identical...&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Do you have an idea about this bug?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you again,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 31 Oct 2011 12:02:19 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/iMX51-EVK-Board-issue-when-accessing-RAM/m-p/181465#M7761</guid>
      <dc:creator>nmnz</dc:creator>
      <dc:date>2011-10-31T12:02:19Z</dc:date>
    </item>
    <item>
      <title>Re: iMX51 EVK Board issue when accessing RAM</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/iMX51-EVK-Board-issue-when-accessing-RAM/m-p/181466#M7762</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You can add the logs into common/cmd_mem.c and see what's happening.&lt;/P&gt;&lt;P&gt;From the description, it seems when the address exceed one range and do the operation, the memory is corrupt.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 31 Oct 2011 16:16:41 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/iMX51-EVK-Board-issue-when-accessing-RAM/m-p/181466#M7762</guid>
      <dc:creator>LilyZhang</dc:creator>
      <dc:date>2011-10-31T16:16:41Z</dc:date>
    </item>
    <item>
      <title>Re: iMX51 EVK Board issue when accessing RAM</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/iMX51-EVK-Board-issue-when-accessing-RAM/m-p/181467#M7763</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I added some comments but for the moment I didn't succeed in tracing the bug.&lt;/P&gt;&lt;P&gt;Is there somebody who faces the same bug on the EVK and can confirm it ?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 01 Nov 2011 07:57:55 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/iMX51-EVK-Board-issue-when-accessing-RAM/m-p/181467#M7763</guid>
      <dc:creator>nmnz</dc:creator>
      <dc:date>2011-11-01T07:57:55Z</dc:date>
    </item>
    <item>
      <title>Re: iMX51 EVK Board issue when accessing RAM</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/iMX51-EVK-Board-issue-when-accessing-RAM/m-p/181468#M7764</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello, Nicolas:&lt;/P&gt;&lt;P&gt;We&amp;nbsp;saw the problem. We think It's related to MMU mapping.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; X_ARM_MMU_SECTION(0x900, 0x000, 0x1FF,&lt;BR /&gt;&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;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ARM_CACHEABLE, ARM_BUFFERABLE,&lt;BR /&gt;&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;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ARM_ACCESS_PERM_RW_RW); /* SDRAM */&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; X_ARM_MMU_SECTION(0x900, 0x900, 0x200,&lt;BR /&gt;&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;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ARM_CACHEABLE, ARM_BUFFERABLE,&lt;BR /&gt;&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;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ARM_ACCESS_PERM_RW_RW); /* SDRAM */&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; X_ARM_MMU_SECTION(0x900, 0xE00, 0x200,&lt;BR /&gt;&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;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ARM_UNCACHEABLE, ARM_UNBUFFERABLE,&lt;BR /&gt;&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;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ARM_ACCESS_PERM_RW_RW); /* SDRAM 0:128M*/&lt;/P&gt;&lt;P&gt;If you disabled MMU, you should not see this problem. We will see how to resolve it.&lt;/P&gt;&lt;P&gt;diff --git a/include/configs/mx51_bbg.h b/include/configs/mx51_bbg.h&lt;BR /&gt;index 6115f24..4c26ad0 100644&lt;BR /&gt;--- a/include/configs/mx51_bbg.h&lt;BR /&gt;+++ b/include/configs/mx51_bbg.h&lt;BR /&gt;@@ -40,7 +40,7 @@&lt;BR /&gt;&amp;nbsp;#define CONFIG_MX51_HCLK_FREQ&amp;nbsp; 24000000&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; /* RedBoot says 26MHz */&lt;/P&gt;&lt;P&gt;&amp;nbsp;#define CONFIG_ARCH_CPU_INIT&lt;BR /&gt;-#define CONFIG_ARCH_MMU&lt;BR /&gt;+//#define CONFIG_ARCH_MMU&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 01 Nov 2011 12:31:25 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/iMX51-EVK-Board-issue-when-accessing-RAM/m-p/181468#M7764</guid>
      <dc:creator>LilyZhang</dc:creator>
      <dc:date>2011-11-01T12:31:25Z</dc:date>
    </item>
    <item>
      <title>Re: iMX51 EVK Board issue when accessing RAM</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/iMX51-EVK-Board-issue-when-accessing-RAM/m-p/181469#M7765</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Lily,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks a lot for your quick response.&lt;/P&gt;&lt;P&gt;You're right, if we deactivate MMU we don't have the problem anymore. But unfortunately we need to active MMU.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Do you know if there is a fix to this issue, with the MMU activated ?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 01 Nov 2011 13:00:08 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/iMX51-EVK-Board-issue-when-accessing-RAM/m-p/181469#M7765</guid>
      <dc:creator>nmnz</dc:creator>
      <dc:date>2011-11-01T13:00:08Z</dc:date>
    </item>
    <item>
      <title>Re: iMX51 EVK Board issue when accessing RAM</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/iMX51-EVK-Board-issue-when-accessing-RAM/m-p/181470#M7766</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp; 0x90004000 in mx51 is mmu entry table. User should not modify this table when mmu is enabled, unless you move this table to another place.&lt;/P&gt;&lt;P&gt;&amp;nbsp; "mw 90000000 a5 100000" will modify TLB, thus it crashed.&lt;/P&gt;&lt;P&gt;&amp;nbsp; We will set this region as read-only later.&lt;/P&gt;&lt;P&gt;&amp;nbsp; But now you may know the reason.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp; Thanks~~&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Yours&lt;/P&gt;&lt;P&gt;Terry&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 02 Nov 2011 02:00:42 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/iMX51-EVK-Board-issue-when-accessing-RAM/m-p/181470#M7766</guid>
      <dc:creator>TerryLv</dc:creator>
      <dc:date>2011-11-02T02:00:42Z</dc:date>
    </item>
    <item>
      <title>Re: iMX51 EVK Board issue when accessing RAM</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/iMX51-EVK-Board-issue-when-accessing-RAM/m-p/181471#M7767</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks for your answer Terry.&lt;/P&gt;&lt;P&gt;Your solution is working ! In order to fix this, I applied the following changement in mx51_bbg.c:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;unsigned long ttb_base = PHYS_SDRAM_1 + PHYS_SDRAM_1_SIZE - ARM_FIRST_LEVEL_PAGE_TABLE_SIZE;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This line will move the ttb table at the end of the ram and fix the issue.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Thanks for your quick answer.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Nicolas&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 02 Nov 2011 08:46:14 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/iMX51-EVK-Board-issue-when-accessing-RAM/m-p/181471#M7767</guid>
      <dc:creator>nmnz</dc:creator>
      <dc:date>2011-11-02T08:46:14Z</dc:date>
    </item>
  </channel>
</rss>

