On 25 August 2017 at 15:46, Mike Looijmans wrote:
> The SPL based flow needs a raw firmware image instead of an ELF executable.
> Though
> probably any objcopy version can perform this, it's better to have the actual
> microblaze tool do the conversion, hence its inclusion in this recipe.
>
> With this addition, it is possible to create a bootloader for the zynqmp
> platforms based op opensource tools.
>
> Signed-off-by: Mike Looijmans
Applied.
Thanks,
Nathan
> ---
> recipes-bsp/pmu-firmware/pmu-firmware_2017.1.bb | 4
> 1 file changed, 4 insertions(+)
>
> diff --git a/recipes-bsp/pmu-firmware/pmu-firmware_2017.1.bb
> b/recipes-bsp/pmu-firmware/pmu-firmware_2017.1.bb
> index 68916ad..4ae5c4e 100644
> --- a/recipes-bsp/pmu-firmware/pmu-firmware_2017.1.bb
> +++ b/recipes-bsp/pmu-firmware/pmu-firmware_2017.1.bb
> @@ -80,6 +80,10 @@ do_deploy() {
> install -Dm 0644 ${B}/executable.elf
> ${DEPLOYDIR}/${PMU_FIRMWARE_BASE_NAME}.elf
> ln -sf ${PMU_FIRMWARE_BASE_NAME}.elf
> ${DEPLOYDIR}/${BPN}-${MACHINE}.elf
> ln -sf ${BPN}-${MACHINE}.elf ${DEPLOYDIR}/pmu-${MACHINE}.elf
> + ${OBJCOPY} -O binary ${B}/executable.elf ${B}/executable.bin
> + install -m 0644 ${B}/executable.bin
> ${DEPLOYDIR}/${PMU_FIRMWARE_BASE_NAME}.bin
> + ln -sf ${PMU_FIRMWARE_BASE_NAME}.bin
> ${DEPLOYDIR}/${BPN}-${MACHINE}.bin
> + ln -sf ${BPN}-${MACHINE}.bin ${DEPLOYDIR}/pmu-${MACHINE}.bin
> }
> addtask deploy before do_build after do_install
>
> --
> 1.9.1
>
> --
> ___
> meta-xilinx mailing list
> meta-xilinx@yoctoproject.org
> https://lists.yoctoproject.org/listinfo/meta-xilinx
--
___
meta-xilinx mailing list
meta-xilinx@yoctoproject.org
https://lists.yoctoproject.org/listinfo/meta-xilinx