New issue
Advanced search Search tips
Note: Color blocks (like or ) mean that a user may not be available. Tooltip shows the reason.

Issue 717282 link

Starred by 1 user

Issue metadata

Status: Started
Owner:
Last visit > 30 days ago
Cc:
EstimatedDays: ----
NextAction: ----
OS: ----
Pri: 3
Type: Feature



Sign in to add a comment

Execute EC code on QEMU

Project Member Reported by shurst@google.com, May 1 2017

Issue description

Get EC code running on QEMU by porting the EC LM4 chip to LM3.
QEMU supports the Stellaris LM3S811 Evaluation Board and the 
evaluation board's LM3 processor is very close to the LM4 chip.

After this port, get EC running on QEMU STM32 and other EC chips.
 
Well I did it (in 2011), we used it, then in 2013 it was decided to retire it.
see https://chromium-review.googlesource.com/c/174669/

not sure we want to cycle again on this.
Cc: dnojiri@chromium.org
What would be the goal of this?

We may get better results by putting these resources into ECTS, which can test both the core and peripherals.

Comment 3 by shurst@google.com, May 2 2017

I actually did this awhile back when I first started working on EC. I thought it could be useful to others.
I believe QEMU supports peripherals, although they weren't used in the previous code. EC refactoring would be a lot easier if there was better test coverage, especially for i2c/spi/uart.
> I believe QEMU supports peripherals, 
> although they weren't used in the previous code.

No, the version I mentioned in #1 was able to run an unmodified Link EC firmware: 
https://chromium-review.googlesource.com/c/24880/

Project Member

Comment 6 by sheriffbot@chromium.org, Jul 18 2017

Labels: Hotlist-Google

Sign in to add a comment