<?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: problem booting linux sabre board for smart devices off SD...</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/problem-booting-linux-sabre-board-for-smart-devices-off-SD/m-p/235125#M18511</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Sinan,&lt;/P&gt;&lt;P&gt;Thanks much for the offer; I still need to figure out what route to take here.&amp;nbsp; Seems like a lot of options (LTIB, Yocto, Linaro, Buildroot, custom, ...).&amp;nbsp; The LTIB stuff basically came right up; however, based on what I read Yocto is the way to go.&amp;nbsp; Any thoughts on that?&lt;/P&gt;&lt;P&gt;Ed&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 20 Sep 2013 19:43:55 GMT</pubDate>
    <dc:creator>EdSutter</dc:creator>
    <dc:date>2013-09-20T19:43:55Z</dc:date>
    <item>
      <title>problem booting linux sabre board for smart devices off SD...</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/problem-booting-linux-sabre-board-for-smart-devices-off-SD/m-p/235106#M18492</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I've walked through building with LTIB using L3.0.35_4.1.0_130816 source and images.&lt;/P&gt;&lt;P&gt;I installed everything to SD card as per instructions in SABRE-SD users' guide.&lt;/P&gt;&lt;P&gt;At powerup uboot runs as expected, it pulls the kernel of the SD card and then the &lt;/P&gt;&lt;P&gt;kernel attempts to access the file system and things fail...&lt;/P&gt;&lt;P&gt;....&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;EXT3-fs: barriers not enabled&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;kjournald starting.&amp;nbsp; Commit interval 5 seconds&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;EXT3-fs (mmcblk1p1): using internal journal&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;EXT3-fs (mmcblk1p1): recovery complete&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;EXT3-fs (mmcblk1p1): mounted filesystem with writeback data mode&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;VFS: Mounted root (ext3 filesystem) on device 179:25.&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;Freeing init memory: 200K&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;modprobe: FATAL: Could not load /lib/modules/3.0.35-2027-g0596856/modules.dep: No such file or directory&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;mount: mount point /lib/init/rw is not a directory&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;mountall: mount /lib/init/rw [3937] terminated with status 32&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;mountall: Filesystem could not be mounted: /lib/init/rw&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I remove the sd card and look at the contents on a real linux box and the /lib/modules/&lt;SPAN style="font-family: 'courier new', courier;"&gt;3.0.35-2027-g0596856&lt;/SPAN&gt; does not exist.&amp;nbsp; The dir on my sd card (as created from oneiric.tgz) is 3.0.35-2666-gbdde708.&amp;nbsp; Any idea what I'm doing wrong?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 16 Sep 2013 16:00:10 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/problem-booting-linux-sabre-board-for-smart-devices-off-SD/m-p/235106#M18492</guid>
      <dc:creator>EdSutter</dc:creator>
      <dc:date>2013-09-16T16:00:10Z</dc:date>
    </item>
    <item>
      <title>Re: problem booting linux sabre board for smart devices off SD...</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/problem-booting-linux-sabre-board-for-smart-devices-off-SD/m-p/235107#M18493</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Ed, did you generate the rootfs and the kernel using LTIB. It is possible that you compiled a kernel with modules but used an older rootfs that didn't have modules installed.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 16 Sep 2013 16:14:38 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/problem-booting-linux-sabre-board-for-smart-devices-off-SD/m-p/235107#M18493</guid>
      <dc:creator>sinanakman</dc:creator>
      <dc:date>2013-09-16T16:14:38Z</dc:date>
    </item>
    <item>
      <title>Re: problem booting linux sabre board for smart devices off SD...</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/problem-booting-linux-sabre-board-for-smart-devices-off-SD/m-p/235108#M18494</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Sinan, thanks for the quick reply...&lt;/P&gt;&lt;P&gt;I built following the instructions in the user's guide: "i.MX 6Dual/6Quad SABRE-SD Linux User's Guide", and I am suspicious of having a mismatch between kernel and fs.&amp;nbsp; I built rootfs on the SD card using the downloaded oneiric.tgz; so maybe that was the wrong step?&lt;/P&gt;&lt;P&gt;Thanks in advance...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 16 Sep 2013 17:18:37 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/problem-booting-linux-sabre-board-for-smart-devices-off-SD/m-p/235108#M18494</guid>
      <dc:creator>EdSutter</dc:creator>
      <dc:date>2013-09-16T17:18:37Z</dc:date>
    </item>
    <item>
      <title>Re: problem booting linux sabre board for smart devices off SD...</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/problem-booting-linux-sabre-board-for-smart-devices-off-SD/m-p/235109#M18495</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hmmm... maybe I was supposed to use rootfs.ext2.gz... I'll give that a try.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 16 Sep 2013 17:20:11 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/problem-booting-linux-sabre-board-for-smart-devices-off-SD/m-p/235109#M18495</guid>
      <dc:creator>EdSutter</dc:creator>
      <dc:date>2013-09-16T17:20:11Z</dc:date>
    </item>
    <item>
      <title>Re: problem booting linux sabre board for smart devices off SD...</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/problem-booting-linux-sabre-board-for-smart-devices-off-SD/m-p/235110#M18496</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Ed, can you loop mount that rootfs.ext2.gz and see if it has modules in it.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 16 Sep 2013 18:48:23 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/problem-booting-linux-sabre-board-for-smart-devices-off-SD/m-p/235110#M18496</guid>
      <dc:creator>sinanakman</dc:creator>
      <dc:date>2013-09-16T18:48:23Z</dc:date>
    </item>
    <item>
      <title>Re: problem booting linux sabre board for smart devices off SD...</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/problem-booting-linux-sabre-board-for-smart-devices-off-SD/m-p/235111#M18497</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;better yet, I just installed it onto my SD card and tried it... It now boots (I get a login prompt); however that leaves me with two questions:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1. what is the login/password (linaro/linaro doesn't work)?&lt;/P&gt;&lt;P&gt;2. what is the point of step #2 of section 3.8 of the user's guide which appears to give instructions to overwrite the rootfs.ext2 (that was just installed by step #1) with oneiric.tgz?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 16 Sep 2013 19:04:01 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/problem-booting-linux-sabre-board-for-smart-devices-off-SD/m-p/235111#M18497</guid>
      <dc:creator>EdSutter</dc:creator>
      <dc:date>2013-09-16T19:04:01Z</dc:date>
    </item>
    <item>
      <title>Re: problem booting linux sabre board for smart devices off SD...</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/problem-booting-linux-sabre-board-for-smart-devices-off-SD/m-p/235112#M18498</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Ed, I would think the login would be root or admin and no password but I never used TLIB so I am sorry&amp;nbsp; I don't really know what it generates. Likewise, I think the UG you are referring is about using LTIB. I usually compile the mainline kernel and build a small rootfs manually.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 16 Sep 2013 19:52:27 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/problem-booting-linux-sabre-board-for-smart-devices-off-SD/m-p/235112#M18498</guid>
      <dc:creator>sinanakman</dc:creator>
      <dc:date>2013-09-16T19:52:27Z</dc:date>
    </item>
    <item>
      <title>Re: Re: problem booting linux sabre board for smart devices off SD...</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/problem-booting-linux-sabre-board-for-smart-devices-off-SD/m-p/235113#M18499</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;That did it!&amp;nbsp; Duh, didn't even think to try "root".&amp;nbsp; I tried admin/admin, etc...&lt;/P&gt;&lt;P&gt;Anyway for anyone trying to build a rootfs for installation onto an SD card for the SABRE&lt;/P&gt;&lt;P&gt;board for smart devices, don't use oneiric.tgz (as outlined in section 3.8) just go directly to&lt;/P&gt;&lt;P&gt;chapter 8 of the users guide.&amp;nbsp;&amp;nbsp; &lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;The steps in section 3.8 "How To Set Up Ubuntu Rootfs" are&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;just confusing (and apparently wrong).&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;The file that is used to create the rootfs is &lt;/SPAN&gt;rootfs.ext2.gz.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 16 Sep 2013 20:17:58 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/problem-booting-linux-sabre-board-for-smart-devices-off-SD/m-p/235113#M18499</guid>
      <dc:creator>EdSutter</dc:creator>
      <dc:date>2013-09-16T20:17:58Z</dc:date>
    </item>
    <item>
      <title>Re: Re: problem booting linux sabre board for smart devices off SD...</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/problem-booting-linux-sabre-board-for-smart-devices-off-SD/m-p/235114#M18500</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am glad that worked. I have a sabresd board where I can compile mainline kernel with own rootfs. If you like to have a non-LTIB way to build mainline kernel and a min rootfs, let me know.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 16 Sep 2013 23:03:53 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/problem-booting-linux-sabre-board-for-smart-devices-off-SD/m-p/235114#M18500</guid>
      <dc:creator>sinanakman</dc:creator>
      <dc:date>2013-09-16T23:03:53Z</dc:date>
    </item>
    <item>
      <title>Re: problem booting linux sabre board for smart devices off SD...</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/problem-booting-linux-sabre-board-for-smart-devices-off-SD/m-p/235115#M18501</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Ed, &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As Sinan has mentioned, the kernel's release string must match&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BLOCKQUOTE&gt;
&lt;P&gt;$ ls /lib/modules/&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;3.0.35-2666-gbdde708&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;root@freescale ~$ uname -r&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;3.0.35-2666-gbdde708&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;root@freescale ~$ &lt;/P&gt;
&lt;/BLOCKQUOTE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As a workaround, try renaming your module folder matching the kernel release string. 'root' is the login, no password for any LTIB demo image.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Leo&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 17 Sep 2013 17:23:36 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/problem-booting-linux-sabre-board-for-smart-devices-off-SD/m-p/235115#M18501</guid>
      <dc:creator>LeonardoSandova</dc:creator>
      <dc:date>2013-09-17T17:23:36Z</dc:date>
    </item>
    <item>
      <title>Re: problem booting linux sabre board for smart devices off SD...</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/problem-booting-linux-sabre-board-for-smart-devices-off-SD/m-p/235116#M18502</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Sinan,&lt;/P&gt;&lt;P&gt;Yea, I would be interested.&amp;nbsp; I know there are plenty of different paths to take here.&amp;nbsp; LTIB appears to be the path most supported by Freescale; however it does appear to be a bit bulky.&lt;/P&gt;&lt;P&gt;Ed&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 18 Sep 2013 17:14:37 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/problem-booting-linux-sabre-board-for-smart-devices-off-SD/m-p/235116#M18502</guid>
      <dc:creator>EdSutter</dc:creator>
      <dc:date>2013-09-18T17:14:37Z</dc:date>
    </item>
    <item>
      <title>Re: problem booting linux sabre board for smart devices off SD...</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/problem-booting-linux-sabre-board-for-smart-devices-off-SD/m-p/235117#M18503</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Ed, let me know what would you need in particular. I have an sabresd board here that I am running a kernel and rootfs not generated with LTIB. If you like I could send you the rootfs or better yet I can document the simple steps to produce mainline kernel and a minimum rootfs but it may take some days. Until then let me know if you need anything specific.&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Sinan Akman&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 18 Sep 2013 18:07:59 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/problem-booting-linux-sabre-board-for-smart-devices-off-SD/m-p/235117#M18503</guid>
      <dc:creator>sinanakman</dc:creator>
      <dc:date>2013-09-18T18:07:59Z</dc:date>
    </item>
    <item>
      <title>Re: problem booting linux sabre board for smart devices off SD...</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/problem-booting-linux-sabre-board-for-smart-devices-off-SD/m-p/235118#M18504</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Well, I'm back to square one apparently...&lt;/P&gt;&lt;P&gt;As a self-check, I decided to take a step back to make sure what I thought I knew was correct...&lt;/P&gt;&lt;P&gt;Starting with a raw SD card, I *thought* I should be able to simply install the uboot image at block #2 and the board would boot uboot.&lt;/P&gt;&lt;P&gt;I can't even get that to work now (using multiple SD-cards).&amp;nbsp; Using:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;sudo dd if=u-boot-mx6q-sabresd.bin of=/dev/sdb bs=512 seek=2 conv=fsync&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;(tried with and without 'skip=2') does not give me a bootable SD card.&lt;/P&gt;&lt;P&gt;What's even more interesting is that when I read the SD card that does boot, the data doesn't resemble uboot at all.&lt;/P&gt;&lt;P&gt;That makes no sense to me so obviously I'm either thinking wrong or just doing something stupid and haven't realized&lt;/P&gt;&lt;P&gt;it yet (probably the latter).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Anyway, I guess my question is:&lt;/P&gt;&lt;P&gt;should the above 'dd' command create a valid/bootable SD card (assuming of course that the .bin file is valid)?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If I read back the raw data on the sd card using&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;sudo dd if=/dev/sdb of=/tmp/image bs=512 count=1024 conv=fsync&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: helvetica;"&gt;shouldn't I see stuff that looks like the binary equivalent of u-boot's flash_header.S file?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;&lt;SPAN style="font-family: helvetica;"&gt;Ed&lt;/SPAN&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 18 Sep 2013 19:23:26 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/problem-booting-linux-sabre-board-for-smart-devices-off-SD/m-p/235118#M18504</guid>
      <dc:creator>EdSutter</dc:creator>
      <dc:date>2013-09-18T19:23:26Z</dc:date>
    </item>
    <item>
      <title>Re: problem booting linux sabre board for smart devices off SD...</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/problem-booting-linux-sabre-board-for-smart-devices-off-SD/m-p/235119#M18505</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Are you building a u-boot suitable for your board? Just make sure you are selecting the correct board on the u-boot option on the main LTIB menu. Also, AFAIK the 'skip=2' is necessary.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 18 Sep 2013 19:27:39 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/problem-booting-linux-sabre-board-for-smart-devices-off-SD/m-p/235119#M18505</guid>
      <dc:creator>LeonardoSandova</dc:creator>
      <dc:date>2013-09-18T19:27:39Z</dc:date>
    </item>
    <item>
      <title>Re: problem booting linux sabre board for smart devices off SD...</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/problem-booting-linux-sabre-board-for-smart-devices-off-SD/m-p/235120#M18506</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I can use imx_usb tool to boot the image through the serial downloader, so I assume that means its good-to-go.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Bottom line... shouldn't I be able to use the 'dd' command on linux to copy the first 1024 blocks from a bootable SD card onto a second SD card and at least see u-boot start up?&amp;nbsp; I don't even see that.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 18 Sep 2013 19:42:17 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/problem-booting-linux-sabre-board-for-smart-devices-off-SD/m-p/235120#M18506</guid>
      <dc:creator>EdSutter</dc:creator>
      <dc:date>2013-09-18T19:42:17Z</dc:date>
    </item>
    <item>
      <title>Re: problem booting linux sabre board for smart devices off SD...</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/problem-booting-linux-sabre-board-for-smart-devices-off-SD/m-p/235121#M18507</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Ed, here is how I compile mainline u-boot and boot it off of SD :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;make ARCH=arm CROSS_COMPILE=arm-linux-gnueabi- distclean&lt;/P&gt;&lt;P&gt;make ARCH=arm CROSS_COMPILE=arm-linux-gnueabi- mx6qsabresd_config&lt;/P&gt;&lt;P&gt;make ARCH=arm CROSS_COMPILE=arm-linux-gnueabi- all&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;sudo dd if=u-boot.imx of=/dev/sdb seek=1 bs=1k&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Note the seek or the skip as Leonardo also pointed out.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps&lt;/P&gt;&lt;P&gt;Sinan Akman&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 18 Sep 2013 19:53:16 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/problem-booting-linux-sabre-board-for-smart-devices-off-SD/m-p/235121#M18507</guid>
      <dc:creator>sinanakman</dc:creator>
      <dc:date>2013-09-18T19:53:16Z</dc:date>
    </item>
    <item>
      <title>Re: problem booting linux sabre board for smart devices off SD...</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/problem-booting-linux-sabre-board-for-smart-devices-off-SD/m-p/235122#M18508</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;That's almost exactly what I'm doing, but I don't have a u-boot.imx file, I've been loading the&lt;/P&gt;&lt;P&gt;u-boot.bin.&amp;nbsp; What is the .imx file?&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;The only other difference is that I use a blocksize of 512, so I use "seek=2"...&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;sudo dd if=u-boot.bin of=/dev/sdd1 seek=2 bs=512 conv=fsync&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I assume the "seek=2" is so that the write doesn't clobber the partition table on the SD card.&amp;nbsp; Not quite sure about the "skip=2".&amp;nbsp; &lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;The docs talk about a "non-padded" boot image; I assume they are referring to the &lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;0x400 byte offset of the ivt_header (in flash_header.S).&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;My u-boot.bin file includes those initial 0x400 bytes, so does that mean its padded??&amp;nbsp; I haven't read anything in any of the docs that states where the internal bootloader starts reading from on the SD card, so I just tried it with and without the "skip=2".&amp;nbsp; Unfortunately neither works.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The strange thing is this:&lt;/P&gt;&lt;P&gt;I have one SD card that does boot u-boot.&amp;nbsp; When I read that card's image into a file using my Linux host and an SD-card reader, I DON'T see what I think I should see.&amp;nbsp; Shouldn't I see the u-boot.bin image near the base of that file?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;I'm starting to think I have a few bad SD cards, &lt;/SPAN&gt;&lt;SPAN style="line-height: 1.5em; font-size: 10pt;"&gt;but then they work just fine on my &lt;/SPAN&gt;Linux&lt;SPAN style="line-height: 1.5em; font-size: 10pt;"&gt; host.&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 18 Sep 2013 20:28:08 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/problem-booting-linux-sabre-board-for-smart-devices-off-SD/m-p/235122#M18508</guid>
      <dc:creator>EdSutter</dc:creator>
      <dc:date>2013-09-18T20:28:08Z</dc:date>
    </item>
    <item>
      <title>Re: problem booting linux sabre board for smart devices off SD...</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/problem-booting-linux-sabre-board-for-smart-devices-off-SD/m-p/235123#M18509</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;AHHH!!!&amp;nbsp; Just realized what I have been doing wrong...&lt;/P&gt;&lt;P&gt;I was using /dev/sdd1 instead of /dev/sdd, so I wasn't reading/writing relative to the base of the device.&lt;/P&gt;&lt;P&gt;MORON!!!&lt;/P&gt;&lt;P&gt;I had changed from a single-card reader to a multi-card reader midstream the other day (minor detail I didn't mention) and the device name changed.&amp;nbsp; Things are immediately back to sanity again...&lt;/P&gt;&lt;P&gt;Thanks for the suggestions.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 18 Sep 2013 20:55:48 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/problem-booting-linux-sabre-board-for-smart-devices-off-SD/m-p/235123#M18509</guid>
      <dc:creator>EdSutter</dc:creator>
      <dc:date>2013-09-18T20:55:48Z</dc:date>
    </item>
    <item>
      <title>Re: problem booting linux sabre board for smart devices off SD...</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/problem-booting-linux-sabre-board-for-smart-devices-off-SD/m-p/235124#M18510</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Ed, I am glad you were able to solve the problem. Don't feel too bad for the oversight, we all have been there this way or another :smileywink:&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Sinan Akman&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 19 Sep 2013 02:27:30 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/problem-booting-linux-sabre-board-for-smart-devices-off-SD/m-p/235124#M18510</guid>
      <dc:creator>sinanakman</dc:creator>
      <dc:date>2013-09-19T02:27:30Z</dc:date>
    </item>
    <item>
      <title>Re: problem booting linux sabre board for smart devices off SD...</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/problem-booting-linux-sabre-board-for-smart-devices-off-SD/m-p/235125#M18511</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Sinan,&lt;/P&gt;&lt;P&gt;Thanks much for the offer; I still need to figure out what route to take here.&amp;nbsp; Seems like a lot of options (LTIB, Yocto, Linaro, Buildroot, custom, ...).&amp;nbsp; The LTIB stuff basically came right up; however, based on what I read Yocto is the way to go.&amp;nbsp; Any thoughts on that?&lt;/P&gt;&lt;P&gt;Ed&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 20 Sep 2013 19:43:55 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/problem-booting-linux-sabre-board-for-smart-devices-off-SD/m-p/235125#M18511</guid>
      <dc:creator>EdSutter</dc:creator>
      <dc:date>2013-09-20T19:43:55Z</dc:date>
    </item>
  </channel>
</rss>

