<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=us-ascii">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<div class="moz-cite-prefix">Hi Leon,<br>
<br>
On 05/20/2015 04:28 PM, Leon Woestenberg wrote:<br>
</div>
<blockquote cite="mid:CAF3Rn=yTW32WiY5SscadFJQm-jNh9stuTXvWF-4JaF2Ks9WyOQ@mail.gmail.com" type="cite">
<div dir="ltr">
<div>
<div>
<div>
<div>Hi Peter, Nikolay.<br>
<br>
</div>
<div class="gmail_extra">
<div class="gmail_quote">On Tue, May 19, 2015 at 9:44 PM, Peter Bergin <span dir="ltr">
<<a moz-do-not-send="true" href="mailto:peter.bergin@tritech.se" target="_blank">peter.bergin@tritech.se</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0px 0px
                    0px 0.8ex;border-left:1px solid
                    rgb(204,204,204);padding-left:1ex">
<div bgcolor="#FFFFFF" text="#000000">
<div>Hi Leon,
<div> </div>
</div>
</div>
</blockquote>
<blockquote class="gmail_quote" style="margin:0px 0px
                    0px 0.8ex;border-left:1px solid
                    rgb(204,204,204);padding-left:1ex">
<div bgcolor="#FFFFFF" text="#000000">
<div>
<div>
<div class="h5">Could you check the version of your u-boot on the target? Probably you have 2009.x or something that doesn't have support for DTB. In that case you must upgrade your u-boot to 2013.xx in order to boot kernel with device-tree.<br>
</div>
</div>
</div>
<br>
</div>
</blockquote>
<blockquote class="gmail_quote" style="margin:0px 0px
                    0px 0.8ex;border-left:1px solid
                    rgb(204,204,204);padding-left:1ex">
<div bgcolor="#FFFFFF" text="#000000">Regards,<br>
/Peter<br>
</div>
</blockquote>
</div>
<br>
</div>
<div class="gmail_extra">Peter, indeed: U-Boot 2009.08-00671-g5e573f0 QMX6Rx07 pn016103 (Jan 15 2014 - 14:19:05)<br>
<br>
Wow. It would have taken me ages to consider the boot loader didn't support device tree yet.<br>
</div>
<br>
<div class="gmail_extra">Thanks Nikolay for confirming a DTB is needed. In fact my boot log in my email did copy the DTB, but it's hidden at the top just before loading the kernel.
<br clear="all">
</div>
<div class="gmail_extra"><br>
</div>
I have put the .sdcard image on a uSD card for the module SD slot (not the carrier board SD slot).<br>
I think the Congatec always loads from SPI NOR first (where the old u-boot lives).<br>
</div>
<br>
Peter, what did you do to boot the u-boot from uSD card?<br>
<br>
</div>
Regards,<br>
<br>
</div>
Leon.<br>
<div>
<div>
<div>
<div class="gmail_extra"><br>
</div>
<div class="gmail_extra"><br>
<br>
</div>
<div class="gmail_extra">Thanks,<br>
</div>
<div class="gmail_extra">-- <br>
<div class="gmail_signature">Leon</div>
</div>
</div>
</div>
</div>
</div>
</blockquote>
<br>
<br>
correct that i.Mx6 boot from SPI NOR flash where u-boot is located.<br>
<br>
On my board I am using u-boot-congatec 2013.04. I prepared a uSD card for the module slot with one partition including both kernel and rootfs. Make sure that your image have kernel and dtb files installed or you have to add them manually.<br>
<br>
If I remember correct Congatec u-boot parameters assumes that you have one partition with kernel and rootfs. I don't know if the .sdcard image is prepared that way, it could be two partitions one for kernel and one for rootfs, like other reference targets like
 Nitrogen6. Either you have to change u-boot environment or prepare a sd card from the tar-file instead.<br>
<br>
Another thing to verify in the u-boot console is that the u-boot parameters fdt_file and uImage is pointing to the correct location for those files.<br>
<br>
Regards,<br>
/Peter<br>
<br>
<br>
</body>
</html>