From: David Updegraff <dave@cray.com>
To: u-boot@lists.denx.de
Subject: [U-Boot-Users] do_bootm_linux OF_FLAT_TREE
Date: Fri, 05 Jan 2007 16:27:12 -0600 [thread overview]
Message-ID: <459ED0C0.6020108@cray.com> (raw)
In-Reply-To: <20070105211206.CB640353C96@atlas.denx.de>
W.
hmm.. I kind was off on the tangent that I thought Mr. Gala had
suggested of having some way to "know" what kind of images were in that
MULTI (how? mini-headers? magic-bytes?) and cope.. But maybe an
agreed-upon order is ok too. But is friday.. brain shutting down...
> Dear David,
>
> in message <459E6DC3.9040900@cray.com> you wrote:
>> Kumar Gala wrote:
> ...
>>> When I implemented this I felt that it was an all or nothing situation.
>>> Either you specified the memory locations of the kernel, initrd, and dtb
>>> or you used a single MULTI image.
>
> That was what I had in mind, too, when we discussed this.
>
> I have to admit that I missed this special case, too.
>
>> Right... but the _assumption_ everywhere in *_bootm seems to be that
>> MULTI = kernel + initrd
>
> Ummm... this may look like an assumption, but it ain't so. It's just
> that this was the only useful application of multifile images so far.
> My intention however has always been to extend this if it should ever
> be needed - like now.
>
>> so my view would be to not introduce another [unfounded?] assumption
>> that .. eg. MULTI = kernel + initrd + dtb. So; yes; it'd be maybe nice
>
> That's what was discussed, and agreed on, before.
>
>> to have the picking apart of MULTI off in its own func so its done
>> consistently.. or, at a cost of more duct-tape, but less overall
>> impact-full might be enclosed patch.
>>
>> I dunno; still hoping & searching for a less-duct-tape solution.
>
> Maybe we should make this duplicated code a separate function so we
> can use something like "len = find_initrd (hdr, &data);" or so?
>
>
> Best regards,
>
> Wolfgang Denk
>
prev parent reply other threads:[~2007-01-05 22:27 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-01-03 19:18 [U-Boot-Users] do_bootm_linux OF_FLAT_TREE David Updegraff
2007-01-05 15:05 ` Kumar Gala
2007-01-05 15:24 ` David Updegraff
2007-01-05 21:12 ` Wolfgang Denk
2007-01-05 22:27 ` David Updegraff [this message]
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=459ED0C0.6020108@cray.com \
--to=dave@cray.com \
--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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox