From: Wolfgang Denk <wd@denx.de>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH] tools: mkimage can read input on /dev/stdin
Date: Sat, 27 Sep 2014 15:25:25 +0200 [thread overview]
Message-ID: <20140927132525.7EB02382279@gemini.denx.de> (raw)
In-Reply-To: <CADF714bJ6-WvjBSd1u8UA-zT+H0TUO5vqO3_-6Q34yUjvbkVxw@mail.gmail.com>
Dear Julien,
In message <CADF714bJ6-WvjBSd1u8UA-zT+H0TUO5vqO3_-6Q34yUjvbkVxw@mail.gmail.com> you wrote:
> On Sat, Sep 27, 2014 at 2:54 PM, Wolfgang Denk <wd@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.
Sorry, but I don't understand this. Where are the image(s) coming
from, then? Who or what is feeding the pipe?
> > What is the size and performance impact of the suggested change for
> > typical use cases?
>
> None. The behaviour is exactly the same.
I don't believe you. Sizes rare certainly not identical, and neither
is the performance. Did you do any real measurements?
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
All women should know how to take care of children. Most of them will
have a husband some day. - Franklin P. Jones
next prev parent reply other threads:[~2014-09-27 13:25 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-09-26 19:33 [U-Boot] [PATCH] tools: mkimage can read input on /dev/stdin Julien Castets
2014-09-27 12:54 ` Wolfgang Denk
2014-09-27 13:11 ` Julien Castets
2014-09-27 13:25 ` Wolfgang Denk [this message]
2014-09-27 17:28 ` Julien Castets
2014-09-27 18:24 ` Wolfgang Denk
2014-09-27 19:06 ` Julien Castets
2014-09-27 21:56 ` Wolfgang Denk
2014-09-27 22:01 ` Marek Vasut
2014-09-27 22:21 ` Wolfgang Denk
2014-09-28 0:16 ` Julien Castets
2014-09-28 6:49 ` Wolfgang Denk
2014-09-28 10:49 ` Julien Castets
2014-09-28 17:48 ` Wolfgang Denk
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20140927132525.7EB02382279@gemini.denx.de \
--to=wd@denx.de \
--cc=u-boot@lists.denx.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.