keystone-enclave / firemarshal-keystone Goto Github PK
View Code? Open in Web Editor NEWFiremarshal Keystone Workload
License: BSD 3-Clause "New" or "Revised" License
Firemarshal Keystone Workload
License: BSD 3-Clause "New" or "Revised" License
`INIT
CMD0
CMD8
ACMD41
CMD58
CMD16
CMD18
LOADING 0x01e00000B PAYLOAD
LOADING
BOOT
OpenSBI v0.8
/ __ \ / | _ _ |
| | | | __ ___ _ __ | ( | |) || |
| | | | '_ \ / _ \ '_ \ ___ | _ < | |
| || | |) | __/ | | |) | |) || |
_/| ./ _|| ||/|____/|
| |
|_|
Platform Name : freechips,rocketchip-unknown
Platform Features : timer,mfdeleg
Platform HART Count : 1
Firmware Base : 0x80000000
Firmware Size : 200 KB
Runtime SBI Version : 0.2
Domain0 Name : root
Domain0 Boot HART : 0
Domain0 HARTs : 0*
Domain0 Region00 : 0x0000000080000000-0x000000008003ffff ()
Domain0 Region01 : 0x0000000000000000-0xffffffffffffffff (R,W,X)
Domain0 Next Address : 0x0000000080200000
Domain0 Next Arg1 : 0x0000000082b00000
Domain0 Next Mode : S-mode
Domain0 SysReset : yes
[SM] Initializing ... hart [0]
[SM] Keystone security monitor has been initialized!
Boot HART ID : 0
Boot HART Domain : root
Boot HART ISA : rv64imafdcsux
Boot HART Features : scounteren,mcounteren
Boot HART PMP Count : 16
Boot HART PMP Granularity : 4
Boot HART PMP Address Bits: 30
Boot HART MHPM Count : 0
Boot HART MHPM Count : 0
Boot HART MIDELEG : 0x0000000000000222
Boot HART MEDELEG : 0x000000000000b109
`
SoC -> Chipyard, Core -> SonicBoom, img build -> firemarshal-keystone.
This program stop here, qemu and palladium z1 can boot it
branch dev-firemarshal has been removed from keystone repo
Hi,
I'm trying to build keystone with firemarshal following the tutorial on https://docs.keystone-enclave.org/en/latest/Getting-Started/Running-Keystone-with-FireSim.html#.
Firemarshal I'm using with the current Chipyard version 1.8.1 related to the current setup tutorial https://chipyard.readthedocs.io/en/stable/Chipyard-Basics/Initial-Repo-Setup.html
Building keystone for firesim with the command
cd <chipyard repo>
cd software/firemarshal
./marshal -v build <path/to/keystone.json>
Gives me the following error:
DEBUG:` make[3]: Leaving directory '/home/user/RISC_V/frameworks/firemarshal-keystone/keystone/build'
DEBUG: make -f examples/attestation/CMakeFiles/attestor-package.dir/build.make examples/attestation/CMakeFiles/attestor-package.dir/build
DEBUG: make[3]: Entering directory '/home/user/RISC_V/frameworks/firemarshal-keystone/keystone/build'
DEBUG: make[3]: *** No rule to make target 'sm.build/platform/generic/firmware/fw_jump.bin', needed by 'examples/attestation/pkg/fw_jump.bin'. Stop.
DEBUG: make[3]: Leaving directory '/home/user/RISC_V/frameworks/firemarshal-keystone/keystone/build'
DEBUG: make[2]: *** [CMakeFiles/Makefile2:1057: examples/attestation/CMakeFiles/attestor-package.dir/all] Error 2
DEBUG: make[2]: Leaving directory '/home/user/RISC_V/frameworks/firemarshal-keystone/keystone/build'
DEBUG: make[1]: *** [CMakeFiles/Makefile2:665: examples/CMakeFiles/examples.dir/rule] Error 2
DEBUG: make[1]: Leaving directory '/home/user/RISC_V/frameworks/firemarshal-keystone/keystone/build'
DEBUG: make: *** [Makefile:335: examples] Error 2
TaskError - taskid:/home/user/RISC_V/frameworks/firemarshal-keystone/host-init.sh
PythonAction Error
Traceback (most recent call last):
File "/home/user/RISC_V/frameworks/chipyard/.conda-env/lib/python3.9/site-packages/doit/action.py", line 437, in execute
returned_value = self.py_callable(*self.args, **kwargs)
File "/home/user/RISC_V/frameworks/chipyard/software/firemarshal/wlutil/build.py", line 51, in handleHostInit
wlutil.run([config['host-init'].path] + config['host-init'].args, cwd=config['workdir'])
File "/home/user/RISC_V/frameworks/chipyard/software/firemarshal/wlutil/wlutil.py", line 531, in run
raise sp.CalledProcessError(p.returncode, prettyCmd)
subprocess.CalledProcessError: Command '/home/user/RISC_V/frameworks/firemarshal-keystone/host-init.sh' returned non-zero exit status 2.
ERROR: Failed to build workload keystone.json
Can you please help here? Thanks in advance!
Best regards
Christian
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.