All of lore.kernel.org
 help / color / mirror / Atom feed
From: David Daney <ddaney@avtrex.com>
To: Chris Boot <bootc@bootc.net>
Cc: linux-mips@linux-mips.org
Subject: Re: Execute-in-Place (XIP)
Date: Fri, 28 Oct 2005 16:08:08 -0700	[thread overview]
Message-ID: <4362AF58.30403@avtrex.com> (raw)
In-Reply-To: <6D27C791-80C1-42BA-8874-D117DC188F5C@bootc.net>

Chris Boot wrote:
> 
> Now, who knows how much initialisation a bootloader is expected to  
> perform? Does the vrboot loader do the necessary operations, in which  
> case I can just work on that instead of writing my own?
> 
It depends.

Depending on the hardware:

Initialize clocks (things like PLL divisors and such).

Initialize serial port so it can report on its progress.

Initialize memory controller (so that RAM functions).

(optionally) copy bootmonitor to ram so that it can run out of cached 
memory.

(optionally) copy kernel image to ram (possibley uncompressing it) and 
transfersing control to the kernel.

If you are doing XIP, the last two steps are probably skipped.


I have no idea what the vrboot loader does, but that is what the Xilleon 
boot loaders do.

David Daney

      reply	other threads:[~2005-10-28 23:08 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-10-27  9:02 Execute-in-Place (XIP) Chris Boot
2005-10-27 10:29 ` Ralf Baechle
2005-10-28 22:20   ` Chris Boot
2005-10-28 22:51     ` Chris Boot
2005-10-28 23:08       ` David Daney [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=4362AF58.30403@avtrex.com \
    --to=ddaney@avtrex.com \
    --cc=bootc@bootc.net \
    --cc=linux-mips@linux-mips.org \
    /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.