<?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 Dump of the active RCW values on LS1043A in ATF (BL2) source or U-Boot CLI in Layerscape</title>
    <link>https://community.nxp.com/t5/Layerscape/Dump-of-the-active-RCW-values-on-LS1043A-in-ATF-BL2-source-or-U/m-p/1431345#M10251</link>
    <description>&lt;P&gt;How do I dump (on UART) the active RCW values on LS1043ARDB, either in ATF (BL2) source or U-Boot CLI?&lt;/P&gt;</description>
    <pubDate>Mon, 21 Mar 2022 13:58:16 GMT</pubDate>
    <dc:creator>ts1234</dc:creator>
    <dc:date>2022-03-21T13:58:16Z</dc:date>
    <item>
      <title>Dump of the active RCW values on LS1043A in ATF (BL2) source or U-Boot CLI</title>
      <link>https://community.nxp.com/t5/Layerscape/Dump-of-the-active-RCW-values-on-LS1043A-in-ATF-BL2-source-or-U/m-p/1431345#M10251</link>
      <description>&lt;P&gt;How do I dump (on UART) the active RCW values on LS1043ARDB, either in ATF (BL2) source or U-Boot CLI?&lt;/P&gt;</description>
      <pubDate>Mon, 21 Mar 2022 13:58:16 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Layerscape/Dump-of-the-active-RCW-values-on-LS1043A-in-ATF-BL2-source-or-U/m-p/1431345#M10251</guid>
      <dc:creator>ts1234</dc:creator>
      <dc:date>2022-03-21T13:58:16Z</dc:date>
    </item>
    <item>
      <title>Re: Dump of the active RCW values on LS1043A in ATF (BL2) source or U-Boot CLI</title>
      <link>https://community.nxp.com/t5/Layerscape/Dump-of-the-active-RCW-values-on-LS1043A-in-ATF-BL2-source-or-U/m-p/1432114#M10263</link>
      <description>&lt;P&gt;In U-Boot it is simple, when you boot this is always printed on UART serial port, example :&lt;/P&gt;&lt;LI-CODE lang="php"&gt;U-Boot 2020.12 Local build 1.0-dirty (Mar 21 2022 - 15:41:43 +0100)

SoC:  LS1043AE Rev1.1 (0x87920211)
Clock Configuration:
       CPU0(A53):1200 MHz  CPU1(A53):1200 MHz  CPU2(A53):1200 MHz
       CPU3(A53):1200 MHz
       Bus:      300  MHz  DDR:      1300 MT/s  FMAN:     400  MHz
Reset Configuration Word (RCW):
       00000000: 060d000c 0c000000 00000000 00000000
       00000010: 35580002 0000801a 40244000 61002000
       00000020: 00000000 11100101 00000000 00038ffd
       00000030: 00004504 00061000 00000096 00000001&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 22 Mar 2022 16:43:15 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Layerscape/Dump-of-the-active-RCW-values-on-LS1043A-in-ATF-BL2-source-or-U/m-p/1432114#M10263</guid>
      <dc:creator>teddy_gom_e</dc:creator>
      <dc:date>2022-03-22T16:43:15Z</dc:date>
    </item>
    <item>
      <title>Re: Dump of the active RCW values on LS1043A in ATF (BL2) source or U-Boot CLI</title>
      <link>https://community.nxp.com/t5/Layerscape/Dump-of-the-active-RCW-values-on-LS1043A-in-ATF-BL2-source-or-U/m-p/1432801#M10274</link>
      <description>&lt;P&gt;Thank You!&lt;/P&gt;&lt;P&gt;How do I dump the value of a specific RCW field from u-boot CLI?&lt;/P&gt;</description>
      <pubDate>Wed, 23 Mar 2022 18:14:59 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Layerscape/Dump-of-the-active-RCW-values-on-LS1043A-in-ATF-BL2-source-or-U/m-p/1432801#M10274</guid>
      <dc:creator>ts1234</dc:creator>
      <dc:date>2022-03-23T18:14:59Z</dc:date>
    </item>
    <item>
      <title>Re: Dump of the active RCW values on LS1043A in ATF (BL2) source or U-Boot CLI</title>
      <link>https://community.nxp.com/t5/Layerscape/Dump-of-the-active-RCW-values-on-LS1043A-in-ATF-BL2-source-or-U/m-p/1433272#M10281</link>
      <description>&lt;P&gt;looking at the Reference manual chapter 13.3.16 Reset Control Word Status Register n : RCW is at register 0x1EE_0100 to 0x1EE_013C&lt;/P&gt;&lt;LI-CODE lang="php"&gt;=&amp;gt; md.b 1ee0100 40
01ee0100: 06 0d 00 0c 0c 00 00 00 00 00 00 00 00 00 00 00    ................
01ee0110: 35 58 00 02 00 00 80 1a 40 04 40 00 61 00 20 00    5X......@.@.a. .
01ee0120: 00 00 00 00 11 10 01 01 00 00 00 00 00 03 8f fd    ................
01ee0130: 20 00 45 00 00 06 10 00 00 00 00 96 00 00 00 01     .E.............&lt;/LI-CODE&gt;&lt;P&gt;Shown as bytes to have endianness match my previous capture&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;So you can access each byte directly by calculated register address,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;You can check code of u-Boot: arch/arm/cpu/armv8/fsl-layerscape/cpu.c function print_cpuinfo()&lt;/P&gt;&lt;LI-CODE lang="c"&gt;	/*
	 * Display the RCW, so that no one gets confused as to what RCW
	 * we're actually using for this boot.
	 */
	puts("Reset Configuration Word (RCW):");
	for (i = 0; i &amp;lt; ARRAY_SIZE(gur-&amp;gt;rcwsr); i++) {
		rcw = gur_in32(&amp;amp;gur-&amp;gt;rcwsr[i]);
		if ((i % 4) == 0)
			printf("\n       %08x:", i * 4);
		printf(" %08x", rcw);
	}
	puts("\n");&lt;/LI-CODE&gt;</description>
      <pubDate>Thu, 24 Mar 2022 08:00:32 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Layerscape/Dump-of-the-active-RCW-values-on-LS1043A-in-ATF-BL2-source-or-U/m-p/1433272#M10281</guid>
      <dc:creator>teddy_gom_e</dc:creator>
      <dc:date>2022-03-24T08:00:32Z</dc:date>
    </item>
  </channel>
</rss>

