diff options
| author | Jaewon Lee <jaewon.lee@xilinx.com> | 2021-05-11 15:18:56 -0700 |
|---|---|---|
| committer | Sai Hari Chandana Kalluri <chandana.kalluri@xilinx.com> | 2021-07-14 14:58:54 -0700 |
| commit | af0dbdbaa8b76d4da7fe12054702773b2b1be212 (patch) | |
| tree | ceee1cebaf0e8d811fc6c4d45cb0754110337e35 /meta-xilinx-bsp | |
| parent | 54b203acdd8ddc97b9b6257776a9f6ce9b4d2a82 (diff) | |
| download | meta-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.bb | 2 |
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 | ||
| 7 | FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:" | 7 | FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:" |
| 8 | 8 | ||
| 9 | DT_SEARCH_ARG="-name *.dtb" | ||
| 10 | |||
| 9 | fitimage_assemble() { | 11 | fitimage_assemble() { |
| 10 | kernelcount=1 | 12 | kernelcount=1 |
| 11 | dtbcount="" | 13 | dtbcount="" |
