summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Hemp <c.hemp@phytec.de>2019-08-02 12:45:50 (GMT)
committerStefan Müller-Klieser <s.mueller-klieser@phytec.de>2019-10-21 14:15:04 (GMT)
commit50cf67a5e799084c918a872f292a4715c2ec2552 (patch)
tree41913366ee25af443652a4f28bfe34fa8e44bb60
parente6e47f2c6410d8502b618824294c0741209937a9 (diff)
downloadmeta-phytec-50cf67a5e799084c918a872f292a4715c2ec2552.zip
meta-phytec-50cf67a5e799084c918a872f292a4715c2ec2552.tar.bz2
dynamic-layers: imx-mkimage: Add patch to parse dtb name
We need this because our u-boot devictrees have different names than the ones of NXP. Signed-off-by: Christian Hemp <c.hemp@phytec.de> Signed-off-by: Stefan Müller-Klieser <s.mueller-klieser@phytec.de>
-rwxr-xr-xdynamic-layers/fsl-bsp-release/recipes-bsp/imx-mkimage/imx-mkimage/0001-Parsing-the-devicetree-name.patch30
-rw-r--r--dynamic-layers/fsl-bsp-release/recipes-bsp/imx-mkimage/imx-mkimage_%.bbappend3
2 files changed, 33 insertions, 0 deletions
diff --git a/dynamic-layers/fsl-bsp-release/recipes-bsp/imx-mkimage/imx-mkimage/0001-Parsing-the-devicetree-name.patch b/dynamic-layers/fsl-bsp-release/recipes-bsp/imx-mkimage/imx-mkimage/0001-Parsing-the-devicetree-name.patch
new file mode 100755
index 0000000..bc5c123
--- /dev/null
+++ b/dynamic-layers/fsl-bsp-release/recipes-bsp/imx-mkimage/imx-mkimage/0001-Parsing-the-devicetree-name.patch
@@ -0,0 +1,30 @@
+From fe346e05564e6166b78ac6b784cd4bc9a474e0dd Mon Sep 17 00:00:00 2001
+From: Christian Hemp <c.hemp@phytec.de>
+Date: Thu, 1 Aug 2019 10:10:59 +0200
+Subject: [PATCH] Parsing the devicetree name
+
+The devicetree name is hardcoded to the NXP eval board.
+Because our u-boot devicetree has not the same name, we need a
+possibility to pass the name to the image creation.
+
+Signed-off-by: Christian Hemp <c.hemp@phytec.de>
+---
+ Makefile | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/Makefile b/Makefile
+index 49ef486..7f5c08c 100644
+--- a/Makefile
++++ b/Makefile
+@@ -17,7 +17,7 @@ vpath $(INCLUDE)
+
+ .DEFAULT:
+ @$(MAKE) -s --no-print-directory bin
+- @$(MAKE) --no-print-directory -C $(SOC_DIR) -f soc.mak $@
++ @$(MAKE) dtbs=${DTBS} --no-print-directory -C $(SOC_DIR) -f soc.mak $@
+
+ #print out usage as the default target
+ all: $(MKIMG) help
+--
+2.17.1
+
diff --git a/dynamic-layers/fsl-bsp-release/recipes-bsp/imx-mkimage/imx-mkimage_%.bbappend b/dynamic-layers/fsl-bsp-release/recipes-bsp/imx-mkimage/imx-mkimage_%.bbappend
new file mode 100644
index 0000000..b8561ec
--- /dev/null
+++ b/dynamic-layers/fsl-bsp-release/recipes-bsp/imx-mkimage/imx-mkimage_%.bbappend
@@ -0,0 +1,3 @@
+FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:"
+
+SRC_URI += "file://0001-Parsing-the-devicetree-name.patch"