[PATCH v2] tools: open FIT image read-only
Tom Rini
trini at konsulko.com
Wed Apr 10 19:43:21 CEST 2024
On Thu, 21 Mar 2024 19:31:54 +0100, Ahelenia Ziemiańska wrote:
> Open for reading as O_RDONLY instead of O_RDWR:
> the only usage of the fd is for the single read() below;
> this prevented
> mkimage -f auto -A arm64 \
> -T kernel -C lz4 -d Image-6.6.15.lz4 \
> -b mt8173-elm-hana-6.6.15.dtb outf
> when the inputs were unwritable.
>
> [...]
Applied to u-boot/master, thanks!
--
Tom
More information about the U-Boot
mailing list