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)
Sat, May 9, 4:01 AM
Unknown Object (File)
Sun, May 3, 7:42 PM
Unknown Object (File)
Tue, Apr 28, 4:37 PM
Unknown Object (File)
Mon, Apr 27, 7:24 PM
Unknown Object (File)
Thu, Apr 23, 2:27 PM
Unknown Object (File)
Apr 7 2026, 6:59 AM
Unknown Object (File)
Apr 4 2026, 6:20 PM
Unknown Object (File)
Apr 3 2026, 10:19 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!