Bump buildroot to 2019.02
This commit is contained in:
@@ -0,0 +1,58 @@
|
||||
From 0677e6cff00506de56d11bfa230b6c366e74f6ed Mon Sep 17 00:00:00 2001
|
||||
From: Erik Larsson <erik.larsson@combitech.se>
|
||||
Date: Thu, 8 Mar 2018 19:04:37 +0100
|
||||
Subject: [PATCH] Add support for overriding BL32 and BL33 not only BL31
|
||||
|
||||
Signed-off-by: Erik Larsson <karl.erik.larsson@gmail.com>
|
||||
Signed-off-by: Christopher Dahlberg <crille.dahlberg@gmail.com>
|
||||
Signed-off-by: Marcus Folkesson <marcus.folkesson@gmail.com>
|
||||
---
|
||||
iMX8M/mkimage_fit_atf.sh | 18 +++++++++---------
|
||||
1 file changed, 9 insertions(+), 9 deletions(-)
|
||||
|
||||
diff --git a/iMX8M/mkimage_fit_atf.sh b/iMX8M/mkimage_fit_atf.sh
|
||||
index 3a3bd10..727f746 100755
|
||||
--- a/iMX8M/mkimage_fit_atf.sh
|
||||
+++ b/iMX8M/mkimage_fit_atf.sh
|
||||
@@ -11,29 +11,29 @@ if [ ! -f $BL31 ]; then
|
||||
echo "ERROR: BL31 file $BL31 NOT found" >&2
|
||||
exit 0
|
||||
else
|
||||
- echo "bl31.bin size: " >&2
|
||||
- ls -lct bl31.bin | awk '{print $5}' >&2
|
||||
+ echo "$BL31 size: " >&2
|
||||
+ ls -lct $BL31 | awk '{print $5}' >&2
|
||||
fi
|
||||
|
||||
-BL32="tee.bin"
|
||||
+[ -z "$BL32" ] && BL32="tee.bin"
|
||||
|
||||
if [ ! -f $BL32 ]; then
|
||||
BL32=/dev/null
|
||||
else
|
||||
- echo "Building with TEE support, make sure your bl31 is compiled with spd. If you do not want tee, please delete tee.bin" >&2
|
||||
- echo "tee.bin size: " >&2
|
||||
- ls -lct tee.bin | awk '{print $5}' >&2
|
||||
+ echo "Building with TEE support, make sure your bl31 is compiled with spd. If you do not want tee, please delete $BL32" >&2
|
||||
+ echo "$BL32 size: " >&2
|
||||
+ ls -lct $BL32 | awk '{print $5}' >&2
|
||||
fi
|
||||
|
||||
-BL33="u-boot-nodtb.bin"
|
||||
+[ -z "$BL33" ] && BL33="u-boot-nodtb.bin"
|
||||
|
||||
if [ ! -f $BL33 ]; then
|
||||
echo "ERROR: $BL33 file NOT found" >&2
|
||||
exit 0
|
||||
else
|
||||
|
||||
- echo "u-boot-nodtb.bin size: " >&2
|
||||
- ls -lct u-boot-nodtb.bin | awk '{print $5}' >&2
|
||||
+ echo "$BL33: " >&2
|
||||
+ ls -lct $BL33 | awk '{print $5}' >&2
|
||||
fi
|
||||
|
||||
for dtname in $*
|
||||
--
|
||||
2.7.4
|
||||
|
||||
@@ -0,0 +1,26 @@
|
||||
From a73f20fbe921c7ecff3efda23bc506fdd935ee4d Mon Sep 17 00:00:00 2001
|
||||
From: Erik Larsson <erik.larsson@combitech.se>
|
||||
Date: Tue, 6 Mar 2018 12:28:39 +0100
|
||||
Subject: [PATCH] Add LDFLAGS to link step
|
||||
|
||||
Signed-off-by: Erik Larsson <karl.erik.larsson@gmail.com>
|
||||
---
|
||||
iMX8M/soc.mak | 2 +-
|
||||
1 file changed, 1 insertion(+), 1 deletion(-)
|
||||
|
||||
diff --git a/iMX8M/soc.mak b/iMX8M/soc.mak
|
||||
index 8346769..38a14bb 100644
|
||||
--- a/iMX8M/soc.mak
|
||||
+++ b/iMX8M/soc.mak
|
||||
@@ -15,7 +15,7 @@ FW_DIR = imx-boot/imx-boot-tools/imx8mq
|
||||
|
||||
$(MKIMG): mkimage_imx8.c
|
||||
@echo "Compiling mkimage_imx8"
|
||||
- $(CC) $(CFLAGS) mkimage_imx8.c -o $(MKIMG) -lz
|
||||
+ $(CC) $(CFLAGS) mkimage_imx8.c -o $(MKIMG) $(LDFLAGS) -lz
|
||||
|
||||
$(DCD_CFG): $(DCD_CFG_SRC)
|
||||
@echo "Converting iMX8M DCD file"
|
||||
--
|
||||
2.7.4
|
||||
|
||||
7
bsp/buildroot/package/imx-mkimage/Config.in.host
Normal file
7
bsp/buildroot/package/imx-mkimage/Config.in.host
Normal file
@@ -0,0 +1,7 @@
|
||||
config BR2_PACKAGE_HOST_IMX_MKIMAGE
|
||||
bool "host imx-mkimage"
|
||||
help
|
||||
imx-mkimage is used to combine input images and generate
|
||||
final boot image with appropriate IVT set.
|
||||
|
||||
https://source.codeaurora.org/external/imx/imx-mkimage
|
||||
3
bsp/buildroot/package/imx-mkimage/imx-mkimage.hash
Normal file
3
bsp/buildroot/package/imx-mkimage/imx-mkimage.hash
Normal file
@@ -0,0 +1,3 @@
|
||||
# Locally calculated
|
||||
sha256 bc79e11cfbde303e200287fa6624028c8ce5344f8a35ed179b3fe217d74155da imx-mkimage-rel_imx_4.9.51_8mq_ga.tar.gz
|
||||
sha256 231f7edcc7352d7734a96eef0b8030f77982678c516876fcb81e25b32d68564c iMX8dv/COPYING
|
||||
25
bsp/buildroot/package/imx-mkimage/imx-mkimage.mk
Normal file
25
bsp/buildroot/package/imx-mkimage/imx-mkimage.mk
Normal file
@@ -0,0 +1,25 @@
|
||||
################################################################################
|
||||
#
|
||||
# imx-mkimage
|
||||
#
|
||||
################################################################################
|
||||
|
||||
IMX_MKIMAGE_VERSION = rel_imx_4.9.51_8mq_ga
|
||||
IMX_MKIMAGE_SITE = https://source.codeaurora.org/external/imx/imx-mkimage
|
||||
IMX_MKIMAGE_SITE_METHOD = git
|
||||
IMX_MKIMAGE_LICENSE = GPL-2.0+
|
||||
IMX_MKIMAGE_LICENSE_FILES = iMX8dv/COPYING
|
||||
HOST_IMX_MKIMAGE_DEPENDENCIES = host-zlib
|
||||
|
||||
define HOST_IMX_MKIMAGE_BUILD_CMDS
|
||||
# Currently this only supports iMX8M. When more hardware is available
|
||||
# this needs to be selectable based on iMX8-version (iMX8M,iMXQ etc).
|
||||
$(HOST_MAKE_ENV) $(MAKE) $(HOST_CONFIGURE_OPTS) -C $(@D)/iMX8M -f soc.mak mkimage_imx8
|
||||
endef
|
||||
|
||||
define HOST_IMX_MKIMAGE_INSTALL_CMDS
|
||||
$(INSTALL) -D -m 755 $(@D)/iMX8M/mkimage_imx8 $(HOST_DIR)/bin/mkimage_imx8
|
||||
$(INSTALL) -D -m 755 $(@D)/iMX8M/mkimage_fit_atf.sh $(HOST_DIR)/bin/mkimage_fit_atf.sh
|
||||
endef
|
||||
|
||||
$(eval $(host-generic-package))
|
||||
Reference in New Issue
Block a user