#asahi-alt · 2025-09-13 06:16
chaos_princesstry following the steps mps linked above#asahi-alt · 2025-09-13 06:15
craftyguysure, I'm using the stuff packaged in Alpine to build my own images. postmarketOS is a downstream distro from Alpine, we use the Alpine binary repos for most stuff#asahi-alt · 2025-09-13 06:15
mpscraftyguy: you mean official install image iso? then no#asahi-alt · 2025-09-13 06:14
chaos_princessnot _that_ official, but there is support#asahi-alt · 2025-09-13 06:14
craftyguyI'd expect any official thing to be on alpinelinux.org 😅#asahi-alt · 2025-09-13 06:13
craftyguybuilding my own. AFIAK there is no official Alpine asahi?#asahi-alt · 2025-09-13 06:13
chaos_princessi am confused now, are you using whatever is the "official" asahi alpine, or building your own on top of upstream?#asahi-alt · 2025-09-13 06:13
craftyguyu-boot and m1n1. Your kernel and the custom one I built earlier both crash when loading the asahi GPU driver#asahi-alt · 2025-09-13 06:12
craftyguymps: ya I am using the stuff you packaged in Alpine#asahi-alt · 2025-09-13 06:10
mpscraftyguy: if you copied it from alpine you should have '/usr/sbin/update-u-boot-asahi' script to do that#asahi-alt · 2025-09-13 06:10
chaos_princessok, framing this as "user guide" is quite wrong, this is more of a "hacker guide" if you want to work on kernel#asahi-alt · 2025-09-13 06:09
craftyguy../uboot/arch/arm/dts/"t[86]*.dtb#asahi-alt · 2025-09-13 06:09
craftyguyah ok. this one: https://asahilinux.org/docs/sw/m1n1-user-guide/#configuring-for-stage-2#asahi-alt · 2025-09-13 06:08
LarstiQwhich docs show using from u-boot?#asahi-alt · 2025-09-13 06:08
chaos_princessfrom kernel#asahi-alt · 2025-09-13 06:08
craftyguyWait which is the correct approach?#asahi-alt · 2025-09-13 06:08
chaos_princessthat is the correct approach#asahi-alt · 2025-09-13 06:08
craftyguyit's using the dtbs from the kernel and not u-boot... (The Asahi docs show generating it from the u-boot dtbs), I'm not sure if that matters. Anyways I just tried generating a m1n1.bin with u-boot dtbs and it didn't help#asahi-alt · 2025-09-13 06:06
craftyguyto generate a m1n1.bin with the latest dtbs? Ya#asahi-alt · 2025-09-13 06:06
chaos_princessy'all have the update-m1n1 or whatever syncs dtbs there, right?#asahi-alt · 2025-09-13 06:05
craftyguypostmarketOS/Alpine Linux#asahi-alt · 2025-09-13 06:05
mpscraftyguy: could you try `curl https://arvanta.net/asahi/aai.sh | sh` to install clean alpine#asahi-alt · 2025-09-13 06:05
chaos_princesswhat distro is this even#asahi-alt · 2025-09-13 06:04
craftyguychaos_princess: hmmm ok. AFAIK I'm using the latest versions of everything in the stage2 🤔#asahi-alt · 2025-09-13 06:03
craftyguymps: no this is my first attempt to boot anything on it besides macos.#asahi-alt · 2025-09-13 06:02
mpscraftyguy: is this happened on machine which worked, i mean after kernel upgrade#asahi-alt · 2025-09-13 05:59
chaos_princessit failed to hand off a memory area that gpu wants from an earlier boot stage. i do not remember the exact issue that causes it, but a mismatch between the various pieces involved in the boot process can be it.#asahi-alt · 2025-09-13 05:46
craftyguyIs the "ttb at ... is not mapped" message a problem?#asahi-alt · 2025-09-13 05:44
craftyguyI'm using u-boot v2025.07-1, m1n1 1.5.0, and kernel/dtbs 6.16.5-1, but I just realized there's a 6.16.5-2 for the kernel...#asahi-alt · 2025-09-13 05:33
chaos_princessEnsure latest u-boot, m1n1 and device trees#asahi-alt · 2025-09-13 04:25
craftyguydoes that look familiar to anyone?#asahi-alt · 2025-09-13 04:24
craftyguywell I can see now why that kernel doesn't work... asahi gpu driver crashes early in boot with: https://bpa.st/34CQ#asahi-alt · 2025-09-12 21:31
craftyguyYeah I can take a look at it later. The kernel is also missing other config we require downstream. Are you open to accepting that too?#asahi-alt · 2025-09-12 21:30
mpscraftyguy: I can't test because I don't have m2. but if you have fix please send it or create MR with diff to add fix to alpine#asahi-alt · 2025-09-12 20:42
craftyguywe do, but your kernel seems to be broken on my M2 macbook. I have a kconfig fragment that works, wanna see it?#asahi-alt · 2025-09-12 19:58
mpscraftyguy: pmOS doesn't use alpine packages?#asahi-alt · 2025-09-12 19:50
noisycoil[mds]I see, nice#asahi-alt · 2025-09-12 19:45
craftyguypostmarketOS#asahi-alt · 2025-09-12 18:42
noisycoil[mds]craftyguy: what distro?#asahi-alt · 2025-09-12 16:53
craftyguyjannau: thank you, this is helpful! I did look at the fedora Asahi kconfig but it includes a loooot of extra stuff. Having a defconfig or fragment that enables the bare minimum to get all the working is useful when trying to figure out what I should enable in an existing distro kernel pkg/config :)#asahi-alt · 2025-09-12 16:42
jannauyou probably want CONFIG_DRM_SIMPLEDRM=y as well#asahi-alt · 2025-09-12 16:41
jannauhttps://github.com/chadmed/asahi-overlay/blob/main/sys-kernel/asahi-kernel/files/linux-6.16.4_apple_silicon_base.config should have all relevant CONFIGs #asahi-alt · 2025-09-12 16:38
chaos_princessfedora asahi default config can be a good starting point#asahi-alt · 2025-09-12 16:35
craftyguyIs there a kernel defconfig somewhere for enabling modules and stuff for the Asahi kernel?#asahi-alt · 2025-09-10 09:53
chaos_princessinstall dev-cpp/range-v3, i will fix it in a bit#asahi-alt · 2025-09-10 09:49
n3phcan't build FEX-2509: https://bpa.st/SRUQ#asahi-alt · 2025-09-09 05:30
LarstiQchadmed: I thought the asahi kernel was set up to prevent that from previous days' discussion?#asahi-alt · 2025-09-08 22:28
chadmedwe need to fix this#asahi-alt · 2025-09-08 22:27
chadmedfucks sake my server pulled in gentoo-kernel #asahi-alt · 2025-09-06 11:49
n3phchaos_princess: thx