<div dir="ltr"><div class="gmail_extra"><div class="gmail_quote">On Fri, Dec 8, 2017 at 5:57 AM, Аладышев Константин <span dir="ltr"><<a href="mailto:aladyshev@nicevt.ru" target="_blank">aladyshev@nicevt.ru</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Thanks for your answer!<br>
<br>
I've looked more closely at Chromium Embedded Controller project and EC chips it supports. To my surprise 'chromeec' even supports ordinary STM32 controllers without ACPI EC registers (am I right?). </blockquote><div><br></div><div>Yes, we've used it for everything from the main EC to a USB-PD controller to a charger.  STM32 isn't suitable as the main EC for x86-based Chromebooks, of course, due to lack of eSPI / LPC.</div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">So I think is it very important to do schematics as it is in Chromebooks to make use of this project.<br>
<br>
Is there any chance to find schematics for Chromebook boards, to get reference design of implementing ECs with ‘chromeec’ project?<br></blockquote><div><br></div><div>I don't know.  But it supports several STM32 discovery boards, so you can tinker with it on ready-built hardware.<br></div><div><br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<br>
Best regards,<br>
Aladyshev Konstantin<br>
<br>
<br>
<br>
From: <a href="mailto:rspangler@google.com">rspangler@google.com</a> [mailto:<a href="mailto:rspangler@google.com">rspangler@google.com</a>] On Behalf Of Randall Spangler<br>
Sent: Friday, December 01, 2017 7:02 PM<br>
To: Vadim Bendebury<br>
Cc: Аладышев Константин; Coreboot; Shawn N<br>
Subject: Re: [coreboot] Embedded Controller (EC)<br>
<div class="HOEnZb"><div class="h5"><br>
On Fri, Dec 1, 2017 at 6:32 AM, Vadim Bendebury <<a href="mailto:vbendeb@chromium.org">vbendeb@chromium.org</a>> wrote:<br>
[+cc a couple of guys who might have some advice in this respect]<br>
<br>
On Fri, Dec 1, 2017 at 5:07 AM, Аладышев Константин <<a href="mailto:aladyshev@nicevt.ru">aladyshev@nicevt.ru</a>> wrote:<br>
Hello! I'm trying to understand, what is the easiest way today to integrate<br>
EC to custom motherboard? What controller should I choose for new custom<br>
motherboard?<br>
<br>
1) First of all, are there any ECs on market that ship with embedded<br>
firmware, where all you need to do is just a little bit of register<br>
configuration (like SuperIO)? Or is it always like you need to write all<br>
firmware by yourself?<br>
<br>
Most EC vendors that sell dedicated ECs also sell their SDK and source code, but it's not cheap.  So usually roll your own, hopefully based on an open design.<br>
<br>
In that case what is the main difference between<br>
ordinary microcontroller (for example STM32) and some controller marked by<br>
vendor as EC?<br>
<br>
Interfaces.  EC will have:<br>
• Keyboard scanner<br>
• eSPI / LPC for connecting to x86 SoC<br>
• More I2C ports<br>
(and in the old days, PECI and PS/2 ports).<br>
<br>
<br>
2) How stable and flexible are projects about open EC firmware? Is it<br>
possible to adapt these projects for my custom motherboard?<br>
<br>
I'm talking about:<br>
- Chromium Embedded Controller:<br>
<a href="http://www.chromium.org/chromium-os/ec-development" rel="noreferrer" target="_blank">http://www.chromium.org/<wbr>chromium-os/ec-development</a><br>
<br>
This is used on all current Chromebooks, so it's full-featured and stable.  We do tend to branch old boards, so if your motherboard has an old chipset on it you may need to look back in time to find support for it.<br>
<br>
<br>
- Origami-EC: <a href="https://git.code.paulk.fr/gitweb/?p=origami-ec.git;a=summary" rel="noreferrer" target="_blank">https://git.code.paulk.fr/<wbr>gitweb/?p=origami-ec.git;a=<wbr>summary</a><br>
<br>
3) What is the current status of EC support from coreboot point of view?<br>
<a href="https://review.coreboot.org/cgit/coreboot.git/tree/src/ec" rel="noreferrer" target="_blank">https://review.coreboot.org/<wbr>cgit/coreboot.git/tree/src/ec</a><br>
<br>
Best regards,<br>
Aladyshev Konstantin<br>
<br>
<br>
--<br>
coreboot mailing list: <a href="mailto:coreboot@coreboot.org">coreboot@coreboot.org</a><br>
<a href="https://mail.coreboot.org/mailman/listinfo/coreboot" rel="noreferrer" target="_blank">https://mail.coreboot.org/<wbr>mailman/listinfo/coreboot</a><br>
<br>
<br>
<br>
</div></div></blockquote></div><br></div></div>