[U-Boot] [PATCH] tools: mkimage can read input on /dev/stdin
Wolfgang Denk
wd at denx.de
Sat Sep 27 14:54:34 CEST 2014
Dear Julien,
In message <CADF714agpUedt_o3iXcGBRBc5CaV6TBUn=1oGEqJj3h2b+f-Vg at mail.gmail.com> you wrote:
>
> I would like to give /dev/stdin to the flag -d of mkimage. The only
What would be the benefit of doing so? Do you have an example for a
practical use case where this makes sense?
> This patch replaces the use of mmap(2) with read(2). If accepted, I
> could give a look to accept /dev/stdout as output file (which is
> currently also required to be a file).
What is the size and performance impact of the suggested change for
typical use cases?
Best regards,
Wolfgang Denk
--
DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
Q: Why do PCs have a reset button on the front?
A: Because they are expected to run Microsoft operating systems.
More information about the U-Boot
mailing list