| 24 Nov 2024 |
matthewcroughan - nix.zone | chuang: I got pretty far trying to get to mainline kernel with https://github.com/chuangzhu/nixos-sun20iw1p1, I've gotten everything working on the current nixos-unstable, and got systemd-boot/efi working, and an image generator with systemd-repart, but the kernel doesn't boot (probably a panic) | 15:15:56 |
matthewcroughan - nix.zone | I'm currently attempting to try your kernel, but is there any chance you know of what kernel config is supposed to boot, and which option causes the kernel panics? | 15:16:24 |
matthewcroughan - nix.zone | there is no stdout for me to observe the kernel panic so it's not obvious to me | 15:16:35 |
| 25 Nov 2024 |
| @nullcube:matrix.org joined the room. | 09:57:46 |
| 26 Nov 2024 |
matthewcroughan - nix.zone | chuang: I got the d1 booting with 6.11 using a kernel from someone who's maintaining it on 6.11 with only 30~ patches away from mainline | 23:06:43 |
matthewcroughan - nix.zone | https://github.com/esmil/linux/commits/d1-6.11.y/ | 23:07:13 |
matthewcroughan - nix.zone |  Download image.png | 23:07:36 |
matthewcroughan - nix.zone | we need to figure out what is causing those lockups on riscv in our common-config | 23:08:11 |
matthewcroughan - nix.zone | Also, we unnecessarily disable zboot/efi on riscv64 in nixpkgs for some reason, any ideas on why we do that? https://github.com/NixOS/nixpkgs/blob/master/pkgs/os-specific/linux/kernel/common-config.nix#L978-L981 | 23:09:14 |
matthewcroughan - nix.zone | Oh, and the image was made with systemd-repart, which was pretty cool! | 23:10:33 |
matthewcroughan - nix.zone | systemd-analyze
Startup finished in 5.176s (kernel) + 39.477s (initrd) + 1min 36.092s (userspace) = 2min 20.746s
multi-user.target reached after 1min 36.090s in userspace.
| 23:11:48 |