summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNorbert Wesp <n.wesp@phytec.de>2020-03-12 08:31:39 (GMT)
committerNorbert Wesp <n.wesp@phytec.de>2020-03-12 08:33:49 (GMT)
commit58759a9992796dcca70a86e3f4e4b0aa66a8baf0 (patch)
tree30a7f0bdca0595460d5fe4add946c37952cb5f56
parentfd9c00e22c55119d4e8f7a69b9b1791f4ac30912 (diff)
downloadmeta-phytec-58759a9992796dcca70a86e3f4e4b0aa66a8baf0.zip
meta-phytec-58759a9992796dcca70a86e3f4e4b0aa66a8baf0.tar.bz2
barebox 2019.11: add fitImage.fitimg depends on secureboot for kernel boot
If secureboot as Distro Feature is active, then fitImage.fitimg instead of zImage will be used in the boot script Signed-off-by: Maik Otto <m.otto@phytec.de> Signed-off-by: Norbert Wesp <n.wesp@phytec.de>
-rw-r--r--recipes-bsp/barebox/barebox_2019.11.0-phy1.bb2
1 files changed, 2 insertions, 0 deletions
diff --git a/recipes-bsp/barebox/barebox_2019.11.0-phy1.bb b/recipes-bsp/barebox/barebox_2019.11.0-phy1.bb
index 6318361..ff9a08c 100644
--- a/recipes-bsp/barebox/barebox_2019.11.0-phy1.bb
+++ b/recipes-bsp/barebox/barebox_2019.11.0-phy1.bb
@@ -46,6 +46,8 @@ fi
python do_env_append_mx6() {
kernelname = "zImage"
+ if "secureboot" in d.getVar("DISTRO_FEATURES", True):
+ kernelname = "fitImage.fitimg"
mmcid = "2"
emmcid = None
dhcp_vendor = "phyFLEX-i.MX6"