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

Add renode-ec-launch.sh script #1

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

Conversation

linux4life798
Copy link

This script allows you to quickly launch renode for an EC image.

@linux4life798 linux4life798 force-pushed the main branch 2 times, most recently from 079a601 to 54525d3 Compare September 13, 2023 01:19
@linux4life798 linux4life798 changed the title Add ec-launch.sh script Add renode-ec-launch.sh script Sep 13, 2023
This script allows you to quickly launch renode for an EC image.
The "renode-" prefix was added becuase this script is designed to
be called from PATH.
@linux4life798
Copy link
Author

The other path might be to merge the .repl and .resc into the core EC repo and put this script in the EC repo utils dir.

coreboot-bot pushed a commit to coreboot/chrome-ec that referenced this pull request Nov 29, 2023
The configs come from the following repo @ commit 1f607ed:
https://github.com/antmicro/cros-platform-ec-tester/tree/1f607ed

The launch script is based on the following PR:
antmicro/cros-platform-ec-tester#1

BUG=b:311205447
TEST=(outside) ./util/renode-ec-launch.sh --help
TEST=(inside)  make BOARD=bloonchipper
     (outside) ./util/renode-ec-launch.sh
TEST=(inside)  make BOARD=dartmonkey
     (outside) ./util/renode-ec-launch.sh dartmonkey
TEST=(inside)  make BOARD=dartmonkey test-abort
     (outside) ./util/renode-ec-launch.sh dartmonkey abort
TEST=(inside)  make BOARD=bloonchipper test-abort
     (outside) PROJECT=abort ./util/renode-ec-launch.sh
TEST=(inside)  make BOARD=bloonchipper test-abort
     (outside) PROJECT=abort ./util/renode-ec-launch.sh
     # With .gdbinit pointing to util/gdbinit
     (outside) PROJECT=abort BOARD=bloonchipper gdb-multiarch
     (gdb)     ec-connect
TEST=(inside)  make BOARD=helipilot
     (outside) ./util/renode-ec-launch.sh helipilot
     # It does something that resembles booting, but gets stuck
     # after "[4294.967295 Inits done]".

Cq-Depend: chromium:5005111
Change-Id: I203fbbab58d0e6d3e44a5b8720d6b05df27b364a
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/5032724
Reviewed-by: Tom Hughes <[email protected]>
Tested-by: Craig Hesling <[email protected]>
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.

1 participant