public inbox for linuxppc-dev@ozlabs.org 
 help / color / mirror / Atom feed
From: Matt Sealey <matt@genesi-usa•com>
To: Matt Sealey <matt@genesi-usa•com>,
	ppc-dev <linuxppc-dev@ozlabs•org>,
	linuxppc-embedded@ozlabs•org
Subject: Re: OF /chosen/initrd,* variables - patch, official?
Date: Tue, 21 Aug 2007 13:36:49 +0100	[thread overview]
Message-ID: <46CADC61.3050506@genesi-usa.com> (raw)
In-Reply-To: <20070821113232.GB1111@localhost.localdomain>

David Gibson wrote:
> On Tue, Aug 21, 2007 at 12:21:18PM +0100, Matt Sealey wrote:
>> Damn, I should use patchwork more efficiently;
>>
>> http://patchwork.ozlabs.org/linuxppc/patch?q=initrd&filter=none&id=12168
>>
>> Does anyone have any suggestion on the best way to integrate this so that
>> it "just works" on OF platforms? It seems only to be usable way too late
>> in boot to work, this code would have to be called in boot/main.c which seems
>> relatively.. impossible to achieve.. or called in some specialised platform
>> init code..
> 
> It would have to be called from platform_init().  If called in main()
> it would clobber any other platform-specific initialization of the
> initrd parameters in loader_info.

So just to get this straight.. platform_init would be the function called from
md.init or would be better at md.setup_arch?

My goal right now is get something for CHRP (Pegasos) and Efika and try not
to cause problems for anything else, but also really try not to clutter the
thing with config checks, platform checks etc.

-- 
Matt Sealey <matt@genesi-usa•com>
Genesi, Manager, Developer Relations

  parent reply	other threads:[~2007-08-21 12:36 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-08-21 11:12 OF /chosen/initrd,* variables - patch, official? Matt Sealey
2007-08-21 11:21 ` Matt Sealey
2007-08-21 11:32   ` David Gibson
2007-08-21 12:19     ` Linux 2.6.23.rc3 boot issues on XUPV2P Computer - Service
2007-08-21 12:52       ` Grant Likely
2007-08-21 12:36     ` Matt Sealey [this message]
2007-08-21 12:42       ` OF /chosen/initrd,* variables - patch, official? David Gibson
2007-08-21 12:58         ` Matt Sealey
2007-08-21 13:54           ` David Gibson
2007-08-21 14:24             ` Matt Sealey
2007-08-22  1:44               ` 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=46CADC61.3050506@genesi-usa.com \
    --to=matt@genesi-usa$(echo .)com \
    --cc=linuxppc-dev@ozlabs$(echo .)org \
    --cc=linuxppc-embedded@ozlabs$(echo .)org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html
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