<?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>i.MX Processors中的主题 Compile u-boot with specific options (bootargs)</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/Compile-u-boot-with-specific-options-bootargs/m-p/446161#M68794</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;after a lot of attempts, I've finally managed to automatize deployment of images on i.mx6 sabresd using network. I initially boot from SD card, where there is u-boot. The boot.scr makes u-boot download a kernel and a minimal rootfs (a .cpio.gz.uboot) and boot on RAM. From this minimal image, I download the real image and write it on the eMMC. I also donwload u-boot.imx and write it on the boot0 partition of the eMMC. When rebooting without the SD card (so I boot with the u-boot written on boot0), I boot using this in u-boot: &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;fatload mmc 2:1 0x12000000 zImage ; fatload mmc 2:1 0x18000000 imx6q-sabresd-ldo.dtb ; setenv bootargs console=ttymxc0,115200 root=/dev/mmcblk3p2 ; bootz 0x12000000 - 0x18000000&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It works well, but to boot I have to manually enter the command above. As I use u-boot.imx, it seems that I can't use a boot.scr: boot0 is a special partition, I can't do much with it save write a file using dd, so I can't copy a boot.scr on it without erasing u-boot.imx. If I can't use a script, I'll have to compile u-boot to obtain a u-boot.imx with the correct boot procedure, right? But I don't know how to do that. I've searched, but I haven't find anything fitting my needs. Any help would be appreciated, thanks. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 27 Apr 2015 06:53:21 GMT</pubDate>
    <dc:creator>milo</dc:creator>
    <dc:date>2015-04-27T06:53:21Z</dc:date>
    <item>
      <title>Compile u-boot with specific options (bootargs)</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Compile-u-boot-with-specific-options-bootargs/m-p/446161#M68794</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;after a lot of attempts, I've finally managed to automatize deployment of images on i.mx6 sabresd using network. I initially boot from SD card, where there is u-boot. The boot.scr makes u-boot download a kernel and a minimal rootfs (a .cpio.gz.uboot) and boot on RAM. From this minimal image, I download the real image and write it on the eMMC. I also donwload u-boot.imx and write it on the boot0 partition of the eMMC. When rebooting without the SD card (so I boot with the u-boot written on boot0), I boot using this in u-boot: &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;fatload mmc 2:1 0x12000000 zImage ; fatload mmc 2:1 0x18000000 imx6q-sabresd-ldo.dtb ; setenv bootargs console=ttymxc0,115200 root=/dev/mmcblk3p2 ; bootz 0x12000000 - 0x18000000&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It works well, but to boot I have to manually enter the command above. As I use u-boot.imx, it seems that I can't use a boot.scr: boot0 is a special partition, I can't do much with it save write a file using dd, so I can't copy a boot.scr on it without erasing u-boot.imx. If I can't use a script, I'll have to compile u-boot to obtain a u-boot.imx with the correct boot procedure, right? But I don't know how to do that. I've searched, but I haven't find anything fitting my needs. Any help would be appreciated, thanks. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 27 Apr 2015 06:53:21 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Compile-u-boot-with-specific-options-bootargs/m-p/446161#M68794</guid>
      <dc:creator>milo</dc:creator>
      <dc:date>2015-04-27T06:53:21Z</dc:date>
    </item>
    <item>
      <title>Re: Compile u-boot with specific options (bootargs)</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Compile-u-boot-with-specific-options-bootargs/m-p/446162#M68795</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;In case you are using a sabre board of imx6 you can find the environment settings in the include/configs/mx6sabre_common.h file.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can try to modify the CONFIG_EXTRA_ENV_SETTINGS macro as you want.&lt;/P&gt;&lt;P&gt;Please take a look at this file and let me know if that helps.&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>Mon, 27 Apr 2015 21:57:29 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Compile-u-boot-with-specific-options-bootargs/m-p/446162#M68795</guid>
      <dc:creator>alejandrolozan1</dc:creator>
      <dc:date>2015-04-27T21:57:29Z</dc:date>
    </item>
  </channel>
</rss>

