<?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: LS1043ARDB Yocto U-Boot Bootable SD Card</title>
    <link>https://community.nxp.com/t5/Layerscape/LS1043ARDB-Yocto-U-Boot-Bootable-SD-Card/m-p/1183170#M6996</link>
    <description>&lt;P&gt;Hi Yipingwang,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you for the reply. I tried what you suggested and the bootloader seems to freeze after printing the following.&lt;/P&gt;&lt;P&gt;NOTICE: Fixed DDR on board&lt;/P&gt;&lt;P&gt;NOTICE: 2 GB DDR4, 32-bit, CL=11, ECC off&lt;BR /&gt;NOTICE: BL2: v1.5(release):LSDK-20.04-update-290520&lt;BR /&gt;NOTICE: BL2: Built : 13:52:31, May 18 2020&lt;BR /&gt;NOTICE: BL31: v1.5(release):LSDK-20.04-update-290520&lt;BR /&gt;NOTICE: BL31: Built : 13:52:31, May 18 2020&lt;BR /&gt;NOTICE: Welcome to LS1043 BL31 Phase&lt;/P&gt;</description>
    <pubDate>Fri, 13 Nov 2020 14:04:54 GMT</pubDate>
    <dc:creator>aismail102</dc:creator>
    <dc:date>2020-11-13T14:04:54Z</dc:date>
    <item>
      <title>LS1043ARDB Yocto U-Boot Bootable SD Card</title>
      <link>https://community.nxp.com/t5/Layerscape/LS1043ARDB-Yocto-U-Boot-Bootable-SD-Card/m-p/1182583#M6987</link>
      <description>&lt;P&gt;&lt;U&gt;&lt;STRONG&gt;GOAL:&lt;/STRONG&gt;&lt;/U&gt;&lt;/P&gt;&lt;P&gt;A fully bootable SD card with the LS1043ardb stock image that will boot on the LS1043ardb.&lt;/P&gt;&lt;P&gt;&lt;U&gt;&lt;STRONG&gt;CURRENT STATE:&lt;/STRONG&gt; &lt;/U&gt;&lt;/P&gt;&lt;P&gt;I built all the image components (kernel, device tree, u-boot-with-spl-pbl, and file system) with the Yocto Project using the instructions from&amp;nbsp;LSDKYOCTOUG. I built the fsl-image-networking yocto image. I made the following modification to the ls1043ardb machine configuration to get u-boot-with-spl-pbl.bin.&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;UBOOT_CONFIG ??= "tfa-secure-boot tfa sdcard"&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;UBOOT_CONFIG[tfa] = "ls1043ardb_tfa_defconfig,,u-boot-dtb.bin"&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;UBOOT_CONFIG[tfa-secure-boot] = "ls1043ardb_tfa_SECURE_BOOT_defconfig,,u-boot-dtb.bin"&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;UBOOT_CONFIG[sdcard] = "ls1043ardb_sdcard_defconfig,,u-boot-with-spl-pbl.bin"&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;The bootloader is written to the SD card with the following:&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;sudo dd if=u-boot-with-spl-pbl.bin of=/dev/sdx bs=512 seek=8 conv=fsync&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;The FM microcode and QE microcode are written to the SD card with the following:&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;sudo dd if=fsl_fman_ucode_ls1043_r1.1_108_4_9.bin of=/dev/sdx bs=512 seek=18432 conv=fsync&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;sudo dd if=iram_Type_A_LS1021a_r1.0.bin of=/dev/sdx bs=512 seek=18432 conv=fsync&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;The bootloader does come up and I load the kernel and device tree from a partition (1) on the sdcard and loaded to RAM with the following:&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp;fatload mmc 0 0x82000000 Image&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp;fatload mmc 0 0x8f000000&amp;nbsp;fsl-ls1043a-rdb-sdk.dtb&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;I change the boot arguments to boot from a partition (2) on the sdcard that has the filesystem&amp;nbsp;and boot with the following:&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;setenv bootargs root=/dev/mmcblk0p2 rootdelay=5 rw console=ttyS0,115200 earlycon=uart8250,mmio,0x21c0500&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;booti 0x82000000 - 0x8f000000&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;U&gt;&lt;STRONG&gt;ISSUE:&lt;/STRONG&gt; &lt;/U&gt;&lt;/P&gt;&lt;P&gt;The issue is the kernel panics. I have narrowed the issue down to the bootloader because if I use the bootloader on the NOR flash of the dev board, everything boots successfully. I have read through many threads that mention that I might be missing a PPA.itb. I don't see this generated in the Yocto build and I even tried to modify the ls1043ardb_sd_defconfig by removing "CONFIG_FSL_LS_PPA=y". I have attached the output of the kernel panic.&lt;/P&gt;</description>
      <pubDate>Thu, 12 Nov 2020 22:25:26 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Layerscape/LS1043ARDB-Yocto-U-Boot-Bootable-SD-Card/m-p/1182583#M6987</guid>
      <dc:creator>aismail102</dc:creator>
      <dc:date>2020-11-12T22:25:26Z</dc:date>
    </item>
    <item>
      <title>Re: LS1043ARDB Yocto U-Boot Bootable SD Card</title>
      <link>https://community.nxp.com/t5/Layerscape/LS1043ARDB-Yocto-U-Boot-Bootable-SD-Card/m-p/1182819#M6993</link>
      <description>&lt;P&gt;Please use&amp;nbsp;bl2_sd.pbl and&amp;nbsp;fip_uboot.bin in&amp;nbsp;images/ls1043ardb/atf/ rather than using&amp;nbsp;&lt;SPAN&gt;u-boot-with-spl-pbl.bin.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;Please deploy bl2_sd.pbl&amp;nbsp;to SD card with the following command.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;STRONG&gt;sudo dd if=bl2_sd.pbl&amp;nbsp;of=/dev/sdx bs=512 seek=8&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;Please deploy fip_uboot.bin to SD card with the following command.&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;&lt;SPAN&gt;&amp;nbsp;sudo dd if=fip_uboot.bin&amp;nbsp; of=/dev/sdx bs=512 seek=2048&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 13 Nov 2020 05:35:08 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Layerscape/LS1043ARDB-Yocto-U-Boot-Bootable-SD-Card/m-p/1182819#M6993</guid>
      <dc:creator>yipingwang</dc:creator>
      <dc:date>2020-11-13T05:35:08Z</dc:date>
    </item>
    <item>
      <title>Re: LS1043ARDB Yocto U-Boot Bootable SD Card</title>
      <link>https://community.nxp.com/t5/Layerscape/LS1043ARDB-Yocto-U-Boot-Bootable-SD-Card/m-p/1183170#M6996</link>
      <description>&lt;P&gt;Hi Yipingwang,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you for the reply. I tried what you suggested and the bootloader seems to freeze after printing the following.&lt;/P&gt;&lt;P&gt;NOTICE: Fixed DDR on board&lt;/P&gt;&lt;P&gt;NOTICE: 2 GB DDR4, 32-bit, CL=11, ECC off&lt;BR /&gt;NOTICE: BL2: v1.5(release):LSDK-20.04-update-290520&lt;BR /&gt;NOTICE: BL2: Built : 13:52:31, May 18 2020&lt;BR /&gt;NOTICE: BL31: v1.5(release):LSDK-20.04-update-290520&lt;BR /&gt;NOTICE: BL31: Built : 13:52:31, May 18 2020&lt;BR /&gt;NOTICE: Welcome to LS1043 BL31 Phase&lt;/P&gt;</description>
      <pubDate>Fri, 13 Nov 2020 14:04:54 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Layerscape/LS1043ARDB-Yocto-U-Boot-Bootable-SD-Card/m-p/1183170#M6996</guid>
      <dc:creator>aismail102</dc:creator>
      <dc:date>2020-11-13T14:04:54Z</dc:date>
    </item>
  </channel>
</rss>

