summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAnthony Bagwell <aj.bagwell@gmail.com>2021-02-15 15:16:06 +0000
committerSteve Sakoman <steve@sakoman.com>2023-07-17 07:28:01 -1000
commitd1b6c34d33704f05374154e4ea7d8acdea7b8018 (patch)
treea26eb87c85d19c04a1cbe4bdb0037def87100e81
parent8a481b1dfeeee8d8d3430f527da1f3f5b7d96999 (diff)
downloadopenembedded-core-contrib-d1b6c34d33704f05374154e4ea7d8acdea7b8018.tar.gz
kernel-fitimage: fix dtbo support for fit images
8a2f4e143 added support for u-boot boot script but missed adding the extra parameter to fitimage_emit_section_config on the dtbo branch Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> (cherry picked from commit 22bac8aea0d5d28cc5a3bf20edf638225cce2f88) Signed-off-by: Steve Sakoman <steve@sakoman.com>
-rw-r--r--meta/classes/kernel-fitimage.bbclass2
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/classes/kernel-fitimage.bbclass b/meta/classes/kernel-fitimage.bbclass
index b88d7dbe4b..7c7bcd3fc0 100644
--- a/meta/classes/kernel-fitimage.bbclass
+++ b/meta/classes/kernel-fitimage.bbclass
@@ -519,7 +519,7 @@ fitimage_assemble() {
for DTB in ${DTBS}; do
dtb_ext=${DTB##*.}
if [ "${dtb_ext}" = "dtbo" ]; then
- fitimage_emit_section_config ${1} "" "${DTB}" "" "" "`expr ${i} = ${dtbcount}`"
+ fitimage_emit_section_config ${1} "" "${DTB}" "" "${bootscr_id}" "" "`expr ${i} = ${dtbcount}`"
else
fitimage_emit_section_config ${1} "${kernelcount}" "${DTB}" "${ramdiskcount}" "${bootscr_id}" "${setupcount}" "`expr ${i} = ${dtbcount}`"
fi