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)
Mon, Dec 9, 3:14 PM
Unknown Object (File)
Thu, Dec 5, 9:06 PM
Unknown Object (File)
Tue, Dec 3, 4:48 PM
Unknown Object (File)
Sat, Nov 30, 2:51 AM
Unknown Object (File)
Sat, Nov 30, 2:51 AM
Unknown Object (File)
Sat, Nov 30, 1:46 AM
Unknown Object (File)
Nov 17 2024, 5:31 PM
Unknown Object (File)
Oct 17 2024, 2:13 AM
Subscribers

Diff Detail

Repository
R11 FreeBSD ports repository
Lint
No Lint Coverage
Unit
No Test Coverage
Build Status
Buildable 58083
Build 54971: arc lint + arc unit

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!