-
Notifications
You must be signed in to change notification settings - Fork 167
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
Allow loading more than one ELF binary #274
Allow loading more than one ELF binary #274
Conversation
ping? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
- The print_usage() function needs to be written so that it shows that multiple .elf files can be loaded. Perhaps: "Usage %s [options] <elf_file> [<elf_file> ...]"
- How was this tested? Is there a test we can add into the test directory that checks out this functionality?
- Does this adversely affect the processing of the RVFI arguments? I'm not quite sure how the RVFI options are to be used.
|
https://github.com/SRI-CSL/l3riscv hasn't been updated since 2019, it'll have no way of using riscv-software-src/riscv-isa-sim#390. Though to be honest the whole thing should probably be cut in favour of some other tandem verification approach; we have RVFI and we have the various official RISC-V testing frameworks. We don't need some ad-hoc one that's specifically for Sail-vs-Spike and nothing else. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Except for the requested style changes, I am happy with this.
This makes it possible for a follow-up commit to add logic that allows loading more than one ELF file (e.g. M-mode firmware and S-mode kernel).
15eb701
to
a2c0389
Compare
I believe I've addressed all outstanding feedback. |
d4e1425
to
25ec35d
Compare
This makes it easier to use a separate M-mode bootloader and kernel payload (e.g. OpenSBI fw_jump). It also makes it easier to test booting systems such as FreeBSD without bundling the kernel with the bootloader.
25ec35d
to
f6b8ef8
Compare
ping? |
monthly ping. |
This is absurd. This should have been merged months ago. |
This makes it easier to use a separate M-mode bootloader and kernel payload (e.g. OpenSBI fw_jump). It also makes it easier to test booting systems such as FreeBSD without bundling the kernel with the bootloader.