<?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 Re: LS1012A FRWY kernel panic with Yocto compiled image in Layerscape</title>
    <link>https://community.nxp.com/t5/Layerscape/LS1012A-FRWY-kernel-panic-with-Yocto-compiled-image/m-p/1797152#M13916</link>
    <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/52411"&gt;@yipingwang&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks for your input.&lt;/P&gt;
&lt;P&gt;We previously attempted to run those commands beforehand and encountered some issues.&lt;/P&gt;
&lt;P&gt;Before compiling an image with Yocto, we were following the&amp;nbsp; &lt;STRONG&gt;&lt;SPAN class="fontstyle0"&gt;Layerscape LS1012A Freeway (FRWY-LS1012A) Board Getting Started Guide&amp;nbsp;&lt;/SPAN&gt;&lt;/STRONG&gt;and downloaded that binary from an NXP site which we obtained from section 4.2:&lt;/P&gt;
&lt;PRE&gt;wget https://www.nxp.com/lgfiles/sdk/ lsdk1712-ls1012afrwy/ firmware_ls1012afrwy_uboot_qspiboot.img&lt;/PRE&gt;
&lt;P&gt;and after downloading it with TFTP and using the serial flash command from section 4.3 and 4.4:&lt;/P&gt;
&lt;PRE&gt;&lt;SPAN class="fontstyle0"&gt;tftp 0x96000000 firmware_ls1012afrwy_uboot_qspiboot.img&lt;/SPAN&gt; &lt;BR /&gt;&lt;SPAN class="fontstyle0"&gt;sf probe 0:0;sf erase 0 +$filesize; sf write 96000000 0 $filesize&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN class="fontstyle0"&gt;sf erase 0x1d0000 +0x10000;&lt;/SPAN&gt; &lt;/PRE&gt;
&lt;P&gt;and reset the board, but the board could not boot anymore. We haven't been able to recover the board yet even with the CodeWarrior TAP. Attached is the firmware binary that we attempted to flash.&lt;/P&gt;
&lt;P&gt;We are afraid that if we rerun these same commands, we will end up with another FRWY-LS1012A board unable to boot.&lt;/P&gt;
&lt;P&gt;Can you tell us which could have been the error that occurred to us leading to the board being unable to boot?&lt;/P&gt;
&lt;P&gt;We also compared this same firmware binary against the binary compiled with Yocto and looks different. We want to be sure that the same outcome won't happen again.&lt;/P&gt;
&lt;P&gt;Thanks and best regards,&lt;BR /&gt;Bruno&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Mon, 29 Jan 2024 21:33:21 GMT</pubDate>
    <dc:creator>Bruno_Croci</dc:creator>
    <dc:date>2024-01-29T21:33:21Z</dc:date>
    <item>
      <title>LS1012A FRWY kernel panic with Yocto compiled image</title>
      <link>https://community.nxp.com/t5/Layerscape/LS1012A-FRWY-kernel-panic-with-Yocto-compiled-image/m-p/1795672#M13906</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;
&lt;P&gt;We are trying to bring up an image on a FRWY LS1012A that we compiled on Yocto but we are getting a Kernel panic.&lt;/P&gt;
&lt;P&gt;These are the steps we followed to compile with Yocto:&lt;/P&gt;
&lt;LI-CODE lang="c"&gt;mkdir distro
cd distro
repo init -u https://github.com/nxp-qoriq/yocto-sdk.git -b langdale -m ls-6.1.1-1.0.0_distro.xml
repo sync
 
source  distro-setup-env -m ls1012afrwy

bitbake ls-image-main
bitbake qoriq-composite-firmware
bitbake generate-boottgz&lt;/LI-CODE&gt;
&lt;P&gt;These are the steps we followed to flash the SD card:&lt;/P&gt;
&lt;P&gt;Our first attempt did not include a firmware binary, and the boot script took around 40 seconds to jump to Kernel.&lt;/P&gt;
&lt;PRE&gt;&lt;SPAN&gt;flex-installer -F -b boot_ls1012afrwy_lts_6.1.tgz -r ls-image-main-ls1012afrwy.tar.gz -d /dev/sdc&lt;/SPAN&gt;&lt;/PRE&gt;
&lt;P&gt;Our second attempt included the firmware binary, and it made the script jump to the Kernel faster, but still got the Kernel panic.&lt;/P&gt;
&lt;PRE&gt;&lt;SPAN&gt;flex-installer -F -b boot_ls1012afrwy_lts_6.1.tgz -r ls-image-main-ls1012afrwy.tar.gz -f firmware_ls1012afrwy_uboot_qspiboot.img -d /dev/sdc&lt;/SPAN&gt;&lt;/PRE&gt;
&lt;P&gt;Attached are both logs.&lt;/P&gt;
&lt;P&gt;We haven’t changed the source code, so we wondered if something in our process could be wrong or missing. Can you help us get the board to boot correctly to Kernel?&lt;/P&gt;
&lt;P&gt;Any help will be appreciated, best regards,&lt;BR /&gt;Bruno&lt;/P&gt;</description>
      <pubDate>Thu, 25 Jan 2024 22:58:19 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Layerscape/LS1012A-FRWY-kernel-panic-with-Yocto-compiled-image/m-p/1795672#M13906</guid>
      <dc:creator>Bruno_Croci</dc:creator>
      <dc:date>2024-01-25T22:58:19Z</dc:date>
    </item>
    <item>
      <title>Re: LS1012A FRWY kernel panic with Yocto compiled image</title>
      <link>https://community.nxp.com/t5/Layerscape/LS1012A-FRWY-kernel-panic-with-Yocto-compiled-image/m-p/1796799#M13913</link>
      <description>&lt;P&gt;Please update u-boot with the firmware image with command.&lt;/P&gt;
&lt;P&gt;=&amp;gt; tftp 0x82000000 firmware_ls1012afrwy_qspiboot.img&lt;/P&gt;
&lt;P&gt;=&amp;gt; sf probe 0:0&lt;BR /&gt;=&amp;gt; sf erase 0 +$filesize &amp;amp;&amp;amp; sf write 0x82000000 0 $filesize&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Then deploy SD card with the following command.&lt;/P&gt;
&lt;PRE&gt;&lt;SPAN&gt;flex-installer -b boot_ls1012afrwy_lts_6.1.tgz -r ls-image-main-ls1012afrwy.tar.gz -d /dev/sdc&lt;/SPAN&gt;&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 29 Jan 2024 10:11:34 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Layerscape/LS1012A-FRWY-kernel-panic-with-Yocto-compiled-image/m-p/1796799#M13913</guid>
      <dc:creator>yipingwang</dc:creator>
      <dc:date>2024-01-29T10:11:34Z</dc:date>
    </item>
    <item>
      <title>Re: LS1012A FRWY kernel panic with Yocto compiled image</title>
      <link>https://community.nxp.com/t5/Layerscape/LS1012A-FRWY-kernel-panic-with-Yocto-compiled-image/m-p/1797152#M13916</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/52411"&gt;@yipingwang&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks for your input.&lt;/P&gt;
&lt;P&gt;We previously attempted to run those commands beforehand and encountered some issues.&lt;/P&gt;
&lt;P&gt;Before compiling an image with Yocto, we were following the&amp;nbsp; &lt;STRONG&gt;&lt;SPAN class="fontstyle0"&gt;Layerscape LS1012A Freeway (FRWY-LS1012A) Board Getting Started Guide&amp;nbsp;&lt;/SPAN&gt;&lt;/STRONG&gt;and downloaded that binary from an NXP site which we obtained from section 4.2:&lt;/P&gt;
&lt;PRE&gt;wget https://www.nxp.com/lgfiles/sdk/ lsdk1712-ls1012afrwy/ firmware_ls1012afrwy_uboot_qspiboot.img&lt;/PRE&gt;
&lt;P&gt;and after downloading it with TFTP and using the serial flash command from section 4.3 and 4.4:&lt;/P&gt;
&lt;PRE&gt;&lt;SPAN class="fontstyle0"&gt;tftp 0x96000000 firmware_ls1012afrwy_uboot_qspiboot.img&lt;/SPAN&gt; &lt;BR /&gt;&lt;SPAN class="fontstyle0"&gt;sf probe 0:0;sf erase 0 +$filesize; sf write 96000000 0 $filesize&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN class="fontstyle0"&gt;sf erase 0x1d0000 +0x10000;&lt;/SPAN&gt; &lt;/PRE&gt;
&lt;P&gt;and reset the board, but the board could not boot anymore. We haven't been able to recover the board yet even with the CodeWarrior TAP. Attached is the firmware binary that we attempted to flash.&lt;/P&gt;
&lt;P&gt;We are afraid that if we rerun these same commands, we will end up with another FRWY-LS1012A board unable to boot.&lt;/P&gt;
&lt;P&gt;Can you tell us which could have been the error that occurred to us leading to the board being unable to boot?&lt;/P&gt;
&lt;P&gt;We also compared this same firmware binary against the binary compiled with Yocto and looks different. We want to be sure that the same outcome won't happen again.&lt;/P&gt;
&lt;P&gt;Thanks and best regards,&lt;BR /&gt;Bruno&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 29 Jan 2024 21:33:21 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Layerscape/LS1012A-FRWY-kernel-panic-with-Yocto-compiled-image/m-p/1797152#M13916</guid>
      <dc:creator>Bruno_Croci</dc:creator>
      <dc:date>2024-01-29T21:33:21Z</dc:date>
    </item>
    <item>
      <title>Re: LS1012A FRWY kernel panic with Yocto compiled image</title>
      <link>https://community.nxp.com/t5/Layerscape/LS1012A-FRWY-kernel-panic-with-Yocto-compiled-image/m-p/1801391#M13939</link>
      <description>&lt;P&gt;Please use firmware image generated by Yocto with the following command.&lt;/P&gt;
&lt;P&gt;$ bitbake qoriq-composite-firmware&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Please refer to section "8.6 Board Recovery" in&amp;nbsp;C:\Freescale\CW4NET_v2020.06_test\CW_ARMv8\ARMv8\Help\PDF\ARMv8_Targeting_Manual.pdf to do board recovery with CodeWarrior.&lt;/P&gt;
&lt;P&gt;In addition, please delete "&lt;SPAN class="fontstyle0"&gt;sf erase 0x1d0000 +0x10000;" in your procedure.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sun, 04 Feb 2024 09:18:25 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Layerscape/LS1012A-FRWY-kernel-panic-with-Yocto-compiled-image/m-p/1801391#M13939</guid>
      <dc:creator>yipingwang</dc:creator>
      <dc:date>2024-02-04T09:18:25Z</dc:date>
    </item>
  </channel>
</rss>

