mirror of
https://github.com/motioneye-project/motioneyeos.git
synced 2025-07-29 06:06:32 +00:00
uboot-tools: add option for dumpimage
The tool dumpimage extracts data from U-Boot images. U-Boot added dumpimage tool on release 2014.01. This commit allows installation on target and host. Signed-off-by: Paulo Zaneti <paulo.zaneti@datacom.ind.br> Tested-by: Carlos Santos <casantos@datacom.ind.br> Signed-off-by: Carlos Santos <casantos@datacom.ind.br> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
This commit is contained in:
parent
53ac75b00e
commit
b7993116ab
@ -53,4 +53,10 @@ config BR2_PACKAGE_UBOOT_TOOLS_FWPRINTENV
|
|||||||
bootloader, which allows access to the U-Boot environment
|
bootloader, which allows access to the U-Boot environment
|
||||||
from Linux.
|
from Linux.
|
||||||
|
|
||||||
|
config BR2_PACKAGE_UBOOT_TOOLS_DUMPIMAGE
|
||||||
|
bool "dumpimage"
|
||||||
|
help
|
||||||
|
The dumpimage tool from Das U-Boot bootloader, which allows
|
||||||
|
extraction of data from U-Boot images.
|
||||||
|
|
||||||
endif
|
endif
|
||||||
|
@ -52,10 +52,17 @@ define UBOOT_TOOLS_INSTALL_FWPRINTENV
|
|||||||
endef
|
endef
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
ifeq ($(BR2_PACKAGE_UBOOT_TOOLS_DUMPIMAGE),y)
|
||||||
|
define UBOOT_TOOLS_INSTALL_DUMPIMAGE
|
||||||
|
$(INSTALL) -m 0755 -D $(@D)/tools/dumpimage $(TARGET_DIR)/usr/sbin/dumpimage
|
||||||
|
endef
|
||||||
|
endif
|
||||||
|
|
||||||
define UBOOT_TOOLS_INSTALL_TARGET_CMDS
|
define UBOOT_TOOLS_INSTALL_TARGET_CMDS
|
||||||
$(UBOOT_TOOLS_INSTALL_MKIMAGE)
|
$(UBOOT_TOOLS_INSTALL_MKIMAGE)
|
||||||
$(UBOOT_TOOLS_INSTALL_MKENVIMAGE)
|
$(UBOOT_TOOLS_INSTALL_MKENVIMAGE)
|
||||||
$(UBOOT_TOOLS_INSTALL_FWPRINTENV)
|
$(UBOOT_TOOLS_INSTALL_FWPRINTENV)
|
||||||
|
$(UBOOT_TOOLS_INSTALL_DUMPIMAGE)
|
||||||
endef
|
endef
|
||||||
|
|
||||||
ifeq ($(BR2_PACKAGE_HOST_UBOOT_TOOLS_FIT_SIGNATURE_SUPPORT),y)
|
ifeq ($(BR2_PACKAGE_HOST_UBOOT_TOOLS_FIT_SIGNATURE_SUPPORT),y)
|
||||||
@ -79,6 +86,7 @@ endef
|
|||||||
define HOST_UBOOT_TOOLS_INSTALL_CMDS
|
define HOST_UBOOT_TOOLS_INSTALL_CMDS
|
||||||
$(INSTALL) -m 0755 -D $(@D)/tools/mkimage $(HOST_DIR)/usr/bin/mkimage
|
$(INSTALL) -m 0755 -D $(@D)/tools/mkimage $(HOST_DIR)/usr/bin/mkimage
|
||||||
$(INSTALL) -m 0755 -D $(@D)/tools/mkenvimage $(HOST_DIR)/usr/bin/mkenvimage
|
$(INSTALL) -m 0755 -D $(@D)/tools/mkenvimage $(HOST_DIR)/usr/bin/mkenvimage
|
||||||
|
$(INSTALL) -m 0755 -D $(@D)/tools/dumpimage $(HOST_DIR)/usr/bin/dumpimage
|
||||||
endef
|
endef
|
||||||
|
|
||||||
$(eval $(generic-package))
|
$(eval $(generic-package))
|
||||||
|
Loading…
x
Reference in New Issue
Block a user