Renode is an open source software created by Antmicro for multinode embedded emulation.
Remove the dependencies on hardware for testing HPS and purely relying on software. A subset of the tests is hardware destructive (Flash erases) and does not scale up to CQ requirements. Design document provides more details about integration of Renode with HPS.
Components emulated in Renode:
Components not emulated in Renode:
Renode is part of cros_sdk and should be available inside the ChromiumOS chroot. To install Renode outside of chroot, please follow Antmicro's README.
Run the script inside the ChromiumOS chroot.
scripts/run-tests-renode
This scripts sets up Renode environment in the background and executes hps-factory stage1 test suite.
HPS tests using Renode run automatically on each change. These tests are included the in hps-firmware ebuild file.