<?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>MQX Software SolutionsのトピックIMX8MM u-boot upgrade problem</title>
    <link>https://community.nxp.com/t5/MQX-Software-Solutions/IMX8MM-u-boot-upgrade-problem/m-p/1423938#M18708</link>
    <description>&lt;P&gt;Hi, dear community,&lt;/P&gt;&lt;P&gt;I have faced problem with u-boot upgrading.&lt;/P&gt;&lt;P&gt;I have yocto sumo system. I want to upgrade it to the newest dunfell and appropriate kernel and u-boot.&lt;BR /&gt;But after the upgrading, the boot process stuck on kernel starting:&lt;/P&gt;&lt;P&gt;mmc2(part 0) is current device&lt;BR /&gt;6320447 bytes read in 152 ms (39.7 MiB/s)&lt;BR /&gt;Uncompressed size: 14618632 = 0xDF1008&lt;BR /&gt;Booting from mmc ...&lt;BR /&gt;fdt_file=imx8mm-var-som-symphony-legacy.dtb&lt;BR /&gt;45490 bytes read in 20 ms (2.2 MiB/s)&lt;BR /&gt;## Flattened Device Tree blob at 43000000&lt;BR /&gt;Booting using the fdt blob at 0x43000000&lt;BR /&gt;Using Device Tree in place at 0000000043000000, end 000000004300e1b1&lt;/P&gt;&lt;P&gt;Starting kernel ...&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;We have used the default version of the dunfell u-boot (imx_v2020.04_5.4.24_2.1.0_var02)&lt;/P&gt;&lt;P&gt;We can solve this issue by changing the u-boot version to imx_v2020.04_5.4.47_2.2.0_var01&lt;/P&gt;&lt;P&gt;Do you have some ideas?&lt;/P&gt;&lt;P&gt;Printenv:&lt;/P&gt;&lt;LI-SPOILER&gt;baudrate=115200&lt;BR /&gt;board_name=VAR-SOM-MX8M-MINI&lt;BR /&gt;boot_fdt=try&lt;BR /&gt;bootcmd=run ramsize_check; mmc dev ${mmcdev}; if mmc rescan; then if test ${use_m4} = yes &amp;amp;&amp;amp; run loadm4bin; then run runm4bin; fi; if run loadbootscript; then run bootscript; else if run loadimage; then run mmcboot; else run netboot; fi; fi; else booti ${loadaddr} - ${fdt_addr}; fi&lt;BR /&gt;bootcmd_mfg=run mfgtool_args;if iminfo ${initrd_addr}; then if test ${tee} = yes; then bootm ${tee_addr} ${initrd_addr} ${fdt_addr}; else booti ${loadaddr} ${initrd_addr} ${fdt_addr}; fi; else echo "Run fastboot ..."; fastboot 0; fi;&lt;BR /&gt;bootdelay=1&lt;BR /&gt;bootdir=/boot&lt;BR /&gt;bootscript=echo Running bootscript from mmc ...; source&lt;BR /&gt;carrier_rev=legacy&lt;BR /&gt;console=ttymxc0,115200 earlycon=ec_imx6q,0x30860000,115200&lt;BR /&gt;emmc_dev=1&lt;BR /&gt;ethprime=FEC&lt;BR /&gt;fastboot_dev=mmc2&lt;BR /&gt;fdt_addr=0x43000000&lt;BR /&gt;fdt_file=imx8mm-var-som-symphony-legacy.dtb&lt;BR /&gt;fdt_high=0xffffffffffffffff&lt;BR /&gt;fdtcontroladdr=bdf212d0&lt;BR /&gt;findfdt=if test $fdt_file = undefined; then if test $board_name = VAR-SOM-MX8M-MINI; then if test $som_rev = som_rev10; then setenv fdt_file fsl-imx8mm-var-som-rev10.dtb; else setenv fdt_file fsl-imx8mm-var-som.dtb; fi;else setenv fdt_file fsl-imx8mm-var-dart.dtb;fi; fi;&lt;BR /&gt;image=Image.gz&lt;BR /&gt;img_addr=0x42000000&lt;BR /&gt;initrd_addr=0x43800000&lt;BR /&gt;initrd_high=0xffffffffffffffff&lt;BR /&gt;ip_dyn=yes&lt;BR /&gt;kboot=booti&lt;BR /&gt;loadaddr=0x40480000&lt;BR /&gt;loadbootscript=load mmc ${mmcdev}:${mmcpart} ${loadaddr} ${bootdir}/${script};&lt;BR /&gt;loadfdt=run findfdt; echo fdt_file=${fdt_file}; load mmc ${mmcdev}:${mmcpart} ${fdt_addr} ${bootdir}/${fdt_file}&lt;BR /&gt;loadimage=load mmc ${mmcdev}:${mmcpart} ${img_addr} ${bootdir}/${image};unzip ${img_addr} ${loadaddr}&lt;BR /&gt;loadm4bin=load mmc ${mmcdev}:${mmcpart} ${m4_addr} ${bootdir}/${m4_bin}&lt;BR /&gt;m4_addr=0x7e0000&lt;BR /&gt;m4_bin=hello_world.bin&lt;BR /&gt;mfgtool_args=setenv bootargs console=${console},${baudrate} rdinit=/linuxrc clk_ignore_unused&lt;BR /&gt;mmcargs=setenv bootargs console=${console} root=/dev/mmcblk${mmcblk}p${mmcpart} rootwait rw ${cma_size}&lt;BR /&gt;mmcautodetect=yes&lt;BR /&gt;mmcblk=2&lt;BR /&gt;mmcboot=echo Booting from mmc ...; run mmcargs; run optargs; if test ${boot_fdt} = yes || test ${boot_fdt} = try; then if run loadfdt; then booti ${loadaddr} - ${fdt_addr}; else echo WARN: Cannot load the DT; fi; else echo wait for boot; fi;&lt;BR /&gt;mmcdev=2&lt;BR /&gt;mmcpart=2&lt;BR /&gt;netargs=setenv bootargs console=${console} root=/dev/nfs ${cma_size} ip=dhcp nfsroot=${serverip}:${nfsroot},v3,tcp&lt;BR /&gt;netboot=echo Booting from net ...; if test ${ip_dyn} = yes; then setenv get_cmd dhcp; else setenv get_cmd tftp; fi; ${get_cmd} ${img_addr} ${image}; unzip ${img_addr} ${loadaddr};run ramsize_check; run netargs; run optargs; if test ${boot_fdt} = yes || test ${boot_fdt} = try; then run findfdt; echo fdt_file=${fdt_file}; if ${get_cmd} ${fdt_addr} ${fdt_file}; then booti ${loadaddr} - ${fdt_addr}; else echo WARN: Cannot load the DT; fi; else booti; fi;&lt;BR /&gt;optargs=setenv bootargs ${bootargs} ${kernelargs};&lt;BR /&gt;ramsize_check=if test $sdram_size -le 512; then setenv cma_size cma=320M; else setenv cma_size cma=640M@1376M; fi;&lt;BR /&gt;runm4bin=if test ${m4_addr} = 0x7e0000; then echo Booting M4 from TCM; else echo Booting M4 from DRAM; dcache flush; fi; bootaux ${m4_addr};&lt;BR /&gt;script=boot.scr&lt;BR /&gt;sd_dev=0&lt;BR /&gt;sdram_size=2048&lt;BR /&gt;serial#=0b1d0a0a5c73e888&lt;BR /&gt;soc_type=imx8mm&lt;BR /&gt;som_rev=som_rev11&lt;BR /&gt;splashdisable=setenv splashfile; setenv splashimage&lt;BR /&gt;splashenable=setenv splashfile /boot/splash.bmp; setenv splashimage 0x43100000&lt;BR /&gt;splashfile=/boot/splash.bmp&lt;BR /&gt;splashimage=0x43100000&lt;BR /&gt;splashsourceauto=yes&lt;BR /&gt;use_m4=no&lt;/LI-SPOILER&gt;</description>
    <pubDate>Mon, 07 Mar 2022 13:12:28 GMT</pubDate>
    <dc:creator>vertigio</dc:creator>
    <dc:date>2022-03-07T13:12:28Z</dc:date>
    <item>
      <title>IMX8MM u-boot upgrade problem</title>
      <link>https://community.nxp.com/t5/MQX-Software-Solutions/IMX8MM-u-boot-upgrade-problem/m-p/1423938#M18708</link>
      <description>&lt;P&gt;Hi, dear community,&lt;/P&gt;&lt;P&gt;I have faced problem with u-boot upgrading.&lt;/P&gt;&lt;P&gt;I have yocto sumo system. I want to upgrade it to the newest dunfell and appropriate kernel and u-boot.&lt;BR /&gt;But after the upgrading, the boot process stuck on kernel starting:&lt;/P&gt;&lt;P&gt;mmc2(part 0) is current device&lt;BR /&gt;6320447 bytes read in 152 ms (39.7 MiB/s)&lt;BR /&gt;Uncompressed size: 14618632 = 0xDF1008&lt;BR /&gt;Booting from mmc ...&lt;BR /&gt;fdt_file=imx8mm-var-som-symphony-legacy.dtb&lt;BR /&gt;45490 bytes read in 20 ms (2.2 MiB/s)&lt;BR /&gt;## Flattened Device Tree blob at 43000000&lt;BR /&gt;Booting using the fdt blob at 0x43000000&lt;BR /&gt;Using Device Tree in place at 0000000043000000, end 000000004300e1b1&lt;/P&gt;&lt;P&gt;Starting kernel ...&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;We have used the default version of the dunfell u-boot (imx_v2020.04_5.4.24_2.1.0_var02)&lt;/P&gt;&lt;P&gt;We can solve this issue by changing the u-boot version to imx_v2020.04_5.4.47_2.2.0_var01&lt;/P&gt;&lt;P&gt;Do you have some ideas?&lt;/P&gt;&lt;P&gt;Printenv:&lt;/P&gt;&lt;LI-SPOILER&gt;baudrate=115200&lt;BR /&gt;board_name=VAR-SOM-MX8M-MINI&lt;BR /&gt;boot_fdt=try&lt;BR /&gt;bootcmd=run ramsize_check; mmc dev ${mmcdev}; if mmc rescan; then if test ${use_m4} = yes &amp;amp;&amp;amp; run loadm4bin; then run runm4bin; fi; if run loadbootscript; then run bootscript; else if run loadimage; then run mmcboot; else run netboot; fi; fi; else booti ${loadaddr} - ${fdt_addr}; fi&lt;BR /&gt;bootcmd_mfg=run mfgtool_args;if iminfo ${initrd_addr}; then if test ${tee} = yes; then bootm ${tee_addr} ${initrd_addr} ${fdt_addr}; else booti ${loadaddr} ${initrd_addr} ${fdt_addr}; fi; else echo "Run fastboot ..."; fastboot 0; fi;&lt;BR /&gt;bootdelay=1&lt;BR /&gt;bootdir=/boot&lt;BR /&gt;bootscript=echo Running bootscript from mmc ...; source&lt;BR /&gt;carrier_rev=legacy&lt;BR /&gt;console=ttymxc0,115200 earlycon=ec_imx6q,0x30860000,115200&lt;BR /&gt;emmc_dev=1&lt;BR /&gt;ethprime=FEC&lt;BR /&gt;fastboot_dev=mmc2&lt;BR /&gt;fdt_addr=0x43000000&lt;BR /&gt;fdt_file=imx8mm-var-som-symphony-legacy.dtb&lt;BR /&gt;fdt_high=0xffffffffffffffff&lt;BR /&gt;fdtcontroladdr=bdf212d0&lt;BR /&gt;findfdt=if test $fdt_file = undefined; then if test $board_name = VAR-SOM-MX8M-MINI; then if test $som_rev = som_rev10; then setenv fdt_file fsl-imx8mm-var-som-rev10.dtb; else setenv fdt_file fsl-imx8mm-var-som.dtb; fi;else setenv fdt_file fsl-imx8mm-var-dart.dtb;fi; fi;&lt;BR /&gt;image=Image.gz&lt;BR /&gt;img_addr=0x42000000&lt;BR /&gt;initrd_addr=0x43800000&lt;BR /&gt;initrd_high=0xffffffffffffffff&lt;BR /&gt;ip_dyn=yes&lt;BR /&gt;kboot=booti&lt;BR /&gt;loadaddr=0x40480000&lt;BR /&gt;loadbootscript=load mmc ${mmcdev}:${mmcpart} ${loadaddr} ${bootdir}/${script};&lt;BR /&gt;loadfdt=run findfdt; echo fdt_file=${fdt_file}; load mmc ${mmcdev}:${mmcpart} ${fdt_addr} ${bootdir}/${fdt_file}&lt;BR /&gt;loadimage=load mmc ${mmcdev}:${mmcpart} ${img_addr} ${bootdir}/${image};unzip ${img_addr} ${loadaddr}&lt;BR /&gt;loadm4bin=load mmc ${mmcdev}:${mmcpart} ${m4_addr} ${bootdir}/${m4_bin}&lt;BR /&gt;m4_addr=0x7e0000&lt;BR /&gt;m4_bin=hello_world.bin&lt;BR /&gt;mfgtool_args=setenv bootargs console=${console},${baudrate} rdinit=/linuxrc clk_ignore_unused&lt;BR /&gt;mmcargs=setenv bootargs console=${console} root=/dev/mmcblk${mmcblk}p${mmcpart} rootwait rw ${cma_size}&lt;BR /&gt;mmcautodetect=yes&lt;BR /&gt;mmcblk=2&lt;BR /&gt;mmcboot=echo Booting from mmc ...; run mmcargs; run optargs; if test ${boot_fdt} = yes || test ${boot_fdt} = try; then if run loadfdt; then booti ${loadaddr} - ${fdt_addr}; else echo WARN: Cannot load the DT; fi; else echo wait for boot; fi;&lt;BR /&gt;mmcdev=2&lt;BR /&gt;mmcpart=2&lt;BR /&gt;netargs=setenv bootargs console=${console} root=/dev/nfs ${cma_size} ip=dhcp nfsroot=${serverip}:${nfsroot},v3,tcp&lt;BR /&gt;netboot=echo Booting from net ...; if test ${ip_dyn} = yes; then setenv get_cmd dhcp; else setenv get_cmd tftp; fi; ${get_cmd} ${img_addr} ${image}; unzip ${img_addr} ${loadaddr};run ramsize_check; run netargs; run optargs; if test ${boot_fdt} = yes || test ${boot_fdt} = try; then run findfdt; echo fdt_file=${fdt_file}; if ${get_cmd} ${fdt_addr} ${fdt_file}; then booti ${loadaddr} - ${fdt_addr}; else echo WARN: Cannot load the DT; fi; else booti; fi;&lt;BR /&gt;optargs=setenv bootargs ${bootargs} ${kernelargs};&lt;BR /&gt;ramsize_check=if test $sdram_size -le 512; then setenv cma_size cma=320M; else setenv cma_size cma=640M@1376M; fi;&lt;BR /&gt;runm4bin=if test ${m4_addr} = 0x7e0000; then echo Booting M4 from TCM; else echo Booting M4 from DRAM; dcache flush; fi; bootaux ${m4_addr};&lt;BR /&gt;script=boot.scr&lt;BR /&gt;sd_dev=0&lt;BR /&gt;sdram_size=2048&lt;BR /&gt;serial#=0b1d0a0a5c73e888&lt;BR /&gt;soc_type=imx8mm&lt;BR /&gt;som_rev=som_rev11&lt;BR /&gt;splashdisable=setenv splashfile; setenv splashimage&lt;BR /&gt;splashenable=setenv splashfile /boot/splash.bmp; setenv splashimage 0x43100000&lt;BR /&gt;splashfile=/boot/splash.bmp&lt;BR /&gt;splashimage=0x43100000&lt;BR /&gt;splashsourceauto=yes&lt;BR /&gt;use_m4=no&lt;/LI-SPOILER&gt;</description>
      <pubDate>Mon, 07 Mar 2022 13:12:28 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MQX-Software-Solutions/IMX8MM-u-boot-upgrade-problem/m-p/1423938#M18708</guid>
      <dc:creator>vertigio</dc:creator>
      <dc:date>2022-03-07T13:12:28Z</dc:date>
    </item>
    <item>
      <title>Re: IMX8MM u-boot upgrade problem</title>
      <link>https://community.nxp.com/t5/MQX-Software-Solutions/IMX8MM-u-boot-upgrade-problem/m-p/1424276#M18709</link>
      <description>&lt;P&gt;Hi &lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/197808"&gt;@vertigio&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The yocto project of&amp;nbsp;&lt;SPAN&gt;var is different from NXP release. You should update yocto project ,not only u-boot.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Regards&lt;/P&gt;
&lt;P&gt;Zhiming&lt;/P&gt;</description>
      <pubDate>Tue, 08 Mar 2022 05:19:20 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MQX-Software-Solutions/IMX8MM-u-boot-upgrade-problem/m-p/1424276#M18709</guid>
      <dc:creator>Zhiming_Liu</dc:creator>
      <dc:date>2022-03-08T05:19:20Z</dc:date>
    </item>
    <item>
      <title>Re: IMX8MM u-boot upgrade problem</title>
      <link>https://community.nxp.com/t5/MQX-Software-Solutions/IMX8MM-u-boot-upgrade-problem/m-p/1425110#M18710</link>
      <description>&lt;P&gt;Thanks&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/151788"&gt;@Zhiming_Liu&lt;/a&gt;&amp;nbsp;.&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have tried&amp;nbsp;imx_v2020.04_5.4.24_2.1.0_var02 too.&amp;nbsp; It has the same behavior&lt;/P&gt;&lt;P&gt;I have updated the yocto to the dunfell. The main problem with the default u-boot version for dunfell. It is not loading the kernel. It prints the log `kernel starting`, and stuck.&amp;nbsp;&lt;/P&gt;&lt;P&gt;I think, there is the discrepancy between the mkimage and u-boot load address.&amp;nbsp;&lt;/P&gt;&lt;P&gt;How can I check the load address that mkimage set to the header?&lt;/P&gt;</description>
      <pubDate>Wed, 09 Mar 2022 16:48:27 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MQX-Software-Solutions/IMX8MM-u-boot-upgrade-problem/m-p/1425110#M18710</guid>
      <dc:creator>vertigio</dc:creator>
      <dc:date>2022-03-09T16:48:27Z</dc:date>
    </item>
    <item>
      <title>Re: IMX8MM u-boot upgrade problem</title>
      <link>https://community.nxp.com/t5/MQX-Software-Solutions/IMX8MM-u-boot-upgrade-problem/m-p/1426210#M18712</link>
      <description>&lt;P&gt;Hi &lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/151788"&gt;@Zhiming_Liu&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;I have investigated, that removing changing of the u-boot environmental variables helps. I have some post-install script, that changes partition by&amp;nbsp;fw_setenv mmcpart $partition. It somehow corrupts the u-boot or kernel.&amp;nbsp;&lt;/P&gt;&lt;P&gt;UPD: I have investigated that in corrupted image starting from 400E01 there are 60 bytes with nulled memory. As i understood, it is related to the u-boot environmental variables. Also there are a lot of nulled memory starting from&amp;nbsp;801741(almost 2 MB of nulled memory)&lt;/P&gt;</description>
      <pubDate>Fri, 11 Mar 2022 11:58:39 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MQX-Software-Solutions/IMX8MM-u-boot-upgrade-problem/m-p/1426210#M18712</guid>
      <dc:creator>vertigio</dc:creator>
      <dc:date>2022-03-11T11:58:39Z</dc:date>
    </item>
  </channel>
</rss>

