public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
From: Chris Ziomkowski <cziom@jsg.co.th>
To: u-boot@lists.denx.de
Subject: [U-Boot] Writing a SATA driver
Date: Tue, 24 Mar 2009 23:10:09 +0700	[thread overview]
Message-ID: <49C905E1.4030905@jsg.co.th> (raw)

Please forgive my dreadful ignorance. I have no experience with uBoot. I 
just downloaded the source code today.

I need to write a driver for a custom SATA IP core for MicroBlaze on a 
Xilinx ML505. I have not been successful finding any documentation which 
explains how to do this with uBoot.

 From looking at the source code in the drivers directory and looking 
for common functions (lucky there were 2 examples or I wouldn't have 
even got this far), it appears I need to write at least 4 functions:

init_sata()
scan_sata()
sata_read()
sata_write()

Is there some real documentation somewhere which explains exactly what 
these functions are supposed to do? Are there more that I have missed? I 
apologize if I am supposed to know these answers already, but after a 
few hours of investigation I have not been able to come up with anything 
useful.

Can someone recommend a course of action that will help me understand 
what I need to do?

Thank you for any assistance.

Chris

                 reply	other threads:[~2009-03-24 16:10 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=49C905E1.4030905@jsg.co.th \
    --to=cziom@jsg.co.th \
    --cc=u-boot@lists.denx.de \
    /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