public inbox for ecos-discuss@sourceware.org
 help / color / mirror / Atom feed
From: Mark Salter <msalter@redhat.com>
To: agnew@missl.cs.umd.edu
Cc: ecos-discuss@sources.redhat.com, waa@cs.umd.edu,
	bdpayne@cs.umd.edu, usn01a@hotmail.com
Subject: Re: [ECOS] RedBoot IDE access on x86 without BIOS
Date: Thu, 13 Sep 2001 04:51:00 -0000	[thread overview]
Message-ID: <200109131151.f8DBp1h08839@deneb.localdomain> (raw)
In-Reply-To: <Pine.BSF.4.33.0109130654590.60228-100000@www.missl.cs.umd.edu>

>>>>> Adam Agnew writes:

> Greetings,
> Right now I have RedBoot running from a ram based elf image from the
> rom with the use of LinuxBIOS (www.linuxbios.org) . It's pretty swell.
> But, it's not detecting the presence of any of the hard drives. I looked
> at the code, and it doesn't seem to be using any BIOS int calls. Anyone
> have any idea as to what could be wrong? I don't think it's a matter of
> the hard drives not having time to spin up, because a reboot doesn't make
> it suddenly work either. Everything looks OK to me, except perhaps these
> defines in ecos/packages/hal/i386/pcmb/current/include/pcmb_io.h :

> #define __PCMB_IDE_PRI_CMD   0x1f0
> #define __PCMB_IDE_PRI_CTL   0x3f4
> #define __PCMB_IDE_SEC_CMD   0x170
> #define __PCMB_IDE_SEC_CTL   0x374

> Shouldn't __PCMB_IDE_PRI_CTL be 0x3f6 and __PCMB_IDE_SEC_CTL 0x376? And if
> not, could you explain why please?

I think you're right, but the odd thing is it sees the drives on my pc.
The above defines are correct for the base of the control registers.
Its the macros for HAL_IDE_READ_ALTSTATUS and HAL_IDE_WRITE_CONTROL
which need to add 2 to the base to get the status/ctl regs.

--Mark


  reply	other threads:[~2001-09-13  4:51 UTC|newest]

Thread overview: 18+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-07-11 12:07 [ECOS] Problems with RedBoot on x86 generic pc Matthew M. DeLoera
2001-07-11 14:25 ` Jonathan Larmour
2001-07-31  7:59   ` Trenton D. Adams
2001-07-31 10:56     ` Jonathan Larmour
2001-07-31 12:01       ` Trenton D. Adams
2001-07-31 13:43         ` Jonathan Larmour
2001-07-31 14:20           ` Trenton D. Adams
2001-07-31 14:23             ` Jonathan Larmour
2001-09-07 11:25       ` Adam Agnew
2001-09-13  2:02         ` Adam Agnew
2001-09-13  3:56           ` [ECOS] RedBoot IDE access on x86 without BIOS Adam Agnew
2001-09-13  4:51             ` Mark Salter [this message]
2001-09-13  6:18               ` Adam Agnew
2001-09-13  6:24                 ` Mark Salter
2001-09-13  6:53                   ` Adam Agnew
2001-09-13  9:36           ` [ECOS] Problems with RedBoot on x86 generic pc Jonathan Larmour
2001-09-14  9:14             ` Adam Agnew
2001-09-14 12:43               ` Matthew DeLoera

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=200109131151.f8DBp1h08839@deneb.localdomain \
    --to=msalter@redhat.com \
    --cc=agnew@missl.cs.umd.edu \
    --cc=bdpayne@cs.umd.edu \
    --cc=ecos-discuss@sources.redhat.com \
    --cc=usn01a@hotmail.com \
    --cc=waa@cs.umd.edu \
    /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 read-only IMAP folder(s) and NNTP newsgroup(s).