diff options
author | Ahmad Fatoum <a.fatoum@pengutronix.de> | 2022-08-15 08:38:53 +0200 |
---|---|---|
committer | Sascha Hauer <s.hauer@pengutronix.de> | 2022-08-16 08:34:06 +0200 |
commit | 81f0511d0fde5ac917fb322f2ad2184b3b033eec (patch) | |
tree | e0a90982a79d4d2c79ce2cb555b9dafccefef369 /dts/Bindings/csky/cpus.txt | |
parent | fce0d30e07df009edb2aceace22a490a04a5a2c9 (diff) | |
download | barebox-81f0511d0fde5ac917fb322f2ad2184b3b033eec.tar.gz barebox-81f0511d0fde5ac917fb322f2ad2184b3b033eec.tar.xz |
ARM: i.MX8M: HABv4: make barebox SHA256 embedding POSIX-shell compatible
C-Style printf "\xHH" is not supported by a POSIX shell,
while printf "\oOOO" is. As we use printf "\xHH" for converting the
textual output of sha256sum into binary, systems using dash as shell
will end up embedding literal \xHH characters in the output resulting in
an ubootable barebox when CONFIG_PBL_VERIFY_PIGGY=y:
!hash mismatch, refusing to decompress
Fix this by using octal escape sequences instead.
Signed-off-by: Ahmad Fatoum <a.fatoum@pengutronix.de>
Reviewed-by: Rouven Czerwinski <r.czerwinski@pengutronix.de>
Link: https://lore.barebox.org/20220815063853.672239-1-a.fatoum@pengutronix.de
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'dts/Bindings/csky/cpus.txt')
0 files changed, 0 insertions, 0 deletions