<?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のトピックRe: add CONFIG_SYS_BOOTM_LEN size error help</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/add-CONFIG-SYS-BOOTM-LEN-size-error-help/m-p/512907#M83671</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;do you mean mksdcard-android.sh.tar in mfg tools&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;# partition size in MB&lt;/P&gt;&lt;P&gt;BOOTLOAD_RESERVE=8&lt;/P&gt;&lt;P&gt;BOOT_ROM_SIZE=16&lt;/P&gt;&lt;P&gt;RECOVERY_ROM_SIZE=20&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;BOOTLOAD_RESERVE = 8 need bigger?&lt;/P&gt;&lt;P&gt;or the others&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;//#define CONFIG_SYS_BOOTM_LEN&amp;nbsp;&amp;nbsp;&amp;nbsp; 0x800000&lt;/P&gt;&lt;P&gt;//to&lt;/P&gt;&lt;P&gt;#define CONFIG_SYS_BOOTM_LEN 0xA00000&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;also undefined instruction error&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and my kernel size 8.6 mb&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 01 Apr 2016 08:23:40 GMT</pubDate>
    <dc:creator>fatalfeel</dc:creator>
    <dc:date>2016-04-01T08:23:40Z</dc:date>
    <item>
      <title>add CONFIG_SYS_BOOTM_LEN size error help</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/add-CONFIG-SYS-BOOTM-LEN-size-error-help/m-p/512903#M83667</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN class="st"&gt;&lt;/SPAN&gt;&lt;SPAN class="st"&gt;&lt;EM&gt;my Image size bigger than 0x800000 so i change CONFIG_SYS_BOOTM_LEN&lt;/EM&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="st"&gt;&lt;EM&gt;&lt;SPAN class="st"&gt;&lt;EM&gt;to &lt;SPAN class="st"&gt;&lt;EM&gt;increase&lt;/EM&gt;&lt;/SPAN&gt; "max gunzip size"&lt;/EM&gt;&lt;/SPAN&gt;&lt;/EM&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="st"&gt;&lt;EM&gt;gedit /root/project_board/lollipop51/myandroid/bootable/bootloader/uboot-imx/common/bootm.c&lt;/EM&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;//#define CONFIG_SYS_BOOTM_LEN&amp;nbsp;&amp;nbsp;&amp;nbsp; 0x800000&lt;/P&gt;&lt;P&gt;//to&lt;/P&gt;&lt;P&gt;#define CONFIG_SYS_BOOTM_LEN 0x1000000&lt;/P&gt;&lt;P&gt;&lt;SPAN class="st"&gt;&lt;EM&gt;after build and reboot..............................................&lt;/EM&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Normal Boot&lt;/P&gt;&lt;P&gt;Hit any key to stop autoboot:&amp;nbsp; 0&lt;/P&gt;&lt;P&gt;boota mmc1&lt;/P&gt;&lt;P&gt;kernel&amp;nbsp;&amp;nbsp; @ 14008000 (8817672)&lt;/P&gt;&lt;P&gt;ramdisk&amp;nbsp; @ 15000000 (872002)&lt;/P&gt;&lt;P&gt;fdt&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; @ 14f00000 (47600)&lt;/P&gt;&lt;P&gt;## Booting Android Image at 0x12000000 ...&lt;/P&gt;&lt;P&gt;Kernel load addr 0x14008000 size 8612 KiB&lt;/P&gt;&lt;P&gt;Kernel command line: console=ttymxc0,115200 init=/init video=mxcfb0:dev=ldb,bpp=32 video=mxcfb1:dev=hdmi,1920x1080M@60,if=RGB24,bpp=32 video=mxcfb2:off video=mxcfb3:off vmalloc=400M androidboot.console=ttymxc0 consoleblank=0 androidboot.hardware=freescale cma=384M mem=1G firmware_class.path=/system/etc/firmware androidboot.selinux=disabled androidboot.dm_verity=disabled&lt;/P&gt;&lt;P&gt;## Flattened Device Tree blob at 14f00000&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; Booting using the fdt blob at 0x14f00000&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; Loading Kernel Image ... OK&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; Using Device Tree in place at 14f00000, end 14f0e9ef&lt;/P&gt;&lt;P&gt;switch to ldo_bypass mode!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Starting kernel ...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;undefined instruction&lt;/P&gt;&lt;P&gt;pc : [&amp;lt;00010000&amp;gt;]&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; lr : [&amp;lt;8fef2740&amp;gt;]&lt;/P&gt;&lt;P&gt;reloc pc : [&amp;lt;8791e000&amp;gt;]&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; lr : [&amp;lt;17800740&amp;gt;]&lt;/P&gt;&lt;P&gt;sp : 8eeeda68&amp;nbsp; ip : 8eeeda44&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; fp : 00000000&lt;/P&gt;&lt;P&gt;r10: 00000000&amp;nbsp; r9 : 8eeedeb8&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; r8 : 009024b4&lt;/P&gt;&lt;P&gt;r7 : 000000f0&amp;nbsp; r6 : 00000098&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; r5 : 17800338&amp;nbsp; r4 : 00c5087d&lt;/P&gt;&lt;P&gt;r3 : 00000000&amp;nbsp; r2 : 00000000&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; r1 : 00000000&amp;nbsp; r0 : 00000000&lt;/P&gt;&lt;P&gt;Flags: NzCv&amp;nbsp; IRQs off&amp;nbsp; FIQs off&amp;nbsp; Mode SVC_32&lt;/P&gt;&lt;P&gt;Resetting CPU ...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;resetting ...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;U-Boot 2015.04-svn62 (Mar 30 2016 - 18:03:51)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="st"&gt;&lt;EM&gt;crash at static void v7_maint_dcache_all(u32 operation)&lt;/EM&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="st"&gt;&lt;EM&gt;how to solve this problrm after add CONFIG_SYS_BOOTM_LEN size&lt;/EM&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 30 Mar 2016 11:35:04 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/add-CONFIG-SYS-BOOTM-LEN-size-error-help/m-p/512903#M83667</guid>
      <dc:creator>fatalfeel</dc:creator>
      <dc:date>2016-03-30T11:35:04Z</dc:date>
    </item>
    <item>
      <title>Re: add CONFIG_SYS_BOOTM_LEN size error help</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/add-CONFIG-SYS-BOOTM-LEN-size-error-help/m-p/512904#M83668</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;uboot makefile i use&lt;/P&gt;&lt;P&gt;ifdef CONFIG_CC_OPTIMIZE_FOR_SIZE&lt;/P&gt;&lt;P&gt;#KBUILD_CFLAGS&amp;nbsp;&amp;nbsp;&amp;nbsp; += -Os&lt;/P&gt;&lt;P&gt;KBUILD_CFLAGS&amp;nbsp;&amp;nbsp;&amp;nbsp; += -O0&lt;/P&gt;&lt;P&gt;else&lt;/P&gt;&lt;P&gt;KBUILD_CFLAGS&amp;nbsp;&amp;nbsp;&amp;nbsp; += -O2&lt;/P&gt;&lt;P&gt;endif&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;when setting&lt;/P&gt;&lt;P&gt;KBUILD_CFLAGS&amp;nbsp;&amp;nbsp;&amp;nbsp; += -O1 -fno-omit-frame-pointer&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;then run success&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;anyway other way setting&lt;/P&gt;&lt;TABLE&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;KBUILD_CFLAGS&lt;/TD&gt;&lt;TD&gt;+= -O0&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;and run success?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 31 Mar 2016 10:07:52 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/add-CONFIG-SYS-BOOTM-LEN-size-error-help/m-p/512904#M83668</guid>
      <dc:creator>fatalfeel</dc:creator>
      <dc:date>2016-03-31T10:07:52Z</dc:date>
    </item>
    <item>
      <title>Re: add CONFIG_SYS_BOOTM_LEN size error help</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/add-CONFIG-SYS-BOOTM-LEN-size-error-help/m-p/512905#M83669</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I got answer KBUILD_CFLAGS += -O0 and undefined instruction&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;/root/project_board/lollipop51/myandroid/bootable/bootloader/uboot-imx/Makefile&lt;/P&gt;&lt;P&gt;KBUILD_CFLAGS&amp;nbsp;&amp;nbsp;&amp;nbsp; += -O0 -fno-omit-frame-pointer&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;/root/project_board/lollipop51/myandroid/bootable/bootloader/uboot-imx/arch/arm/lib/cache-cp15.c&lt;/P&gt;&lt;P&gt;static void cache_disable(uint32_t cache_bit)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if (cache_bit == (CR_C | CR_M))&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; {&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; flush_dcache_all();&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; /* issue begin */&lt;/P&gt;&lt;P&gt;/*&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; set_cr(reg &amp;amp; ~CR_C);&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; flush_dcache_all(); //overwrite memory here&lt;/P&gt;&lt;P&gt;*/&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 01 Apr 2016 02:53:34 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/add-CONFIG-SYS-BOOTM-LEN-size-error-help/m-p/512905#M83669</guid>
      <dc:creator>fatalfeel</dc:creator>
      <dc:date>2016-04-01T02:53:34Z</dc:date>
    </item>
    <item>
      <title>Re: add CONFIG_SYS_BOOTM_LEN size error help</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/add-CONFIG-SYS-BOOTM-LEN-size-error-help/m-p/512906#M83670</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Please note that if kernel exceeds 8M it may go beyond the boundaries of its place on SD card.&lt;/P&gt;&lt;P&gt;You need to modify card partition.&lt;/P&gt;&lt;P&gt;Please refer table in "Storage partitions" chapter of Android User's Guide.&lt;/P&gt;&lt;P&gt;And you need to change MFGtool configuration in point of the partitions.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Have a great day,&lt;/P&gt;&lt;P&gt;Victor&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-----------------------------------------------------------------------------------------------------------------------&lt;/P&gt;&lt;P&gt;Note: If this post answers your question, please click the Correct Answer button. Thank you!&lt;/P&gt;&lt;P&gt;-----------------------------------------------------------------------------------------------------------------------&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 01 Apr 2016 08:13:33 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/add-CONFIG-SYS-BOOTM-LEN-size-error-help/m-p/512906#M83670</guid>
      <dc:creator>b36401</dc:creator>
      <dc:date>2016-04-01T08:13:33Z</dc:date>
    </item>
    <item>
      <title>Re: add CONFIG_SYS_BOOTM_LEN size error help</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/add-CONFIG-SYS-BOOTM-LEN-size-error-help/m-p/512907#M83671</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;do you mean mksdcard-android.sh.tar in mfg tools&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;# partition size in MB&lt;/P&gt;&lt;P&gt;BOOTLOAD_RESERVE=8&lt;/P&gt;&lt;P&gt;BOOT_ROM_SIZE=16&lt;/P&gt;&lt;P&gt;RECOVERY_ROM_SIZE=20&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;BOOTLOAD_RESERVE = 8 need bigger?&lt;/P&gt;&lt;P&gt;or the others&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;//#define CONFIG_SYS_BOOTM_LEN&amp;nbsp;&amp;nbsp;&amp;nbsp; 0x800000&lt;/P&gt;&lt;P&gt;//to&lt;/P&gt;&lt;P&gt;#define CONFIG_SYS_BOOTM_LEN 0xA00000&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;also undefined instruction error&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and my kernel size 8.6 mb&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 01 Apr 2016 08:23:40 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/add-CONFIG-SYS-BOOTM-LEN-size-error-help/m-p/512907#M83671</guid>
      <dc:creator>fatalfeel</dc:creator>
      <dc:date>2016-04-01T08:23:40Z</dc:date>
    </item>
    <item>
      <title>Re: add CONFIG_SYS_BOOTM_LEN size error help</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/add-CONFIG-SYS-BOOTM-LEN-size-error-help/m-p/512908#M83672</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;find problem&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;set_cr(reg &amp;amp; ~CR_C);&amp;nbsp; //disable data cache &lt;/P&gt;&lt;P&gt;flush_dcache_all(); //will way/set data cacahe&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;there will be problem on i.mx6&lt;/P&gt;&lt;P&gt;this is add on i.mx7 &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;remove them is ok~~~ on i.mx6 and i.mx7&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;you can use -O0 build and test code will find this problem&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 12 Apr 2016 17:14:57 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/add-CONFIG-SYS-BOOTM-LEN-size-error-help/m-p/512908#M83672</guid>
      <dc:creator>fatalfeel</dc:creator>
      <dc:date>2016-04-12T17:14:57Z</dc:date>
    </item>
  </channel>
</rss>

