On 02.08.2017 15:18, Zheng Bao wrote:
i just replace the bios region with my coreboot and other parts of ibv image untouched. is it a right way?
Is that a fresh image from the IBV? or a backup from a working system? The ME firmware can store some state in its flash region and it doesn't always succeed if you restore a backup. Best option is to flash a fresh image, make sure everything works (e.g. using the original firmware and run some tool like intelmetool) and then never flash the ME region again during coreboot development (if you use flashrom use a layout).
what kinds of issue do you mean?
Um, to quote yourself:
It seems that the ME is not 100% right.
and your log had this somewhere in romstage:
ERROR: ME failed to respond
Nico
2017年8月2日 18:58于 Nico Huber nico.huber@secunet.com写道: On 02.08.2017 04:23, Zheng Bao wrote:
src/soc/intel/broadwell/lpc.c /* Initialize power management */ // pch_power_options(dev); // pch_pm_init(dev); printk(BIOS_INFO, "%s,%d.\n", __func__, __LINE__); // pch_cg_init(dev); printk(BIOS_INFO, "%s,%d.\n", __func__, __LINE__);
// pch_set_acpi_mode();
I need to skip all these 4 functions to run through, otherwise it hangs. What causes this? or what setting is not right?
Did you fix your ME issue yet? it might be futile to make assumptions about the hardware if the ME is no running correctly.
If you are sure your ME is doing well and all four functions above fail individually, there may be multiple issues. I'd start by diving deeper into those function and find the first hardware access that makes it hang.
The first function enables SMIs based on devicetree settings. Make sure these settings match your hardware (or set them to zero if in doubt, to rule them out).
Nico
Zheng
From: coreboot coreboot-bounces@coreboot.org on behalf of Zheng Bao fishbaoz@hotmail.com Sent: Tuesday, August 1, 2017 1:51 PM To: Matt DeVillier Cc: Nico Huber; stefan.reinauer@coreboot.org; coreboot@coreboot.org Subject: Re: [coreboot] Broadwell-U hangs at VGA init (update)
Refcode is added and VGA BIOS passes. hangs at "Set power off after power failure. "
It seems that the ME is not 100% right.
Zheng