<div dir="ltr">Oliver,<div>Got it working. Modified the <a href="http://uboot.env.in">uboot.env.in</a> to change the loadfdt variable as in snappy-system.txt, and it loaded the fdt, followed by kernel boot (pre-built) and went into snappy(initially tried in uboot environment itself and loaded snappy step by step by running individual commands). Success! Hope this is the right method of loading the fdt, as you said snappy-system.txt is not used any more; but I still see it in the file system of snappy after it boots up? Not sure. Anyways, will proceed with other pieces of custom source like kernel, initrd, device tar ball and play with it. Appreciate your help.</div><div><br></div><div>loadfdt=load mmc ${mmcdev}:${mmcpart} ${fdtaddr} ${snappy_ab}/dtbs/${fdtfile}<br></div><div><br></div><div>_Swami</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Fri, May 6, 2016 at 8:51 AM, Swami <span dir="ltr"><<a href="mailto:s.swamyn@gmail.com" target="_blank">s.swamyn@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Yes, right. Like below.<div><div>U-Boot> fdt addr 0x100</div><div>libfdt fdt_check_header(): FDT_ERR_BADMAGIC</div></div><span class="HOEnZb"><font color="#888888"><div><br></div><div>_Swami</div></font></span></div><div class="HOEnZb"><div class="h5"><div class="gmail_extra"><br><div class="gmail_quote">On Fri, May 6, 2016 at 7:28 AM, Swami <span dir="ltr"><<a href="mailto:s.swamyn@gmail.com" target="_blank">s.swamyn@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">oh okay. Thanks for the info. I remember getting the same BAD MAGIC error, if I am not wrong. But, will confirm it in a moment.<span><font color="#888888"><div><br></div><div>_Swami</div></font></span></div><div><div><div class="gmail_extra"><br><div class="gmail_quote">On Fri, May 6, 2016 at 7:20 AM, Oliver Grawert <span dir="ltr"><<a href="mailto:ogra@ubuntu.com" target="_blank">ogra@ubuntu.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span>Am Freitag, den 06.05.2016, 07:11 -0700 schrieb Swami:<br>
> Got it Oliver. But, I didn't modify anything in <a href="http://uboot.env.in" rel="noreferrer" target="_blank">uboot.env.in</a> and is<br>
> same as given from [1] and have copied it to [2]. The printenv after<br>
> loading others during uboot is showing this loadfdt though. Have put<br>
> the printenv during this time @ [3]. Do I need to have<br>
> snappy-system.txt as per your blog[4], as I don't see any file like<br>
> that from the boot-assets code retrieved from [1].<br>
><br>
><br>
><br>
><br>
> [1] <a href="https://code.launchpad.net/~snappy-dev/snappy-hub/snappy-systems" rel="noreferrer" target="_blank">https://code.launchpad.net/~snappy-dev/snappy-hub/snappy-systems</a><br>
><br>
> [2] <a href="http://paste.ubuntu.com/16259368/" rel="noreferrer" target="_blank">http://paste.ubuntu.com/16259368/</a><br>
> [3] <a href="http://paste.ubuntu.com/16259410/" rel="noreferrer" target="_blank">http://paste.ubuntu.com/16259410/</a><br>
> [4]<br>
> <a href="https://ograblog.wordpress.com/2015/01/25/porting-ubuntu-snappy-to-a-yet-unsupported-armhf-board/" rel="noreferrer" target="_blank">https://ograblog.wordpress.com/2015/01/25/porting-ubuntu-snappy-to-a-yet-unsupported-armhf-board/</a><br>
><br>
<br>
</span>snappy-system-txt is long obsolete (even in 15.04 which we also do not<br>
actively touch any more) ... what happens if you run:<br>
<br>
fdt addr 0x100<br>
<br>
at the u-boot prompt in [3] ?<br>
<br>
ciao<br>
oli<br>
</blockquote></div><br></div>
</div></div></blockquote></div><br></div>
</div></div></blockquote></div><br></div>