<?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: Writing bootloader failed</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/Writing-bootloader-failed/m-p/1690473#M209510</link>
    <description>&lt;P&gt;Thanks for your help!&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Fri, 21 Jul 2023 13:51:11 GMT</pubDate>
    <dc:creator>AlekseyM</dc:creator>
    <dc:date>2023-07-21T13:51:11Z</dc:date>
    <item>
      <title>Writing bootloader failed</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Writing-bootloader-failed/m-p/1688634#M209341</link>
      <description>&lt;P&gt;Hi! I make a custom board with iMX8MM and compile u-boot. But I can't understand what I do wrong.&amp;nbsp;Could somebody tip me?&lt;BR /&gt;I use uuu under Windows 10, for compiling images I use imx-boot under WSL2 ubuntu 20.04.&lt;BR /&gt;Log by board:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;MMC:   FSL_SDHC: 1, FSL_SDHC: 2
Loading Environment from MMC... MMC: no card present
*** Warning - No block device, using default environment

MMC: no card present
Detect USB boot. Will enter fastboot mode!
Net:   Could not get PHY for FEC0: addr 0
Could not get PHY for FEC0: addr 0
No ethernet found.

Fastboot: Normal
Boot from USB for mfgtools
*** Warning - Use default environment for                                mfgtools
, using default environment

Run 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;
Hit any key to stop autoboot:  0

## Checking Image at 43800000 ...
Unknown image format!
Run fastboot ...
Detect USB boot. Will enter fastboot mode!
flash target is MMC:1
MMC: no card present
MMC card init failed!
MMC: no card present
** Block device MMC 1 not supported
Detect USB boot. Will enter fastboot mode!
flash target is MMC:2
switch to partitions #0, OK
mmc2(part 0) is current device
Detect USB boot. Will enter fastboot mode!
Starting download of 2091712 bytes
...............
downloading of 2091712 bytes finished
writing to partition 'bootloader'
Initializing 'bootloader'
switch to partitions #1, OK
mmc2(part 1) is current device
Writing 'bootloader'

MMC write: dev # 2, block # 66, count 4086 ... MMC: block number 0x1038 exceeds max(0x1000)
0 blocks written: ERROR
Writing 'bootloader' FAILED!&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;Log by uuu&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;FB: ucmd setenv fastboot_dev mmc
FB: ucmd setenv mmcdev ${emmc_dev}
FB: ucmd mmc dev ${emmc_dev}
FB: flash bootloader flash.bin
FB: ucmd if env exists emmc_ack; then ; else setenv emmc_ack 0; fi;
FB: ucmd mmc partconf ${emmc_dev} ${emmc_ack} 1 0
FB: Done


Wait for Known USB Device Appear...
New USB Device Attached at 1:2
1:2&amp;gt;Start Cmd:SDP: boot -f flash.bin
100%1:2&amp;gt;Okay (0.452s)
New USB Device Attached at 1:2
1:2&amp;gt;Start Cmd:SDPV: delay 1000
1:2&amp;gt;Okay (1.013s)
1:2&amp;gt;Start Cmd:SDPV: write -f flash.bin -skipspl
100%1:2&amp;gt;Okay (2.913s)
1:2&amp;gt;Start Cmd:SDPV: jump
100%1:2&amp;gt;Okay (0.244s)
New USB Device Attached at 1:2
1:2&amp;gt;Start Cmd:FB: ucmd setenv fastboot_dev mmc
1:2&amp;gt;Okay (0.016s)
1:2&amp;gt;Start Cmd:FB: ucmd setenv mmcdev ${emmc_dev}
1:2&amp;gt;Okay (0.049s)
1:2&amp;gt;Start Cmd:FB: ucmd mmc dev ${emmc_dev}
1:2&amp;gt;Okay (0.054s)
1:2&amp;gt;Start Cmd:FB: flash bootloader flash.bin
0x40000000Write partition failed1:2&amp;gt;Fail Write partition failed(0.13s)&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 14 Jul 2023 16:24:59 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Writing-bootloader-failed/m-p/1688634#M209341</guid>
      <dc:creator>AlekseyM</dc:creator>
      <dc:date>2023-07-14T16:24:59Z</dc:date>
    </item>
    <item>
      <title>Re: Writing bootloader failed</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Writing-bootloader-failed/m-p/1688667#M209343</link>
      <description>&lt;P&gt;Hi &lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/211092"&gt;@AlekseyM&lt;/a&gt;!&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thank you for contacting NXP Support!&lt;/P&gt;
&lt;P&gt;What command are you using under uuu?&lt;/P&gt;
&lt;P&gt;If you want to download the bootloader to iMX8, you have to put the board in download mode and then use the next command:&lt;/P&gt;
&lt;P&gt;./uuu.exe -b &amp;lt;boot_type&amp;gt; flash.bin&lt;/P&gt;
&lt;P&gt;boot_type could be:&lt;/P&gt;
&lt;P&gt;emmc&lt;/P&gt;
&lt;P&gt;sd&lt;/P&gt;
&lt;P&gt;fspi&lt;/P&gt;
&lt;P&gt;I attached the UUU guide to understand better the commands that you can use for all iMX devices.&lt;/P&gt;
&lt;P&gt;Best Regards!&lt;/P&gt;
&lt;P&gt;Chavira&lt;/P&gt;</description>
      <pubDate>Fri, 14 Jul 2023 17:32:55 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Writing-bootloader-failed/m-p/1688667#M209343</guid>
      <dc:creator>Chavira</dc:creator>
      <dc:date>2023-07-14T17:32:55Z</dc:date>
    </item>
    <item>
      <title>Re: Writing bootloader failed</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Writing-bootloader-failed/m-p/1689207#M209399</link>
      <description>&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;It seems the flash.bin size + boot offset is bigger than the emmc boot partition size 2M&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;MMC write: dev # 2, block # 66, count 4086 ... MMC: block number 0x1038 exceeds max(0x1000)&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 20 Jul 2023 08:56:28 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Writing-bootloader-failed/m-p/1689207#M209399</guid>
      <dc:creator>smithcoba</dc:creator>
      <dc:date>2023-07-20T08:56:28Z</dc:date>
    </item>
    <item>
      <title>Re: Writing bootloader failed</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Writing-bootloader-failed/m-p/1689438#M209421</link>
      <description>&lt;P&gt;Hi &lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/218078"&gt;@smithcoba&lt;/a&gt;,&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/211092"&gt;@AlekseyM&lt;/a&gt;!&lt;/P&gt;
&lt;P&gt;Can you share with me the steps that are you are following to create the flash.bin, and what commands are using under uuu?&lt;/P&gt;</description>
      <pubDate>Thu, 20 Jul 2023 13:06:11 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Writing-bootloader-failed/m-p/1689438#M209421</guid>
      <dc:creator>Chavira</dc:creator>
      <dc:date>2023-07-20T13:06:11Z</dc:date>
    </item>
    <item>
      <title>Re: Writing bootloader failed</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Writing-bootloader-failed/m-p/1689439#M209422</link>
      <description>&lt;P&gt;I use uuu -v -b emmc flash.bin&lt;BR /&gt;also I try use sd-card&lt;BR /&gt;uuu -v -b sd flash.bin&lt;BR /&gt;emmc 32Gbit&lt;BR /&gt;SD-card 8GB&lt;/P&gt;</description>
      <pubDate>Thu, 20 Jul 2023 13:08:53 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Writing-bootloader-failed/m-p/1689439#M209422</guid>
      <dc:creator>AlekseyM</dc:creator>
      <dc:date>2023-07-20T13:08:53Z</dc:date>
    </item>
    <item>
      <title>Re: Writing bootloader failed</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Writing-bootloader-failed/m-p/1689441#M209423</link>
      <description>&lt;P&gt;what are the steps that are you are following to create the flash.bin?&lt;/P&gt;</description>
      <pubDate>Thu, 20 Jul 2023 13:12:59 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Writing-bootloader-failed/m-p/1689441#M209423</guid>
      <dc:creator>Chavira</dc:creator>
      <dc:date>2023-07-20T13:12:59Z</dc:date>
    </item>
    <item>
      <title>Re: Writing bootloader failed</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Writing-bootloader-failed/m-p/1689499#M209425</link>
      <description>&lt;P&gt;1. I make changes in spl.c and dts files for imx8mm-ddr4-evk, and added timing.c from ddr-tool, according to my board.&lt;/P&gt;&lt;P&gt;2.&amp;nbsp;&lt;A href="https://community.nxp.com/t5/i-MX-Processors/build-imx-boot-image-in-Yocto/m-p/1679794/highlight/true#M208454" target="_blank" rel="noopener"&gt;https://community.nxp.com/t5/i-MX-Processors/build-imx-boot-image-in-Yocto/m-p/1679794/highlight/true#M208454&lt;/A&gt;&lt;BR /&gt;I go to this steps, but I use command for imx8mm-ddr4-evk&lt;BR /&gt;here:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;$ cd uboot-imx
$ make clean
$ make imx8mm_ddr4_evk_defconfig
$ make&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;and here:&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;make SOC=iMX8MM flash_ddr4_evk&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 21 Jul 2023 08:54:07 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Writing-bootloader-failed/m-p/1689499#M209425</guid>
      <dc:creator>AlekseyM</dc:creator>
      <dc:date>2023-07-21T08:54:07Z</dc:date>
    </item>
    <item>
      <title>Re: Writing bootloader failed</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Writing-bootloader-failed/m-p/1689526#M209426</link>
      <description>&lt;P&gt;How are you putting the processor in download mode?&lt;/P&gt;
&lt;P&gt;Are you using lpddr4 or ddr4?&lt;/P&gt;
&lt;P&gt;If you are using lpddr4 in your board the problem could be that.&lt;/P&gt;
&lt;P&gt;If you follow the instructions of the post that are you mentioning is for lpddr4 and you are compiling for ddr4.&lt;/P&gt;
&lt;P&gt;In general, I don't see a bad step in all your process but is important to clarify the memory that you are using and compile the correct one.&lt;/P&gt;</description>
      <pubDate>Thu, 20 Jul 2023 15:20:34 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Writing-bootloader-failed/m-p/1689526#M209426</guid>
      <dc:creator>Chavira</dc:creator>
      <dc:date>2023-07-20T15:20:34Z</dc:date>
    </item>
    <item>
      <title>Re: Writing bootloader failed</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Writing-bootloader-failed/m-p/1689596#M209435</link>
      <description>&lt;P&gt;1. I switch the boot mode to sequential boot using the boot0 and boot1 pins.&lt;BR /&gt;2. DDR4.&lt;BR /&gt;3 What needs to be changed in the instructions for creating flash.bin for ddr4? I changed "make defconfig for ddr4" and imx-boot flash_ddr4_evk.&lt;BR /&gt;As far as I can see, the initialization, training, etc. associated with ddr4 or lpddr were successful.&lt;/P&gt;&lt;P&gt;I think the problem is that I didn't change the emmc config in spl, but I don't know where I can change that.&lt;BR /&gt;Also, u-boot after the "mmc dev 2" command shows me the correct emmc info.&lt;/P&gt;</description>
      <pubDate>Thu, 20 Jul 2023 16:34:32 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Writing-bootloader-failed/m-p/1689596#M209435</guid>
      <dc:creator>AlekseyM</dc:creator>
      <dc:date>2023-07-20T16:34:32Z</dc:date>
    </item>
    <item>
      <title>Re: Writing bootloader failed</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Writing-bootloader-failed/m-p/1689730#M209443</link>
      <description>&lt;P&gt;Hi &lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/211092"&gt;@AlekseyM&lt;/a&gt; !&lt;/P&gt;
&lt;P&gt;For your custom board, you have to create our custom DDR training based on your custom board.&lt;/P&gt;
&lt;P&gt;Please follow the attached guide to update the ddr training and ddr timing on your board.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://community.nxp.com/t5/i-MX-Processors-Knowledge-Base/i-MX-8M-Family-DDR-Tool-Release/ta-p/1104467" target="_blank"&gt;https://community.nxp.com/t5/i-MX-Processors-Knowledge-Base/i-MX-8M-Family-DDR-Tool-Release/ta-p/1104467&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 20 Jul 2023 20:05:33 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Writing-bootloader-failed/m-p/1689730#M209443</guid>
      <dc:creator>Chavira</dc:creator>
      <dc:date>2023-07-20T20:05:33Z</dc:date>
    </item>
    <item>
      <title>Re: Writing bootloader failed</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Writing-bootloader-failed/m-p/1690262#M209488</link>
      <description>&lt;P&gt;Yes, of course, I created timing.c from DDR-tool. Without this my ddr4 not initiate.&lt;/P&gt;</description>
      <pubDate>Fri, 21 Jul 2023 08:51:26 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Writing-bootloader-failed/m-p/1690262#M209488</guid>
      <dc:creator>AlekseyM</dc:creator>
      <dc:date>2023-07-21T08:51:26Z</dc:date>
    </item>
    <item>
      <title>Re: Writing bootloader failed</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Writing-bootloader-failed/m-p/1690374#M209499</link>
      <description>&lt;P&gt;Here is your log.&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Detect USB boot. Will enter fastboot mode!&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;Starting download of 2091712 bytes&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;...............&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;downloading of 2091712 bytes finished&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;STRONG&gt;MMC write: dev # 2, block # 66, count 4086 ... MMC: block number 0x1038 exceeds max(0x1000)&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;The space you must have on boot1:&amp;nbsp;&lt;/P&gt;&lt;P&gt;66 x 512 +&amp;nbsp; 2091712&amp;nbsp; = 2,125,504&lt;/P&gt;&lt;P&gt;The space on the emmc boot1:&lt;/P&gt;&lt;P&gt;4096 x 512 =&amp;nbsp;2,097,152&lt;/P&gt;&lt;P&gt;2,097,152 -&amp;nbsp; 2,125,504&amp;nbsp; =&amp;nbsp;&amp;nbsp;&lt;FONT face="arial black,avant garde" size="6" color="#FF0000"&gt;&lt;STRONG&gt;-&lt;/STRONG&gt;&lt;/FONT&gt;28,352&lt;/P&gt;&lt;P&gt;The emmc is 32G, it is user partition. not boot partition.&amp;nbsp;&lt;/P&gt;&lt;P&gt;The log shows the boot partition is 2M big. That I have told you before.&lt;/P&gt;&lt;P&gt;If you use scard, the flash.bin can flash into it.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Usually, the NXP binary demo image flash.bin is bigger than 2M.&lt;/P&gt;&lt;P&gt;If you want use the emmc currently on your board, you must change the uboot configuration to make it smaller.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="image.png" style="width: 999px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/232990i1F1D071BBB8C3B5B/image-size/large?v=v2&amp;amp;px=999" role="button" title="image.png" alt="image.png" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 21 Jul 2023 11:02:07 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Writing-bootloader-failed/m-p/1690374#M209499</guid>
      <dc:creator>smithcoba</dc:creator>
      <dc:date>2023-07-21T11:02:07Z</dc:date>
    </item>
    <item>
      <title>Re: Writing bootloader failed</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Writing-bootloader-failed/m-p/1690378#M209500</link>
      <description>&lt;P&gt;.&lt;/P&gt;</description>
      <pubDate>Mon, 24 Jul 2023 15:28:45 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Writing-bootloader-failed/m-p/1690378#M209500</guid>
      <dc:creator>smithcoba</dc:creator>
      <dc:date>2023-07-24T15:28:45Z</dc:date>
    </item>
    <item>
      <title>Re: Writing bootloader failed</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Writing-bootloader-failed/m-p/1690382#M209501</link>
      <description>&lt;P&gt;If the memory(ddr4/lpddr4) type is wrong.&lt;/P&gt;&lt;P&gt;It could flash or not? The flash.bin could run correctly or not?&lt;/P&gt;&lt;P&gt;NXP&amp;nbsp; "expert" answer my question!!!&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 21 Jul 2023 11:07:26 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Writing-bootloader-failed/m-p/1690382#M209501</guid>
      <dc:creator>smithcoba</dc:creator>
      <dc:date>2023-07-21T11:07:26Z</dc:date>
    </item>
    <item>
      <title>Re: Writing bootloader failed</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Writing-bootloader-failed/m-p/1690456#M209506</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/218078"&gt;@smithcoba&lt;/a&gt;&amp;nbsp; !&lt;/P&gt;
&lt;P&gt;You should not boot or flash the firmware.&lt;/P&gt;
&lt;P&gt;The defconfig that are you compiling is for our evk board and has different hardware than your board.&lt;/P&gt;
&lt;P&gt;That is the reason that you have to adjust the DDR timings according to your board.&lt;/P&gt;
&lt;P&gt;The guide that I attached previously is very helpful and shows how to do all the processes, after that should flash the firmware to your board and boot your board correctly.&lt;/P&gt;
&lt;P&gt;Best Regards!&lt;/P&gt;
&lt;P&gt;Chavira&lt;/P&gt;</description>
      <pubDate>Fri, 21 Jul 2023 13:18:48 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Writing-bootloader-failed/m-p/1690456#M209506</guid>
      <dc:creator>Chavira</dc:creator>
      <dc:date>2023-07-21T13:18:48Z</dc:date>
    </item>
    <item>
      <title>Re: Writing bootloader failed</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Writing-bootloader-failed/m-p/1690471#M209508</link>
      <description>&lt;P&gt;HI &lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/218078"&gt;@smithcoba&lt;/a&gt;!&lt;/P&gt;
&lt;P&gt;The problem is not the size of the image, as I mention before the problem is the DDR initialization.&lt;BR /&gt;Those binaries were created for our evk you have to create your custom fhash.bin according to the manual that I attached previously.&lt;/P&gt;
&lt;P&gt;After that, you should flash your board and boot your board.&lt;/P&gt;
&lt;P&gt;Best Regards!&lt;/P&gt;
&lt;P&gt;Chavira&lt;/P&gt;</description>
      <pubDate>Fri, 21 Jul 2023 13:39:34 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Writing-bootloader-failed/m-p/1690471#M209508</guid>
      <dc:creator>Chavira</dc:creator>
      <dc:date>2023-07-21T13:39:34Z</dc:date>
    </item>
    <item>
      <title>Re: Writing bootloader failed</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Writing-bootloader-failed/m-p/1690472#M209509</link>
      <description>&lt;P&gt;&lt;SPAN&gt;I think that part of the log should be shown that DDR4 works fine&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;U-Boot SPL 2022.04-dirty (Jul 13 2023 - 14:12:30 +0000)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I2C init go&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I2C init done&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Power init go&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;PMIC power init&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;setup for DDR4&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;PMIC init finished successfully&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Power init done&lt;/SPAN&gt;&lt;BR /&gt;&lt;STRONG&gt;&lt;FONT face="arial,helvetica,sans-serif"&gt;DRAM init continuing..&lt;/FONT&gt;&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;&lt;FONT face="arial,helvetica,sans-serif"&gt;DDRINFO: start DRAM init&lt;/FONT&gt;&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;&lt;FONT face="arial,helvetica,sans-serif"&gt;DDRINFO: DRAM rate 2400MTS&lt;/FONT&gt;&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;&lt;FONT face="arial,helvetica,sans-serif"&gt;DDRINFO:ddrphy calibration done&lt;/FONT&gt;&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;&lt;FONT face="arial,helvetica,sans-serif"&gt;DDRINFO: ddrmix config done&lt;/FONT&gt;&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;&lt;FONT face="arial,helvetica,sans-serif"&gt;DRAM init done&lt;/FONT&gt;&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;SEC0:&amp;nbsp; RNG instantiated&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Normal Boot&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Trying to boot from USB SDP&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;SDP: initialize...&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;SDP: handle requests...&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Downloading file of size 1901104 to 0x40400000... done&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Jumping to header at 0x40400000&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Header Tag is not an IMX image&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Found header at 0x404293a0&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;NOTICE:&amp;nbsp; BL31: v2.6(release):lf-6.1.1-1.0.0-0-g616a4588f&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;NOTICE:&amp;nbsp; BL31: Built : 10:31:38, Mar&amp;nbsp; 1 2023&lt;/SPAN&gt;&lt;SPAN&gt;U-Boot 2022.04-dirty (Jul 13 2023 - 14:12:30 +0000)&lt;/SPAN&gt;&lt;SPAN&gt;CPU:&amp;nbsp;&amp;nbsp; i.MX8MMSL rev1.0 1800 MHz (running at 1200 MHz)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;CPU:&amp;nbsp;&amp;nbsp; Commercial temperature grade (0C to 95C) at 45C&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Reset cause: POR&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Model: NXP i.MX8MM DDR4 DMC with CYW43455 WIFI/BT board&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;DRAM:&amp;nbsp; 2 GiB&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;tcpc_init: Can't find device id=0x52&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;setup_typec: tcpc port2 init failed, err=-19&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;tcpc_init: Can't find device id=0x50&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;setup_typec: tcpc port1 init failed, err=-19&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Core:&amp;nbsp; 161 devices, 25 uclasses, devicetree: separate&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;NAND:&amp;nbsp; 0 MiB&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;MMC:&amp;nbsp;&amp;nbsp; FSL_SDHC: 1, FSL_SDHC: 2&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 21 Jul 2023 13:49:12 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Writing-bootloader-failed/m-p/1690472#M209509</guid>
      <dc:creator>AlekseyM</dc:creator>
      <dc:date>2023-07-21T13:49:12Z</dc:date>
    </item>
    <item>
      <title>Re: Writing bootloader failed</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Writing-bootloader-failed/m-p/1690473#M209510</link>
      <description>&lt;P&gt;Thanks for your help!&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 21 Jul 2023 13:51:11 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Writing-bootloader-failed/m-p/1690473#M209510</guid>
      <dc:creator>AlekseyM</dc:creator>
      <dc:date>2023-07-21T13:51:11Z</dc:date>
    </item>
    <item>
      <title>Re: Writing bootloader failed</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Writing-bootloader-failed/m-p/1690496#M209515</link>
      <description>&lt;P&gt;Sorry, could you tip me, where I can change boot partition on emmc? in defconfig or another place?&lt;/P&gt;</description>
      <pubDate>Fri, 21 Jul 2023 14:36:29 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Writing-bootloader-failed/m-p/1690496#M209515</guid>
      <dc:creator>AlekseyM</dc:creator>
      <dc:date>2023-07-21T14:36:29Z</dc:date>
    </item>
    <item>
      <title>Re: Writing bootloader failed</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Writing-bootloader-failed/m-p/1690660#M209521</link>
      <description>&lt;P&gt;I have the same question.&lt;/P&gt;&lt;P&gt;If the memory type(ddr4/lpddr4) is wrong. It doesn't match the hardware.&amp;nbsp;&lt;/P&gt;&lt;P&gt;The flash.bin can run correctly and run till uboot stage? it stops at ddr training stage or not?&amp;nbsp;&lt;/P&gt;&lt;P&gt;From&amp;nbsp;AlekseyM's log, it runs to u-boot stage. Even starts to flash image.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Here is the log.&lt;/P&gt;&lt;P&gt;Detect USB boot. Will enter fastboot mode!&lt;BR /&gt;Starting download of 2091712 bytes&lt;BR /&gt;...............&lt;BR /&gt;downloading of 2091712 bytes finished&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;MMC write: dev # 2, block # 66, count 4086 ... MMC: block number 0x1038 exceeds max(0x1000)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;MMC write: dev # 2, block # 66, count 4086 ... MMC: block number 0x1038 exceeds max(0x1000)&lt;BR /&gt;0 blocks written: ERROR&lt;BR /&gt;Writing 'bootloader' FAILED&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 25 Jul 2023 02:34:32 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Writing-bootloader-failed/m-p/1690660#M209521</guid>
      <dc:creator>rudi_cyber</dc:creator>
      <dc:date>2023-07-25T02:34:32Z</dc:date>
    </item>
  </channel>
</rss>

