| 27 Feb 2022 |
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 |
matthewcroughan - nix.zone | * I'll phone up RiscV if they don't get back to me in a few days :D | 18:39:43 |
matthewcroughan - nix.zone | I initially signed up for "The RISC-V Foundation DevBoard Seed Program", which I apparently got through to. So I've sent them a response saying we need more boards, and if that comes through, then that'll be great. | 18:40:59 |
matthewcroughan - nix.zone |
Hi. I need to make an amendment to my project, otherwise I fear I will not be able to complete it. I've started an initiative inside of the NixOS community, of people who have already made great progress on the VisionFive board, even without help from riscv.org. We need 10 boards. There are 10 very capable individuals in this initiative who would be fully able to implement this work, and will do wonders for RiscV support both on NixOS, and Linux in general, the scope of improvement they can bring to the ecosystem is far greater than just NixOS. These candidates already have great experience with modifying, bootstrapping and upstreaming support for RiscV, and are deeply embedded in the open source community. They are amongst the best able to accomplish this work, and they will very much spread the news about RiscV on their social media. The initial project proposal assumed that I would be doing most of the work, but this is no longer the case, as I have taken on more work, but if we can receive more boards, this project can be completed under the given terms.
| 18:41:38 |