<?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 IMX6UL can't boot from NAND flash in i.MX Processors</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/IMX6UL-can-t-boot-from-NAND-flash/m-p/1159141#M162530</link>
    <description>&lt;P&gt;Hi all,&lt;/P&gt;&lt;P&gt;I have a IMX6UL custom board with NAND flash,and bsp version is YOCTO L4.14.98.&lt;/P&gt;&lt;P&gt;I can burn bsp into flash with uuu tool,and the board can boot to linux user space from serial download mode.&lt;/P&gt;&lt;P&gt;But it can't boot from NAND flash.&lt;/P&gt;&lt;P&gt;After the board power up, I checked address 0x907400,which IVT header should showed there:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="kr90911_0-1601014645191.png" style="width: 326px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/126165iED58F1758FBEF302/image-dimensions/326x223?v=v2" width="326" height="223" role="button" title="kr90911_0-1601014645191.png" alt="kr90911_0-1601014645191.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;It seems that ROM can't fail to get IVT.&lt;/P&gt;&lt;P&gt;I also checked ROM log in 0x901D14:&lt;/P&gt;&lt;BLOCKQUOTE&gt;00010002 ROM_LOG_BOOTMODE_INTERNAL&lt;BR /&gt;000200F0 ROM_LOG_SEC_CONFIG_OPEN&lt;BR /&gt;00030000 ROM_LOG_DIR_BT_DIS_VALUE0&lt;BR /&gt;00040000 ROM_LOG_BT_FUSE_SEL_VALUE0&lt;BR /&gt;00050000 ROM_LOG_PRIM_IMAGE_SELECT&lt;BR /&gt;00060000 ROM_LOG_PRIM_BOOTDEVICE_NAND&lt;BR /&gt;00070000 ROM_LOG_DEVICE_INIT_CALL&lt;BR /&gt;00070033 ROM_LOG_DEVICE_INIT_FAIL&lt;BR /&gt;00050001 ROM_LOG_SEC_IMAGE_SELECT&lt;BR /&gt;00060000 ROM_LOG_PRIM_BOOTDEVICE_NAND&lt;BR /&gt;00070000 ROM_LOG_DEVICE_INIT_CALL&lt;BR /&gt;00070033 ROM_LOG_DEVICE_INIT_FAIL&lt;BR /&gt;00061FFF ROM_LOG_REC_BOOTDEVICE_NONE&lt;BR /&gt;00062001&lt;BR /&gt;00070000 ROM_LOG_DEVICE_INIT_CALL&lt;BR /&gt;00070033 ROM_LOG_DEVICE_INIT_FAIL&lt;/BLOCKQUOTE&gt;&lt;P&gt;It show boot process fail in initialize.&lt;/P&gt;&lt;P&gt;I don't know the process fail in which stage.&lt;/P&gt;&lt;P&gt;According to &lt;U&gt;IMX6ULRM,&lt;/U&gt;the first boot stage is to check FCB structure,and the FCB looked fine:&lt;/P&gt;&lt;BLOCKQUOTE&gt;0x00000000: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00&lt;BR /&gt;0x00000010: 00 00 00 00 00 00 64 fb&amp;nbsp; &amp;nbsp;ff&amp;nbsp; &amp;nbsp;ff&amp;nbsp; 46 43 42 20 00 00&lt;BR /&gt;0x00000020: 00 01 50 3c 19 06 00 00 00 00 00 08 00 00 40 08&lt;BR /&gt;0x00000030: 00 00 40 00 00 00 00 00 00 00 00 00 00 00 00 00&lt;BR /&gt;0x00000040: 00 00 04 00 00 00 00 02 00 00 00 02 00 00 04 00&lt;BR /&gt;0x00000050: 00 00 0a 00 00 00 03 00 00 00 00 00 00 00 00 00&lt;BR /&gt;0x00000060: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00&lt;BR /&gt;0x00000070: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 02&lt;BR /&gt;0x00000080: 00 00 00 04 00 00 ba 01 00 00 ba 01 00 00 00 01&lt;BR /&gt;0x00000090: 00 00 cf 07 00 00 a9 c1 8f bf 58 77 57 81 8e 60&lt;BR /&gt;0x000000a0: 8b 49 b8 bd 7b e4 a2 80 86 0e 93 81 1d 80 77 96&lt;BR /&gt;0x000000b0: c5 5f bd e9 2f 01 ca eb 92 ad 82 79 30 18 f6 da&lt;BR /&gt;0x000000c0: 0b 6d fc c5 37 c1 b7 26 f9 96 23 ee 09 22 e8 03&lt;BR /&gt;0x000000d0: d2 c3 a3 fb 0a 85 73 00 00 00 00 00 08 00 00 00&lt;BR /&gt;0x000000e0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00&lt;BR /&gt;0x000000f0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00&lt;BR /&gt;0x00000100: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00&lt;BR /&gt;0x00000110: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00&lt;BR /&gt;0x00000120: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00&lt;BR /&gt;0x00000130: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00&lt;BR /&gt;0x00000140: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00&lt;BR /&gt;0x00000150: 00 00 00 00 00 00 00 6b c2 6a f0 45 9a b9 1a bd&lt;BR /&gt;0x00000160: d9 5d 54 c2 01 5e 56 eb 4d c8 8e e5 1a ca df e2&lt;BR /&gt;0x00000170: 99 32 79 b1 28 48 f9 c3 c1 2b 9c a7 c1 aa 25 ff&lt;BR /&gt;0x00000180: 5b af e4 e0 b3 1d aa 22 35 91 50 6c 8c c8 91 7a&lt;BR /&gt;0x00000190: 41 53 d6 fb 73 af 2a 96 00 00 00 00 00 00 00 00&lt;/BLOCKQUOTE&gt;&lt;P&gt;Did FCB looked well?&lt;/P&gt;&lt;P&gt;Could anyone share about how to deal with it?&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;P&gt;West&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Fri, 25 Sep 2020 07:11:18 GMT</pubDate>
    <dc:creator>kr90911</dc:creator>
    <dc:date>2020-09-25T07:11:18Z</dc:date>
    <item>
      <title>IMX6UL can't boot from NAND flash</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/IMX6UL-can-t-boot-from-NAND-flash/m-p/1159141#M162530</link>
      <description>&lt;P&gt;Hi all,&lt;/P&gt;&lt;P&gt;I have a IMX6UL custom board with NAND flash,and bsp version is YOCTO L4.14.98.&lt;/P&gt;&lt;P&gt;I can burn bsp into flash with uuu tool,and the board can boot to linux user space from serial download mode.&lt;/P&gt;&lt;P&gt;But it can't boot from NAND flash.&lt;/P&gt;&lt;P&gt;After the board power up, I checked address 0x907400,which IVT header should showed there:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="kr90911_0-1601014645191.png" style="width: 326px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/126165iED58F1758FBEF302/image-dimensions/326x223?v=v2" width="326" height="223" role="button" title="kr90911_0-1601014645191.png" alt="kr90911_0-1601014645191.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;It seems that ROM can't fail to get IVT.&lt;/P&gt;&lt;P&gt;I also checked ROM log in 0x901D14:&lt;/P&gt;&lt;BLOCKQUOTE&gt;00010002 ROM_LOG_BOOTMODE_INTERNAL&lt;BR /&gt;000200F0 ROM_LOG_SEC_CONFIG_OPEN&lt;BR /&gt;00030000 ROM_LOG_DIR_BT_DIS_VALUE0&lt;BR /&gt;00040000 ROM_LOG_BT_FUSE_SEL_VALUE0&lt;BR /&gt;00050000 ROM_LOG_PRIM_IMAGE_SELECT&lt;BR /&gt;00060000 ROM_LOG_PRIM_BOOTDEVICE_NAND&lt;BR /&gt;00070000 ROM_LOG_DEVICE_INIT_CALL&lt;BR /&gt;00070033 ROM_LOG_DEVICE_INIT_FAIL&lt;BR /&gt;00050001 ROM_LOG_SEC_IMAGE_SELECT&lt;BR /&gt;00060000 ROM_LOG_PRIM_BOOTDEVICE_NAND&lt;BR /&gt;00070000 ROM_LOG_DEVICE_INIT_CALL&lt;BR /&gt;00070033 ROM_LOG_DEVICE_INIT_FAIL&lt;BR /&gt;00061FFF ROM_LOG_REC_BOOTDEVICE_NONE&lt;BR /&gt;00062001&lt;BR /&gt;00070000 ROM_LOG_DEVICE_INIT_CALL&lt;BR /&gt;00070033 ROM_LOG_DEVICE_INIT_FAIL&lt;/BLOCKQUOTE&gt;&lt;P&gt;It show boot process fail in initialize.&lt;/P&gt;&lt;P&gt;I don't know the process fail in which stage.&lt;/P&gt;&lt;P&gt;According to &lt;U&gt;IMX6ULRM,&lt;/U&gt;the first boot stage is to check FCB structure,and the FCB looked fine:&lt;/P&gt;&lt;BLOCKQUOTE&gt;0x00000000: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00&lt;BR /&gt;0x00000010: 00 00 00 00 00 00 64 fb&amp;nbsp; &amp;nbsp;ff&amp;nbsp; &amp;nbsp;ff&amp;nbsp; 46 43 42 20 00 00&lt;BR /&gt;0x00000020: 00 01 50 3c 19 06 00 00 00 00 00 08 00 00 40 08&lt;BR /&gt;0x00000030: 00 00 40 00 00 00 00 00 00 00 00 00 00 00 00 00&lt;BR /&gt;0x00000040: 00 00 04 00 00 00 00 02 00 00 00 02 00 00 04 00&lt;BR /&gt;0x00000050: 00 00 0a 00 00 00 03 00 00 00 00 00 00 00 00 00&lt;BR /&gt;0x00000060: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00&lt;BR /&gt;0x00000070: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 02&lt;BR /&gt;0x00000080: 00 00 00 04 00 00 ba 01 00 00 ba 01 00 00 00 01&lt;BR /&gt;0x00000090: 00 00 cf 07 00 00 a9 c1 8f bf 58 77 57 81 8e 60&lt;BR /&gt;0x000000a0: 8b 49 b8 bd 7b e4 a2 80 86 0e 93 81 1d 80 77 96&lt;BR /&gt;0x000000b0: c5 5f bd e9 2f 01 ca eb 92 ad 82 79 30 18 f6 da&lt;BR /&gt;0x000000c0: 0b 6d fc c5 37 c1 b7 26 f9 96 23 ee 09 22 e8 03&lt;BR /&gt;0x000000d0: d2 c3 a3 fb 0a 85 73 00 00 00 00 00 08 00 00 00&lt;BR /&gt;0x000000e0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00&lt;BR /&gt;0x000000f0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00&lt;BR /&gt;0x00000100: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00&lt;BR /&gt;0x00000110: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00&lt;BR /&gt;0x00000120: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00&lt;BR /&gt;0x00000130: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00&lt;BR /&gt;0x00000140: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00&lt;BR /&gt;0x00000150: 00 00 00 00 00 00 00 6b c2 6a f0 45 9a b9 1a bd&lt;BR /&gt;0x00000160: d9 5d 54 c2 01 5e 56 eb 4d c8 8e e5 1a ca df e2&lt;BR /&gt;0x00000170: 99 32 79 b1 28 48 f9 c3 c1 2b 9c a7 c1 aa 25 ff&lt;BR /&gt;0x00000180: 5b af e4 e0 b3 1d aa 22 35 91 50 6c 8c c8 91 7a&lt;BR /&gt;0x00000190: 41 53 d6 fb 73 af 2a 96 00 00 00 00 00 00 00 00&lt;/BLOCKQUOTE&gt;&lt;P&gt;Did FCB looked well?&lt;/P&gt;&lt;P&gt;Could anyone share about how to deal with it?&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;P&gt;West&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 25 Sep 2020 07:11:18 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/IMX6UL-can-t-boot-from-NAND-flash/m-p/1159141#M162530</guid>
      <dc:creator>kr90911</dc:creator>
      <dc:date>2020-09-25T07:11:18Z</dc:date>
    </item>
    <item>
      <title>Re: IMX6UL can't boot from NAND flash</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/IMX6UL-can-t-boot-from-NAND-flash/m-p/1159279#M162542</link>
      <description>&lt;P&gt;Hi kr90911&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;one can start debugging with checking signals with oscilloscope,&lt;/P&gt;
&lt;P&gt;prolonging POR up to 1 sec. Attach jtag debugger, check&lt;/P&gt;
&lt;P&gt;SRC_SBMR1,2 registers if they have correct boot configuration.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Best regards&lt;BR /&gt;igor&lt;/P&gt;</description>
      <pubDate>Fri, 25 Sep 2020 10:27:59 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/IMX6UL-can-t-boot-from-NAND-flash/m-p/1159279#M162542</guid>
      <dc:creator>igorpadykov</dc:creator>
      <dc:date>2020-09-25T10:27:59Z</dc:date>
    </item>
    <item>
      <title>Re: IMX6UL can't boot from NAND flash</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/IMX6UL-can-t-boot-from-NAND-flash/m-p/1159823#M162601</link>
      <description>&lt;P&gt;Hi &lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/37066"&gt;@igorpadykov&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;Thanks for your replied.&lt;/P&gt;&lt;P&gt;I checked&amp;nbsp;SRC_SBMR &lt;SPAN&gt;registers&amp;nbsp;&lt;/SPAN&gt;with DDR test tool and values showed below:&lt;/P&gt;&lt;BLOCKQUOTE&gt;Boot Configuration&lt;BR /&gt;SRC_SBMR1(0x020d8004) = 0x00000890&lt;BR /&gt;SRC_SBMR2(0x020d801c) = 0x02000041&lt;/BLOCKQUOTE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;IMX6ULRM:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-left" image-alt="SRC_SBMR2.JPG" style="width: 375px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/126281iD38821B4779E565F/image-size/medium?v=v2&amp;amp;px=400" role="button" title="SRC_SBMR2.JPG" alt="SRC_SBMR2.JPG" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The&amp;nbsp;SRC_SBMR2[6] should be 0 but there is 1 on my board.&lt;/P&gt;&lt;P&gt;Did this bit mean something wrong?&lt;/P&gt;</description>
      <pubDate>Tue, 29 Sep 2020 09:44:45 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/IMX6UL-can-t-boot-from-NAND-flash/m-p/1159823#M162601</guid>
      <dc:creator>kr90911</dc:creator>
      <dc:date>2020-09-29T09:44:45Z</dc:date>
    </item>
    <item>
      <title>Re: IMX6UL can't boot from NAND flash</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/IMX6UL-can-t-boot-from-NAND-flash/m-p/1159894#M162610</link>
      <description>&lt;P&gt;Hi Igor,&lt;/P&gt;&lt;P&gt;After set hardware config &lt;U&gt;&lt;EM&gt;BOOT_CFG1[0](Nand_Row_address_bytes)&lt;/EM&gt;&lt;/U&gt; bit from 1 to 0,the ROM log changed:&lt;/P&gt;&lt;BLOCKQUOTE&gt;00010002&lt;BR /&gt;000200F0&lt;BR /&gt;00030000&lt;BR /&gt;00040000&lt;BR /&gt;00050000&lt;BR /&gt;00060000&lt;BR /&gt;00070000 ROM_LOG_DEVICE_INIT_CALL&lt;BR /&gt;000700F0 ROM_LOG_DEVICE_INIT_PASS&lt;BR /&gt;00080000 ROM_LOG_DEVICE_READ_DATA_CALL&lt;BR /&gt;00000100&lt;BR /&gt;00080033 ROM_LOG_DEVICE_READ_DATA_FAIL&lt;BR /&gt;00050001&lt;BR /&gt;00060000&lt;BR /&gt;00070000&lt;BR /&gt;000700F0&lt;BR /&gt;00080000 ROM_LOG_DEVICE_READ_DATA_CALL&lt;BR /&gt;00000380&lt;BR /&gt;000800F0 ROM_LOG_DEVICE_READ_DATA_PASS&lt;BR /&gt;00090000 ROM_LOG_AUTHENTICATION_STATUS&lt;BR /&gt;000A0533&lt;BR /&gt;00061FFF ROM_LOG_REC_BOOTDEVICE_NONE&lt;BR /&gt;00062001&lt;BR /&gt;00070000&lt;BR /&gt;00070033&lt;BR /&gt;000C0000 ROM_LOG_SDP_ENTRY&lt;/BLOCKQUOTE&gt;&lt;P&gt;What does these logs means?&lt;/P&gt;&lt;P&gt;I still can't boot from NAND flash.&lt;/P&gt;&lt;P&gt;BR&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 28 Sep 2020 05:53:10 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/IMX6UL-can-t-boot-from-NAND-flash/m-p/1159894#M162610</guid>
      <dc:creator>kr90911</dc:creator>
      <dc:date>2020-09-28T05:53:10Z</dc:date>
    </item>
  </channel>
</rss>

