public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
From: Wolfgang Denk <wd@denx.de>
To: u-boot@lists.denx.de
Subject: [U-Boot] Can physical flash initramfs cpio address be given to bootm?
Date: Wed, 17 Mar 2010 21:48:07 +0100	[thread overview]
Message-ID: <20100317204807.10A785086C@gemini.denx.de> (raw)
In-Reply-To: <3d1967ab1003171233g5dc9cc20me150066bf64f5db2@mail.gmail.com>

Dear Brian Hutchinson,

In message <3d1967ab1003171233g5dc9cc20me150066bf64f5db2@mail.gmail.com> you wrote:
> Can I use the physical flash address of a initramfs with the u-boot
> bootm command?  The kernel doesn't appear to like it .... see below.

As far as U-Boot is concerned: yes, you can.

In my understanding any sane kernel implementation shoul dbe able to
deal with this.

> I'm not sure if the problem I've having is a kernel or u-boot issue.
> I posted on the ARM linux list too so forgive me if you are on both
> lists.

Indeed ARM is one architecture which is well-known for NOT supporting
such a boot mode - for reasons I still fail to understand.

Patches to fix this have been posted several times on the ARM kernel
list - and been rejected because such a feature is "not needed".

> I need a initial ram filesystem and don't want it built into the
> kernel so I've built an external initramfs cpio.gz.

I understand your situation. You have basicly 3 options:

- accept the additional, useless copy of the file system image to RAM
- convince the ARM maintainers that this is a useful feature
- live with out-of-tree patches like this one:
  http://git.denx.de/?p=linux-2.6-denx.git;a=commit;h=4f112fe89c1ca9ad7853304bd93d39aeedbb06f9

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
Microsoft Multimedia:
You have nice graphics, sound and animations when the system crashes.

  reply	other threads:[~2010-03-17 20:48 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-03-17 19:33 [U-Boot] Can physical flash initramfs cpio address be given to bootm? Brian Hutchinson
2010-03-17 20:48 ` Wolfgang Denk [this message]
2010-03-18  1:08   ` Brian Hutchinson
2010-03-22 23:19     ` Brian Hutchinson

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=20100317204807.10A785086C@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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox