X512
August 11, 2021, 10:07am
186
Calling kernel entry point from other CPU cores is working:
arch_smp_boot_other_cpus(0x800000000008c0c6, 0xffffffc00209353c)
status:
hart 0: started
hart 1: stopped
hart 2: stopped
hart 3: stopped
starting CPU 1
stack: 0xffffffc0025df000 - 0xffffffc0025e3fff
Kernel entry point
starting CPU 2
stack: 0xffffffc0025e4000 - 0xffffffc0025e8fff
Kernel entry point
starting CPU 3
stack: 0xffffffc0025e9000 - 0xffffffc0025edfff
Kernel entry point
status:
hart 0: started
hart 1: started
hart 2: started
hart 3: started
24 Likes
ooooohhhhhh some, very very ohsome
X512
August 12, 2021, 2:38am
188
SMP is some kind of working. Note two CPU load bars in ProcessController.
QEMU use only one host OS thread for multiple guest CPU emulation so it became even slower with SMP enabled. Currently I know no method how to enable using multiple host OS threads in QEMU.
32 Likes
X512
August 12, 2021, 6:59am
189
Desktop with SMP on QEMU is fully working now.
38 Likes
frankps
August 12, 2021, 7:28am
190
WOW! I hope a cheaper good Risc-V board gets available soon. I was aiming for BeagleV…
2 Likes
X512
August 12, 2021, 11:29am
191
Multiple CPU cores are working on real hardware!
Video plays much better. Now it even can play fullscreen, but screen update will become slow because of unsolved slow video memory access problem. Video memory access speed can be improved by using DMA controller that can transfer physical memory without using CPU.
36 Likes
X512
August 12, 2021, 11:41am
193
Yes. Unofficial fan-made anime in Touhou universe.
3 Likes
SWY1985
August 12, 2021, 12:28pm
194
I just want to say that I’ve been following your efforts since you started posting and I am extremely impressed, and very grateful for your work. Thank you!
3 Likes
Andrea
August 12, 2021, 12:30pm
195
ciao! please, can we have the qemu syntax?
I can’t start your images
X512
August 12, 2021, 12:37pm
196
I use following QEMU scripts:
haiku_loader.riscv:
/boot/data/packages/haikuports/app-emulation/qemu/work-6.0.0/sources/qemu-6.0.0/build/install/bin/qemu-system-riscv64 \
-machine virt \
-global virtio-mmio.force-legacy=false \
-m 1G \
-bios "/Haiku/data/packages/haiku/generated.riscv64/objects/haiku/riscv64/release/system/boot/riscv/haiku_loader.riscv" \
-serial stdio \
-parallel none \
-monitor none \
-device ati-vga \
-device virtio-blk-device,drive=x0,bus=virtio-mmio-bus.2 \
-device virtio-net-device,netdev=usernet,bus=virtio-mmio-bus.3 \
-drive file="/Haiku/data/packages/haiku/generated.riscv64/haiku-minimum2.image",if=none,format=raw,id=x0 \
-netdev user,id=usernet \
-device nec-usb-xhci,id=xhci \
-device usb-tablet,bus=xhci.0 \
-device usb-kbd,bus=xhci.0
haiku_loader.efi (need u-boot firmware image):
/boot/data/packages/haikuports/app-emulation/qemu/work-6.0.0/sources/qemu-6.0.0/build/install/bin/qemu-system-riscv64 \
-machine virt \
-global virtio-mmio.force-legacy=false \
-m 256M \
-kernel u-boot.bin \
-serial stdio \
-parallel none \
-monitor none \
-device ati-vga \
-device virtio-blk-device,drive=x0,bus=virtio-mmio-bus.3 \
-device virtio-blk-device,drive=x1,bus=virtio-mmio-bus.2 \
-device virtio-net-device,netdev=usernet,bus=virtio-mmio-bus.4 \
-drive file="/boot/data/packages/haiku/generated.riscv64/haiku-minimum.image",format=raw,id=x0 \
-device nec-usb-xhci,id=xhci \
-device usb-tablet,bus=xhci.0 \
-device usb-kbd,bus=xhci.0 \
-netdev user,id=usernet
8 Likes
X512
August 12, 2021, 12:40pm
197
Latest uploaded version (rev3) is already a bit obsolete, it has some critical problems already fixed.
8 Likes
Running Haiku within Haiku, very interesting… Haiku-ception!
This port is looking very good, if I had a RISC-V machine I’d try it in a heartbeat. Awesome work @X512
2 Likes
i see riscv as being veey useful for embedded use, cnc machines, automotive , portable battery powered.
looks like Haiku being in the first mover group of OS’s, should benefit greatly !!!
this is something haiku promotion team needs to get word out about fast
2 Likes
X512
August 13, 2021, 1:51pm
200
In theory Haiku can be used in various machines control panel GUI.
2 Likes
rjzak
August 13, 2021, 1:55pm
201
Might help in the list of possible use-cases for the nay-sayers.
Linux CNC, it really should be forked, they have a python qt gui to. I don’t know how capable gerbel is, but emc2 delivers for tolerances and control.
has a shit load of cruft and bad design though.
I am not sure if Haiku would run reliably in CNC work, considering it is still beta and prone to crashes. It might poo on very expensive craft.
Amazing Sir!!! I instant want to have this RISC machine!!! <3
2 Likes
only one way to find out, and you start with a parellel install, and run small safe projects and bug hunt, same as everything else.
2 Likes