]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core.git/commitdiff
kernel-fitimage: fix dtbo support for fit images
authorAnthony Bagwell <aj.bagwell@gmail.com>
Mon, 15 Feb 2021 15:16:06 +0000 (15:16 +0000)
committerSteve Sakoman <steve@sakoman.com>
Mon, 17 Jul 2023 17:28:01 +0000 (07:28 -1000)
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>
meta/classes/kernel-fitimage.bbclass

index b88d7dbe4b36d711d8ed7cb5799b8f2028e31f2c..7c7bcd3fc0a9fcce29cfc612503cf956776b89c3 100644 (file)
@@ -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