summaryrefslogtreecommitdiffstats
path: root/meta-xilinx-standalone-experimental/recipes-core
diff options
context:
space:
mode:
authorBen Levinsky <ben.levinsky@xilinx.com>2022-04-06 10:42:29 -0700
committerMark Hatle <mhatle@xilinx.com>2022-05-24 10:48:24 -0700
commitdef956b7dbcbb0f415ccb0ef9ec8f09a5723cd7f (patch)
tree22de3ae55aa704aad4d0898f1c88b50a3c8ebb7a /meta-xilinx-standalone-experimental/recipes-core
parent40705815de28d6e4d371640c2f1a3102837bbff4 (diff)
downloadmeta-xilinx-def956b7dbcbb0f415ccb0ef9ec8f09a5723cd7f.tar.gz
dt-processor: Update to use latest lopper
Latest lopper separates the pruning of nodes into separate lop files. Ensure that: 1. Latest lopper is used 2. These pruning operations are included in the A53 and A72 Linux lopper runs. Signed-off-by: Ben Levinsky <ben.levinsky@xilinx.com> Signed-off-by: Mark Hatle <mhatle@xilinx.com> (cherry picked from commit 1df9b28d5284e2ee333c705ce0b41686a87decba) Signed-off-by: Mark Hatle <mhatle@xilinx.com>
Diffstat (limited to 'meta-xilinx-standalone-experimental/recipes-core')
-rwxr-xr-xmeta-xilinx-standalone-experimental/recipes-core/meta/files/dt-processor.sh8
1 files changed, 6 insertions, 2 deletions
diff --git a/meta-xilinx-standalone-experimental/recipes-core/meta/files/dt-processor.sh b/meta-xilinx-standalone-experimental/recipes-core/meta/files/dt-processor.sh
index 4aba672d..c0c9df18 100755
--- a/meta-xilinx-standalone-experimental/recipes-core/meta/files/dt-processor.sh
+++ b/meta-xilinx-standalone-experimental/recipes-core/meta/files/dt-processor.sh
@@ -123,11 +123,15 @@ cortex_a53_linux() {
123 elif [ -n "${domain_file}" ]; then 123 elif [ -n "${domain_file}" ]; then
124 LOPPER_DTC_FLAGS="-b 0 -@" ${lopper} -f --permissive --enhanced -x '*.yaml' \ 124 LOPPER_DTC_FLAGS="-b 0 -@" ${lopper} -f --permissive --enhanced -x '*.yaml' \
125 -i "${domain_file}" -i "${lops_dir}/lop-a53-imux.dts" \ 125 -i "${domain_file}" -i "${lops_dir}/lop-a53-imux.dts" \
126 -i "${lops_dir}/lop-domain-linux-a53.dts" "${system_dtb}" "${dtb_file}" \ 126 -i "${lops_dir}/lop-domain-linux-a53.dts" \
127 -i "${lops_dir}/lop-domain-linux-a53-prune.dts" \
128 "${system_dtb}" "${dtb_file}" \
127 || error "lopper failed" 129 || error "lopper failed"
128 else 130 else
129 LOPPER_DTC_FLAGS="-b 0 -@" ${lopper} -f --enhanced -i "${lops_dir}/lop-a53-imux.dts" \ 131 LOPPER_DTC_FLAGS="-b 0 -@" ${lopper} -f --enhanced -i "${lops_dir}/lop-a53-imux.dts" \
130 -i "${lops_dir}/lop-domain-linux-a53.dts" "${system_dtb}" "${dtb_file}" \ 132 -i "${lops_dir}/lop-domain-linux-a53.dts" \
133 -i "${lops_dir}/lop-domain-linux-a53-prune.dts" \
134 "${system_dtb}" "${dtb_file}" \
131 || error "lopper failed" 135 || error "lopper failed"
132 fi 136 fi
133 rm -f pl.dtsi lop-a53-imux.dts.dtb lop-domain-linux-a53.dts.dtb 137 rm -f pl.dtsi lop-a53-imux.dts.dtb lop-domain-linux-a53.dts.dtb