From: John Williams <john.williams@petalogix.com>
To: Wolfgang Denk <wd@denx.de>
Cc: linuxppc-dev@ozlabs.org
Subject: Re: simpleImage.XX and large kernels
Date: Tue, 9 Feb 2010 09:12:58 +1000 [thread overview]
Message-ID: <1d3f23371002081512vec499d1wcd0ae2ea34d41df9@mail.gmail.com> (raw)
In-Reply-To: <20100208224812.CBED7A87D1A@gemini.denx.de>
Hi Wolfgang,
On Tue, Feb 9, 2010 at 8:48 AM, Wolfgang Denk <wd@denx.de> wrote:
>> I'm looking at the simpleImage.XXX make target (PPC 405/440), and it
>> seems that by default the arch/powerpc/boot/wrapper script places the
>> bootwrapper at 0x400000, effectively setting a limit on the maximum
>> bootable kernel size.
>>
>> For various reasons we'd like to be able to put a fairly complete
>> rootfs as an initramfs, which obviously blows past a 4Mbyte limit very
>> quickly. =A0Short of adding a new 'platform' option and associated
>> hackery through the powerpc/boot Makefiles and wrapper, is there a
>> quick and clean way I can tell the boot wrapper to link at a higher
>> address?
>
> Is there any specific reason why you want to use simpleImage, instead
> of using a normal uImage either bundled with your ramdisk image as a
> classic multifile image, or (recommended) as a FIT image?
Yes, there are a few reasons, though not necessarily very strong ones!
Although we'll normally be using u-boot, I don't want to make it a
hard requirement. simpleImage's ability to boot directly with a DTB
already bundled is attractive in this regard.
Another reason is that for compatibility with our MicroBlaze flow
(which also uses a simpleImage target, although a MicroBlaze
simpleImage is actually vmlinux with the DTB stuffed into its own
section).
Also sometimes it's nice to have a single ELF or binary blob we can
just push over JTAG straight to the target. Having the DTB embedded
simplifies this process, no need to download vmlinux and DTB
separately, setup boot params etc.
I like FIT and think it's an elegant solution, I'm just a bit
reluctant to force its use. For deeply embedded and flash constrained
systems we sometimes have a requirement to bypass uboot and boot
directly.
I may have to rethink the boot strategy eventually but in the short
term, getting some control over simpleImage as per my original post
would be a good first step.
Regards,
John
next prev parent reply other threads:[~2010-02-08 23:13 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-02-08 10:47 simpleImage.XX and large kernels John Williams
2010-02-08 22:48 ` Wolfgang Denk
2010-02-08 23:12 ` John Williams [this message]
2010-02-24 0:27 ` David Gibson
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=1d3f23371002081512vec499d1wcd0ae2ea34d41df9@mail.gmail.com \
--to=john.williams@petalogix.com \
--cc=linuxppc-dev@ozlabs.org \
--cc=wd@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;
as well as URLs for NNTP newsgroup(s).