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

Wolfgang Denk wd at denx.de
Sat Sep 27 20:24:36 CEST 2014


Dear Julien,

In message <CADF714bpHv6x8wUxs=7H-st3-ThPCeBWbZvO_-uoQcdWS6WqJQ at mail.gmail.com> you wrote:
>
> > I don't believe you.  Sizes rare certainly not identical, and neither
> > is the performance.  Did you do any real measurements?
> 
> mmap is useful when you need to make random access in a file, or to
> optimize memory: when a file is mmapped, the kernel only loads the
> parts of the file that are accessed. In the case of mkimage, the file
> is read sequentially (meaning all of it will be retrieved from the
> disk).

OK, so you don't have any real data, but make a very specific
statement: "exactly the same."

Sorry, but this is not an answer I'm going to buy.

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
In an infinite universe all things are possible, including the possi-
bility that the universe does not exist.
                        - Terry Pratchett, _The Dark Side of the Sun_


More information about the U-Boot mailing list