diff options
author | Ming Liu <ming.liu@toradex.com> | 2021-05-31 09:27:31 +0200 |
---|---|---|
committer | Max Krummenacher <max.krummenacher@toradex.com> | 2021-06-11 11:54:14 +0200 |
commit | 6afef1e44279d41bb8fdda11dfecbf8cdd213f8d (patch) | |
tree | b2457ad7df7b30bf9d918df96ec3d37488a7b6bc /recipes-kernel/linux | |
parent | e616c88490d66560c3a88df0d8a60caa32b18757 (diff) |
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.
Related-to: TOR-1704
Signed-off-by: Ming Liu <ming.liu@toradex.com>
(cherry picked from commit 7cba654ca343f52b3b8258cc2073d1287fa96c16)
Diffstat (limited to 'recipes-kernel/linux')
0 files changed, 0 insertions, 0 deletions