| 16 Sep 2024 |
| @burntk:matrix.org changed their profile picture. | 21:56:56 |
| 17 Sep 2024 |
| hive ⬡ changed their profile picture. | 16:18:20 |
| hive ⬡ changed their display name from Ms. Connection to D. Tritus. | 16:19:34 |
| Tom (deprecated) joined the room. | 21:08:50 |
| 20 Sep 2024 |
Tristan Ross | Starting to set up my VF2 with RISC-V | 19:28:46 |
Tristan Ross | Using this https://github.com/NickCao/nixos-riscv, I had to replace x86_64 with aarch64. Built great on my Ampere Altra. | 19:29:04 |
Tristan Ross | I think I forgot to change the device tree because lsblk doesn't seem to mention my NVME | 19:29:24 |
Alex | The physical board has the version number written on it.
Only early buyers have a 1.2a board. | 19:33:37 |
Tristan Ross | Oh, I have a case on it so getting it open requires me to shut it down and disconnect everything | 19:34:11 |
Tristan Ross | It's a 1.3b | 19:36:07 |
Alex | Which kernel are you using? | 19:36:24 |
Tristan Ross | 6.10.10 | 19:36:39 |
Alex | Is that mainline? | 19:36:56 |
Tristan Ross | Idk | 19:37:01 |
Tristan Ross | It's whatever Nick's flake uses | 19:37:08 |
Alex | Looks like mainline then.
You'll need to update to 6.11, which has PCIe merged. | 19:37:57 |
Tristan Ross | Alright | 19:38:09 |
Alex | 6.10 can't see the NVMe disk because it doesn't have PCIe support (NVMe uses PCIe). | 19:38:22 |
Tristan Ross | Fun | 19:38:32 |
Alex | Alternatively, you can find the patches on the LKML and apply them onto 6.10. | 19:38:44 |
Tristan Ross | Hopefully github:NickCao/nixpkgs/f0e01e7ec90964913845b818ebe3daf0ca11fc19 has that kernel | 19:39:07 |
Tristan Ross | Yep, it's 6.11 | 19:39:35 |
Tristan Ross | Simple nix flake update | 19:39:56 |
Tristan Ross | Oh, I don't see it still | 20:26:55 |
Tristan Ross | $ lsmod | grep pci
xhci_pci 102400 0
xhci_pci_renesas 65536 1 xhci_pci
pcie_starfive 49152 0
phy_jh7110_pcie 32768 2
$ lsmod | grep nvme
| 20:30:40 |
Tristan Ross | $ ls /sys/class/pci_bus/
0000:00 0000:01 0001:00 0001:01
| 20:34:48 |
Alex | To double check, are you sure you have an NVMe M.2 SSD and not a SATA M.2 SSD? | 20:36:02 |
Tristan Ross | Idk | 20:40:05 |
Alex | On my system (vendor kernel, not 6.11), it shows up under 0001:00. | 20:40:07 |
Tristan Ross | It's a Samsung 970 Evo Plus | 20:40:24 |