<?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中的主题 Boot loader fails  to load Using SD-Card</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/Boot-loader-fails-to-load-Using-SD-Card/m-p/703800#M109341</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have an issue getting the boot loader to work on a custom board. - OS: Linux - Ubuntu 16&lt;/P&gt;&lt;P&gt;Processor: MCIMX6U5DVM10AC : Processor Series: &amp;nbsp;i.MX 6DualLite.- 32bit. &amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm using yocto to build the image. &amp;nbsp;For the build we did not make any changes to the source code or linux/menuconfig, I've used &amp;nbsp;the following configuration DISTRO-&lt;/P&gt;&lt;P&gt;# 'DISTRO=fsl-imx-x11 MACHINE=imx6dlsabresd source fsl-setup-release.sh -b build'. &amp;nbsp;&lt;/P&gt;&lt;P&gt;// For the build command - base image # bitbake core-image-base&lt;/P&gt;&lt;P&gt;The command to copy the image to SDCard:&lt;/P&gt;&lt;P&gt;I have deleted the SDCard completely. &amp;nbsp;Disk programs shows 32G Unallocated prior to image copy.&lt;/P&gt;&lt;P&gt;# sudo dd if=core-image-base-imx6dlsabresd--xxx.rootfs.sdcard of=/dev/sdc bs=1MB conv=fsync&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For testing the SDCard, I connected a USB to serial cable from host PC to board. &amp;nbsp; I used putty program&lt;/P&gt;&lt;P&gt;to check the console output. &amp;nbsp;After reset/reboot of the board nothing came out. I tried other variation during boot&lt;/P&gt;&lt;P&gt;.. such as hitting the keyboard space bar, other keys...but no output displayed on the putty terminal console.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Questions:&lt;/P&gt;&lt;P&gt;1) Do you recommend making changes to the source code (ei: SDRam Addr, CONFIG_LOADADDR.., or project build local.conf...) in order to get the boot loader to work properly?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2) Is it possible to just copy the boot loader and verify if it's working.? Is it possible to download a matching imx6- uboot-imx boot loader and test it .?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;3) Do you recommend a proper way to format the SD Card - Is this issue might be related to the way the SD Card is initially formatted...? &amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;4) &amp;nbsp;Could the issue be related to the way the "dd" single image operation is not creating the proper partition correctly:&lt;/P&gt;&lt;P&gt;I did a hexdump from the begining sector of the SD Card #&amp;nbsp;sudo dd if=/dev/sdc of=/tmp/sdcard.img count=10&amp;nbsp;&lt;/P&gt;&lt;P&gt;I can see the boot loader - listed at 0x400 .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;0000000 b8fa 1000 d08e 00bc b8b0 0000 d88e c08e &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;lt;=== Section A&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;BR /&gt;0000010 befb 7c00 00bf b906 0200 a4f3 21ea 0006&lt;BR /&gt;0000020 be00 07be 0438 0b75 c683 8110 fefe 7507&lt;BR /&gt;0000030 ebf3 b416 b002 bb01 7c00 80b2 748a 8b01&lt;BR /&gt;0000040 024c 13cd 00ea 007c eb00 00fe 0000 0000&lt;BR /&gt;0000050 0000 0000 0000 0000 0000 0000 0000 0000&lt;BR /&gt;*&lt;BR /&gt;00001b0 0000 0000 0000 0000 1cbd 492d 0000 0000 &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;SPAN&gt;&amp;lt;===&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN&gt;Section B&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;/SPAN&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;BR /&gt;00001c0 4001 030c bf20 2000 0000 4000 0000 0000&lt;BR /&gt;00001d0 c001 0383 ffe0 6000 0000 0000 0003 0000&lt;BR /&gt;00001e0 0000 0000 0000 0000 0000 0000 0000 0000&lt;BR /&gt;00001f0 0000 0000 0000 0000 0000 0000 0000 aa55&lt;BR /&gt;0000200 0000 0000 0000 0000 0000 0000 0000 0000&lt;BR /&gt;*&lt;BR /&gt;0000400 00d1 4020 0000 1780 0000 0000 f42c 177 &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;======== &amp;nbsp;boot loader image at address 0x400&lt;BR /&gt;0000410 f420 177f f400 177f 0000 0000 0000 0000&lt;BR /&gt;0000420 f000 177f 5000 0007 0000 0000 02d2 40f0&lt;BR /&gt;0000430 02cc 04ec 0e02 7407 0c00 0000 0e02 5407&lt;BR /&gt;0000440 0000 0000 0e02 ac04 0000 3000 0e02 b004&lt;BR /&gt;0000450 0000 3000 0e02 6404 0000 3000 0e02 9004&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 14 Sep 2017 18:36:36 GMT</pubDate>
    <dc:creator>hsksar22</dc:creator>
    <dc:date>2017-09-14T18:36:36Z</dc:date>
    <item>
      <title>Boot loader fails  to load Using SD-Card</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Boot-loader-fails-to-load-Using-SD-Card/m-p/703800#M109341</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have an issue getting the boot loader to work on a custom board. - OS: Linux - Ubuntu 16&lt;/P&gt;&lt;P&gt;Processor: MCIMX6U5DVM10AC : Processor Series: &amp;nbsp;i.MX 6DualLite.- 32bit. &amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm using yocto to build the image. &amp;nbsp;For the build we did not make any changes to the source code or linux/menuconfig, I've used &amp;nbsp;the following configuration DISTRO-&lt;/P&gt;&lt;P&gt;# 'DISTRO=fsl-imx-x11 MACHINE=imx6dlsabresd source fsl-setup-release.sh -b build'. &amp;nbsp;&lt;/P&gt;&lt;P&gt;// For the build command - base image # bitbake core-image-base&lt;/P&gt;&lt;P&gt;The command to copy the image to SDCard:&lt;/P&gt;&lt;P&gt;I have deleted the SDCard completely. &amp;nbsp;Disk programs shows 32G Unallocated prior to image copy.&lt;/P&gt;&lt;P&gt;# sudo dd if=core-image-base-imx6dlsabresd--xxx.rootfs.sdcard of=/dev/sdc bs=1MB conv=fsync&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For testing the SDCard, I connected a USB to serial cable from host PC to board. &amp;nbsp; I used putty program&lt;/P&gt;&lt;P&gt;to check the console output. &amp;nbsp;After reset/reboot of the board nothing came out. I tried other variation during boot&lt;/P&gt;&lt;P&gt;.. such as hitting the keyboard space bar, other keys...but no output displayed on the putty terminal console.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Questions:&lt;/P&gt;&lt;P&gt;1) Do you recommend making changes to the source code (ei: SDRam Addr, CONFIG_LOADADDR.., or project build local.conf...) in order to get the boot loader to work properly?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2) Is it possible to just copy the boot loader and verify if it's working.? Is it possible to download a matching imx6- uboot-imx boot loader and test it .?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;3) Do you recommend a proper way to format the SD Card - Is this issue might be related to the way the SD Card is initially formatted...? &amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;4) &amp;nbsp;Could the issue be related to the way the "dd" single image operation is not creating the proper partition correctly:&lt;/P&gt;&lt;P&gt;I did a hexdump from the begining sector of the SD Card #&amp;nbsp;sudo dd if=/dev/sdc of=/tmp/sdcard.img count=10&amp;nbsp;&lt;/P&gt;&lt;P&gt;I can see the boot loader - listed at 0x400 .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;0000000 b8fa 1000 d08e 00bc b8b0 0000 d88e c08e &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;lt;=== Section A&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;BR /&gt;0000010 befb 7c00 00bf b906 0200 a4f3 21ea 0006&lt;BR /&gt;0000020 be00 07be 0438 0b75 c683 8110 fefe 7507&lt;BR /&gt;0000030 ebf3 b416 b002 bb01 7c00 80b2 748a 8b01&lt;BR /&gt;0000040 024c 13cd 00ea 007c eb00 00fe 0000 0000&lt;BR /&gt;0000050 0000 0000 0000 0000 0000 0000 0000 0000&lt;BR /&gt;*&lt;BR /&gt;00001b0 0000 0000 0000 0000 1cbd 492d 0000 0000 &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;SPAN&gt;&amp;lt;===&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN&gt;Section B&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;/SPAN&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;BR /&gt;00001c0 4001 030c bf20 2000 0000 4000 0000 0000&lt;BR /&gt;00001d0 c001 0383 ffe0 6000 0000 0000 0003 0000&lt;BR /&gt;00001e0 0000 0000 0000 0000 0000 0000 0000 0000&lt;BR /&gt;00001f0 0000 0000 0000 0000 0000 0000 0000 aa55&lt;BR /&gt;0000200 0000 0000 0000 0000 0000 0000 0000 0000&lt;BR /&gt;*&lt;BR /&gt;0000400 00d1 4020 0000 1780 0000 0000 f42c 177 &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;======== &amp;nbsp;boot loader image at address 0x400&lt;BR /&gt;0000410 f420 177f f400 177f 0000 0000 0000 0000&lt;BR /&gt;0000420 f000 177f 5000 0007 0000 0000 02d2 40f0&lt;BR /&gt;0000430 02cc 04ec 0e02 7407 0c00 0000 0e02 5407&lt;BR /&gt;0000440 0000 0000 0e02 ac04 0000 3000 0e02 b004&lt;BR /&gt;0000450 0000 3000 0e02 6404 0000 3000 0e02 9004&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 14 Sep 2017 18:36:36 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Boot-loader-fails-to-load-Using-SD-Card/m-p/703800#M109341</guid>
      <dc:creator>hsksar22</dc:creator>
      <dc:date>2017-09-14T18:36:36Z</dc:date>
    </item>
  </channel>
</rss>

