[coreboot] IDE interface support code for AMDLX800-CS5536
darmawan.salihun at gmail.com
Tue Jan 4 21:41:17 CET 2011
On 1/5/11, Marc Jones <marcj303 at gmail.com> wrote:
> On Sat, Jan 1, 2011 at 1:38 PM, Darmawan Salihun
> <darmawan.salihun at gmail.com> wrote:
>>> On 1/2/11, Darmawan Salihun <darmawan.salihun at gmail.com> wrote:
>>> Hi guys,
>>> I'm looking for the support code for the IDE controller in CS5536
>>> I checked-out Coreboot source code but only saw Flash interface
>>> support in there.
>>> I saw the IDE controller is switched to Flash interface support with
>>> the "DEADBEEF"
>>> magic number.
>>> The board I'm working with right now use the primary IDE channel for both
>>> HDD connectors and a CF connectors. I need to know how to initialize
>>> the chipset
>>> correctly for this setup. The CF connector is the primary master and
>>> the HDD connector is primary slave.
>>> I've checked with lspci and " cat /proc/ioports" and I found that the
>>> legacy I/O ports
>>> for IDE controller is working just fine. Also, the I/O ports for
>>> IDE bus mastering (SFF-8038i) registers are allocated correctly.
>> I mean with the current code that I tested the I/O ports allocation is
>> just fine.
> Hi Darmawan,
> The IDE should get setup by default if the flash switch path is not
> I assume you have already read the registers in the databook..
Yes, I've been reading it several times over ;-).
I have pin point the problem to be in setting the appropriate "ATA mode"
for the attached drives.
The motherboard I'm working with has a CF interface in the primary master.
While the primary slave is a 44-pin IDE connector (currently connected
to an 80GB
I booted FreeBSD 8.0 installation disk in full debug (via USB DVD),
but it failed when it tried to set the drive controller mode via
"SET FEATURE" (ATA command). This renders the CF _and_ the HDD unusable.
I also booted to backtrack 3 i386 Linux, but it also failed even
earlier (via USB DVD),
when it tried to check for drive presence via "IDENTIFY" (ATA command).
I'm confused as to: What are the "acceptable" values for the IDE_DTC,
IDE_ETC registers? I mean values which would enable the OS to use mass storage
device(s) on the IDE primary channel.
> There may be more information on the embedded developer site. The
> embedded guys are coreboot friendly, so they should be able to point
> at the appropriate doc.
I see. On to the site.
-= Human knowledge belongs to the world =-
More information about the coreboot