<?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: Boot from eimnor in sabreauto in i.MX Processors</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/Boot-from-eimnor-in-sabreauto/m-p/482764#M76961</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Have you tried to compile it not using bitbake?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;export ARCH=arm&lt;/P&gt;&lt;P&gt;export CROSS_COMPILE=/opt/poky/1.7/sysroots/x86_64-pokysdk-linux/usr/bin/arm-poky-linux-gnueabi/arm-poky-linux-gnueabi-&lt;/P&gt;&lt;P&gt;make distclean;&lt;/P&gt;&lt;P&gt;make mx6qsabreauto_eimnor_config&lt;/P&gt;&lt;P&gt;make&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I tried it using BSP 3.14.28 and compiled with not issues.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best Regards,&lt;/P&gt;&lt;P&gt;Alejandro&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 17 Dec 2015 16:16:02 GMT</pubDate>
    <dc:creator>alejandrolozan1</dc:creator>
    <dc:date>2015-12-17T16:16:02Z</dc:date>
    <item>
      <title>Boot from eimnor in sabreauto</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Boot-from-eimnor-in-sabreauto/m-p/482763#M76960</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a custom imx6q board which is based on the 'sabreauto' reference board.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a spansion CFI NOR flash on board for booting.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How do i generate the uboot with eimnor config?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am using Yocto and fsl-community-bsp with 3.10.17 kernel&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I tried changing the&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;UBOOT_CONFIG ??= sd"&lt;/P&gt;&lt;P&gt;UBOOT_CONFIG[sd] = "mx6qsabreauto_config,sdcard"&lt;/P&gt;&lt;P&gt;UBOOT_CONFIG[eimnor] = "mx6qsabreauto_eimnor_config"&lt;/P&gt;&lt;P&gt;UBOOT_CONFIG[nand] = "mx6qsabreauto_nand_config,ubifs"&lt;/P&gt;&lt;P&gt;UBOOT_CONFIG[spinor] = "mx6qsabreauto_spinor_config"&lt;/P&gt;&lt;P&gt;UBOOT_CONFIG[sata] = "mx6qsabreauto_sata_config"&lt;/P&gt;&lt;P&gt;UBOOT_CONFIG[mfgtool] = "mx6qsabreauto_config"&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;in imx6qsabreauto.conf&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;to&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;UBOOT_CONFIG ??= eimnor"&lt;/P&gt;&lt;P&gt;UBOOT_CONFIG[sd] = "mx6qsabreauto_config,sdcard"&lt;/P&gt;&lt;P&gt;UBOOT_CONFIG[eimnor] = "mx6qsabreauto_eimnor_config"&lt;/P&gt;&lt;P&gt;UBOOT_CONFIG[nand] = "mx6qsabreauto_nand_config,ubifs"&lt;/P&gt;&lt;P&gt;UBOOT_CONFIG[spinor] = "mx6qsabreauto_spinor_config"&lt;/P&gt;&lt;P&gt;UBOOT_CONFIG[sata] = "mx6qsabreauto_sata_config"&lt;/P&gt;&lt;P&gt;UBOOT_CONFIG[mfgtool] = "mx6qsabreauto_config"&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;but i get the following error&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;make: *** No rule to make target `mx6qsabreauto_sata_config'.&amp;nbsp; Stop.&lt;BR /&gt;| make: *** [mx6qsabreauto_sata_config] Error 1&lt;BR /&gt;| ERROR: oe_runmake failed&lt;BR /&gt;| WARNING: exit code 1 from a shell command.&lt;BR /&gt;| ERROR: Function failed: do_compile (log file is located at /home/nishad/fsl-community-bsp/build/tmp/work/imx6qsabreauto-poky-linux-gnueabi/u-boot-fslc/v2014.01-r0/temp/log.do_compile.6573)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What should i do to boot from eimnor?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank your for your time,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards,&lt;/P&gt;&lt;P&gt;Nishad kamdar&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 14 Dec 2015 10:31:25 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Boot-from-eimnor-in-sabreauto/m-p/482763#M76960</guid>
      <dc:creator>nishad_kamdar</dc:creator>
      <dc:date>2015-12-14T10:31:25Z</dc:date>
    </item>
    <item>
      <title>Re: Boot from eimnor in sabreauto</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Boot-from-eimnor-in-sabreauto/m-p/482764#M76961</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Have you tried to compile it not using bitbake?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;export ARCH=arm&lt;/P&gt;&lt;P&gt;export CROSS_COMPILE=/opt/poky/1.7/sysroots/x86_64-pokysdk-linux/usr/bin/arm-poky-linux-gnueabi/arm-poky-linux-gnueabi-&lt;/P&gt;&lt;P&gt;make distclean;&lt;/P&gt;&lt;P&gt;make mx6qsabreauto_eimnor_config&lt;/P&gt;&lt;P&gt;make&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I tried it using BSP 3.14.28 and compiled with not issues.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best Regards,&lt;/P&gt;&lt;P&gt;Alejandro&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 17 Dec 2015 16:16:02 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Boot-from-eimnor-in-sabreauto/m-p/482764#M76961</guid>
      <dc:creator>alejandrolozan1</dc:creator>
      <dc:date>2015-12-17T16:16:02Z</dc:date>
    </item>
    <item>
      <title>Re: Boot from eimnor in sabreauto</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Boot-from-eimnor-in-sabreauto/m-p/482765#M76962</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for the reply.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I tried using 1.6.2 toolchain to compile the u-boot-fslc.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I still get the same error.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My BSP is 3.10.17.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How do i switch to the new BSP?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I manually downloaded the u-boot from 3.14.28,&lt;/P&gt;&lt;P&gt;from the following link:&lt;/P&gt;&lt;P&gt;&lt;A href="https://github.com/Freescale/u-boot-fslc/tree/v2014.04" title="https://github.com/Freescale/u-boot-fslc/tree/v2014.04"&gt;Freescale/u-boot-fslc at v2014.04 · GitHub&lt;/A&gt;&lt;/P&gt;&lt;P&gt;and tried compiling it&lt;/P&gt;&lt;P&gt;It gave the error&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;nishad@nishad-VPCEB34EN:~/fsl-community-bsp/u-boot-fslc$ make mx6qsabreauto_eimnor_config&lt;/P&gt;&lt;P&gt;***&lt;/P&gt;&lt;P&gt;*** Can't find default configuration "arch/../configs/mx6qsabreauto_eimnor_defconfig"!&lt;/P&gt;&lt;P&gt;***&lt;/P&gt;&lt;P&gt;make[1]: *** [mx6qsabreauto_eimnor_defconfig] Error 1&lt;/P&gt;&lt;P&gt;make: *** [mx6qsabreauto_eimnor_config] Error 2&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards,&lt;/P&gt;&lt;P&gt;Nishad&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 18 Dec 2015 11:40:49 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Boot-from-eimnor-in-sabreauto/m-p/482765#M76962</guid>
      <dc:creator>nishad_kamdar</dc:creator>
      <dc:date>2015-12-18T11:40:49Z</dc:date>
    </item>
    <item>
      <title>Re: Boot from eimnor in sabreauto</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Boot-from-eimnor-in-sabreauto/m-p/482766#M76963</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I was able to solve the issue. I am able to build the eimnor u-boot using bitbake now.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The fsl-default-providers.inc file had the following contents:&lt;/P&gt;&lt;P&gt;# Freescale BSP default providers&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PREFERRED_PROVIDER_virtual/xserver = "xserver-xorg"&lt;/P&gt;&lt;P&gt;PREFERRED_PROVIDER_virtual/kernel ??= "linux-imx"&lt;/P&gt;&lt;P&gt;PREFERRED_PROVIDER_u-boot ??= "u-boot-fslc"&lt;/P&gt;&lt;P&gt;PREFERRED_PROVIDER_virtual/bootloader ??= "u-boot-fslc"&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So my BSP was by default using u-bot-fslc image which does not support "mx6qsabreauto_eimnor_config."&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;After reading the "Freescale_Yocto_Project_User's_Guide" i found out that it uses u-boot-imx as the default bootloader.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So i modified the fsl-default-providers.inc file to:&lt;/P&gt;&lt;P&gt;# Freescale BSP default providers&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PREFERRED_PROVIDER_virtual/xserver = "xserver-xorg"&lt;/P&gt;&lt;P&gt;PREFERRED_PROVIDER_virtual/kernel ??= "linux-imx"&lt;/P&gt;&lt;P&gt;#PREFERRED_PROVIDER_u-boot ??= "u-boot-fslc"&lt;/P&gt;&lt;P&gt;#PREFERRED_PROVIDER_virtual/bootloader ??= "u-boot-fslc"&lt;/P&gt;&lt;P&gt;PREFERRED_PROVIDER_u-boot ??= "u-boot-imx"&lt;/P&gt;&lt;P&gt;PREFERRED_PROVIDER_virtual/bootloader ??= "u-boot-imx"&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and changed the imx6qsabreauto.conf to&lt;/P&gt;&lt;P&gt;UBOOT_CONFIG ??= "eimnor"&lt;/P&gt;&lt;P&gt;UBOOT_CONFIG[sd] = "mx6qsabreauto_config,sdcard"&lt;/P&gt;&lt;P&gt;UBOOT_CONFIG[eimnor] = "mx6qsabreauto_eimnor_config"&lt;/P&gt;&lt;P&gt;UBOOT_CONFIG[nand] = "mx6qsabreauto_nand_config,ubifs"&lt;/P&gt;&lt;P&gt;UBOOT_CONFIG[spinor] = "mx6qsabreauto_spinor_config"&lt;/P&gt;&lt;P&gt;UBOOT_CONFIG[sata] = "mx6qsabreauto_sata_config"&lt;/P&gt;&lt;P&gt;UBOOT_CONFIG[mfgtool] = "mx6qsabreauto_config"&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now the bitbake does not yield any error as it did before.&lt;/P&gt;&lt;P&gt;Still need to test the u-boot on hardware though.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for your time,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;Nishad&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 19 Dec 2015 04:03:42 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Boot-from-eimnor-in-sabreauto/m-p/482766#M76963</guid>
      <dc:creator>nishad_kamdar</dc:creator>
      <dc:date>2015-12-19T04:03:42Z</dc:date>
    </item>
  </channel>
</rss>

