Risc-v status

Hello there,

I’d like to try to port Haiku on P550 (milk-v megrez), but first I want to boot it on qemu.
Current master branch(haiku: d67db619553d7ea42a4a84ff096b51a07882db51, buldtools: 7ab022f6e65571ab9e1054f62976a358652f3af8) doesn’t work for me. I could compile it using Compiling Haiku for RISCV64 | Haiku Project but when I run qemu (using the qemu command from the same page) it doesn’t work.
After I “Select boot volume/state” and the “Continue booting”, second time it crashes (first time it does nothing).

PackageVolumeInfo::SetTo()                                                                                                                                                                                                                                 
PackageVolumeInfo::_InitState(): failed to parse activated-packages: No such file or directory                                                                                                                                                             
Unhandled exception: Store/AMO access fault                                                                                                                                                                                                      hrevMegrez
EPC: 00000000fe6d3f9a RA: 00000000fe6d3f7c TVAL: 0000000000000000
EPC: 000000007e97df9a RA: 000000007e97df7c reloc adjusted

Code: 0105 4154 4701 97aa c263 0206 84bb 02d4 (2023 00d9)
UEFI image [0x00000000fe6c3000:0x00000000fe718827] pc=0x10f9a '/efi\boot\bootriscv64.efi'

Can anyone recommend me a branch/sha which works?

1 Like

It seems yet again haiku_loader random crash bug that appears and disappears depending on revision.

2 Likes