<?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 PBI on flexbuild_lsdk1712 in Layerscape</title>
    <link>https://community.nxp.com/t5/Layerscape/PBI-on-flexbuild-lsdk1712/m-p/1360113#M9164</link>
    <description>&lt;P&gt;Hello everyone.&lt;/P&gt;&lt;P&gt;I have been trying to perform this task for several days:&lt;/P&gt;&lt;P&gt;&lt;FONT face="book antiqua,palatino"&gt;&lt;STRONG&gt;&lt;FONT size="5"&gt;Target:&lt;/FONT&gt;&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;BLOCKQUOTE&gt;&lt;P&gt;I am working with the &lt;STRONG&gt;LS1043a&lt;/STRONG&gt; board. I want to generate a Boot from SD for my platform.&amp;nbsp;I would also like to insert a PBI command in the Boot (command to disable cores). To generate the boot I am using flex-builder, in particular &lt;STRONG&gt;flexbuild_lsdk1712&lt;/STRONG&gt;. I saw from the documentation &lt;STRONG&gt;Layerscape Software Development Kit 17.12 Documentation, Rev. 0, 02/201&lt;/STRONG&gt; that it is possible to make the file&amp;nbsp;&lt;STRONG&gt;firmware_ls1043ardb_uboot_sdboot.img&amp;nbsp;&lt;/STRONG&gt;with the following command:&amp;nbsp;&lt;STRONG&gt;flex-builder -i mkfw -m ls1043ardb -b sd -B uboot.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;I have already done such a thing using the latest version of flex-builder: &lt;STRONG&gt;flexbuild_lsdk2108&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;In fact, this&lt;A href="https://community.nxp.com/t5/Layerscape/Boot-problem-with-PBI/m-p/1350416#M9044" target="_self"&gt; link&lt;/A&gt; describes in detail all the steps necessary to obtain this result.&lt;/P&gt;&lt;P&gt;I want to do what I did with&amp;nbsp;&lt;STRONG&gt;flexbuild_lsdk2108&lt;/STRONG&gt; with &lt;STRONG&gt;flexbuild_lsdk1712&lt;/STRONG&gt; as well.&lt;/P&gt;&lt;P&gt;&lt;FONT color="#000000"&gt;&lt;STRONG&gt;I do this because I need to generate the boot from SD with U-Boot 2017 on it&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;&lt;FONT face="book antiqua,palatino" size="5"&gt;&lt;STRONG&gt;What have I done:&lt;/STRONG&gt; &lt;/FONT&gt;&lt;/P&gt;&lt;BLOCKQUOTE&gt;&lt;P&gt;Here is the list of things that I did step by step to be able to generate the file x with the PBI of disabling the registers inside:&lt;/P&gt;&lt;UL&gt;&lt;UL&gt;&lt;LI&gt;Download&amp;nbsp;&lt;STRONG&gt;flexbuild_lsdk1712&lt;/STRONG&gt; builder for ubuntu 16.4 from &lt;A href="https://www.nxp.com/design/software/embedded-software/linux-software-and-development-tools/layerscape-software-development-kit-v21-08:LAYERSCAPE-SDK" target="_self"&gt;Layerscape SDK NXP&lt;/A&gt;&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;&lt;/LI&gt;&lt;LI&gt;Run the following linux commands:&lt;BR /&gt;$ tar&amp;nbsp;xvzf &lt;STRONG&gt;flexbuild_lsdk1712&lt;/STRONG&gt;.tgz&lt;BR /&gt;$ cd flexbuild&lt;BR /&gt;$ source setup.env&lt;/LI&gt;&lt;LI&gt;We download all the necessary files, including u-boot, with the following command:&lt;BR /&gt;$ flex-builder -c u-boot -m ls1043ardb&lt;BR /&gt;&lt;BR /&gt;&lt;/LI&gt;&lt;LI&gt;Once all the files necessary to compile the image file have been downloaded, we proceed to enter the PBI command on&lt;STRONG&gt;ls1043ardb_pbi.cfg&lt;/STRONG&gt; file.&lt;STRONG&gt;ls1043ardb_pbi.cfg&lt;/STRONG&gt; is located in: packages/firmware/u-boot/ board/freescale/ls1043ardb&lt;BR /&gt;&lt;BR /&gt;&lt;/LI&gt;&lt;LI&gt;The file modified with the addition of the core disable PBI command looks like this:&lt;BR /&gt;#Configure Scratch register&lt;BR /&gt;09570600 00000000&lt;BR /&gt;09570604 10000000&lt;BR /&gt;#Alt base register&lt;BR /&gt;09570158 00001000&lt;BR /&gt;#Disable CCI barrier tranaction&lt;BR /&gt;09570178 0000e010&lt;BR /&gt;09180000 00000008&lt;BR /&gt;#USB PHY frequency sel&lt;BR /&gt;09570418 0000009e&lt;BR /&gt;0957041c 0000009e&lt;BR /&gt;09570420 0000009e&lt;BR /&gt;&lt;FONT color="#FF00FF"&gt;&lt;STRONG&gt;#Core DIS&lt;/STRONG&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#FF00FF"&gt;&lt;STRONG&gt;09ee0094 0000000e&lt;/STRONG&gt;&lt;/FONT&gt;&lt;BR /&gt;#flush PBI data&lt;BR /&gt;096100c0 000fffff&lt;BR /&gt;In which the command to disable the cores is: &lt;FONT color="#FF00FF"&gt;&lt;STRONG&gt;09ee0094 0000000e&lt;BR /&gt;&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/LI&gt;&lt;LI&gt;The old u-boot compiled files are deleted, which are located in the following folder: build/firmware/u-boot/ls1043ardb/&lt;BR /&gt;&lt;BR /&gt;&lt;/LI&gt;&lt;LI&gt;The following commands are executed:&lt;BR /&gt;&lt;STRONG&gt;flex-builder -c u-boot -m ls1043ardb -b sd&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;flex-builder -i mkfw -m ls1043ardb -b sd -B uboot&lt;/STRONG&gt;&lt;STRONG&gt;&lt;BR /&gt;&lt;/STRONG&gt;the last command generates me the following file: &lt;STRONG&gt;firmware_ls1043ardb_uboot_sdboot.img&lt;BR /&gt;&lt;/STRONG&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;&lt;STRONG&gt;&lt;FONT face="book antiqua,palatino" size="5"&gt;Problem: &lt;/FONT&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="book antiqua,palatino" size="5"&gt;&lt;STRONG&gt;Question:&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;BLOCKQUOTE&gt;&lt;P&gt;Where can the problem be?&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;&amp;nbsp;Thank you very much for your availability.&lt;/P&gt;&lt;P&gt;I am attaching my created &lt;STRONG&gt;firmware_ls1043ardb_uboot_sdboot.img&lt;/STRONG&gt; file&lt;/P&gt;</description>
    <pubDate>Fri, 22 Oct 2021 13:27:57 GMT</pubDate>
    <dc:creator>notshure</dc:creator>
    <dc:date>2021-10-22T13:27:57Z</dc:date>
    <item>
      <title>PBI on flexbuild_lsdk1712</title>
      <link>https://community.nxp.com/t5/Layerscape/PBI-on-flexbuild-lsdk1712/m-p/1360113#M9164</link>
      <description>&lt;P&gt;Hello everyone.&lt;/P&gt;&lt;P&gt;I have been trying to perform this task for several days:&lt;/P&gt;&lt;P&gt;&lt;FONT face="book antiqua,palatino"&gt;&lt;STRONG&gt;&lt;FONT size="5"&gt;Target:&lt;/FONT&gt;&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;BLOCKQUOTE&gt;&lt;P&gt;I am working with the &lt;STRONG&gt;LS1043a&lt;/STRONG&gt; board. I want to generate a Boot from SD for my platform.&amp;nbsp;I would also like to insert a PBI command in the Boot (command to disable cores). To generate the boot I am using flex-builder, in particular &lt;STRONG&gt;flexbuild_lsdk1712&lt;/STRONG&gt;. I saw from the documentation &lt;STRONG&gt;Layerscape Software Development Kit 17.12 Documentation, Rev. 0, 02/201&lt;/STRONG&gt; that it is possible to make the file&amp;nbsp;&lt;STRONG&gt;firmware_ls1043ardb_uboot_sdboot.img&amp;nbsp;&lt;/STRONG&gt;with the following command:&amp;nbsp;&lt;STRONG&gt;flex-builder -i mkfw -m ls1043ardb -b sd -B uboot.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;I have already done such a thing using the latest version of flex-builder: &lt;STRONG&gt;flexbuild_lsdk2108&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;In fact, this&lt;A href="https://community.nxp.com/t5/Layerscape/Boot-problem-with-PBI/m-p/1350416#M9044" target="_self"&gt; link&lt;/A&gt; describes in detail all the steps necessary to obtain this result.&lt;/P&gt;&lt;P&gt;I want to do what I did with&amp;nbsp;&lt;STRONG&gt;flexbuild_lsdk2108&lt;/STRONG&gt; with &lt;STRONG&gt;flexbuild_lsdk1712&lt;/STRONG&gt; as well.&lt;/P&gt;&lt;P&gt;&lt;FONT color="#000000"&gt;&lt;STRONG&gt;I do this because I need to generate the boot from SD with U-Boot 2017 on it&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;&lt;FONT face="book antiqua,palatino" size="5"&gt;&lt;STRONG&gt;What have I done:&lt;/STRONG&gt; &lt;/FONT&gt;&lt;/P&gt;&lt;BLOCKQUOTE&gt;&lt;P&gt;Here is the list of things that I did step by step to be able to generate the file x with the PBI of disabling the registers inside:&lt;/P&gt;&lt;UL&gt;&lt;UL&gt;&lt;LI&gt;Download&amp;nbsp;&lt;STRONG&gt;flexbuild_lsdk1712&lt;/STRONG&gt; builder for ubuntu 16.4 from &lt;A href="https://www.nxp.com/design/software/embedded-software/linux-software-and-development-tools/layerscape-software-development-kit-v21-08:LAYERSCAPE-SDK" target="_self"&gt;Layerscape SDK NXP&lt;/A&gt;&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;&lt;/LI&gt;&lt;LI&gt;Run the following linux commands:&lt;BR /&gt;$ tar&amp;nbsp;xvzf &lt;STRONG&gt;flexbuild_lsdk1712&lt;/STRONG&gt;.tgz&lt;BR /&gt;$ cd flexbuild&lt;BR /&gt;$ source setup.env&lt;/LI&gt;&lt;LI&gt;We download all the necessary files, including u-boot, with the following command:&lt;BR /&gt;$ flex-builder -c u-boot -m ls1043ardb&lt;BR /&gt;&lt;BR /&gt;&lt;/LI&gt;&lt;LI&gt;Once all the files necessary to compile the image file have been downloaded, we proceed to enter the PBI command on&lt;STRONG&gt;ls1043ardb_pbi.cfg&lt;/STRONG&gt; file.&lt;STRONG&gt;ls1043ardb_pbi.cfg&lt;/STRONG&gt; is located in: packages/firmware/u-boot/ board/freescale/ls1043ardb&lt;BR /&gt;&lt;BR /&gt;&lt;/LI&gt;&lt;LI&gt;The file modified with the addition of the core disable PBI command looks like this:&lt;BR /&gt;#Configure Scratch register&lt;BR /&gt;09570600 00000000&lt;BR /&gt;09570604 10000000&lt;BR /&gt;#Alt base register&lt;BR /&gt;09570158 00001000&lt;BR /&gt;#Disable CCI barrier tranaction&lt;BR /&gt;09570178 0000e010&lt;BR /&gt;09180000 00000008&lt;BR /&gt;#USB PHY frequency sel&lt;BR /&gt;09570418 0000009e&lt;BR /&gt;0957041c 0000009e&lt;BR /&gt;09570420 0000009e&lt;BR /&gt;&lt;FONT color="#FF00FF"&gt;&lt;STRONG&gt;#Core DIS&lt;/STRONG&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#FF00FF"&gt;&lt;STRONG&gt;09ee0094 0000000e&lt;/STRONG&gt;&lt;/FONT&gt;&lt;BR /&gt;#flush PBI data&lt;BR /&gt;096100c0 000fffff&lt;BR /&gt;In which the command to disable the cores is: &lt;FONT color="#FF00FF"&gt;&lt;STRONG&gt;09ee0094 0000000e&lt;BR /&gt;&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/LI&gt;&lt;LI&gt;The old u-boot compiled files are deleted, which are located in the following folder: build/firmware/u-boot/ls1043ardb/&lt;BR /&gt;&lt;BR /&gt;&lt;/LI&gt;&lt;LI&gt;The following commands are executed:&lt;BR /&gt;&lt;STRONG&gt;flex-builder -c u-boot -m ls1043ardb -b sd&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;flex-builder -i mkfw -m ls1043ardb -b sd -B uboot&lt;/STRONG&gt;&lt;STRONG&gt;&lt;BR /&gt;&lt;/STRONG&gt;the last command generates me the following file: &lt;STRONG&gt;firmware_ls1043ardb_uboot_sdboot.img&lt;BR /&gt;&lt;/STRONG&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;&lt;STRONG&gt;&lt;FONT face="book antiqua,palatino" size="5"&gt;Problem: &lt;/FONT&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="book antiqua,palatino" size="5"&gt;&lt;STRONG&gt;Question:&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;BLOCKQUOTE&gt;&lt;P&gt;Where can the problem be?&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;&amp;nbsp;Thank you very much for your availability.&lt;/P&gt;&lt;P&gt;I am attaching my created &lt;STRONG&gt;firmware_ls1043ardb_uboot_sdboot.img&lt;/STRONG&gt; file&lt;/P&gt;</description>
      <pubDate>Fri, 22 Oct 2021 13:27:57 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Layerscape/PBI-on-flexbuild-lsdk1712/m-p/1360113#M9164</guid>
      <dc:creator>notshure</dc:creator>
      <dc:date>2021-10-22T13:27:57Z</dc:date>
    </item>
    <item>
      <title>Re: PBI on flexbuild_lsdk1712</title>
      <link>https://community.nxp.com/t5/Layerscape/PBI-on-flexbuild-lsdk1712/m-p/1360482#M9169</link>
      <description>&lt;P&gt;Your procedure looks reasonable, please deploy the firmware image on SD card with the following command.&lt;/P&gt;
&lt;P&gt;dd if=&lt;STRONG&gt;firmware_ls1043ardb_uboot_sdboot.img&lt;/STRONG&gt; of=/dev/sdb bs=512 seek=8&lt;/P&gt;
&lt;P&gt;Note:/dev/sdb is SD device name on your host PC, bs is the block size of your SD card.&lt;/P&gt;</description>
      <pubDate>Mon, 25 Oct 2021 03:57:13 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Layerscape/PBI-on-flexbuild-lsdk1712/m-p/1360482#M9169</guid>
      <dc:creator>yipingwang</dc:creator>
      <dc:date>2021-10-25T03:57:13Z</dc:date>
    </item>
    <item>
      <title>Re: PBI on flexbuild_lsdk1712</title>
      <link>https://community.nxp.com/t5/Layerscape/PBI-on-flexbuild-lsdk1712/m-p/1360954#M9178</link>
      <description>&lt;P&gt;Thanks for your reply. i have found the solution.&lt;/P&gt;</description>
      <pubDate>Mon, 25 Oct 2021 15:51:26 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Layerscape/PBI-on-flexbuild-lsdk1712/m-p/1360954#M9178</guid>
      <dc:creator>notshure</dc:creator>
      <dc:date>2021-10-25T15:51:26Z</dc:date>
    </item>
  </channel>
</rss>

