I’m not aware of a tool outside of Altera’s EDS mkpimage. What I ended up doing 
was installing a subset of the EDS tools (mkpimage and the jre directory), then 
tweaked the u-boot spl/Makefile to automatically invoke mkpimage to create the 
preloader. I also tweaked the meta-altera u-boot-socfpga.inc do_deploy() rules 
to copy the newly built preloader-mkpimage-* files to the deploy directory.

I’d be happy to send those to you, if you’re interested. Likewise, if you find 
a third party tool to add the preloader image header, let me know.

    -Bill

From: yocto-boun...@yoctoproject.org [mailto:yocto-boun...@yoctoproject.org] On 
Behalf Of Usman, Fahad
Sent: Friday, January 22, 2016 7:19 AM
To: yvand...@opensource.altera.com; Khem Raj <raj.k...@gmail.com>; 
yocto@yoctoproject.org
Subject: [yocto] Altera Cyclone V u-boot-spl with meta-altera

Hi, I am using meta-altera layer (https://github.com/kraj/meta-altera) to build 
u-boot for Altera Cyclone V socfpga board. Building the 
u-boot-socfpga_2013.01.01 recipe does generate the u-boot-spl binary, but it 
cannot be directly used on the board as it has to be signed using Altera's tool 
"mkpimage" that comes with Altera's toolset (SoC 
EDS<http://rocketboards.org/foswiki/view/Documentation/AlteraSoCDevelopmentBoardYoctoGettingStarted#SoC_EDS>).

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?

Thanks,
Fahad.
-- 
_______________________________________________
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto

Reply via email to