diff options
| -rw-r--r-- | meta/classes-recipe/uboot-sign.bbclass | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/meta/classes-recipe/uboot-sign.bbclass b/meta/classes-recipe/uboot-sign.bbclass index ad04c82378..abde0bc61c 100644 --- a/meta/classes-recipe/uboot-sign.bbclass +++ b/meta/classes-recipe/uboot-sign.bbclass | |||
| @@ -88,6 +88,9 @@ UBOOT_FIT_ADDRESS_CELLS ?= "1" | |||
| 88 | # This is only necessary for determining the signing configuration | 88 | # This is only necessary for determining the signing configuration |
| 89 | KERNEL_PN = "${PREFERRED_PROVIDER_virtual/kernel}" | 89 | KERNEL_PN = "${PREFERRED_PROVIDER_virtual/kernel}" |
| 90 | 90 | ||
| 91 | UBOOT_FIT_UBOOT_LOADADDRESS ?= "${UBOOT_LOADADDRESS}" | ||
| 92 | UBOOT_FIT_UBOOT_ENTRYPOINT ?= "${UBOOT_ENTRYPOINT}" | ||
| 93 | |||
| 91 | python() { | 94 | python() { |
| 92 | # We need u-boot-tools-native if we're creating a U-Boot fitImage | 95 | # We need u-boot-tools-native if we're creating a U-Boot fitImage |
| 93 | sign = d.getVar('UBOOT_SIGN_ENABLE') == '1' | 96 | sign = d.getVar('UBOOT_SIGN_ENABLE') == '1' |
| @@ -248,8 +251,8 @@ uboot_fitimage_assemble() { | |||
| 248 | os = "u-boot"; | 251 | os = "u-boot"; |
| 249 | arch = "${UBOOT_ARCH}"; | 252 | arch = "${UBOOT_ARCH}"; |
| 250 | compression = "none"; | 253 | compression = "none"; |
| 251 | load = <${UBOOT_LOADADDRESS}>; | 254 | load = <${UBOOT_FIT_UBOOT_LOADADDRESS}>; |
| 252 | entry = <${UBOOT_ENTRYPOINT}>; | 255 | entry = <${UBOOT_FIT_UBOOT_ENTRYPOINT}>; |
| 253 | EOF | 256 | EOF |
| 254 | 257 | ||
| 255 | if [ "${SPL_SIGN_ENABLE}" = "1" ] ; then | 258 | if [ "${SPL_SIGN_ENABLE}" = "1" ] ; then |
