Re: [PATCH v2] tools: open FIT image read-only

2024-04-10 Thread Tom Rini
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

Re: [PATCH v2] tools: open FIT image read-only

2024-04-04 Thread Dragan Simic
Hello all, Just a brief reminder about merging this patch. It looks fine to me. On 2024-03-21 19:31, 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 \

[PATCH v2] tools: open FIT image read-only

2024-03-21 Thread Ahelenia Ziemiańska
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.