<?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: Boot problem with PBI</title>
    <link>https://community.nxp.com/t5/Layerscape/Boot-problem-with-PBI/m-p/1350416#M9044</link>
    <description>&lt;P&gt;Please correct the line:&lt;/P&gt;&lt;P&gt;write 0x01ee0094, 0x0000000e&lt;/P&gt;&lt;P&gt;as follows&lt;/P&gt;&lt;P&gt;write 0xee0094, 0x0000000e&lt;/P&gt;</description>
    <pubDate>Tue, 05 Oct 2021 07:33:22 GMT</pubDate>
    <dc:creator>ufedor</dc:creator>
    <dc:date>2021-10-05T07:33:22Z</dc:date>
    <item>
      <title>Boot problem with PBI</title>
      <link>https://community.nxp.com/t5/Layerscape/Boot-problem-with-PBI/m-p/1349974#M9038</link>
      <description>&lt;P&gt;Hello everyone.&lt;/P&gt;&lt;P&gt;My goal is to get my &lt;STRONG&gt;LS1043a&lt;/STRONG&gt; board to boot by SD and starting the system by shutting down cores 1, 2 and 3.&lt;/P&gt;&lt;P&gt;Once the system is up and running, i would like to see from uboot that such cores are disabled.&lt;/P&gt;&lt;P&gt;To do this I have to create a custom boot via flexbuilder.&lt;/P&gt;&lt;P&gt;The procedure I performed is the following:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;Change the file &lt;STRONG&gt;rcw_1600_sdboot.rcw&lt;/STRONG&gt;, with the addition of the&amp;nbsp; PBI command.&lt;BR /&gt;&lt;BR /&gt;&lt;/LI&gt;&lt;LI&gt;Save the file &lt;STRONG&gt;rcw_1600_sdboot.rcw&lt;/STRONG&gt; with the new changes.&lt;BR /&gt;&lt;BR /&gt;&lt;/LI&gt;&lt;LI&gt;Delete the old compiled RCW file&amp;nbsp;&lt;STRONG&gt;rcw_1600_sdboot.bin&lt;/STRONG&gt; from the folder located in :&lt;/LI&gt;&lt;/UL&gt;&lt;BLOCKQUOTE&gt;&lt;P class="lia-indent-padding-left-30px"&gt;/home/flex/Downloads/flexbuild_lsdk2108/components/firmware/rcw/ls1043ardb/RR_FQPP_1455&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;UL&gt;&lt;LI&gt;Go to the folder:&lt;/LI&gt;&lt;/UL&gt;&lt;BLOCKQUOTE&gt;&lt;P class="lia-indent-padding-left-30px"&gt;/home/flex/Downloads/flexbuild_lsdk2108/components/firmware/rcw&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;And run the linux &lt;STRONG&gt;$ make &lt;/STRONG&gt;command, to compile all the RCWs&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;Delete any folders present in the following path:&lt;/LI&gt;&lt;/UL&gt;&lt;BLOCKQUOTE&gt;&lt;P class="lia-indent-padding-left-30px"&gt;/home/flex/Downloads/flexbuild_lsdk2108/build/firmware/rcw&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;UL&gt;&lt;LI&gt;Delete any folders present in the following path:&lt;/LI&gt;&lt;/UL&gt;&lt;BLOCKQUOTE&gt;&lt;P class="lia-indent-padding-left-30px"&gt;/home/flex/Downloads/flexbuild_lsdk2108/build/firmware/atf&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;UL&gt;&lt;LI&gt;Delete any files or folders present in the following path:&lt;/LI&gt;&lt;/UL&gt;&lt;BLOCKQUOTE&gt;&lt;P class="lia-indent-padding-left-30px"&gt;/home/flex/Downloads/flexbuild_lsdk2108/build/images&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;UL&gt;&lt;LI&gt;Once the old executable files are deleted, I run the following command:&lt;/LI&gt;&lt;/UL&gt;&lt;BLOCKQUOTE&gt;&lt;P class="lia-indent-padding-left-30px"&gt;&lt;STRONG&gt;flex-builder -i mkfw -m ls1043ardb-b sd&lt;/STRONG&gt;&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;UL&gt;&lt;LI&gt;&lt;FONT face="arial,helvetica,sans-serif" color="#000000"&gt;&lt;FONT size="4"&gt;&lt;FONT size="3"&gt;The output of the command generates me the following files:&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;BLOCKQUOTE&gt;&lt;P class="lia-indent-padding-left-30px"&gt;&lt;STRONG&gt;firmware_ls1043ardb_sdboot.img&lt;/STRONG&gt;&lt;/P&gt;&lt;P class="lia-indent-padding-left-30px"&gt;&lt;STRONG&gt;firmware_ls1043ardb_sdboot_secure.img&lt;/STRONG&gt;&lt;/P&gt;&lt;P class="lia-indent-padding-left-30px"&gt;&lt;STRONG&gt;linux_LS_arm64_signature.itb&lt;/STRONG&gt;&lt;/P&gt;&lt;P class="lia-indent-padding-left-30px"&gt;&lt;STRONG&gt;lsdk2108_yocto_tiny_LS_arm64.itb&lt;/STRONG&gt;&lt;/P&gt;&lt;P class="lia-indent-padding-left-30px"&gt;&lt;STRONG&gt;rootfs_lsdk2108_yocto_tiny_arm64.cpio.gz&lt;/STRONG&gt;&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;UL&gt;&lt;LI&gt;I write the file &lt;STRONG&gt;firmware_ls1043ardb_sdboot.img&lt;/STRONG&gt; to the SD card using the following linux command&lt;FONT face="arial,helvetica,sans-serif" color="#000000"&gt;&lt;FONT size="4"&gt;&lt;FONT size="3"&gt;:&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;BLOCKQUOTE&gt;&lt;P class="lia-indent-padding-left-30px"&gt;&lt;STRONG&gt;sudo dd if=firmware_ls1043ardb_sdboot.img of=/dev/sdb1 bs=512 seek=8&lt;/STRONG&gt;&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;I use a USB adapter to insert SD card into my PC.&lt;/P&gt;&lt;P&gt;I am running Ubuntu 20.04 through a virtual machine.&lt;/P&gt;&lt;P&gt;The writing seems to have been successful.&lt;/P&gt;&lt;P&gt;But when I try to boot from SD (set de DIP switches for SD boot), I don't see anything on the console.&lt;/P&gt;&lt;P&gt;I don't see Uboot starting.&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;there is something wrong with this procedure ?&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Below is the link to the drive folder in which there are all the .bin files of interest and the modified RCW file&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://drive.google.com/drive/folders/18zKhsb9FdmXU3vcmPnsjSC6z4hXM0UUR?usp=sharing" target="_self"&gt;File&lt;/A&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 04 Oct 2021 10:10:59 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Layerscape/Boot-problem-with-PBI/m-p/1349974#M9038</guid>
      <dc:creator>notshure</dc:creator>
      <dc:date>2021-10-04T10:10:59Z</dc:date>
    </item>
    <item>
      <title>Re: Boot problem with PBI</title>
      <link>https://community.nxp.com/t5/Layerscape/Boot-problem-with-PBI/m-p/1350256#M9041</link>
      <description>&lt;P&gt;Are you able to prepare bootable SD card if unmodified &lt;STRONG&gt;rcw_1600_sdboot.rcw&lt;/STRONG&gt; is used?&lt;/P&gt;</description>
      <pubDate>Mon, 04 Oct 2021 19:06:07 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Layerscape/Boot-problem-with-PBI/m-p/1350256#M9041</guid>
      <dc:creator>ufedor</dc:creator>
      <dc:date>2021-10-04T19:06:07Z</dc:date>
    </item>
    <item>
      <title>Re: Boot problem with PBI</title>
      <link>https://community.nxp.com/t5/Layerscape/Boot-problem-with-PBI/m-p/1350392#M9043</link>
      <description>&lt;P&gt;Yes, I can generate a working SD boot in case I don't modify &lt;STRONG&gt;rcw_1600_sdboot.rcw&lt;/STRONG&gt;.&lt;/P&gt;</description>
      <pubDate>Tue, 05 Oct 2021 06:42:52 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Layerscape/Boot-problem-with-PBI/m-p/1350392#M9043</guid>
      <dc:creator>notshure</dc:creator>
      <dc:date>2021-10-05T06:42:52Z</dc:date>
    </item>
    <item>
      <title>Re: Boot problem with PBI</title>
      <link>https://community.nxp.com/t5/Layerscape/Boot-problem-with-PBI/m-p/1350416#M9044</link>
      <description>&lt;P&gt;Please correct the line:&lt;/P&gt;&lt;P&gt;write 0x01ee0094, 0x0000000e&lt;/P&gt;&lt;P&gt;as follows&lt;/P&gt;&lt;P&gt;write 0xee0094, 0x0000000e&lt;/P&gt;</description>
      <pubDate>Tue, 05 Oct 2021 07:33:22 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Layerscape/Boot-problem-with-PBI/m-p/1350416#M9044</guid>
      <dc:creator>ufedor</dc:creator>
      <dc:date>2021-10-05T07:33:22Z</dc:date>
    </item>
    <item>
      <title>Re: Boot problem with PBI</title>
      <link>https://community.nxp.com/t5/Layerscape/Boot-problem-with-PBI/m-p/1351768#M9057</link>
      <description>&lt;P&gt;Thank you for your answer.&lt;BR /&gt;Now the boot starts and I can see u-boot.&lt;BR /&gt;To be sure the cores have been disabled, I went to read the contents of the DCFG CCSR COREDISR register by running the following command on u-boot&lt;/P&gt;&lt;BLOCKQUOTE&gt;&lt;P&gt;&lt;STRONG&gt;md 0x1ee0094 1&lt;/STRONG&gt;&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;But I read the following value &lt;STRONG&gt;0x0e000000&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;I shouldn't be reading &lt;STRONG&gt;0x0000000e&lt;/STRONG&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 07 Oct 2021 09:00:14 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Layerscape/Boot-problem-with-PBI/m-p/1351768#M9057</guid>
      <dc:creator>notshure</dc:creator>
      <dc:date>2021-10-07T09:00:14Z</dc:date>
    </item>
    <item>
      <title>Re: Boot problem with PBI</title>
      <link>https://community.nxp.com/t5/Layerscape/Boot-problem-with-PBI/m-p/1352073#M9060</link>
      <description>&lt;P&gt;U-Boot is natively big-endian, so for little-endian registers it is needed to perform byte swap.&lt;/P&gt;</description>
      <pubDate>Thu, 07 Oct 2021 16:58:39 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Layerscape/Boot-problem-with-PBI/m-p/1352073#M9060</guid>
      <dc:creator>ufedor</dc:creator>
      <dc:date>2021-10-07T16:58:39Z</dc:date>
    </item>
    <item>
      <title>Re: Boot problem with PBI</title>
      <link>https://community.nxp.com/t5/Layerscape/Boot-problem-with-PBI/m-p/1352479#M9066</link>
      <description>&lt;P&gt;Thanks a lot for the answer.&lt;/P&gt;</description>
      <pubDate>Fri, 08 Oct 2021 07:54:33 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Layerscape/Boot-problem-with-PBI/m-p/1352479#M9066</guid>
      <dc:creator>notshure</dc:creator>
      <dc:date>2021-10-08T07:54:33Z</dc:date>
    </item>
  </channel>
</rss>

