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)
Thu, Feb 20, 1:58 AM
Unknown Object (File)
Sun, Feb 9, 7:06 AM
Unknown Object (File)
Dec 28 2024, 5:29 AM
Unknown Object (File)
Dec 9 2024, 3:14 PM
Unknown Object (File)
Dec 5 2024, 9:06 PM
Unknown Object (File)
Dec 3 2024, 4:48 PM
Unknown Object (File)
Nov 30 2024, 2:51 AM
Unknown Object (File)
Nov 30 2024, 2:51 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!