<div dir="ltr">Got it Oliver. But, I didn't modify anything in <a href="http://uboot.env.in">uboot.env.in</a> and is same as given from [1] and have copied it to [2]. The printenv after loading others during uboot is showing this loadfdt though. Have put the printenv during this time @ [3]. Do I need to have snappy-system.txt as per your blog[4], as I don't see any file like that from the boot-assets code retrieved from [1].<div><br></div><div><br></div><div><span style="font-size:12.8px">[1] </span><a href="https://code.launchpad.net/~snappy-dev/snappy-hub/snappy-systems" target="_blank" style="font-size:12.8px">https://code.launchpad.net/~snappy-dev/snappy-hub/snappy-systems</a><br></div><div>[2] <a href="http://paste.ubuntu.com/16259368/">http://paste.ubuntu.com/16259368/</a></div><div>[3] <a href="http://paste.ubuntu.com/16259410/">http://paste.ubuntu.com/16259410/</a></div><div>[4] <a href="https://ograblog.wordpress.com/2015/01/25/porting-ubuntu-snappy-to-a-yet-unsupported-armhf-board/">https://ograblog.wordpress.com/2015/01/25/porting-ubuntu-snappy-to-a-yet-unsupported-armhf-board/</a></div><div><br></div><div>_Swami</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Fri, May 6, 2016 at 3:07 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">hi,<br>
<span class="">Am Donnerstag, den 05.05.2016, 10:53 -0700 schrieb Swami:<br>
> +list, if someone also can help.<br>
> I was looking at the dtb file in device tar ball and the boot-assets,<br>
> which I used to generate the oem snap file, where both looks exactly<br>
> same. I am looking into converting this binary blob into actual dts<br>
> files, so I can compare the differences and also if I have to use a<br>
> different dtb?<br>
</span>you should use the dtb that your kernel build produced (usually<br>
installed somewhere in /lib/firmare/device-tree or some such)<br>
<span class="">><br>
> What is the procedure if I want to try a new .dtb file, just replacing<br>
> the corresponding file name in package.yaml should be enough? or I<br>
> should replace it in device tar ball too?<br>
<br>
</span>on the pi you should copy the one your kernel produced into the<br>
boot-assets dir of your oem/gadget snap.<br>
<span class=""><br>
><br>
> Thanks Oliver. It passes the crc issue now. Now, I am stuck at<br>
> [1]. I am using the pi2.moved version to generate the snap,<br>
> which contains bcm2709-rpi-2-b.dtb; the fdt address and device<br>
> tree blob related info. are present in my printenv. But, it<br>
> throws error as fdt address not configured?<br>
><br>
> fdt_addr_r=0x00000100<br>
> fdtaddr=f<br>
> fdtfile=bcm2709-rpi-2-b.dtb<br>
> fileaddr=2100000<br>
> filesize=1d68d4<br>
><br>
><br>
> [1] <a href="http://paste.ubuntu.com/16228908/" rel="noreferrer" target="_blank">http://paste.ubuntu.com/16228908/</a><br>
<br>
</span>this looks like your uboot.env does not run the "loadfdt" command (on<br>
the pi's the dtb is actually loaded to 0x100 by the binary blob<br>
bootloader that runs before uboot, we need to read it from there to make<br>
dtb overlays work). are you using the original <a href="http://uboot.env.in" rel="noreferrer" target="_blank">uboot.env.in</a> ?<br>
<br>
ciao<br>
oli<br>
<br>
</blockquote></div><br></div>