tools: mkimage: Extend mkimage to also include pmufw
authorMichal Simek <michal.simek@xilinx.com>
Fri, 21 Oct 2016 10:58:17 +0000 (12:58 +0200)
committerMichal Simek <michal.simek@xilinx.com>
Tue, 28 Nov 2017 15:08:57 +0000 (16:08 +0100)
commitc85a6b79d10ed8a098997370cbc4fb233ddcb13b
tree809e315ca5229c2bc85bfb51c638709cfe5db44b
parente042d36e17358fadefe48a8ed9868f2a3e84452b
tools: mkimage: Extend mkimage to also include pmufw

The patch is adding external pmufw "Platform Management Unit firmware"
to boot.bin image. Boot.bin is a Xilinx format which bootrom is capable
to read and boot the system. pmufw is copied to the header data section
follows by u-boot-spl.bin. pmufw is consumed by PMU unit (Microblaze)
and SPL runs on a53-0.

This is generated command line when PMUFW_INIT_FILE is setup.

./tools/mkimage -T zynqmpimage -R ./"" -n
./"board/xilinx/zynqmp/pmufw.bin" -d spl/u-boot-spl.bin spl/boot.bin

Signed-off-by: Michal Simek <michal.simek@xilinx.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
arch/arm/cpu/armv8/zynqmp/Kconfig
scripts/Makefile.spl
tools/zynqmpimage.c