From 0b467c6b952ba8088eedbc529e8d877301e61c93 Mon Sep 17 00:00:00 2001 From: Julian Scheel Date: Thu, 17 Mar 2016 16:03:57 +0100 Subject: [PATCH] cbootimage: new package Add package for cbootimage host utility that is able to compile bct files and generate flashable images out of a bct and an image for tegra processors. Signed-off-by: Julian Scheel Signed-off-by: Thomas Petazzoni --- package/Config.in.host | 1 + package/cbootimage/Config.in.host | 9 +++++++++ package/cbootimage/cbootimage.hash | 2 ++ package/cbootimage/cbootimage.mk | 13 +++++++++++++ 4 files changed, 25 insertions(+) create mode 100644 package/cbootimage/Config.in.host create mode 100644 package/cbootimage/cbootimage.hash create mode 100644 package/cbootimage/cbootimage.mk diff --git a/package/Config.in.host b/package/Config.in.host index ccded799e4..c1d40f4962 100644 --- a/package/Config.in.host +++ b/package/Config.in.host @@ -1,6 +1,7 @@ menu "Host utilities" source "package/aespipe/Config.in.host" + source "package/cbootimage/Config.in.host" source "package/checkpolicy/Config.in.host" source "package/cramfs/Config.in.host" source "package/dfu-util/Config.in.host" diff --git a/package/cbootimage/Config.in.host b/package/cbootimage/Config.in.host new file mode 100644 index 0000000000..1913afa28f --- /dev/null +++ b/package/cbootimage/Config.in.host @@ -0,0 +1,9 @@ +config BR2_PACKAGE_HOST_CBOOTIMAGE + bool "host cbootimage" + depends on BR2_arm || BR2_armeb + help + This project provides a tool which compiles BCT (Boot + Configuration Table) images to place into the boot flash of + a Tegra-based device. + + https://github.com/NVIDIA/cbootimage diff --git a/package/cbootimage/cbootimage.hash b/package/cbootimage/cbootimage.hash new file mode 100644 index 0000000000..96cf172e39 --- /dev/null +++ b/package/cbootimage/cbootimage.hash @@ -0,0 +1,2 @@ +# Locally computed +sha256 373c108d7b6778c62a33e59ad0cd5ea9ebb379319a0c8b4cf469eaa8bec5521b cbootimage-v1.7.tar.gz diff --git a/package/cbootimage/cbootimage.mk b/package/cbootimage/cbootimage.mk new file mode 100644 index 0000000000..20b17dde59 --- /dev/null +++ b/package/cbootimage/cbootimage.mk @@ -0,0 +1,13 @@ +################################################################################ +# +# cbootimage +# +################################################################################ + +CBOOTIMAGE_VERSION = v1.7 +CBOOTIMAGE_SITE = $(call github,NVIDIA,cbootimage,$(CBOOTIMAGE_VERSION)) +CBOOTIMAGE_LICENSE = GPLv2 +CBOOTIMAGE_LICENSE_FILES = COPYING +CBOOTIMAGE_AUTORECONF = YES + +$(eval $(host-autotools-package)) -- 2.30.2