!xmLtiCaAJxfhURjrXl:matrix.org

NixOS RISC-V

235 Members
NixOS on RISC-V https://wiki.nixos.org/wiki/RISC-V https://pad.lassul.us/NixOS-riscv64-linux https://github.com/orgs/NixOS/teams/risc-v69 Servers

Load older messages


SenderMessageTime
30 May 2024
@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.clubDr. Worm 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
@hexa:lossy.networkhexabut at least in a proper case and such14:52:52
@thefossguy:matrix.orgPratham Patel (you can mention me)Interesting choice given that the SG2380 should release in Q3 of 2024. That is RVA23(-ish) compared to the RV64GC of JH7110.14:53:12
@alex:tunstall.xyzAlex

Yes, most of us already have JH7110-based boards.

It's really only practical if you want to do RISC-V hacking on the go.

14:53:13
@cnx:loang.net@cnx:loang.net
In reply to @thefossguy:matrix.org
Interesting choice given that the SG2380 should release in Q3 of 2024. That is RVA23(-ish) compared to the RV64GC of JH7110.
the jh7110 is very well mainlined, but true it's quite weak for a laptop
15:13:09
@poweredbypie:matrix.orgpie joined the room.15:43:16
@fgaz:matrix.orgfgaz
In reply to @cnx:loang.net
the jh7110 is very well mainlined, but true it's quite weak for a laptop
The entire point of the framework is to be able to upgrade it, so I think it makes sense even if it's underpowered
17:28:04
@cnx:loang.net@cnx:loang.netyea but with wirth's law it's not suitable for general computing in current year17:33:58
@cnx:loang.net@cnx:loang.netdevelopers have been spoiled with really powerful amd64 compooters, laptops from almost a decade ago are still really usable today and they're much more powerful than the mid-level risc-v soc we've seen so far17:37:17
@thefossguy:matrix.orgPratham Patel (you can mention me)
In reply to @cnx:loang.net
the jh7110 is very well mainlined, but true it's quite weak for a laptop
not that it's weak for a laptop but that it's "profile" (if you can even call it that) is RV64GC which is very basic
17:44:01
@thefossguy:matrix.orgPratham Patel (you can mention me)while the "real" profiles which will be on servers (yes they're coming soon) will be using RVA2317:44:30
@rosscomputerguy:matrix.orgTristan RossWhat's the difference between RVA23 and RV64GC?17:46:35
@thefossguy:matrix.orgPratham Patel (you can mention me) Which has all the fancy extensions and more importantly, platform features like Sv57 17:47:06

Show newer messages


Back to Room ListRoom Version: 10