Hi all, I'm trying to enable the SATA port 1 in an AMD bettong board. I've been able to enable port 0 adding in BiosCallOuts.c the next code after find it in other mainboard.
AGESA_STATUS Fch_Oem_config(UINT32 Func, UINTN FchData, VOID *ConfigPtr) { ... /* sata configuration */ FchParams_reset->FchReset.SataEnable = (CONFIG_HUDSON_SATA_MODE == 0) || (CONFIG_HUDSON_SATA_MODE == 2); ... }
Once the system boots I see the kernel detects both SATA but the port 1 remains down although one disk is connected
[ 0.715359] ahci 0000:00:11.0: AHCI 0001.0300 32 slots 2 ports 6 Gbps 0x3 impl SATA mode ... [ 0.716031] ata1: SATA max UDMA/133 abar m1024@0xf0b8d000 port 0xf0b8d100 irq 26 [ 0.716033] ata2: SATA max UDMA/133 abar m1024@0xf0b8d000 port 0xf0b8d180 irq 26
Anybody knows how to enable the SATA port 1?
Regards Jorge
Hi all,
I've found the sata1 is muxed with the eMMC through the GPIO86. By default, it's initialized to use the eMMC. Changing this the sata1 is detected flawlessly.
Thanks!