Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

driver: Add driver for Dediprog SPI-flash emulator #1483

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

sjg20
Copy link
Contributor

@sjg20 sjg20 commented Aug 22, 2024

The EM100-pro is a SPI-flash emulator which supports a variety of chips. It can be used to provide an image to a booting system.

Add a driver which allows images to be loaded ready for use. Provide a trace facility for use when the board does not boot.

This emulator is widely used on x86 machines since they boot using SPI flash. It is prohibitively expensive (in terms of time) to re-flash the SPI chip on test run, whereas the Dediprog emulator updates in about 5 seconds.

This has been tested on several x86 Chromebooks, including coral.

  • Documentation for the feature
  • Tests for the feature
  • The arguments and description in doc/configuration.rst have been updated
  • PR has been tested

The EM100-pro is a SPI-flash emulator which supports a variety of chips.
It can be used to provide an image to a booting system.

Add a driver which allows images to be loaded ready for use.

Signed-off-by: Simon Glass <[email protected]>
@sjg20
Copy link
Contributor Author

sjg20 commented Aug 22, 2024

This one needs variables, so I've removed the trace function in this version

overridden with a USB-connected emulator, which is much faster to load than
reprogramming the DUT's actual SPI flash.

So far only the Dediprog EM100-PRO is supported, so there is no 'model' property
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Perhaps model: Dediprog EM100-PRO could be mandatory & checked in case of different models added in future?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants