<div dir="ltr"><div class="gmail_default" style="font-family:verdana,sans-serif;font-size:small">Thanks for the very comprehensive answer.</div></div><div class="gmail_extra"><br clear="all"><div><div class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr">Best Regards<div>Peter</div></div></div></div>
<br><div class="gmail_quote">On 21 November 2017 at 14:18, Nathan Rossi <span dir="ltr"><<a href="mailto:nathan@nathanrossi.com" target="_blank">nathan@nathanrossi.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">On 21 November 2017 at 07:08, Peter Smith <<a href="mailto:salerio@gmail.com">salerio@gmail.com</a>> wrote:<br>
> Hi, I’m aware of the meta-xilinx-tools layer, but this needs you to have the<br>
> Xilinx SDK installed (unless I’m mistaken), I was wondering ion there were<br>
> any plans to create support in meta-xilinx for building the FSBL without the<br>
> need for the SDK dependency. Peter<br>
><br>
><br>
> On 20 Nov 2017, at 21:05, Giordon Stark <<a href="mailto:kratsg@gmail.com">kratsg@gmail.com</a>> wrote:<br>
><br>
> Hi (resending from right address),<br>
><br>
> You can indeed build the FSBL + boot.bin using the meta-xilinx-tools layer:<br>
> <a href="https://github.com/Xilinx/meta-xilinx-tools" rel="noreferrer" target="_blank">https://github.com/Xilinx/<wbr>meta-xilinx-tools</a><br>
><br>
> Giordon<br>
><br>
> On Mon, Nov 20, 2017 at 3:03 PM Peter Smith <<a href="mailto:salerio@gmail.com">salerio@gmail.com</a>> wrote:<br>
>><br>
>> A question, I was wondering why there is no support for building FSBL in a<br>
>> similar way to that provided by meta-xilinx for the PMU firmware, is there a<br>
>> technical reason or is it just one of those things that has not yet been got<br>
>> around to? Thanks in advance Peter.<br>
<br>
So it all comes down to bootgen. The boot.bin built by the bootgen<br>
tool from XSDK/etc. has an FSBL specific image table which is how it<br>
encodes multiple images for u-boot.elf, bitstream, etc. Because this<br>
bootgen tool is not available as public code and the special<br>
headers/image table are subject to the whim of the FSBL built (and<br>
indirectly the target version of the Xilinx tools); it is not easy to<br>
provide support for building a complete boot.bin with FSBL outside of<br>
the Xilinx tools.<br>
<br>
Building FSBL in the same way as PMU Firmware (as in meta-xilinx) is<br>
possible and years ago I had a very rough recipe for it. However since<br>
U-Boot SPL support appeared (and subsequent support for boot.bin<br>
generation with U-Boot's mkimage) it was much more palatable for Linux<br>
users, as for most cases FSBL was used to load U-Boot anyway and<br>
U-Boot SPL does a better job at that.<br>
<br>
Now with meta-xilinx-tools covering FSBL/bootgen I don't see much of a<br>
benefit in having FSBL built how PMU firmware is in meta-xilinx. Since<br>
the reasons behind the users choice to use FSBL are generally because<br>
it is the flow which Xilinx provides, and so it makes more sense to<br>
use the better supported flow of building/configuring it.<br>
<br>
Regards,<br>
Nathan<br>
</blockquote></div><br></div>