| 27 Feb 2022 |
Zhaofeng Li | Sadly, the stock U-Boot shipped with the board is pretty broken and some ugly workarounds are used to get the SD image to boot, but otherwise looks like a pretty good Linux-capable RISC-V board to get. | 07:34:12 |
ius | The module initialization quirks are frustrating, I'm also seeing occasional OOPS from the drm driver. Guessing it'll magically disappear if it's built-in | 08:55:48 |
Zhaofeng Li | Yeah, need to look into it more. At the moment it can't shut down cleanly because the loading some modules causes hangs, so the systemd-udev processes that trigger the modprobe are just stuck | 19:44:06 |
Zhaofeng Li | * Yeah, need to look into it more. At the moment it can't shut down cleanly because loading some modules causes hangs, so the systemd-udev processes that trigger the modprobe are just stuck | 19:44:34 |
ius | Same here. | 20:07:13 |
ius | By the way, some minor kernel config bike shedding for ethernet - I have:
# Ethernet fails as module
PTP_1588_CLOCK = yes;
STMMAC_ETH = yes;
STMMAC_PLATFORM = yes;
DWMAC_GENERIC = yes;
You can swap STMMAC_PCI for STMMAC_PLATFORM (I guess PCI requires PLATFORM?). I also added the MAC so ethernet is fully builtin.
| 20:14:51 |
ius | Actually, let me just paste my full derivation: https://zc.lc/linux-5.16-visionfive.nix
I also added the toggles for MMC builtin (though I'm not sure how useful it is) | 20:19:39 |
ius | Did you spend time on EFI yet? I tried to get systemd-boot to work, but discovered it only supports passing the initrd via initrd= on the kernel command line, which is unsupported for RISC-V.. | 20:29:09 |
ius | Using the sd stub (https://www.freedesktop.org/software/systemd/man/systemd-stub.html) allows packing an kernel/initrd/cmdline, but I haven't managed to get it to boot yet. | 20:53:26 |
Zhaofeng Li | No, haven't done much yet, but you can get grub2 to build and generate an efi image with grub-mkstandalone | 21:38:09 |
| 3 Mar 2022 |
| colemickens changed their display name from colemickens 🏳️🌈 to colemickens. | 07:13:31 |
| 4 Mar 2022 |
| j-k joined the room. | 18:19:40 |
| matthewcroughan - nix.zone joined the room. | 18:21:19 |
matthewcroughan - nix.zone | Is there anyone around who would be interested in trying to get NixOS working on RiscV boards? | 18:22:13 |
matthewcroughan - nix.zone | I will be able to get boards sent out if so, and we could establish a little team , "NixOS on RiscV" | 18:22:39 |
matthewcroughan - nix.zone | * I will be able to get boards sent out if so, and we could establish a little team, "NixOS on RiscV" | 18:22:41 |
matthewcroughan - nix.zone | The only way this can go forward is if we do have a team, as the effort is too large for individuals to do. | 18:23:05 |
matthewcroughan - nix.zone | If so much as 5 people are interested, I think I can get riscv.org to send us that many boards. | 18:23:19 |
j-k | I'm interested in riscv and interested. I don't have much experience with the lower level bootstrap parts of nixpkgs but I'm interested to learn & I've got a couple packages in different ecosystems I'm maintainer for. A bunch of go, some rust, one or two c projects | 18:25:20 |
j-k | * I'm interested in riscv. I don't have much experience with the lower level bootstrap parts of nixpkgs but I'm interested to learn & I've got a couple packages in different ecosystems I'm maintainer for. A bunch of go, some rust, one or two c projects | 18:25:40 |
Zhaofeng Li | In reply to @matthewcroughan:defenestrate.it Is there anyone around who would be interested in trying to get NixOS working on RiscV boards? Would be nice if there is a GH team. You can read the scrollback for the efforts we've made last week on the VisionFive board. | 18:26:52 |
matthewcroughan - nix.zone | Yeah, that would be the board that I'm able to get more of. | 18:27:12 |
matthewcroughan - nix.zone | And if we can get those boards into the hands of more interested people in this room, it would be good. | 18:27:29 |
Yuka (she/her) | I'm interested as well | 18:27:34 |
Zhaofeng Li | Also cc [0x4A6F] colemickens ius | 18:32:04 |
Zhaofeng Li | * Also cc [0x4A6F] colemickens ius ^ | 18:32:16 |
| CRTified joined the room. | 18:35:51 |
[0x4A6F] | My VisionFive has arrived. | 18:38:46 |
matthewcroughan - nix.zone | I'll phone up RiscV if they don't get back to me in a few :D | 18:39:10 |
matthewcroughan - nix.zone | I know one of the marketing managers, and they don't understand what we're able to do here. | 18:39:25 |