diff options
author | Ming Liu <liu.ming50@gmail.com> | 2021-06-21 13:16:47 +0200 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2021-06-22 15:18:11 +0100 |
commit | e9fa8f9001471bb240e997cb4537d2f617f22957 (patch) | |
tree | 6a0b65bccd803eaca1afe42f08f86c544cc970e3 /meta/classes/uboot-sign.bbclass | |
parent | 456191f9370801c24ed71f2e3a010f60c619f028 (diff) | |
download | poky-e9fa8f9001471bb240e997cb4537d2f617f22957.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.
(From OE-Core rev: 8628a276a01e994e84d3c6ac8397860e8e2bbb5b)
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