!xmLtiCaAJxfhURjrXl:matrix.org

NixOS RISC-V

238 Members
NixOS on RISC-V https://wiki.nixos.org/wiki/RISC-V https://pad.lassul.us/NixOS-riscv64-linux 73 Servers

Load older messages


SenderMessageTime
29 May 2024
@nscnt:matrix.org@nscnt:matrix.org joined the room.15:12:05
@hive:the-apothecary.clubtau changed their profile picture.16:43:47
@hive:the-apothecary.clubtau changed their profile picture.16:46:41
@raitobezarius:matrix.orgraitobezarius changed their display name from raitobezarius to raitobezarius (DECT: 7248).17:08:33
@atka:matrix.orgatka joined the room.19:49:05
@atka:matrix.orgatkahello, what are the nixos package equivalents for openbsi and uboot-qemu? trying to run debian risc-v port in qemu on nixos host23:54:37
@atka:matrix.orgatkaor is there another/better way to play around with risc-v assembly in qemu on nixos23:56:12
@alex:tunstall.xyzAlexDoes QEMU not bundle OpenSBI and u-boot (or equivalent) for its RISC-V machines?23:59:52
30 May 2024
@alex:tunstall.xyzAlex See https://www.qemu.org/docs/master/system/target-riscv.html#risc-v-cpu-firmware 00:00:31
@atka:matrix.orgatka qemu-system-riscv64: Unable to find the RISC-V BIOS "/usr/lib/riscv64-linux-gnu/opensbi/generic/fw_jump.elf" 00:00:32
@atka:matrix.orgatkaoh oops, probably my mistake00:01:02
@atka:matrix.orgatkaI have the wrong location specified most likely00:01:50
@alex:tunstall.xyzAlex You shouldn't have to specify the location at all if you use -bios default. 00:02:18
@atka:matrix.orgatkaok, thanks, I'll try that again, was following an old debian guide00:02:38
@atka:matrix.orgatkaprogress, now getting a kernel panic in qemu00:09:58
@atka:matrix.orgatka
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:matrix.orgatka
[    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:matrix.orgatka *
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:matrix.orgatka looks like I need to replace "root=LABEL=rootfs" with another device 00:31:54
@atka:matrix.orgatkanevermind, figured it out, I specified my kernel but not initrd00:38:02
@atka:matrix.orgatkaworking now, running debian trixie w/ 6.8.9-riscv64!00:39:50
2 Jun 2024
@hive:the-apothecary.clubtau changed their profile picture.04:13:45
4 Jun 2024
@raitobezarius:matrix.orgraitobezarius changed their display name from raitobezarius (DECT: 7248) to raitobezarius.11:14:47
5 Jun 2024
@kamillaova:matrix.orgKamilla 'ova joined the room.19:27:58
14 Jun 2024
@daniel:nopemail.orgdaniel joined the room.07:28:16
15 Jun 2024
@atka:matrix.orgatkaanyone 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
@poweredbypie:matrix.orgpie joined the room.22:05:19
18 Jun 2024
@hexa:lossy.networkhexahttps://deepcomputing.io/a-risc-v-world-first-independently-developed-risc-v-mainboard-for-a-framework-laptop-from-deepcomputing/14:41:11
@hexa:lossy.networkhexahttps://frame.work/de/en/products/deep-computing-risc-v-mainboard14:52:06
@hexa:lossy.networkhexanot sure who'll jump on this, since the cores seem to be "ass"14:52:29

Show newer messages


Back to Room ListRoom Version: 10