Page MenuHomeFreeBSD

Update riscv-isa-sim to 2024-05-31 snapshot
ClosedPublic

Authored by aokblast on Dec 30 2023, 7:18 PM.
Tags
None
Referenced Files
Unknown Object (File)
Tue, Oct 14, 3:14 AM
Unknown Object (File)
Thu, Oct 9, 1:30 PM
Unknown Object (File)
Wed, Oct 8, 2:53 AM
Unknown Object (File)
Wed, Oct 1, 10:40 AM
Unknown Object (File)
Sep 16 2025, 5:46 PM
Unknown Object (File)
Sep 16 2025, 5:43 PM
Unknown Object (File)
Sep 16 2025, 5:08 PM
Unknown Object (File)
Sep 16 2025, 4:37 PM
Subscribers

Diff Detail

Repository
R11 FreeBSD ports repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

aokblast created this revision.
aokblast retitled this revision from Update riscv-isa-sim to 2023-12-23 snapshot to Update riscv-isa-sim to 2024-05-31 snapshot.Jun 6 2024, 2:23 PM
mhorne added a subscriber: mhorne.

Thanks. I tested booting a FreeBSD kernel. For some reason it doesn't work with the stripped OpenSBI ELF provided by sysutils/opensbi, but that is a separate issue.

This revision is now accepted and ready to land.Jun 6 2024, 3:01 PM

Just a question, how you test on kernel, I use spike --kernel /path/to/kernel /path/to/sbi. It give me invalid address error even after I add -m0x1000000,0x2000.

Just a question, how you test on kernel, I use spike --kernel /path/to/kernel /path/to/sbi. It give me invalid address error even after I add -m0x1000000,0x2000.

The kernel needs to be converted to a flat binary, so:
# objcopy -O binary /path/to/kernel kernel.bin

And then I had to build OpenSBI from source, as mentioned above, which I think is the real culprit. I will see how I can fix the port.

Got it. Thanks for your response!