This is the mail archive of the
ecos-discuss@sources.redhat.com
mailing list for the eCos project.
RedBoot IDE access on x86 without BIOS
- To: <ecos-discuss at sources dot redhat dot com>
- Subject: [ECOS] RedBoot IDE access on x86 without BIOS
- From: Adam Agnew <agnew at missl dot cs dot umd dot edu>
- Date: Thu, 13 Sep 2001 07:06:39 -0400 (EDT)
- cc: <waa at cs dot umd dot edu>, <bdpayne at cs dot umd dot edu>, <usn01a at hotmail dot com>
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?
Thank you for your time.
Sincerely, Adam Agnew