ITE IT8568 Embedded Controller support

301 views
Skip to first unread message

lighto...@gmail.com

unread,
Mar 5, 2019, 10:32:49 AM3/5/19
to Chromium OS Development
Currently I am reverse-engineering firmware for IT8568vg in HP x2 Detachable 10-pXXX notebook/tablet. I wrote a tool for re-flashing this EC via i2c slave and successfully made a simple firmware for this chip.
I want to implement some features, which original vendor firmware doesn't have.

So, now I need to decide what to do next: use some project as a base for firmware development or write everything from scratch. afaik, chrome-ec already supports it8320 chip which is somewhat similar to it8568, and the whole project is based around EC's running in Chromebooks, so, I'd like to hear some developer opinions about adding support for this chip and HP x2 to chrome-ec.

It is OK for this project to add a support for non-Chromebook devices?

IT8568VG MCU is based on Intel 8051 ISA, it has 256 bytes of internal ram and 4KB of external ram. What is the system requirements of chrome-ec? Will it work with that low ram amount?

Since I don't have a datasheet, some of EC registers will be still unknown. For example, table of gpio -> interrupts -> wuc mapping will be incomplete, but I think i can implement support for EC functions that is used in my notebook.

Nicolas Boichat

unread,
Mar 5, 2019, 6:23:22 PM3/5/19
to lighto...@gmail.com, Chromium OS Development
Hi,

On Tue, Mar 5, 2019 at 11:32 PM <lighto...@gmail.com> wrote:
>
> Currently I am reverse-engineering firmware for IT8568vg in HP x2 Detachable 10-pXXX notebook/tablet. I wrote a tool for re-flashing this EC via i2c slave and successfully made a simple firmware for this chip.
> I want to implement some features, which original vendor firmware doesn't have.
>
> So, now I need to decide what to do next: use some project as a base for firmware development or write everything from scratch. afaik, chrome-ec already supports it8320 chip which is somewhat similar to it8568, and the whole project is based around EC's running in Chromebooks, so, I'd like to hear some developer opinions about adding support for this chip and HP x2 to chrome-ec.
>
> It is OK for this project to add a support for non-Chromebook devices?
>
> IT8568VG MCU is based on Intel 8051 ISA, it has 256 bytes of internal ram and 4KB of external ram. What is the system requirements of chrome-ec? Will it work with that low ram amount?

The EC codebase only supports 32-bit ISAs, so no 8051, sorry... You're
going to hit all sorts of issues if your ints/pointers are not 32-bit
long. Also, 4k of RAM is not going to be enough for most applications.

it8320 uses nds32 architecture, which is why we were able to use it
with our codebase.

Sounds like a fun project anyway, good luck!

Best,

> Since I don't have a datasheet, some of EC registers will be still unknown. For example, table of gpio -> interrupts -> wuc mapping will be incomplete, but I think i can implement support for EC functions that is used in my notebook.
>
> --
> --
> Chromium OS Developers mailing list: chromiu...@chromium.org
> View archives, change email options, or unsubscribe:
> https://groups.google.com/a/chromium.org/group/chromium-os-dev

lighto...@gmail.com

unread,
Mar 7, 2019, 3:23:08 AM3/7/19
to Chromium OS Development, lighto...@gmail.com

The EC codebase only supports 32-bit ISAs, so no 8051, sorry... You're
going to hit all sorts of issues if your ints/pointers are not 32-bit
long. Also, 4k of RAM is not going to be enough for most applications.

it8320 uses nds32 architecture, which is why we were able to use it
with our codebase.

Sounds like a fun project anyway, good luck!

Well.. then it will be a hard way :)

Thanks.

torrga...@gmail.com

unread,
May 8, 2019, 12:32:46 PM5/8/19
to Chromium OS Development, lighto...@gmail.com
Hi, I have the same pc and am very interested in your project, got any links to share?
Reply all
Reply to author
Forward
This conversation is locked
You cannot reply and perform actions on locked conversations.
0 new messages