Hi Christian.
In APL there are special tuning registers for the SATA lanes which may need an adjust. The fact that stock UEFI runs without issues may be explained that UEFI touches this registers.
Do you have access to related intel docs? Otherwise have a look at https://review.coreboot.org/plugins/gitiles/coreboot/+/refs/heads/master/src... line 71 and following for an example.
You may need this, too if your HW design needs some help to run stable.
Werner
-----Ursprüngliche Nachricht----- Von: Christian Gmeiner christian.gmeiner@gmail.com Gesendet: Montag, 30. September 2019 16:10 An: coreboot coreboot@coreboot.org Betreff: [coreboot] Apollolake: SATA issues
Hi all
I have ported coreboot to a custom design based on APL and have random SATA problems with CFast cards. I am using the latest public APL FSP from github with the latest coreboot master.
From time to time the SATA link 'dies' during runtime or I it is not possible to establish the SATA link at all (in the used u-boot payload). At the moment I am running out of ideas and I hope someone can point me in the right direction.
Btw. with the vendor blob SATA works with out any problems :/
-- greets -- Christian Gmeiner, MSc