<?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>LayerscapeのトピックRe: ls1028 boot</title>
    <link>https://community.nxp.com/t5/Layerscape/ls1028-boot/m-p/1649077#M12456</link>
    <description>&lt;P&gt;You could use CodeWarrior for ARMv8 and CodeWarrior TAP to do recovery.&lt;/P&gt;
&lt;P&gt;If you have purchased CodeWarrior license, please download and install the latest CodeWarrior for ARMv8 11.5.12 from NXP public Website.&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Please sign in &lt;A href="https://eur01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.nxp.com%2F&amp;amp;data=05%7C01%7Cyiping.wang%40nxp.com%7C924c853e495746cdf7c008db2aa4598c%7C686ea1d3bc2b4c6fa92cd99c5c301635%7C0%7C0%7C638150657593655516%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&amp;amp;sdata=FJMVLZeHOqwlFbSqdF%2BHaf99a5PjtoaLoNBNjfz7fNU%3D&amp;amp;reserved=0" target="_blank"&gt;www.nxp.com&lt;/A&gt;, then download CW_ARMv8_v2020.06_b200629GA_Win_Offline.exe and CodeWarrior for ARMv8 v11.5.12 b221209 Windows Offline Update from My NXP Account-&amp;gt;Software Licensing and Support-&amp;gt;View accounts-&amp;gt;NXP Software-&amp;gt;CodeWarrior Networked Suite - Specialist Level-&amp;gt;11.5.12 CodeWarrior for QorIQ LS Series ARMv8 ISA.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;After install CW_ARMv8_v2020.06_b200629GA_Win_Offline.exe, please open CodeWarrior IDE and install service pack 11.5.12 from Help-&amp;gt;Install New Software-&amp;gt;Add-&amp;gt;Archive&lt;/P&gt;
&lt;P&gt;Then open CodeWarrior IDE, In Target Connections panel, please&amp;nbsp;&lt;SPAN&gt;right click LS1028A_RDB to duplicate it to generate LS1028A_RDB(1),&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;click "Flash Programmer" icon to connect to the target board to do flash programming, please refer to the attached screenshot target_connection.png.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Please refer to section "7.7 Using&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;flash programmer from eclipse IDE" in&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;C:/Freescale/CW4NET_v2020.06/CW_ARMv8/ARMv8/Help/PDF/ARMv8_Targeting_Manual.pdf&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;for details.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;Are you bringing up your custom board?&lt;/P&gt;
&lt;P&gt;If so, you need to modify DDR configuration section in ATF or u-boot source code.&lt;/P&gt;
&lt;P&gt;You could refer to section "5.2.1.1 TF-A DDR Driver" in LSDK 21.08 user guide.&lt;/P&gt;</description>
    <pubDate>Fri, 12 May 2023 03:24:13 GMT</pubDate>
    <dc:creator>yipingwang</dc:creator>
    <dc:date>2023-05-12T03:24:13Z</dc:date>
    <item>
      <title>ls1028 boot</title>
      <link>https://community.nxp.com/t5/Layerscape/ls1028-boot/m-p/1648586#M12447</link>
      <description>&lt;P&gt;Hello&lt;/P&gt;&lt;P&gt;I encountered a problem while upgarding xspi image to NOR Flash&lt;BR /&gt;(I know , i should have started from sdcard first )&lt;BR /&gt;I followed the instuctions but due to some logistics problems&lt;BR /&gt;instead of uploading the (prebuild) xspi image via tftp i used XMODEM( it took me while )&lt;BR /&gt;So the load address was different from tftp load adrress&lt;BR /&gt;Standart uboot load address is 0xA0000000 - for TFTP&lt;BR /&gt;The xmodem address is 0x90000000&lt;BR /&gt;According to documentation(Table 1. System memory map)&lt;BR /&gt;both are valid( DRAM - GPP DRAM Region #1 (0-2 GB)) .&lt;/P&gt;&lt;P&gt;there were no errors while uploading image .&lt;/P&gt;&lt;P&gt;The standart burn command for NOR flash is (from docs):&lt;/P&gt;&lt;P&gt;4. Program the firmware to FlexSPI NOR flash.&lt;BR /&gt;=&amp;gt; sf probe 0:0&lt;BR /&gt;=&amp;gt; sf erase 0 +$filesize &amp;amp;&amp;amp; sf write $load_addr 0 $filesize&lt;BR /&gt;5. Reset and boot the board from FlexSPI NOR flash. The system will automatically boot up TinyDistro (log in&lt;BR /&gt;using root/root) or LSDK distro (log in using root/root or user/user) available on the removable storage device.&lt;BR /&gt;=&amp;gt; qixis_reset&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;I tweaked the command to take xmodem load address (0x90000000) and filesize 54501351 (bytes)&lt;BR /&gt;sf probe 0:0&lt;BR /&gt;sf erase 0 +54501351 &amp;amp;&amp;amp; sf write 0x90000000 0 54501351&lt;BR /&gt;here is snippet from my console :&lt;/P&gt;&lt;P&gt;=&amp;gt; sf probe 0:0&lt;BR /&gt;SF: Detected mt35xu02g with page size 256 Bytes, erase size 128 KiB, total 2 GiB&lt;BR /&gt;=&amp;gt; sf erase 0 +54501351 &amp;amp;&amp;amp; sf write 0x90000000 0 54501351&lt;BR /&gt;SF: 1414660096 bytes @ 0x0 Erased: OK&lt;BR /&gt;device 0 offset 0x0, size 0x54501351&lt;/P&gt;&lt;P&gt;at this stage it hung and i never got to "qixis_reset" command&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;After that , the only was to see something in console&lt;BR /&gt;if i config deep switch to boot from emmc(i tried boot from sdcard )&lt;/P&gt;&lt;P&gt;here is console dump:&lt;BR /&gt;U-Boot SPL 2018.03-00144-gc53e2aca78 (Dec 07 2018 - 12:38:39 +0000)&lt;BR /&gt;Initializing DDR....&lt;BR /&gt;WARNING: Calling __hwconfig without a buffer and before environment is ready&lt;BR /&gt;WARNING: Calling __hwconfig without a buffer and before environment is ready&lt;BR /&gt;WARNING: Calling __hwconfig without a buffer and before environment is ready&lt;BR /&gt;WARNING: Calling __hwconfig without a buffer and before environment is ready&lt;BR /&gt;Trying to boot from MMC1&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;U-Boot 2018.03-00144-gc53e2aca78 (Dec 07 2018 - 12:38:39 +0000)&lt;/P&gt;&lt;P&gt;SoC: LS1028AE Rev1.0 (0x870b0010)&lt;BR /&gt;Clock Configuration:&lt;BR /&gt;CPU0(A72):1300 MHz CPU1(A72):1300 MHz&lt;BR /&gt;Bus: 400 MHz DDR: 1600 MT/s&lt;BR /&gt;Reset Configuration Word (RCW):&lt;BR /&gt;00000000: 34004010 00000030 00000000 00000000&lt;BR /&gt;00000010: 00000000 00bf0000 0030c000 00000000&lt;BR /&gt;00000020: 00a03150 00002580 00000000 00002496&lt;BR /&gt;00000030: 00000000 00000010 00000000 00000000&lt;BR /&gt;00000040: 00000000 00000000 00000000 00000000&lt;BR /&gt;00000050: 00000000 00000000 00000000 00000000&lt;BR /&gt;00000060: 00000000 00000000 2006705a 00000000&lt;BR /&gt;00000070: bb580000 00000000&lt;BR /&gt;Model: NXP Layerscape 1028a RDB Board&lt;BR /&gt;Board: LS1028AE Rev1.0-RDB, Version: C, boot from eMMC&lt;BR /&gt;FPGA: v8 (RELEASED: RDB_2020_0330_1829)&lt;BR /&gt;SERDES1 Reference : Clock1 = 100.00MHz Clock2 = 100.00MHz&lt;BR /&gt;I2C: ready&lt;BR /&gt;DRAM: 3.9 GiB&lt;BR /&gt;DDR 3.9 GiB (DDR4, 32-bit, CL=11, ECC on)&lt;BR /&gt;"Error" handler, esr 0xbf000002&lt;BR /&gt;elr: 0000000096042730 lr : 00000000960020a0 (reloc)&lt;BR /&gt;elr: 00000000fbda9730 lr : 00000000fbd690a0&lt;BR /&gt;x0 : 0000000020400000 x1 : 0000000000000000&lt;BR /&gt;x2 : 00000000d00dfeed x3 : 0000000001e00210&lt;BR /&gt;x4 : 0000000001e00214 x5 : 00000000000011a0&lt;BR /&gt;x6 : 0000000000001168 x7 : 0000000000000002&lt;BR /&gt;x8 : 0000000000001164 x9 : 000000000000000c&lt;BR /&gt;x10: 00000000fbb6093c x11: 00000000fbb60a88&lt;BR /&gt;x12: 0000000000001168 x13: 00000000fbb6099c&lt;BR /&gt;x14: 00000000fbb60a88 x15: 00000000fbb609ac&lt;BR /&gt;x16: 0000000000000001 x17: 0000000000000000&lt;BR /&gt;x18: 00000000fbb62d88 x19: 0000000020400000&lt;BR /&gt;x20: 00000000fbdd2298 x21: 0000000065d67000&lt;BR /&gt;x22: 000000001801deb1 x23: 0000000018009dd8&lt;BR /&gt;x24: 000000001801de99 x25: 0000000018020000&lt;BR /&gt;x26: 00000000deadbeef x27: 0000000001e00404&lt;BR /&gt;x28: 0000000001e00210 x29: 00000000fbb60960&lt;/P&gt;&lt;P&gt;Resetting CPU ...&lt;/P&gt;&lt;P&gt;### ERROR ### Please RESET the board ###&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;So it seems like the problem heappans before uboot reloc someware in fip.bin :&lt;BR /&gt;I am not sure what heappened&lt;/P&gt;&lt;P&gt;My questions :&lt;/P&gt;&lt;P&gt;Is it recoverable ?&lt;BR /&gt;Is Jtag can reprogram NORFlash&lt;BR /&gt;Is it any way to recover?&lt;BR /&gt;Any help will be super appriciated&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Thanks&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 11 May 2023 10:08:16 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Layerscape/ls1028-boot/m-p/1648586#M12447</guid>
      <dc:creator>Alik_Y1</dc:creator>
      <dc:date>2023-05-11T10:08:16Z</dc:date>
    </item>
    <item>
      <title>Re: ls1028 boot</title>
      <link>https://community.nxp.com/t5/Layerscape/ls1028-boot/m-p/1649077#M12456</link>
      <description>&lt;P&gt;You could use CodeWarrior for ARMv8 and CodeWarrior TAP to do recovery.&lt;/P&gt;
&lt;P&gt;If you have purchased CodeWarrior license, please download and install the latest CodeWarrior for ARMv8 11.5.12 from NXP public Website.&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Please sign in &lt;A href="https://eur01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.nxp.com%2F&amp;amp;data=05%7C01%7Cyiping.wang%40nxp.com%7C924c853e495746cdf7c008db2aa4598c%7C686ea1d3bc2b4c6fa92cd99c5c301635%7C0%7C0%7C638150657593655516%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&amp;amp;sdata=FJMVLZeHOqwlFbSqdF%2BHaf99a5PjtoaLoNBNjfz7fNU%3D&amp;amp;reserved=0" target="_blank"&gt;www.nxp.com&lt;/A&gt;, then download CW_ARMv8_v2020.06_b200629GA_Win_Offline.exe and CodeWarrior for ARMv8 v11.5.12 b221209 Windows Offline Update from My NXP Account-&amp;gt;Software Licensing and Support-&amp;gt;View accounts-&amp;gt;NXP Software-&amp;gt;CodeWarrior Networked Suite - Specialist Level-&amp;gt;11.5.12 CodeWarrior for QorIQ LS Series ARMv8 ISA.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;After install CW_ARMv8_v2020.06_b200629GA_Win_Offline.exe, please open CodeWarrior IDE and install service pack 11.5.12 from Help-&amp;gt;Install New Software-&amp;gt;Add-&amp;gt;Archive&lt;/P&gt;
&lt;P&gt;Then open CodeWarrior IDE, In Target Connections panel, please&amp;nbsp;&lt;SPAN&gt;right click LS1028A_RDB to duplicate it to generate LS1028A_RDB(1),&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;click "Flash Programmer" icon to connect to the target board to do flash programming, please refer to the attached screenshot target_connection.png.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Please refer to section "7.7 Using&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;flash programmer from eclipse IDE" in&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;C:/Freescale/CW4NET_v2020.06/CW_ARMv8/ARMv8/Help/PDF/ARMv8_Targeting_Manual.pdf&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;for details.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;Are you bringing up your custom board?&lt;/P&gt;
&lt;P&gt;If so, you need to modify DDR configuration section in ATF or u-boot source code.&lt;/P&gt;
&lt;P&gt;You could refer to section "5.2.1.1 TF-A DDR Driver" in LSDK 21.08 user guide.&lt;/P&gt;</description>
      <pubDate>Fri, 12 May 2023 03:24:13 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Layerscape/ls1028-boot/m-p/1649077#M12456</guid>
      <dc:creator>yipingwang</dc:creator>
      <dc:date>2023-05-12T03:24:13Z</dc:date>
    </item>
    <item>
      <title>Re: ls1028 boot</title>
      <link>https://community.nxp.com/t5/Layerscape/ls1028-boot/m-p/1649741#M12462</link>
      <description>&lt;P&gt;Thank you for your reply&lt;/P&gt;&lt;P&gt;Few quick questions :&lt;/P&gt;&lt;P&gt;Can&amp;nbsp; CodeWarrior be installed on Linux mashine&amp;nbsp; ?&lt;/P&gt;&lt;P&gt;Is it possible to work with third party flasher( Segger Jlink) as alternative just to write flash ?&lt;/P&gt;&lt;P&gt;Thanks for your help&lt;/P&gt;&lt;P&gt;Alik&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sun, 14 May 2023 07:31:23 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Layerscape/ls1028-boot/m-p/1649741#M12462</guid>
      <dc:creator>Alik_Y1</dc:creator>
      <dc:date>2023-05-14T07:31:23Z</dc:date>
    </item>
    <item>
      <title>Re: ls1028 boot</title>
      <link>https://community.nxp.com/t5/Layerscape/ls1028-boot/m-p/1656180#M12538</link>
      <description>&lt;P&gt;It is possible to install CodeWarrior in the Linux machine, you could download CodeWarrior Linux installation files from the same path as I mentioned previously.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;It is impossible for CodeWarrior to work with&lt;SPAN&gt;&amp;nbsp;third party flasher.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 24 May 2023 03:06:55 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Layerscape/ls1028-boot/m-p/1656180#M12538</guid>
      <dc:creator>yipingwang</dc:creator>
      <dc:date>2023-05-24T03:06:55Z</dc:date>
    </item>
  </channel>
</rss>

