| 29 May 2024 |
| @nscnt:matrix.org joined the room. | 15:12:05 |
| tau changed their profile picture. | 16:43:47 |
| tau changed their profile picture. | 16:46:41 |
| raitobezarius changed their display name from raitobezarius to raitobezarius (DECT: 7248). | 17:08:33 |
| atka joined the room. | 19:49:05 |
atka | hello, what are the nixos package equivalents for openbsi and uboot-qemu? trying to run debian risc-v port in qemu on nixos host | 23:54:37 |
atka | or is there another/better way to play around with risc-v assembly in qemu on nixos | 23:56:12 |
Alex | Does QEMU not bundle OpenSBI and u-boot (or equivalent) for its RISC-V machines? | 23:59:52 |
| 30 May 2024 |
Alex | See https://www.qemu.org/docs/master/system/target-riscv.html#risc-v-cpu-firmware | 00:00:31 |
atka | qemu-system-riscv64: Unable to find the RISC-V BIOS "/usr/lib/riscv64-linux-gnu/opensbi/generic/fw_jump.elf" | 00:00:32 |
atka | oh oops, probably my mistake | 00:01:02 |
atka | I have the wrong location specified most likely | 00:01:50 |
Alex | You shouldn't have to specify the location at all if you use -bios default. | 00:02:18 |
atka | ok, thanks, I'll try that again, was following an old debian guide | 00:02:38 |
atka | progress, now getting a kernel panic in qemu | 00:09:58 |
atka | qemu-system-riscv64 -machine 'virt' -cpu 'rv64' -m 1G -device virtio-blk-device,drive=hd -drive file=image.qcow2,if=none,id=hd -device virtio-net-device,netdev=net -netdev user,id=net,hostfwd=tcp::2222-:22 -bios default -kernel /home/atka/downloads/riscv/dqib_riscv64-virt/kernel -object rng-random,filename=/dev/urandom,id=rng -device virtio-rng-device,rng=rng -nographic -append "root=LABEL=rootfs console=ttyS0"
Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(0,0) | 00:14:43 |
atka | [ 0.794832] /dev/root: Can't open blockdev
[ 0.796131] VFS: Cannot open root device "LABEL=rootfs" or unknown-block(0,0): error -6
[ 0.796344] Please append a correct "root=" boot option; here are the available partitions:
[ 0.796884] List of all bdev filesystems:
[ 0.797249] fuseblk
[ 0.797286]
[ 0.797608] Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(0,0)
[ 0.798226] CPU: 0 PID: 1 Comm: swapper/0 Not tainted 6.8.9-riscv64 #1 Debian 6.8.9-1
[ 0.798634] Hardware name: riscv-virtio,qemu (DT) | 00:21:09 |
atka | * qemu-system-riscv64 -machine 'virt' -cpu 'rv64' -m 1G -device virtio-blk-device,drive=hd -drive file=image.qcow2,if=none,id=hd -device virtio-net-device,netdev=net -netdev user,id=net,hostfwd=tcp::2222-:22 -bios default -kernel /home/atka/downloads/riscv/dqib_riscv64-virt/kernel -object rng-random,filename=/dev/urandom,id=rng -device virtio-rng-device,rng=rng -nographic -append "root=LABEL=rootfs console=ttyS0"
| 00:21:32 |
atka | looks like I need to replace "root=LABEL=rootfs" with another device | 00:31:54 |
atka | nevermind, figured it out, I specified my kernel but not initrd | 00:38:02 |
atka | working now, running debian trixie w/ 6.8.9-riscv64! | 00:39:50 |
| 2 Jun 2024 |
| tau changed their profile picture. | 04:13:45 |
| 4 Jun 2024 |
| raitobezarius changed their display name from raitobezarius (DECT: 7248) to raitobezarius. | 11:14:47 |
| 5 Jun 2024 |
| Kamilla 'ova joined the room. | 19:27:58 |
| 14 Jun 2024 |
| daniel joined the room. | 07:28:16 |
| 15 Jun 2024 |
atka | anyone play around with those milk-v duo boards yet? I have a few on the way to tinker with. I know nixos/alpine/debian run on them, plus various RTOS like nuttx. | 03:55:09 |
| 17 Jun 2024 |
| pie joined the room. | 22:05:19 |
| 18 Jun 2024 |
hexa | https://deepcomputing.io/a-risc-v-world-first-independently-developed-risc-v-mainboard-for-a-framework-laptop-from-deepcomputing/ | 14:41:11 |
hexa | https://frame.work/de/en/products/deep-computing-risc-v-mainboard | 14:52:06 |
hexa | not sure who'll jump on this, since the cores seem to be "ass" | 14:52:29 |