<?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のトピックLS1028a bring-up debug suggestion</title>
    <link>https://community.nxp.com/t5/Layerscape/LS1028a-bring-up-debug-suggestion/m-p/2041641#M15381</link>
    <description>&lt;P&gt;Hello, in the upcoming weeks we'll be bringing-up our device based on LS1028A. At first it will be tested by the electronic team, and one of the things they want to check is weather or not the CPU starts correctly. They will of course measure everything but having any kind of debug output on the serial console would be very helpful.&lt;/P&gt;&lt;P&gt;I'm wondering is there any option to force boot ROM code to write anything on the serial console? That would be the best option.&lt;/P&gt;&lt;P&gt;The second option I see is to use RCW from LS1028ARDB (which will be adjusted later for our needs, once I got the board in my hands) and add board support to TF-A&amp;nbsp; with just a minimal implementation (eg. DDR initialization returning -1) just to see any output.&lt;/P&gt;&lt;P&gt;What to you thing about this? Do you have any other, better ideas?&lt;/P&gt;</description>
    <pubDate>Tue, 11 Feb 2025 09:20:29 GMT</pubDate>
    <dc:creator>pb3</dc:creator>
    <dc:date>2025-02-11T09:20:29Z</dc:date>
    <item>
      <title>LS1028a bring-up debug suggestion</title>
      <link>https://community.nxp.com/t5/Layerscape/LS1028a-bring-up-debug-suggestion/m-p/2041641#M15381</link>
      <description>&lt;P&gt;Hello, in the upcoming weeks we'll be bringing-up our device based on LS1028A. At first it will be tested by the electronic team, and one of the things they want to check is weather or not the CPU starts correctly. They will of course measure everything but having any kind of debug output on the serial console would be very helpful.&lt;/P&gt;&lt;P&gt;I'm wondering is there any option to force boot ROM code to write anything on the serial console? That would be the best option.&lt;/P&gt;&lt;P&gt;The second option I see is to use RCW from LS1028ARDB (which will be adjusted later for our needs, once I got the board in my hands) and add board support to TF-A&amp;nbsp; with just a minimal implementation (eg. DDR initialization returning -1) just to see any output.&lt;/P&gt;&lt;P&gt;What to you thing about this? Do you have any other, better ideas?&lt;/P&gt;</description>
      <pubDate>Tue, 11 Feb 2025 09:20:29 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Layerscape/LS1028a-bring-up-debug-suggestion/m-p/2041641#M15381</guid>
      <dc:creator>pb3</dc:creator>
      <dc:date>2025-02-11T09:20:29Z</dc:date>
    </item>
    <item>
      <title>Re: LS1028a bring-up debug suggestion</title>
      <link>https://community.nxp.com/t5/Layerscape/LS1028a-bring-up-debug-suggestion/m-p/2046884#M15416</link>
      <description>&lt;P&gt;1. Please use CodeWarrior diagnose function to check whether CPU can work and read OCRAM successfully.&lt;/P&gt;
&lt;P&gt;Please open CodeWarrior IDE, in "Target Connections", please right click "LS1028A_RDB" to duplicate it as&amp;nbsp;LS1028A_RDB(1), double click it to open "Target Initialization File" panel, then modify&amp;nbsp;USE_SAFE_RCW to "True" to use hard-coded RCW.&lt;/P&gt;
&lt;P&gt;Then click "diagnose connection" icon to check the basic connection and reading OCRAM. It should fail at reading DDR memory, because LS1028ARDB DDR controller configuration parameters is not suitable for your target board. Please refer to the attached screenshot.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;2. You could build ATF bl2 image and program it to the QSPI flash and check whether You could get ouput from the serial port.&lt;/P&gt;
&lt;P&gt;Please install LSDK 21.08 in a Ubuntu 20.04 host PC.&lt;/P&gt;
&lt;P&gt;$ source setup.env&lt;BR /&gt;$ flex-builder -c rcw -m ls1028ardb&lt;BR /&gt;Please edit the following RCW configuration file according to your target board. components/firmware/rcw/ls1028ardb/R_SQPP_0x85bb/rcw_1500_gpu600.rcw&lt;BR /&gt;$ flex-builder -c rcw -m ls1028ardb&lt;BR /&gt;$ flex-builder -c atf -m ls1028ardb -b xspi&lt;/P&gt;
&lt;P&gt;You will get atf bl2 image in&amp;nbsp;build/firmware/atf/ls1028ardb/bl2_flexspi_nor.pbl, please program it at offset 0 of the fspi flash on your custom board.&lt;/P&gt;
&lt;P style="background: white; margin: 0in 0in 11.25pt 0in;"&gt;&lt;SPAN&gt;Please refer to section "8.6 Board Recovery" in&amp;nbsp;C:\Freescale\CW4NET_v2020.06\CW_ARMv8\ARMv8\Help\PDF\ARMv8_Targeting_Manual.pdf to program&amp;nbsp;bl2_flexspi_nor.pbl to fspi&amp;nbsp; NOR flash.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 19 Feb 2025 03:57:33 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Layerscape/LS1028a-bring-up-debug-suggestion/m-p/2046884#M15416</guid>
      <dc:creator>yipingwang</dc:creator>
      <dc:date>2025-02-19T03:57:33Z</dc:date>
    </item>
  </channel>
</rss>

