<?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 question about P2020 U-boot TLB setting  in P-Series</title>
    <link>https://community.nxp.com/t5/P-Series/question-about-P2020-U-boot-TLB-setting/m-p/477735#M2851</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;i have a difficult time to configure u-boot&amp;nbsp; to a new board&lt;/P&gt;&lt;P&gt;( i am not&amp;nbsp; good at english ^^)&lt;/P&gt;&lt;P&gt;i am porting u-boot to a new board which is based on P2020RDB-PC&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;the board has MRAM device and external uart chips which was connected to eLBC&lt;/P&gt;&lt;P&gt;i configured LAWS and related registers &lt;/P&gt;&lt;P&gt;but i have no clue about TLB&lt;/P&gt;&lt;P&gt;in u-boot&amp;nbsp;&amp;nbsp; there is a tlb.c in&amp;nbsp; P2020RDB board related files&lt;/P&gt;&lt;P&gt;and in that file&amp;nbsp;&amp;nbsp; tbl_table is defined &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;is this necessary to include new device into that table ?&lt;/P&gt;&lt;P&gt;if so, how ?&lt;/P&gt;&lt;P&gt;just&amp;nbsp; copy one entry to new one and&amp;nbsp; modify just address ?&lt;/P&gt;&lt;P&gt;and what about kernel&amp;nbsp; ?&amp;nbsp; where do i configure TLB ?&lt;/P&gt;&lt;P&gt;thanks in advnace&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 02 Feb 2016 09:28:01 GMT</pubDate>
    <dc:creator>hyoungkikim</dc:creator>
    <dc:date>2016-02-02T09:28:01Z</dc:date>
    <item>
      <title>question about P2020 U-boot TLB setting</title>
      <link>https://community.nxp.com/t5/P-Series/question-about-P2020-U-boot-TLB-setting/m-p/477735#M2851</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;i have a difficult time to configure u-boot&amp;nbsp; to a new board&lt;/P&gt;&lt;P&gt;( i am not&amp;nbsp; good at english ^^)&lt;/P&gt;&lt;P&gt;i am porting u-boot to a new board which is based on P2020RDB-PC&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;the board has MRAM device and external uart chips which was connected to eLBC&lt;/P&gt;&lt;P&gt;i configured LAWS and related registers &lt;/P&gt;&lt;P&gt;but i have no clue about TLB&lt;/P&gt;&lt;P&gt;in u-boot&amp;nbsp;&amp;nbsp; there is a tlb.c in&amp;nbsp; P2020RDB board related files&lt;/P&gt;&lt;P&gt;and in that file&amp;nbsp;&amp;nbsp; tbl_table is defined &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;is this necessary to include new device into that table ?&lt;/P&gt;&lt;P&gt;if so, how ?&lt;/P&gt;&lt;P&gt;just&amp;nbsp; copy one entry to new one and&amp;nbsp; modify just address ?&lt;/P&gt;&lt;P&gt;and what about kernel&amp;nbsp; ?&amp;nbsp; where do i configure TLB ?&lt;/P&gt;&lt;P&gt;thanks in advnace&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 02 Feb 2016 09:28:01 GMT</pubDate>
      <guid>https://community.nxp.com/t5/P-Series/question-about-P2020-U-boot-TLB-setting/m-p/477735#M2851</guid>
      <dc:creator>hyoungkikim</dc:creator>
      <dc:date>2016-02-02T09:28:01Z</dc:date>
    </item>
    <item>
      <title>Re: question about P2020 U-boot TLB setting</title>
      <link>https://community.nxp.com/t5/P-Series/question-about-P2020-U-boot-TLB-setting/m-p/477736#M2852</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&amp;gt;is this necessary to include new device into that table ?&lt;/P&gt;&lt;P&gt;&amp;gt;if so, how ?&lt;/P&gt;&lt;P&gt;[Platon] If you need to do anything with your peripherals in u-Boot&lt;/P&gt;&lt;P&gt;environment, then yes, you have to set a TLB for them. Some of our&lt;/P&gt;&lt;P&gt;development systems have board-level control registers connected to&lt;/P&gt;&lt;P&gt;the local bus, see how TLBs are defined for them, do the same. You take a &lt;/P&gt;&lt;P&gt;look how macros PIXIS_BASE, PIXIS_BASE_PHYS are used in in &lt;/P&gt;&lt;P&gt;/board/freescale/p1022ds/tlb.c for instance. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If your peripherals are to be used in Linux only, then it is OK not&lt;/P&gt;&lt;P&gt;to setup a TLB for them (LAW is still necessary).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;gt;and what about kernel&amp;nbsp; ?&amp;nbsp; where do i configure TLB ?&lt;/P&gt;&lt;P&gt;[Platon] Linux kernel creates a mapping for a peripheral when it's&lt;/P&gt;&lt;P&gt;driver calls ioremap(). &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Have a great day,&lt;BR /&gt;Platon&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-----------------------------------------------------------------------------------------------------------------------&lt;BR /&gt;Note: If this post answers your question, please click the Correct Answer button. Thank you!&lt;BR /&gt;-----------------------------------------------------------------------------------------------------------------------&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 02 Feb 2016 14:26:59 GMT</pubDate>
      <guid>https://community.nxp.com/t5/P-Series/question-about-P2020-U-boot-TLB-setting/m-p/477736#M2852</guid>
      <dc:creator>bpe</dc:creator>
      <dc:date>2016-02-02T14:26:59Z</dc:date>
    </item>
    <item>
      <title>Re: question about P2020 U-boot TLB setting</title>
      <link>https://community.nxp.com/t5/P-Series/question-about-P2020-U-boot-TLB-setting/m-p/477737#M2853</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;thank you&amp;nbsp;&amp;nbsp; it is really of great help&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 03 Feb 2016 07:21:29 GMT</pubDate>
      <guid>https://community.nxp.com/t5/P-Series/question-about-P2020-U-boot-TLB-setting/m-p/477737#M2853</guid>
      <dc:creator>hyoungkikim</dc:creator>
      <dc:date>2016-02-03T07:21:29Z</dc:date>
    </item>
  </channel>
</rss>

