#asahi · 2024-04-24 14:59
sawyerjannau: ooo, that's handy. I'll see if "everything built in" turns into a wall anywhere and try that out if I need to. I was gonna try to take a stab at the VRR stuff, which what I have working so far is probably enough for (may want to set up the hypervisor tethered boot though for grabbing some captures though). I know marcan was going to work on sleep mode at some point but I might see what I can figure out about that in the meantime#asahi · 2024-04-24 14:56
sawyerchadmed_: thanks for the tips! I got it to properly boot, wifi is broken but I can probably figure that one out#asahi · 2024-04-24 00:10
sawyerThat one from above has DRM_ASAHI=m, I take it you were using that along with an initramfs with those modules?#asahi · 2024-04-24 00:07
sawyeroh....right...🤦️ yep, that would work too lol#asahi · 2024-04-24 00:04
sawyerI thought it also held systemd and such in there#asahi · 2024-04-24 00:04
sawyerthis is probably dumb--do I actually need an initramfs for anything more than those kernel modules#asahi · 2024-04-24 00:04
sawyerhm, I can try building everything in again#asahi · 2024-04-24 00:04
sawyerif the answer is just "ebay has m1 mac minis for $350" then that's that, I was just hoping for a way to use my 7950x to speed things up a bit and not have to do everything through ssh again#asahi · 2024-04-24 00:02
sawyerI did that for a little while but it was always annoying to have to close my entire dev env just to test a change#asahi · 2024-04-24 00:01
sawyerchadmed_: I was hoping to use the tethered boot for shorter test cycles, but I only have one m1 machine ("don't $*** where you sleep" feels apt too)#asahi · 2024-04-23 23:34
sawyerFor a little bit I've just been marking all of the asahi-specific configs I could find and making those `=y`, and throwing the initramfs that came from the repos at the end of my tethered boot command but that seems subtly broken (speakersafetyd can't lock the right woofer so ends in a fail loop, graphics is broken but I haven't picked that apart yet)#asahi · 2024-04-23 23:30
sawyerbasically s/=m/=y/g#asahi · 2024-04-23 23:29
sawyerThis is all relatively new to me so sorry for the confusion--do I need to fully bootstrap this? I have asahi already installed on the machine. I tried doing an "allyesconfig"-type-deal and that fell over horribly#asahi · 2024-04-23 23:24
sawyerchadmed_: oh, neat! And that'll work fine for cross-compile?#asahi · 2024-04-23 23:00
sawyerIf this is an asahi-dev question instead sorry about that, I figured here was the less spammy option#asahi · 2024-04-23 22:59
sawyerWorking on cross-compiling the kernel, kernel itself I'm all set on but the initramfs is tripping me up. Should I be trying to get dracut to do it or should I be cannibalizing the existing asahi provided initramfs and repacking into a new one? I'm working on setting up the tethered boot but a bunch of modules seem broken even after flipping them all to =y#asahi · 2023-09-06 22:23
sawyerVery new to this so maybe a dumb question, but is it difficult to set up an initramfs + kernel cross compile that would work to get me all the way to a desktop? or should I just settle for the default "init with /bin/sh and no keyboard input" for now?#asahi · 2023-09-05 20:56
sawyerIt did for me when I did it, at least#asahi · 2023-09-05 20:37
sawyerTramtrist: you can just delete the old partitions and then run the asahi fedora installer, and it will install into the empty space#asahi · 2023-09-05 16:18
sawyerI suppose if I'm doing DCP work I could leave out AGX and the rust stuff for the time being#asahi · 2023-09-05 16:17
sawyer(not really looking forward to convincing that machine to do a cross compile, but I'm sure I'll make it work)#asahi · 2023-09-05 16:14
sawyeryeah, I have a proper setup back at home that I was gonna use later today for that#asahi · 2023-09-05 16:13
sawyerI'd love to have a proper dev machine + DUT setup but I only really have one lap :shrug:#asahi · 2023-09-05 16:11
sawyergoing to see if I can get the vm to mount the asahi boot partition to directly do a `make install` or if I'm going to have to copy any build artifacts out manually#asahi · 2023-09-05 16:10
sawyerik, I just ssh into the dev vm locally so I can have multi-monitor support and the like while actually writing anything#asahi · 2023-09-05 16:08
sawyer...from my dev vm to have a cleaner test loop#asahi · 2023-09-05 16:07
sawyermaybe see if I can find a way of mounting my asahi install#asahi · 2023-09-05 16:06
sawyertrue--gonna have to wait until I'm back at home to set up m1n1 hypervisor though so I'll probably be reading more than doing until then#asahi · 2023-09-05 15:58
sawyerj`ey: Oo thanks, was just doing that search#asahi · 2023-09-05 15:53
sawyeralright lemme do some more reading before I bug y'all any more#asahi · 2023-09-05 15:49
sawyerwas there already some RE work on this (traces/annotations/thought dumps or anything?)#asahi · 2023-09-05 15:48
sawyerneat, didn't realize m1n1 had its own DCP driver--going to try and take a swing at at least hacking in VRR on linux side and see how far I get#asahi · 2023-09-05 15:07
sawyerare there any side docs for the DCP code or is what's in the comments there just what there is?#asahi · 2023-09-04 18:54
sawyer\\o/ things seem to work now#asahi · 2023-09-04 18:47
sawyerFixed earlier issue, although I had a properly set up rust toolchain CONFIG_RUST wasn't available because I had DEBUG_INFO_BTF enabled and didn't make the connection that that was a dependency until I got pointed at `menuconfig` for teasing apart the knot of dependencies/prereqs#asahi · 2023-09-02 18:25
sawyerI imagine once I'm on my feet with this I should be OK#asahi · 2023-09-02 18:24
sawyerSorry if these are some rather simple questions, I'm coming from a userland rust/python/jvm-lang background so the most complicated c/++ build system I've seen is the 20 line makefiles I needed to make for undergrad classes#asahi · 2023-09-02 18:20
sawyerI'm using a combined `.config` based on the ones from the PKGBUILDS repo (regular + edge), building on a Fedora Rawhide arm VM#asahi · 2023-09-02 18:19
sawyerIs there something I'm missing? A regular build seems to work fine#asahi · 2023-09-02 18:19
sawyerFrom the default `asahi` branch from https://github.com/AsahiLinux/linux/, `make LLVM=1 rustavailable` is happy, but `make LLVM=1 rust-analyzer`, or alternatively the `rustfmt` or `rusttest` yield a `no rule to make target` error from make#asahi · 2023-09-02 18:16
sawyerGetting a kernel dev env set up, having a bit of trouble with the rust side of things