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, Nov 20, 1:43 AM
Unknown Object (File)
Wed, Nov 19, 2:30 PM
Unknown Object (File)
Wed, Nov 19, 12:44 PM
Unknown Object (File)
Wed, Nov 19, 11:18 AM
Unknown Object (File)
Wed, Nov 19, 11:18 AM
Unknown Object (File)
Wed, Nov 19, 9:39 AM
Unknown Object (File)
Tue, Nov 18, 4:24 PM
Unknown Object (File)
Fri, Nov 7, 3:34 AM
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!