[yocto] Altera Cyclone V u-boot-spl with meta-altera

Jon Szymaniak jon.szymaniak at gmail.com
Fri Jan 22 12:31:07 PST 2016


> Is there a way to produce a signed u-boot-spl image during the build, that
> can be used directly on the target without using the EDS?
>
>
If you upgrade to the U-Boot 2016.01 (or maybe even earlier?), mkimage
actually supports adding the Bootrom signature to the SPL for you.  The
current makefile is kind enough to concatenate the U-Boot SPL and its DTS
for you, and then run mkpimage to create an 'spl/u-boot-spl-dts.sfp' file
[1].

If that doesn't work for you, you might find [2] to be useful.  The bootrom
"signature" is simple enough to implement in a do_compile_append() or
custom task.

[1]
http://git.denx.de/?p=u-boot.git;a=blob;f=Makefile;h=c9c2cbedc641853c7886ffb023e5798362152899;hb=6905f4d3c7be46fed4859f51f0a8f9a1107c22e7#l1012

[2] https://github.com/maximeh/mkpimage
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.yoctoproject.org/pipermail/yocto/attachments/20160122/252117ba/attachment.html>


More information about the yocto mailing list