diff options
author | 2021-06-21 13:16:47 +0200 | |
---|---|---|
committer | 2021-06-22 15:17:01 +0100 | |
commit | 8628a276a01e994e84d3c6ac8397860e8e2bbb5b (patch) | |
tree | 145501898e0bd35179561c68786b8eddf1197c6c /meta/classes/uboot-sign.bbclass | |
parent | d5d0f173be8cc27a0d5c475754483e76185b46b8 (diff) | |
download | openembedded-core-contrib-8628a276a01e994e84d3c6ac8397860e8e2bbb5b.tar.gz |
u-boot-tools: fix a mkimage signature issue
A following error was observed:
| Can't write signature for 'signature@1' signature node in 'conf@imx6ull-colibri-wifi-eval-v3.dtb' conf node: <unknown error>
| uboot-mkimage Can't add hashes to FIT blob: -1
This is caused by a wrong return value being used in uboot source.
The return value '-ENOSPC' of fit_set_timestamp function does not match
the caller fit_image_write_sig's expection which is '-FDT_ERR_NOSPACE'.
Fix it by not calling fit_set_timestamp, but call fdt_setprop instead.
Signed-off-by: Ming Liu <liu.ming50@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/classes/uboot-sign.bbclass')
0 files changed, 0 insertions, 0 deletions