[U-Boot] [PATCH] tools: mkimage can read input on /dev/stdin

Julien Castets castets.j at gmail.com
Sat Sep 27 15:11:16 CEST 2014


On Sat, Sep 27, 2014 at 2:54 PM, Wolfgang Denk <wd at denx.de> wrote:
> What would be the benefit of doing so?  Do you have an example for a
> practical use case where this makes sense?

In my case, I have a TFTP server that dyncamically generates uboot
bootfiles when a specific file is requested. The input template file
being generated, I need to create a temporary file to store it before
calling mkimage. Except the mmap, there's no technical restriction for
mkimage to be able to read on a pipe.

> What is the size and performance impact of the suggested change for
> typical use cases?

None. The behaviour is exactly the same.

-- 
Julien Castets
+33 (0)6.85.20.10.03


More information about the U-Boot mailing list