<?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: Uboot sequence boot in T2080RDB with NOR Flash  in T-Series</title>
    <link>https://community.nxp.com/t5/T-Series/Uboot-sequence-boot-in-T2080RDB-with-NOR-Flash/m-p/462808#M453</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Please refer to the SDK Documentation:&lt;/P&gt;&lt;P&gt;&lt;A class="link-titled" href="https://freescale.sdlproducts.com/LiveContent/content/en-US/QorIQ_SDK/GUID-2E8B1B33-90A6-459E-AF4E-F037DB1DC696" title="https://freescale.sdlproducts.com/LiveContent/content/en-US/QorIQ_SDK/GUID-2E8B1B33-90A6-459E-AF4E-F037DB1DC696"&gt;Submit Form&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The "$filesize" is a variable which is assigned its value after the TFTP transfer.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 12 Apr 2018 17:41:38 GMT</pubDate>
    <dc:creator>ufedor</dc:creator>
    <dc:date>2018-04-12T17:41:38Z</dc:date>
    <item>
      <title>Uboot sequence boot in T2080RDB with NOR Flash</title>
      <link>https://community.nxp.com/t5/T-Series/Uboot-sequence-boot-in-T2080RDB-with-NOR-Flash/m-p/462805#M450</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi everyone,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I work with the Qoriq T2080RDB Board, i don't have the Codewarrior Tap for debugging (&lt;SPAN class="short_text" lang="en"&gt;&lt;SPAN class="hps"&gt;I &lt;/SPAN&gt;&lt;SPAN class="hps"&gt;expected&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;to be&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;delivered&lt;/SPAN&gt;&lt;/SPAN&gt;) and neither the CodeWarrior development suite.&lt;/P&gt;&lt;P&gt;I just want to understand the boot sequence of Uboot in the Qoriq T2080rdb with the NOR Flash and the addressing mode (Physical or virtual address).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Her we have the Flash memory Map of Qoriq T2080RDB Board&amp;nbsp;&amp;nbsp; :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;128M NOR Flash memory Map&lt;/P&gt;&lt;P&gt;-------------------------&lt;/P&gt;&lt;P&gt;Start Address End Address Definition Max size&lt;/P&gt;&lt;P&gt;0xEFF40000 0xEFFFFFFF u-boot (current bank) 768KB&lt;/P&gt;&lt;P&gt;0xEFF20000 0xEFF3FFFF u-boot env (current bank) 128KB&lt;/P&gt;&lt;P&gt;0xEFF00000 0xEFF1FFFF FMAN Ucode (current bank) 128KB&lt;/P&gt;&lt;P&gt;0xEFE00000 0xEFE3FFFF PHY CS4315 firmware 256KB&lt;/P&gt;&lt;P&gt;0xED300000 0xEFEFFFFF rootfs (alt bank) 44MB&lt;/P&gt;&lt;P&gt;0xEC800000 0xEC8FFFFF Hardware device tree (alt bank) 1MB&lt;/P&gt;&lt;P&gt;0xEC020000 0xEC7FFFFF Linux.uImage (alt bank) 7MB + 875KB&lt;/P&gt;&lt;P&gt;0xEC000000 0xEC01FFFF RCW (alt bank) 128KB&lt;/P&gt;&lt;P&gt;0xEBF40000 0xEBFFFFFF u-boot (alt bank) 768KB&lt;/P&gt;&lt;P&gt;0xEBF20000 0xEBF3FFFF u-boot env (alt bank) 128KB&lt;/P&gt;&lt;P&gt;0xEBF00000 0xEBF1FFFF FMAN ucode (alt bank) 128KB&lt;/P&gt;&lt;P&gt;0xEBE00000 0xEBE3FFFF PHY CS4315 firmware (alt bank) 256KB&lt;/P&gt;&lt;P&gt;0xE9300000 0xEBEFFFFF rootfs (current bank) 44MB&lt;/P&gt;&lt;P&gt;0xE8800000 0xE88FFFFF Hardware device tree (cur bank) 1MB&lt;/P&gt;&lt;P&gt;0xE8020000 0xE86FFFFF Linux.uImage (current bank) 7MB + 875KB&lt;/P&gt;&lt;P&gt;0xE8000000 0xE801FFFF RCW (current bank) 128KB&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;We can see that U-boot is mapped at 0xEFF40000-0xEFFFFFFF and 0xEBF40000-0xEBFFFFFF in the NOR Flash memory. Why do we have 2 versions of uboot "current bank" and "alternative bank"?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;According to the datasheet of the Processor E6500, at the power-up the CPU0 begin to execute his first instruction at the address 0xFFFF_FFFC that correspond at the Reset address.&lt;/P&gt;&lt;P&gt;But in Uboot the Reset vector is mapped at 0xEFFF_FFFC and not at 0xFFFF_FFFC, why is that? Do we use Physical address or Virtual address?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;According to the dissembler code of U-boot, after the reset vector at 0xEFFF_FFFC, Uboot jump at the address 0xEFFF_0000 that correspond to the entry point "_start_e500" where he clear some register, setup the interrupt vector table, etc. After he finish the initialisation phase, U-boot jump to the address 0xEFF40000. &lt;/P&gt;&lt;P&gt;I want to know where the code of U-boot is executed in the NOR flash memory or in the DDR3 SDRAM memory? &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When i use the command "md 0x00000100" in U-boot, do we visualise the NOR Flash memory or the DDR3 SDRAM memory? It's physical or Virtual address that we visualise?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When i use the command "bdinfo" in U-boot i have:&lt;/P&gt;&lt;P&gt;=&amp;gt; bdinfo &lt;/P&gt;&lt;P&gt;memstart&amp;nbsp;&amp;nbsp;&amp;nbsp; = 0x00000000&lt;/P&gt;&lt;P&gt;memsize&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; = 0x100000000&lt;/P&gt;&lt;P&gt;flashstart&amp;nbsp; = 0xE8000000&lt;/P&gt;&lt;P&gt;flashsize&amp;nbsp;&amp;nbsp; = 0x08000000&lt;/P&gt;&lt;P&gt;flashoffset = 0x00000000&lt;/P&gt;&lt;P&gt;sramstart&amp;nbsp;&amp;nbsp; = 0x00000000&lt;/P&gt;&lt;P&gt;sramsize&amp;nbsp;&amp;nbsp;&amp;nbsp; = 0x00000000&lt;/P&gt;&lt;P&gt;immr_base&amp;nbsp;&amp;nbsp; = 0xFE000000&lt;/P&gt;&lt;P&gt;bootflags&amp;nbsp;&amp;nbsp; = 0x00000000&lt;/P&gt;&lt;P&gt;intfreq&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; = 1799.820 MHz&lt;/P&gt;&lt;P&gt;busfreq&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; = 599.940 MHz&lt;/P&gt;&lt;P&gt;addressing&amp;nbsp; = 36-bit&lt;/P&gt;&lt;P&gt;ethaddr&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; = 00:0D:DD:DD:DD:DD&lt;/P&gt;&lt;P&gt;IP addr&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; = 192.168.1.3&lt;/P&gt;&lt;P&gt;baudrate&amp;nbsp;&amp;nbsp;&amp;nbsp; = 115200 bps&lt;/P&gt;&lt;P&gt;relocaddr&amp;nbsp;&amp;nbsp; = 0x7FEF0000&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In " addressing" we have 36 bits, this corresponds to what?&lt;/P&gt;&lt;P&gt;Does u-boot relocate himself at the address 0x7FEF0000? if yes, for what purpose?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best Regards&lt;/P&gt;&lt;P&gt;Zied&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 25 Jan 2016 17:39:18 GMT</pubDate>
      <guid>https://community.nxp.com/t5/T-Series/Uboot-sequence-boot-in-T2080RDB-with-NOR-Flash/m-p/462805#M450</guid>
      <dc:creator>alouizied</dc:creator>
      <dc:date>2016-01-25T17:39:18Z</dc:date>
    </item>
    <item>
      <title>Re: Uboot sequence boot in T2080RDB with NOR Flash</title>
      <link>https://community.nxp.com/t5/T-Series/Uboot-sequence-boot-in-T2080RDB-with-NOR-Flash/m-p/462806#M451</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&amp;gt; Why do we have 2 versions of uboot "current bank" and "alternative bank"?&lt;/P&gt;&lt;P&gt;It is recommended to program new/test versions of U-Boot and other images to "alternative bank" so the board could be boot from "current bank" if something went wrong with the "alternative bank". In hardware the NOR FLASH memory is divided into eight memory banks with 16MB size each by means of CPLD controlling three NOR Flash address lines (A23, A24, A25). In software only two banks (halves) are used by alternating A25 address line.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How does Processor jump to start address of U-Boot?&lt;/P&gt;&lt;P&gt;Please note that after reset the IFC_CSPR0[V]=1 and IFC_AMASK0[AM]=0 (Memory Bank Size 4GB) – i.e. in case of the T2080RDB NOR boot the whole address space (4GB) will "contain" 128MB "copies" of the NOR Flash and the last (upper) word of the NOR Flash will appear as the last word of the 4GB address space (0xFFFF_FFFC).&lt;/P&gt;&lt;P&gt;Also please consider that:&lt;/P&gt;&lt;P&gt;1) MMU has one 4-Kbyte page defined at 0x0_FFFF_Fnnn – refer to the QorIQ T2080 Family Reference Manual, 4.3.3 Boot Space Translation.&lt;/P&gt;&lt;P&gt;2) the core begins execution with the instruction at effective address 0x0_FFFF_FFFC.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 26 Jan 2016 02:55:46 GMT</pubDate>
      <guid>https://community.nxp.com/t5/T-Series/Uboot-sequence-boot-in-T2080RDB-with-NOR-Flash/m-p/462806#M451</guid>
      <dc:creator>ufedor</dc:creator>
      <dc:date>2016-01-26T02:55:46Z</dc:date>
    </item>
    <item>
      <title>Re: Uboot sequence boot in T2080RDB with NOR Flash</title>
      <link>https://community.nxp.com/t5/T-Series/Uboot-sequence-boot-in-T2080RDB-with-NOR-Flash/m-p/462807#M452</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;About this I have a question, If I want to program a version of U-boot to "alternative bank" I need to use the following commands to flash a new U-boot:&lt;/P&gt;&lt;DIV class="" title="Page 367"&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;DIV class="" title="Page 367"&gt;&lt;DIV class="" style="background-color: rgb(93.333000%, 94.510000%, 95.294000%);"&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;PRE&gt;&lt;SPAN style="font-size: 8.000000pt;"&gt;=&amp;gt;tftp 1000000 &amp;lt;u-boot_file_name&amp;gt;.bin 
=&amp;gt;protect off &amp;lt;u-boot_start_addr&amp;gt; +$filesize 
=&amp;gt;erase &amp;lt;u-boot_start_addr&amp;gt; +$filesize 
=&amp;gt;cp.b 1000000 &amp;lt;u-boot_start_addr&amp;gt; $filesize 
=&amp;gt;protect on &amp;lt;u-boot_start_addr&amp;gt; +$filesize 
=&amp;gt;cpld reset altbank&lt;/SPAN&gt;&lt;/PRE&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;P&gt;How can I find the u-boot_start_addr and the filesize?&amp;nbsp;What is the value of u-boot_start_addr that I need?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 12 Apr 2018 11:23:32 GMT</pubDate>
      <guid>https://community.nxp.com/t5/T-Series/Uboot-sequence-boot-in-T2080RDB-with-NOR-Flash/m-p/462807#M452</guid>
      <dc:creator>sandratrujillog</dc:creator>
      <dc:date>2018-04-12T11:23:32Z</dc:date>
    </item>
    <item>
      <title>Re: Uboot sequence boot in T2080RDB with NOR Flash</title>
      <link>https://community.nxp.com/t5/T-Series/Uboot-sequence-boot-in-T2080RDB-with-NOR-Flash/m-p/462808#M453</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Please refer to the SDK Documentation:&lt;/P&gt;&lt;P&gt;&lt;A class="link-titled" href="https://freescale.sdlproducts.com/LiveContent/content/en-US/QorIQ_SDK/GUID-2E8B1B33-90A6-459E-AF4E-F037DB1DC696" title="https://freescale.sdlproducts.com/LiveContent/content/en-US/QorIQ_SDK/GUID-2E8B1B33-90A6-459E-AF4E-F037DB1DC696"&gt;Submit Form&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The "$filesize" is a variable which is assigned its value after the TFTP transfer.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 12 Apr 2018 17:41:38 GMT</pubDate>
      <guid>https://community.nxp.com/t5/T-Series/Uboot-sequence-boot-in-T2080RDB-with-NOR-Flash/m-p/462808#M453</guid>
      <dc:creator>ufedor</dc:creator>
      <dc:date>2018-04-12T17:41:38Z</dc:date>
    </item>
    <item>
      <title>Re: Uboot sequence boot in T2080RDB with NOR Flash</title>
      <link>https://community.nxp.com/t5/T-Series/Uboot-sequence-boot-in-T2080RDB-with-NOR-Flash/m-p/462809#M454</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Do I have to use the range start of U-boot (alternative bank)? Specifically 0xebf40000?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 13 Apr 2018 07:32:24 GMT</pubDate>
      <guid>https://community.nxp.com/t5/T-Series/Uboot-sequence-boot-in-T2080RDB-with-NOR-Flash/m-p/462809#M454</guid>
      <dc:creator>sandratrujillog</dc:creator>
      <dc:date>2018-04-13T07:32:24Z</dc:date>
    </item>
    <item>
      <title>Re: Uboot sequence boot in T2080RDB with NOR Flash</title>
      <link>https://community.nxp.com/t5/T-Series/Uboot-sequence-boot-in-T2080RDB-with-NOR-Flash/m-p/462810#M455</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&amp;gt; Do I have to use the range start of U-boot (alternative bank)? Specifically 0xebf40000?&lt;/P&gt;&lt;P&gt;The question is not fully clear.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 08 May 2018 12:26:41 GMT</pubDate>
      <guid>https://community.nxp.com/t5/T-Series/Uboot-sequence-boot-in-T2080RDB-with-NOR-Flash/m-p/462810#M455</guid>
      <dc:creator>ufedor</dc:creator>
      <dc:date>2018-05-08T12:26:41Z</dc:date>
    </item>
    <item>
      <title>Re: Uboot sequence boot in T2080RDB with NOR Flash</title>
      <link>https://community.nxp.com/t5/T-Series/Uboot-sequence-boot-in-T2080RDB-with-NOR-Flash/m-p/462812#M457</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&amp;gt; &lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;if the value I need for u-boot_start_addr is 0xebf40000&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;In the &lt;SPAN class=""&gt;NOR flash memory map&lt;/SPAN&gt; table it is written:&lt;/P&gt;&lt;TABLE border="1" cellpadding="4" cellspacing="0" data-id="GUID-359B35A6-70CA-4906-B093-17D9A0D33AD2" frame="border" rules="all" style="max-width: 1296px;" summary=""&gt;&lt;TBODY data-cid="1WzC4j"&gt;&lt;TR data-cid="112TwN"&gt;&lt;TD class="" data-cid="1Q18V0" valign="top"&gt;Range Start&lt;/TD&gt;&lt;TD class="" data-cid="1OtS00" valign="top"&gt;Range End&lt;/TD&gt;&lt;TD class="" data-cid="1kHX2Y" valign="top"&gt;Definition&lt;/TD&gt;&lt;TD class="" data-cid="1DhYub" valign="top"&gt;Size&lt;/TD&gt;&lt;/TR&gt;&lt;TR data-cid="wR6Zt"&gt;&lt;TD class="" data-cid="1uu5bR" valign="top"&gt;&lt;PRE class="" data-cid="WTOQH"&gt;0xebf40000&lt;/PRE&gt;&lt;/TD&gt;&lt;TD class="" data-cid="eFKxb" valign="top"&gt;&lt;PRE class="" data-cid="269wMt"&gt;0xebffffff&lt;/PRE&gt;&lt;/TD&gt;&lt;TD class="" data-cid="1RUUDB" valign="top"&gt;U-Boot (alternate bank)&lt;/TD&gt;&lt;TD class="" data-cid="1awvfc" valign="top"&gt;768 KB&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 09 May 2018 09:43:34 GMT</pubDate>
      <guid>https://community.nxp.com/t5/T-Series/Uboot-sequence-boot-in-T2080RDB-with-NOR-Flash/m-p/462812#M457</guid>
      <dc:creator>ufedor</dc:creator>
      <dc:date>2018-05-09T09:43:34Z</dc:date>
    </item>
  </channel>
</rss>

