All of lore.kernel.org
 help / color / mirror / Atom feed
From: "H. Peter Anvin" <hpa@zytor.com>
To: Brandon Falk <bfalk@gamozolabs.com>
Cc: linux-kernel@vger.kernel.org
Subject: Re: [question] x86/x86_64 boot process
Date: Tue, 12 Jun 2012 14:15:11 -0700	[thread overview]
Message-ID: <4FD7B15F.1050108@zytor.com> (raw)
In-Reply-To: <CAK9+cJXLYX_20Xovy5Th7aXcznVf--RzF+GxxOWiv2gX6pETng@mail.gmail.com>

On 06/12/2012 02:14 PM, Brandon Falk wrote:
> All I really see related to the post-setup stage is:
> 
> 'The 32-bit (non-real-mode) kernel starts at offset (setup_sects+1)*512
> in the kernel file (again, if setup_sects == 0 the real value is 4.)
> It should be loaded at address 0x10000 for Image/zImage kernels and
> 0x100000 for bzImage kernels.'
> 
> I've read this document a few times, and it doesn't seem to mention if
> the kernel assists in loading. Do I have to load up the whole
> protected-mode kernel? Just the first few sectors? I guess that's what
> I'm trying to figure out, and I feel the boot.txt has not answered
> that for me.
> 

The kernel doesn't load anything, that is the boot loader's job.

	-hpa


  reply	other threads:[~2012-06-12 21:15 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-06-12 20:49 [question] x86/x86_64 boot process Brandon Falk
2012-06-12 21:05 ` H. Peter Anvin
2012-06-12 21:14   ` Brandon Falk
2012-06-12 21:15     ` H. Peter Anvin [this message]
2012-06-12 21:16     ` H. Peter Anvin
2012-06-12 21:20       ` Brandon Falk
2012-06-12 21:33         ` Brandon Falk
2012-06-12 21:37           ` H. Peter Anvin

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=4FD7B15F.1050108@zytor.com \
    --to=hpa@zytor.com \
    --cc=bfalk@gamozolabs.com \
    --cc=linux-kernel@vger.kernel.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.