summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLuca Boccassi <luca.boccassi@microsoft.com>2019-03-21 19:49:04 +0000
committerRichard Purdie <richard.purdie@linuxfoundation.org>2019-03-25 23:13:48 +0000
commit4c520c6cc209f54c6c69c26c7cee25abca543134 (patch)
treef709da7ebc5cfbb13d2df1175a4d89514d9aae6b
parentba771bf192ec489e5b6b6c6c0a6f5e0d9763f1a7 (diff)
downloadpoky-4c520c6cc209f54c6c69c26c7cee25abca543134.tar.gz
u-boot: install dumpimage and fit_check_sign in u-boot-tools
Dumpimage and fit_check_sign can be used to extract kernel and ramdisk from a FIT file, verify them and kexec for a faster reboot. (From OE-Core rev: c99255d688a2578f1391a34915942210cf069d64) Signed-off-by: Luca Boccassi <luca.boccassi@microsoft.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r--meta/recipes-bsp/u-boot/u-boot-tools_2019.01.bb10
1 files changed, 9 insertions, 1 deletions
diff --git a/meta/recipes-bsp/u-boot/u-boot-tools_2019.01.bb b/meta/recipes-bsp/u-boot/u-boot-tools_2019.01.bb
index ff26e32482..bede984ef7 100644
--- a/meta/recipes-bsp/u-boot/u-boot-tools_2019.01.bb
+++ b/meta/recipes-bsp/u-boot/u-boot-tools_2019.01.bb
@@ -45,11 +45,19 @@ do_install () {
45 # mkenvimage 45 # mkenvimage
46 install -m 0755 tools/mkenvimage ${D}${bindir}/uboot-mkenvimage 46 install -m 0755 tools/mkenvimage ${D}${bindir}/uboot-mkenvimage
47 ln -sf uboot-mkenvimage ${D}${bindir}/mkenvimage 47 ln -sf uboot-mkenvimage ${D}${bindir}/mkenvimage
48
49 # dumpimage
50 install -m 0755 tools/dumpimage ${D}${bindir}/uboot-dumpimage
51 ln -sf uboot-dumpimage ${D}${bindir}/dumpimage
52
53 # fit_check_sign
54 install -m 0755 tools/fit_check_sign ${D}${bindir}/uboot-fit_check_sign
55 ln -sf uboot-fit_check_sign ${D}${bindir}/fit_check_sign
48} 56}
49 57
50ALLOW_EMPTY_${PN} = "1" 58ALLOW_EMPTY_${PN} = "1"
51FILES_${PN} = "" 59FILES_${PN} = ""
52FILES_${PN}-mkimage = "${bindir}/uboot-mkimage ${bindir}/mkimage" 60FILES_${PN}-mkimage = "${bindir}/uboot-mkimage ${bindir}/mkimage ${bindir}/uboot-dumpimage ${bindir}/dumpimage ${bindir}/uboot-fit_check_sign ${bindir}/fit_check_sign"
53FILES_${PN}-mkenvimage = "${bindir}/uboot-mkenvimage ${bindir}/mkenvimage" 61FILES_${PN}-mkenvimage = "${bindir}/uboot-mkenvimage ${bindir}/mkenvimage"
54 62
55RDEPENDS_${PN}-mkimage += "dtc" 63RDEPENDS_${PN}-mkimage += "dtc"