[LinuxBIOS] [PATCH] fix port 0 on sata controller 0 for ck804 based boards

Uwe Hermann uwe at hermann-uwe.de
Sun Nov 18 03:09:13 CET 2007

On Thu, Nov 15, 2007 at 03:44:07PM -0500, Ward Vandewege wrote:
> The ck804 code in the LB tree does not properly initialize all SATA ports.
> The situation is currently as follows for boards with 4 SATA ports:
> * sata controller 0: both ports 100% dead (no drives detected)
> * sata controller 1: port 0 ok; port 1 sees drive but times out when trying
>   to access it

Can you elaborate how you tested this?

Here's what I was able to test on the ASUS A8N-E. The ports are numbered 1-4
on the PCB, not sure how that maps to your numbers above. I used a 40 GB
SATA disk with 'IDE_DISK_POLL_DELAY = 1' in FILO as well as the 5
seconds spin-up delay patch from the wiki.

Without patches:
 - Port 1, 2 don't work.
 - Port 3: Works (hde in FILO), I can boot from the SATA disk.
 - Port 4: Works (hdg in FILO), I can boot from the SATA disk.

No change in behaviour with your patch applied. Ports 1/2 broken, 3/4 work.

http://www.hermann-uwe.de  | http://www.holsham-traders.de
http://www.crazy-hacks.org | http://www.unmaintained-free-software.org

More information about the coreboot mailing list