<?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 OpenWrt for &amp;quot;ls1012afrdm&amp;quot;  Bootloader Selection Missing  in Layerscape</title>
    <link>https://community.nxp.com/t5/Layerscape/OpenWrt-for-quot-ls1012afrdm-quot-Bootloader-Selection-Missing/m-p/718288#M2957</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Everyone,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Trying to build OpenWrt for FRDM-LS1012A-PA, but the boot loader selection is missing the menuconfig of Openwrt.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I followed below steps in Ubuntu 17.10 host,working with commit id&amp;nbsp;0f1a1489a6c584d7de6680a65b457acf328818bd&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;#&amp;nbsp; git clone &lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="https://community.nxp.com/external-link.jspa?url=https%3A%2F%2Fgithub.com%2Flede-project%2Fsource.git" rel="nofollow" target="_blank"&gt;https://github.com/lede-project/source.git&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;#&amp;nbsp;./scripts/feeds update -a&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;# ./scripts/feeds install -a&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;# make menuconfig&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;STRONG&gt;Target System (NXP Layerscape) &lt;/STRONG&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;STRONG&gt;Subtarget (ARMv8 64-bit based boards)&amp;nbsp; ---&amp;gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;STRONG&gt;Target Profile (ls1012afrdm-armv8_64b)&amp;nbsp; ---&amp;gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now when I check the "Boot loader option section" &amp;nbsp; No boot loader selection listed, Attaching the screen shot also for reference.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Could you please help me to resolve this?, How can I build&amp;nbsp;Openwrt for &lt;STRONG&gt;ls1012afrdm&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Abhilash&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 21 Mar 2018 11:28:59 GMT</pubDate>
    <dc:creator>abhilashvr</dc:creator>
    <dc:date>2018-03-21T11:28:59Z</dc:date>
    <item>
      <title>OpenWrt for "ls1012afrdm"  Bootloader Selection Missing</title>
      <link>https://community.nxp.com/t5/Layerscape/OpenWrt-for-quot-ls1012afrdm-quot-Bootloader-Selection-Missing/m-p/718288#M2957</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Everyone,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Trying to build OpenWrt for FRDM-LS1012A-PA, but the boot loader selection is missing the menuconfig of Openwrt.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I followed below steps in Ubuntu 17.10 host,working with commit id&amp;nbsp;0f1a1489a6c584d7de6680a65b457acf328818bd&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;#&amp;nbsp; git clone &lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="https://community.nxp.com/external-link.jspa?url=https%3A%2F%2Fgithub.com%2Flede-project%2Fsource.git" rel="nofollow" target="_blank"&gt;https://github.com/lede-project/source.git&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;#&amp;nbsp;./scripts/feeds update -a&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;# ./scripts/feeds install -a&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;# make menuconfig&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;STRONG&gt;Target System (NXP Layerscape) &lt;/STRONG&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;STRONG&gt;Subtarget (ARMv8 64-bit based boards)&amp;nbsp; ---&amp;gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;STRONG&gt;Target Profile (ls1012afrdm-armv8_64b)&amp;nbsp; ---&amp;gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now when I check the "Boot loader option section" &amp;nbsp; No boot loader selection listed, Attaching the screen shot also for reference.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Could you please help me to resolve this?, How can I build&amp;nbsp;Openwrt for &lt;STRONG&gt;ls1012afrdm&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Abhilash&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 21 Mar 2018 11:28:59 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Layerscape/OpenWrt-for-quot-ls1012afrdm-quot-Bootloader-Selection-Missing/m-p/718288#M2957</guid>
      <dc:creator>abhilashvr</dc:creator>
      <dc:date>2018-03-21T11:28:59Z</dc:date>
    </item>
    <item>
      <title>Re: OpenWrt for "ls1012afrdm"  Bootloader Selection Missing</title>
      <link>https://community.nxp.com/t5/Layerscape/OpenWrt-for-quot-ls1012afrdm-quot-Bootloader-Selection-Missing/m-p/718289#M2958</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="font-size: 10.0pt; color: black; background: white;"&gt;Look at the following pages about OpenWRT for the LS1012a board:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10.0pt; color: black; background: white;"&gt;&lt;A class="jive-link-external-small" href="https://community.nxp.com/external-link.jspa?url=https%3A%2F%2Fwww.nxp.com%2Fsupport%2Fdeveloper-resources%2Frun-time-software%2Fvortiqa-software-for-networking%2Fvortiqa-application-solutions-kits%2Fqoriq-layerscape-1012a-broadband-home-router-application-solutions-kit%3AQORIQ-LS1012A-BHR-ASK" rel="nofollow" target="_blank"&gt;https://www.nxp.com/support/developer-resources/run-time-software/vortiqa-software-for-networking/vortiqa-application-solutions-kits/qoriq-layerscape-1012a-broadband-home-router-application-solutions-kit:QORIQ-LS1012A-BHR-ASK&lt;/A&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10.0pt; color: black; background: white;"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10.0pt; color: black; background: white;"&gt;and&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10.0pt; color: black; background: white;"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10.0pt; color: black; background: white;"&gt;&lt;A class="jive-link-external-small" href="https://community.nxp.com/external-link.jspa?url=http%3A%2F%2Fwww.mouser.com%2Fpdfdocs%2FLS1012APB.pdf" rel="nofollow" target="_blank"&gt;http://www.mouser.com/pdfdocs/LS1012APB.pdf&lt;/A&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10.0pt; color: black; background: white;"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10.0pt; color: black; background: white;"&gt;and&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10.0pt; color: black; background: white;"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10.0pt; color: black; background: white;"&gt;&lt;A class="jive-link-external-small" href="https://community.nxp.com/external-link.jspa?url=https%3A%2F%2Fopenwrt.org%2Ftoh%2Fhwdata%2Fnxp%2Fnxp_ls1012ardb" rel="nofollow" target="_blank"&gt;https://openwrt.org/toh/hwdata/nxp/nxp_ls1012ardb&lt;/A&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10.0pt; color: black; background: white;"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10.0pt; color: black; background: white;"&gt;and&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10.0pt; color: black; background: white;"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10.0pt; color: black; background: white;"&gt;&lt;A class="jive-link-external-small" href="https://community.nxp.com/external-link.jspa?url=https%3A%2F%2Fgit.openwrt.org%2F%3Fp%3Dopenwrt%2Fopenwrt.git%3Ba%3Dcommit%3Bh%3D15a14cf1665ef3d8b5c77cce69b52d131340e3b3" rel="nofollow" target="_blank"&gt;https://git.openwrt.org/?p=openwrt/openwrt.git;a=commit;h=15a14cf1665ef3d8b5c77cce69b52d131340e3b3&lt;/A&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Have a great day,&lt;BR /&gt;Pavel Chubakov&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-----------------------------------------------------------------------------------------------------------------------&lt;BR /&gt;Note: If this post answers your question, please click the Correct Answer button. Thank you!&lt;BR /&gt;-----------------------------------------------------------------------------------------------------------------------&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 22 Mar 2018 04:21:15 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Layerscape/OpenWrt-for-quot-ls1012afrdm-quot-Bootloader-Selection-Missing/m-p/718289#M2958</guid>
      <dc:creator>Pavel</dc:creator>
      <dc:date>2018-03-22T04:21:15Z</dc:date>
    </item>
    <item>
      <title>Re: OpenWrt for "ls1012afrdm"  Bootloader Selection Missing</title>
      <link>https://community.nxp.com/t5/Layerscape/OpenWrt-for-quot-ls1012afrdm-quot-Bootloader-Selection-Missing/m-p/718290#M2959</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you Pavel for the reply. But I am looking Openwrt port for &lt;SPAN class=""&gt;&lt;EM&gt;&lt;STRONG&gt;&lt;A data-dtmname="FRDM-LS1012A" href="https://www.nxp.com/search?client=nxp_search_all_results&amp;amp;site=nxp_en&amp;amp;proxystylesheet=nxp_search_style_fe&amp;amp;sort=date%3AD%3AL%3Ad1&amp;amp;oe=UTF-8&amp;amp;ie=UTF-8&amp;amp;ud=1&amp;amp;output=xml_no_dtd&amp;amp;exclude_apps=1&amp;amp;callback=ss_show&amp;amp;lang_cd=en&amp;amp;filter=0&amp;amp;getfields=*&amp;amp;baseUrl=%2F%2Fwww.nxp.com%2Fwebapp&amp;amp;SEARCH_OPERATOR=Contains&amp;amp;attempt=-1&amp;amp;rc=1&amp;amp;hl=en&amp;amp;dnavs=&amp;amp;q=LS1012A"&gt;FRDM-LS1012A&lt;/A&gt;&lt;/STRONG&gt; board not &lt;A data-dtmname="LS1012A-RDB" href="https://www.nxp.com/search?client=nxp_search_all_results&amp;amp;site=nxp_en&amp;amp;proxystylesheet=nxp_search_style_fe&amp;amp;sort=date%3AD%3AL%3Ad1&amp;amp;oe=UTF-8&amp;amp;ie=UTF-8&amp;amp;ud=1&amp;amp;output=xml_no_dtd&amp;amp;exclude_apps=1&amp;amp;callback=ss_show&amp;amp;lang_cd=en&amp;amp;filter=0&amp;amp;getfields=*&amp;amp;baseUrl=%2F%2Fwww.nxp.com%2Fwebapp&amp;amp;SEARCH_OPERATOR=Contains&amp;amp;attempt=-1&amp;amp;rc=1&amp;amp;hl=en&amp;amp;dnavs=&amp;amp;q=LS1012A"&gt;LS1012A-RDB&lt;/A&gt;&lt;/EM&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 22 Mar 2018 05:38:20 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Layerscape/OpenWrt-for-quot-ls1012afrdm-quot-Bootloader-Selection-Missing/m-p/718290#M2959</guid>
      <dc:creator>abhilashvr</dc:creator>
      <dc:date>2018-03-22T05:38:20Z</dc:date>
    </item>
    <item>
      <title>Re: OpenWrt for "ls1012afrdm"  Bootloader Selection Missing</title>
      <link>https://community.nxp.com/t5/Layerscape/OpenWrt-for-quot-ls1012afrdm-quot-Bootloader-Selection-Missing/m-p/718291#M2960</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi abhilash,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I had the same concern when I started working with this board in OpenWRT, but all is ok. The u-boot configs are automatically created when you chose the FRDM-LS1012A platform. You could see them in the .config file in&amp;nbsp;&lt;EM&gt;/home/administrador/lede/source/&amp;nbsp;&lt;/EM&gt;directory.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you compile it, in directory:&lt;/P&gt;&lt;P&gt;&lt;EM&gt;/home/administrador/lede/source/build_dir/target-aarch64_generic_musl/uboot-layerscape-ls1012afrdm/uboot-layerscape-2017.09&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;you could see the u-boot binary.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I've write a small guide for anyone that want to try this interesting board with openWRT.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In directory:&lt;/P&gt;&lt;P&gt;&lt;EM&gt;/home/administrador/lede/source/bin/targets/layerscape&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;you could see the whole binary image:&lt;/P&gt;&lt;P&gt;&lt;EM&gt;openwrt-layerscape-armv8_64b-ls1012afrdm-squashfs-firmware.bin&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;that includes the following map of binary code:&lt;/P&gt;&lt;P style="margin-bottom: 6.0pt;"&gt;&lt;SPAN style="font-size: 8.0pt;"&gt;spi Lede 17.01 file system map:&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: 6.0pt;"&gt;&lt;SPAN style="font-size: 8.0pt;"&gt;000 0000 – 00F FFFF&amp;nbsp; RCW&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 1MB&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: 6.0pt;"&gt;&lt;SPAN style="font-size: 8.0pt;"&gt;010 0000 – 03F FFFF&amp;nbsp; uboot&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 3MB&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: 6.0pt;"&gt;&lt;SPAN style="font-size: 8.0pt;"&gt;040 0000 – 09F FFFF&amp;nbsp; ppa&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 6MB&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: 6.0pt;"&gt;&lt;SPAN style="font-size: 8.0pt;"&gt;0A0 0000 – 0EF FFFF&amp;nbsp; ppfe&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 5MB&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: 6.0pt;"&gt;&lt;SPAN style="font-size: 8.0pt;"&gt;0F0 0000 – 0FF FFFF&amp;nbsp; dtb&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 1MB&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: 6.0pt;"&gt;&lt;SPAN style="font-size: 8.0pt;"&gt;100 0000 – 0FF FFFF&amp;nbsp; kernel&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 16MB&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: 6.0pt;"&gt;&lt;SPAN style="font-size: 8.0pt;"&gt;200 0000 – 3FF FFFF&amp;nbsp; rootfs&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 30MB&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;You could see how is created in:&lt;/P&gt;&lt;P&gt;&lt;EM&gt;/home/administrador/lede/source/target/linux/layerscape/image/Makefile&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In directory:&lt;/P&gt;&lt;P&gt;&lt;EM&gt;/home/administrador/lede/source/build_dir/target-aarch64_generic_musl/linux-layerscape_armv8_64b&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;you could find the following files:&lt;/P&gt;&lt;P&gt;&lt;EM&gt;image-fsl-ls1012a-frdm.dtb&lt;/EM&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;Device tree binary file. Created from dts&lt;/P&gt;&lt;P&gt;&lt;EM&gt;ls1012afrdm-30M.root.ext4&lt;/EM&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;Root file system, in ext4 format&lt;/P&gt;&lt;P&gt;&lt;EM&gt;ls1012afrdm-kernel.bin&amp;nbsp;&lt;/EM&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;Linux kernel, in uImage format&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Be careful when writing spi flash, because if you write a wrong RCW binary the only way to recover the board is Codewarrior TAP, an expensive tool ($500) that NXP forces us to buy, because the Layerscape processors has no usb boot code, and the only way to boot is spi rcw. USB CMSIS can't write RCW (why?). For new boards you should buy it, or include a mechanism to write spi flash externally.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I use to write only the rootfs or kernel directly.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;u-boot ethernet driver in openwrt give errors in my board (in linux ethernet works very well). That's why I use usb pendrive to load the files.&lt;/P&gt;&lt;P&gt;The USB has to be powered with an external 5V power supply to work. I use a micro-usb to usb-a female adapter to connect the pendrive.&lt;/P&gt;&lt;P&gt;The pendrive has to be formated as fat.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Then, the commands to load a new kernel are:&lt;/P&gt;&lt;P&gt;&lt;EM&gt;usb start&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;fatload usb 0:1 96000000&amp;nbsp;ls1012afrdm-kernel.bin&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;sf probe 0:0&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;sf erase 1000000 +$filesize&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;sf write 96000000 1000000 $filesize&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;The commands to load a new root file system are:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;usb start&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;fatload usb 0:1 96000000&amp;nbsp;&lt;SPAN&gt;ls1012afrdm-30M.root.ext4&lt;/SPAN&gt;&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;sf probe 0:0&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;sf erase 2000000 +$filesize&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;sf write 96000000 2000000 $filesize&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;RCW file is in directory:&lt;/P&gt;&lt;P&gt;/home/administrador/lede/source/build_dir/target-aarch64_generic_musl/ls-rcw-2017.09-ls1012afrdm/ls-rcw-2017.09/ls1012afrdm/N_SSNP_3305/PBL_0x33_0x05_800_250_1000_default.bin&lt;/P&gt;&lt;P&gt;To change it for a new board, you should use Codewarrior Development Studio for Networked applications.&lt;/P&gt;&lt;P&gt;This tool is not free, like in almost all manufacturers nowadays (for example Texas Instruments CCS), It is not even cheap: it cost $3000. But you could use the evaluation version to change RCW.&lt;/P&gt;&lt;P&gt;But you should have in mind that if you want to make your own board and you want to use the ddr validation tool to&lt;/P&gt;&lt;P&gt;calibrate ram, you should buy the Specialist version of Codewarrior that cost&amp;nbsp;&lt;SPAN&gt;$5000.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;I think that semiconductor manufacturers has to get money from silicon chips, not from developer tools. Developer tools has to be free to atract developers to their platforms. And that is specially clear here, because under Codewarrior there is an open source tool: Eclipse, that NXP is using at no charge.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;If you make your own board, you could need to change dts to reflect changes from FRDM-LS1012A board.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;There is two kind of dts files: the u-boot dts files, and the kernel dts files.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;The u-boot dts files get integrated in u-boot binarty and you could find them in:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;/home/administrador/lede/source/build_dir/target-aarch64_generic_musl/uboot-layerscape-ls1012afrdm/uboot-layerscape-2017.09/arch/arm/dts/fsl-ls1012a-frdm.dts&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;/home/administrador/lede/source/build_dir/target-aarch64_generic_musl/uboot-layerscape-ls1012afrdm/uboot-layerscape-2017.09/arch/arm/dts/fsl-ls1012a-frdm.dtsi&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;The kernel dts files should be written in spi, and you could find them in:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;/home/administrador/lede/source/build_dir/target-aarch64_generic_musl/linux-layerscape_armv8_64b/linux-4.9.67/arch/arm64/boot/dts/freescale/fsl-ls1012a.dtsi&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;/home/administrador/lede/source/build_dir/target-aarch64_generic_musl/linux-layerscape_armv8_64b/linux-4.9.67/arch/arm64/boot/dts/freescale/fsl-ls1012a-frdm.dts&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;The commands to load a new&amp;nbsp;dtb are:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;usb start&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;fatload usb 0:1 96000000 fsl-ls1012a-frdm.dtb&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;sf probe 0:0&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;sf erase F00000 +$filesize&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;sf write 96000000 F00000 $filesize&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&amp;nbsp;&lt;/EM&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 22 Mar 2018 09:03:05 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Layerscape/OpenWrt-for-quot-ls1012afrdm-quot-Bootloader-Selection-Missing/m-p/718291#M2960</guid>
      <dc:creator>zmlopez</dc:creator>
      <dc:date>2018-03-22T09:03:05Z</dc:date>
    </item>
    <item>
      <title>Re: OpenWrt for "ls1012afrdm"  Bootloader Selection Missing</title>
      <link>https://community.nxp.com/t5/Layerscape/OpenWrt-for-quot-ls1012afrdm-quot-Bootloader-Selection-Missing/m-p/718292#M2961</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you so much Miguel !&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am able to build for ls1012afrdm , Need to try on the board!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Abhilash&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 22 Mar 2018 10:59:45 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Layerscape/OpenWrt-for-quot-ls1012afrdm-quot-Bootloader-Selection-Missing/m-p/718292#M2961</guid>
      <dc:creator>abhilashvr</dc:creator>
      <dc:date>2018-03-22T10:59:45Z</dc:date>
    </item>
    <item>
      <title>Re: OpenWrt for "ls1012afrdm"  Bootloader Selection Missing</title>
      <link>https://community.nxp.com/t5/Layerscape/OpenWrt-for-quot-ls1012afrdm-quot-Bootloader-Selection-Missing/m-p/718293#M2962</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;@Miguel: I tried your described flashing procedure with my recently shiped FRDM board. However the kernel isn't executed due to a decompression error:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BLOCKQUOTE class="jive_macro_quote jive-quote jive_text_macro"&gt;&lt;P&gt;U-Boot 2016.01LS1012A-SDK+g7944a94 (Aug 30 2016 - 13:13:19 +0800)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SoC:&amp;nbsp; LS1012AE (0x87040010)&lt;BR /&gt;Clock Configuration:&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; CPU0(A53):800&amp;nbsp; MHz&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Bus:&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 250&amp;nbsp; MHz&amp;nbsp; DDR:&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 1000 MT/s&lt;BR /&gt;Reset Configuration Word (RCW):&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 00000000: 08000008 00000000 00000000 00000000&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 00000010: 33050000 c000000c 40000000 00001800&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 00000020: 00000000 00000000 00000000 000c4571&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 00000030: 00000000 00c28120 00000096 00000000&lt;BR /&gt;I2C:&amp;nbsp;&amp;nbsp; ready&lt;BR /&gt;DRAM:&amp;nbsp; 510 MiB&lt;BR /&gt;Using SERDES1 Protocol: 13061 (0x3305)&lt;BR /&gt;SF: Detected S25FS512S_256K with page size 512 Bytes, erase size 128 KiB, total 64 MiB&lt;BR /&gt;In:&amp;nbsp;&amp;nbsp;&amp;nbsp; serial&lt;BR /&gt;Out:&amp;nbsp;&amp;nbsp; serial&lt;BR /&gt;Err:&amp;nbsp;&amp;nbsp; serial&lt;BR /&gt;Model: LS1012A FREEDOM Board&lt;BR /&gt;Board: LS1012AFRDM Net:&amp;nbsp;&amp;nbsp; cbus_baseaddr: 0000000004000000, ddr_baseaddr: 0000000083800000, ddr_phys_baseaddr: 03800000&lt;BR /&gt;class init complete&lt;BR /&gt;tmu init complete&lt;BR /&gt;bmu1 init: done&lt;BR /&gt;bmu2 init: done&lt;BR /&gt;GPI1 init complete&lt;BR /&gt;GPI2 init complete&lt;BR /&gt;HGPI init complete&lt;BR /&gt;hif_tx_desc_init: Tx desc_base: 0000000083e40400, base_pa: 03e40400, desc_count: 64&lt;BR /&gt;hif_rx_desc_init: Rx desc base: 0000000083e40000, base_pa: 03e40000, desc_count: 64&lt;BR /&gt;HIF tx desc: base_va: 0000000083e40400, base_pa: 03e40400&lt;BR /&gt;HIF init complete&lt;BR /&gt;bmu1 enabled&lt;BR /&gt;bmu2 enabled&lt;BR /&gt;pfe_hw_init: done&lt;BR /&gt;pfe_firmware_init&lt;BR /&gt;pfe_load_elf: no of sections: 13&lt;BR /&gt;pfe_firmware_init: class firmware loaded&lt;BR /&gt;pfe_load_elf: no of sections: 10&lt;BR /&gt;pfe_firmware_init: tmu firmware loaded&lt;BR /&gt;ls1012a_configure_serdes 0&lt;BR /&gt;ls1012a_configure_serdes 1&lt;BR /&gt;pfe_eth0, pfe_eth1&lt;BR /&gt;Hit any key to stop autoboot:&amp;nbsp; 0&lt;BR /&gt;Stopping PFE...&lt;BR /&gt;SF: Detected S25FS512S_256K with page size 512 Bytes, erase size 128 KiB, total 64 MiB&lt;BR /&gt;device 0 offset 0xa00000, size 0x2800000&lt;BR /&gt;SF: 41943040 bytes @ 0xa00000 Read: OK&lt;BR /&gt;## Booting kernel from Legacy Image at 96000000 ...&lt;BR /&gt;&amp;nbsp;&amp;nbsp; Image Name:&amp;nbsp;&amp;nbsp; ARM64 OpenWrt Linux-4.9.120&lt;BR /&gt;&amp;nbsp;&amp;nbsp; Image Type:&amp;nbsp;&amp;nbsp; AArch64 Linux Kernel Image (gzip compressed)&lt;BR /&gt;&amp;nbsp;&amp;nbsp; Data Size:&amp;nbsp;&amp;nbsp;&amp;nbsp; 6912618 Bytes = 6.6 MiB&lt;BR /&gt;&amp;nbsp;&amp;nbsp; Load Address: 80080000&lt;BR /&gt;&amp;nbsp;&amp;nbsp; Entry Point:&amp;nbsp; 80080000&lt;BR /&gt;&amp;nbsp;&amp;nbsp; Uncompressing Kernel Image ... Error: inflate() returned -3&lt;BR /&gt;gzip compressed: uncompress error -1&lt;BR /&gt;Must RESET board to recover&lt;BR /&gt;resetting ...&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I built the openwrt firmware on my local desktop using subtarget "ARMv8 64-bit" and target profile "ls1012afrdm-armv8_64b". I used the kernel and userspace binaries that are created in the described folders to flash these two files ("ls1012afrdm-kernel.bin" and "root.ubifs") to the address &lt;EM&gt;1000000&lt;/EM&gt; and 2&lt;EM&gt;000000.&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;Like this:&lt;/EM&gt;&lt;/P&gt;&lt;BLOCKQUOTE class="jive_macro_quote jive-quote jive_text_macro"&gt;&lt;P&gt;tftp 0x96000000 ls/ls1012afrdm-kernel.bin&lt;BR /&gt;sf probe 0:0&lt;BR /&gt;sf erase 1000000 +$filesize&lt;/P&gt;&lt;P&gt;sf write 96000000 1000000 $filesize&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;tftp 0x96000000 ls/root.ext4&lt;BR /&gt;sf probe 0:0&lt;BR /&gt;sf erase 2000000 +$filesize&lt;/P&gt;&lt;P&gt;sf write 96000000 2000000 $filesize&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;tftp 0x96000000 ls/image-fsl-ls1012a-frdm.dtb&lt;BR /&gt;sf probe 0:0&lt;BR /&gt;sf erase F00000 +$filesize&lt;BR /&gt;sf write 96000000 F00000 $filesize&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;reset&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;uBoot seems to recognize the kernel in some regard and tries to decompress it. But gzip fails with error -1.&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;The only difference I did was loading the image using the tftp command to load the image from my atftp server...&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;I also tried to boot an initramfs image. But this didn't work neither :-(...&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;Any ideas?&lt;/EM&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 10 Jan 2019 16:32:14 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Layerscape/OpenWrt-for-quot-ls1012afrdm-quot-Bootloader-Selection-Missing/m-p/718293#M2962</guid>
      <dc:creator>welkvwevlkwmcvw</dc:creator>
      <dc:date>2019-01-10T16:32:14Z</dc:date>
    </item>
    <item>
      <title>Re: OpenWrt for "ls1012afrdm"  Bootloader Selection Missing</title>
      <link>https://community.nxp.com/t5/Layerscape/OpenWrt-for-quot-ls1012afrdm-quot-Bootloader-Selection-Missing/m-p/718294#M2963</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;What is your uboot init script?&lt;/P&gt;&lt;P&gt;Could you send a printenv result?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 21 Jan 2019 07:08:02 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Layerscape/OpenWrt-for-quot-ls1012afrdm-quot-Bootloader-Selection-Missing/m-p/718294#M2963</guid>
      <dc:creator>zmlopez</dc:creator>
      <dc:date>2019-01-21T07:08:02Z</dc:date>
    </item>
  </channel>
</rss>

