Hi David,
Yes, actually I have same try like you to comment out the SMBus clock gating. But the result is it started to reboot again after jumping to boot code as attached. I use U-Boot as payload. If grub was used, it just hanged there. Did you have same condition before? Thanks.
-Hilbert
From: David Hendricks [mailto:david.hendricks@gmail.com] Sent: Thursday, January 04, 2018 7:56 AM To: Hilbert Tu(杜睿哲_Pegatron) Cc: Zoran Stojsavljevic; coreboot@coreboot.org Subject: Re: [coreboot] BDX-DE PCI init fail
Hi Hilbert,
On Wed, Jan 3, 2018 at 12:56 AM, Hilbert Tu(杜睿哲_Pegatron) <Hilbert_Tu@pegatroncorp.commailto:Hilbert_Tu@pegatroncorp.com> wrote: Hi Zoran,
I have changed to maximal log level and found SMBus init was failed when enabling clock gating. Do you have any comments about this? Thanks.
Yes, looking back at my notes from earlier that is also how I got past the issue - by commenting out the following lines in src/soc/intel/fsp_broadwell_de/smbus.c: /* Enable clock gating */ reg32 =read32(rcba + 0x341c); reg32 |= (1 << 5); write32(rcba + 0x341c, reg32); I suspected that reading the register is where it hung, however I did not have a chance to root cause the issue or try to enable clock gating elsewhere. The system worked without clock gating enabled, though.
I also tested another Broadwell-DE device that did not require the same hack, but it used different memory and a different processor stepping (stepping 3 instead of stepping 4) which may have made a difference.
This e-mail and its attachment may contain information that is confidential or privileged, and are solely for the use of the individual to whom this e-mail is addressed. If you are not the intended recipient or have received it accidentally, please immediately notify the sender by reply e-mail and destroy all copies of this email and its attachment. Please be advised that any unauthorized use, disclosure, distribution or copying of this email or its attachment is strictly prohibited. 本電子郵件及其附件可能含有機密或依法受特殊管制之資訊,僅供本電子郵件之受文者使用。台端如非本電子郵件之受文者或誤收本電子郵件,請立即回覆郵件通知寄件人,並銷毀本電子郵件之所有複本及附件。任何未經授權而使用、揭露、散佈或複製本電子郵件或其附件之行為,皆嚴格禁止。