summaryrefslogtreecommitdiffstats
path: root/meta-xilinx-bsp
diff options
context:
space:
mode:
authorJaewon Lee <jaewon.lee@xilinx.com>2021-05-11 15:18:56 -0700
committerSai Hari Chandana Kalluri <chandana.kalluri@xilinx.com>2021-07-14 14:58:54 -0700
commitaf0dbdbaa8b76d4da7fe12054702773b2b1be212 (patch)
treeceee1cebaf0e8d811fc6c4d45cb0754110337e35 /meta-xilinx-bsp
parent54b203acdd8ddc97b9b6257776a9f6ce9b4d2a82 (diff)
downloadmeta-xilinx-af0dbdbaa8b76d4da7fe12054702773b2b1be212.tar.gz
linux-xlnx_2021.1.bb: Setting DT_SEARCH_ARG to look for dtbs only
With fpgamanager distro feature enabled, pl-final.dtbo, pl.dtbo, and system-top.dtb are created. with recent changes in core, kernel-fitimage class now considers dtbos when creating the fit image. additionally the artifacts in EXTERNAL_KERNEL_DEVICETREE are sorted for reproducibility, so pl-final.dtbo is picked to be the default dtb which causes issues on bootup of the image. Note: there is a dtbcount mechanism to be able to manually set a numbered default, but this is not reliable (as well as raises error: "Properties must precede subnodes" in our case) Setting DT_SEARCH_ARG to go back to only processing dtbs when putting together the fitimage. Signed-off-by: Jaewon Lee <jaewon.lee@xilinx.com>
Diffstat (limited to 'meta-xilinx-bsp')
-rw-r--r--meta-xilinx-bsp/recipes-kernel/linux/linux-xlnx_2021.1.bb2
1 files changed, 2 insertions, 0 deletions
diff --git a/meta-xilinx-bsp/recipes-kernel/linux/linux-xlnx_2021.1.bb b/meta-xilinx-bsp/recipes-kernel/linux/linux-xlnx_2021.1.bb
index 40fcd0e6..8c888407 100644
--- a/meta-xilinx-bsp/recipes-kernel/linux/linux-xlnx_2021.1.bb
+++ b/meta-xilinx-bsp/recipes-kernel/linux/linux-xlnx_2021.1.bb
@@ -6,6 +6,8 @@ include linux-xlnx.inc
6 6
7FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:" 7FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:"
8 8
9DT_SEARCH_ARG="-name *.dtb"
10
9fitimage_assemble() { 11fitimage_assemble() {
10 kernelcount=1 12 kernelcount=1
11 dtbcount="" 13 dtbcount=""