Hi
I have a Kabylake laptop with a Sunrise Point chipset, that I want to port to coreboot using the FSP blob. I have no coding skills, but can follow the Librem build coreboot script and use code from ports using FSP 2.0 (Librem 15v3, Google Kabylake Chromebooks, Kabylake RVP8) to create mainboard directory for the laptop with proper devicetree. The EC on the laptop is an ITE with no datasheet available. Is it possible to at least get the laptop to boot using some code from these ports + the FSP and then use console log to fix issues? Can bad code alone damage the laptop?
Chris
Hi Chris,
On 25.06.2018 16:50, chrisglowaki@tutanota.com wrote:
I have a Kabylake laptop with a Sunrise Point chipset, that I want to port to coreboot using the FSP blob. I have no coding skills, but can follow the Librem build coreboot script and use code from ports using FSP 2.0 (Librem 15v3, Google Kabylake Chromebooks, Kabylake RVP8) to create mainboard directory for the laptop with proper devicetree. The EC on the laptop is an ITE with no datasheet available. Is it possible to at least get the laptop to boot using some code from these ports + the FSP and then use console log to fix issues? Can bad code alone damage the laptop?
you can generally boot without a complete port. But you can also damage the hardware if you are not careful. Beside the devicetree settings (pay attention when it comes to the voltage regulator settings!), the GPIO configuration should also match your board. You can try to boot without GPIO configuration (it should be safe because the hardware has to expect the reset defaults for the GPIOs). But *never* try to boot with a copied GPIO configuration from another board.
Regarding the EC, you can learn a lot about its interface from the ven- dor's ACPI implementation. Unless the board uses a lot of PnP interfaces of the EC (unlikely for a modern laptop), the datasheet is usually not helpful. What you really would need is documentation about the EC firm- ware and its OS interface. And you'll likely not get that.
Hope that helps, Nico