linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Thomas Horsten <thomas@horsten.com>
To: Halil Demirezen <nitrium@bilmuh.ege.edu.tr>
Cc: linux-kernel@vger.kernel.org
Subject: Re: about bios
Date: Tue, 6 May 2003 01:08:07 +0200 (CEST)	[thread overview]
Message-ID: <Pine.LNX.4.40.0305060101350.7106-100000@jehova.dsm.dk> (raw)
In-Reply-To: <20030505230425.GA17060@bilmuh.ege.edu.tr>

On Tue, 6 May 2003, Halil Demirezen wrote:

> So can we say that, during initialization, setup.s pushes some bios info
> to the memory, and then after entering protected mode in i386, it pops
> these information and sets kernel depending on it. Because of absence of
> FDC controller info at this data area linux does not recognize FDC. However,

No it doesn't push or pop any info from the BIOS. The FDC is simply turned
off in the chipset initialisation code (in BIOS), in a proprietary way
that Linux doesn't know about.

> I can turn it on still usin IO ports and using in, out assembly
> instructions.

No. You need to change a chipset register to power it back on. And how to
do this depends on the chipset. On an old ISA floppy controller, this
would not be possible in software but would have to be done by a jumper,
but modern chipsets are configurable through registers. Unfortunately all
the different chipsets have different initialisation code for this, and
some are even not documented at all.

This is why, even though Linux does not use the BIOS at any point after
booting, some chipset setup code is still required and therefore you can't
just burn a Linux kernel into flash and start it directly (there is a
project called LinuxBIOS that was working on a replacement BIOS for some
common chipsets, intended for embedded systems).

Regards,
Thomas


  reply	other threads:[~2003-05-05 22:55 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-05-05 22:50 about bios Halil Demirezen
2003-05-05 22:45 ` Thomas Horsten
2003-05-05 23:04   ` Halil Demirezen
2003-05-05 23:08     ` Thomas Horsten [this message]
2003-05-05 23:52       ` Adam Sulmicki
2003-05-06  8:03         ` Thomas Horsten
2003-05-06 10:06           ` Eric W. Biederman
2003-05-06 12:28         ` Mr. James W. Laferriere
2003-06-18 14:43           ` Adam Sulmicki
2003-06-18 15:18             ` Mr. James W. Laferriere

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=Pine.LNX.4.40.0305060101350.7106-100000@jehova.dsm.dk \
    --to=thomas@horsten.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=nitrium@bilmuh.ege.edu.tr \
    /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).