#asahi-alt · 2024-02-08 18:30
zzywysm_mps: maybe add your article under the wiki article on alternate distros?#asahi-alt · 2024-01-02 15:09
zzywysm_NixOS for Apple Silicon has those patches#asahi-alt · 2023-12-28 02:30
zzywysm_set DWC3 Mode Selection to Dual Role mode#asahi-alt · 2023-12-28 02:29
zzywysm_it's a couple entries down from "DesignWare USB3 DRD Core Support"#asahi-alt · 2023-12-28 02:29
zzywysm_qdot: there is another option you need to set even though USB_ROLE_SWITCH=y#asahi-alt · 2023-12-27 20:20
zzywysm_also the dockchannel keyboards/touchpads#asahi-alt · 2023-12-27 20:18
zzywysm_some of the drivers need to be built as modules for more obvious reasons, like the drivers that load firmware (e.g. wifi/bt, touchbar, webcam, etc.)#asahi-alt · 2023-12-27 20:08
zzywysm_leio: why does DRM_APPLE need to be built as a module? the config documentation invites you to say 'y' not 'm'#asahi-alt · 2023-12-27 17:59
zzywysm_you may also need CONFIG_MUX_APPLE_DPXBAR#asahi-alt · 2023-12-27 17:58
zzywysm_cy8aer: perhaps, is CONFIG_PHY_APPLE_DPTX enabled in your config?#asahi-alt · 2023-12-27 17:54
zzywysm_cy8aer: maybe you don't have the proper PHY for your display enabled in your kernel config?#asahi-alt · 2023-12-23 01:11
zzywysm_now that i think about it, with a bit of sed/awk, i could probably turn my list of steps into a proper NixOS structuredExtraConfig, which is the proper way you wanted to do this#asahi-alt · 2023-12-23 01:07
zzywysm_first i need to actually build it and run it, and once it passes that test, i'll file a pull request to your wip branch#asahi-alt · 2023-12-23 01:04
zzywysm_[partial facepalm]#asahi-alt · 2023-12-23 01:03
zzywysm_so i have a new kernel config for you, and the exact steps i took to make it#asahi-alt · 2023-12-23 01:02
zzywysm_on the bright side, i was following along in make menuconfig as i wrote my shell script, so while the shell script is functionally useless, it is useful in the sense that it documents every single change i made in the proper manner#asahi-alt · 2023-12-23 01:01
zzywysm_"scripts/config doesn't check the validity of the .config file"#asahi-alt · 2023-12-23 01:01
zzywysm_tpw_rules: unfortunately, it turns out that scripts/config within the Linux kernel source does not do what i thought it did. i should have read the disclaimer within:#asahi-alt · 2023-12-22 15:09
zzywysm_oh wait, is it San Diego or Los Angeles?#asahi-alt · 2023-12-22 15:09
zzywysm_one of the oldest open issues in nixpkgs is about modernizing how the kernel stuff works#asahi-alt · 2023-12-22 15:08
zzywysm_i'm considering proposing a talk for the upcoming Nix conference in San Diego about it#asahi-alt · 2023-12-22 15:08
zzywysm_tpw_rules: i agree it would be nice to use the built-in system, but it's kind of a wreck#asahi-alt · 2023-12-22 14:54
zzywysm_and it all uses the Kconfig system properly, with no hand-edits to the config file#asahi-alt · 2023-12-22 14:53
zzywysm_tpw_rules: i'm into day 3 writing a shell script that starts with the Fedora Asahi kernel config and builds you a NixOS-Apple-Silicon kernel config, and every change i make includes a rationale#asahi-alt · 2022-12-12 20:36
zzywysm_ncopa: https://github.com/AsahiLinux/docs/wiki/Partitioning-cheatsheet#asahi-alt · 2022-12-12 20:35
zzywysm_maybe go half and half?#asahi-alt · 2022-12-12 20:34
zzywysm_macOS can handle that well, but your linux partitions likely won't#asahi-alt · 2022-12-12 20:33
zzywysm_i wouldn't make the macOS partition much smaller than 50 or 60 GB#asahi-alt · 2022-12-12 20:32
zzywysm_my macbook has a 1TB SSD, so i resized macos to 120 GB#asahi-alt · 2022-12-12 20:32
zzywysm_i've never installed alpine on apple silicon, but i have installed nixos, and you'll want to pick the UEFI environment only option (probably)#asahi-alt · 2022-12-12 20:31
zzywysm_running the installer is a one-line Terminal command: https://asahilinux.org/2022/03/asahi-linux-alpha-release/#asahi-alt · 2022-12-12 20:30
zzywysm_the Asahi Linux installer will do that for you, you just need to tell it how small you want to resize the macOS partition to#asahi-alt · 2022-12-12 19:39
zzywysm_it doesn't look like they bothered properly switching to clang either#asahi-alt · 2022-12-12 19:38
zzywysm_winter: i haven't tested this myself, but someone was working on asahi gpu drivers on nixos: https://github.com/yu-re-ka/nixos-m1/tree/gpu#asahi-alt · 2022-12-12 19:30
zzywysm_mps: no#asahi-alt · 2022-12-12 19:11
zzywysm_mps: cool, thanks#asahi-alt · 2022-12-12 17:35
zzywysm_i don't see any reason why a rust driver would work with a gcc kernel :D#asahi-alt · 2022-12-12 17:33
zzywysm_mps: i wonder if it still works if built as a module#asahi-alt · 2022-12-12 17:32
zzywysm_mps: and you have it built into the kernel itself, not as a module (which is what i would do for my personal systems, and likely for the nixos-m1 project if tpw_rules accepts the eventual pull request)#asahi-alt · 2022-12-12 17:27
zzywysm_mps: if you find evidence that it works robustly and not accidentally, please do let me know, because that's exciting. i like running grsecurity, and it's gcc-only#asahi-alt · 2022-12-12 17:23
zzywysm_mps: it could be fragile for all we know#asahi-alt · 2022-12-12 17:22
zzywysm_mps: given that it's not expected to work (evidence by the existence of the gcc-rs project), it seems like something i'd avoid shipping to end users unless i understood WHY it works#asahi-alt · 2022-12-12 16:03
zzywysm_winter: once he does that, i can get the gpu driver working with nixos#asahi-alt · 2022-12-12 16:03
zzywysm_winter: he started a branch to work on getting the kernel building with rust, but he's missing the part where you need to switch from gcc to clang