#
✕ nick:nicolas17
#asahi-dev · 2022-10-30 23:34
nicolas17ah
#asahi-dev · 2022-10-30 23:21
nicolas17nvm there isn't any >8 digit address in ioreg so maybe it's ioreg being dumb
#asahi-dev · 2022-10-30 23:16
nicolas17hm, macos ioreg says "spi1@35104000" while your devicetree says "spi1: spi@235104000"
#asahi-dev · 2022-10-30 22:52
nicolas17ChaosPrincess: I guess the SPI address is wrong, and the next step is me figuring out how to run macOS on m1n1 and getting you logs? :)
#asahi-dev · 2022-10-30 03:03
nicolas17(/dev/mtd0 still didn't appear, and that error may be why)
#asahi-dev · 2022-10-30 02:50
nicolas17ChaosPrincess: this may be relevant (dmesg): "spi-nor spi0.0: unrecognized JEDEC id bytes: c2 2b 27 c2 2b 27"
#asahi-dev · 2022-10-30 02:49
nicolas17I copied dtbs from the kernel build directory into /usr/lib/asahi-boot/dtb thinking that would work and it didn't, then I modified update-m1n1 to get them from there and it worked
#asahi-dev · 2022-10-30 02:48
nicolas17finally...
#asahi-dev · 2022-10-30 02:46
nicolas17there is a "make dtbs_install" in the kernel but that installs into /boot/dtbs
#asahi-dev · 2022-10-30 02:44
nicolas17my self-built kernel did *not* put dtbs in the modules directory
#asahi-dev · 2022-10-30 02:44
nicolas17update-m1n1 gets dtbs from /lib/modules/*-ARCH/dtbs/*
#asahi-dev · 2022-10-30 02:43
nicolas17nope
#asahi-dev · 2022-10-30 02:32
nicolas17oh so I need to update /usr/lib/asahi-boot/dtb too
#asahi-dev · 2022-10-30 02:29
nicolas17why isn't all this on the wiki /o\
#asahi-dev · 2022-10-30 02:28
nicolas17yeahhh don't I need to rebuild m1n1 to change the devicetree?
#asahi-dev · 2022-10-30 01:26
nicolas17I'm wondering if I need to do something else to get devicetree changes to take effect
#asahi-dev · 2022-10-30 01:25
nicolas17I noticed MTD was disabled in the kernel config, so I enabled mtd and spi-nand modules... and still don't have an mtd0 device
#asahi-dev · 2022-10-30 01:25
nicolas17ChaosPrincess: I compiled your PR and I still had no /dev/mtd0
#asahi-dev · 2022-10-30 00:01
nicolas17I think I forgot to rebuild the initrd for the new 6.x kernel
#asahi-dev · 2022-10-30 00:00
nicolas17ok no, something still went wrong
#asahi-dev · 2022-10-29 23:34
nicolas17now to try your PR
#asahi-dev · 2022-10-29 23:34
nicolas17booted self-built kernel \o/
#asahi-dev · 2022-10-29 23:28
nicolas17yeah pretty sure it's the initrd
#asahi-dev · 2022-10-29 23:25
nicolas17o/
#asahi-dev · 2022-10-29 23:23
nicolas17ok, I built the kernel from git asahi branch (so it doesn't even have your pull request), and it just hangs on startup showing a text cursor and 10 seconds later it reboots
#asahi-dev · 2022-10-29 23:15
nicolas17the one I installed is vmlinux and the repo one is vmlinuz
#asahi-dev · 2022-10-29 23:15
nicolas17ah no
#asahi-dev · 2022-10-29 23:14
nicolas17ChaosPrincess: I think 'make install' actually overwrote my existing kernel
#asahi-dev · 2022-10-29 23:14
nicolas17ugh
#asahi-dev · 2022-10-29 23:08
nicolas17damn, I *was* using all 8 cores for something else earlier but that didn't bring up the fans at full speed like this kernel build is doing :D
#asahi-dev · 2022-10-29 23:06
nicolas17once I compile it how do I install it? the kernel readme says "if you have lilo you can just run 'make install'" and that sounds outdated as hell (lilo?!)
#asahi-dev · 2022-10-29 22:58
nicolas17yes
#asahi-dev · 2022-10-29 22:57
nicolas17ChaosPrincess: ^
#asahi-dev · 2022-10-29 22:57
nicolas17https://github.com/AsahiLinux/docs/wiki/Tethered-Boot-Setup-(For-Developers) has some broken-syntax link to "DesktopKernel"
#asahi-dev · 2022-10-29 22:56
nicolas17https://github.com/AsahiLinux/docs/wiki/SW:Getting-started links to https://github.com/AsahiLinux/docs/wiki/Developer-Quickstart which doesn't exist
#asahi-dev · 2022-10-29 22:56
nicolas17such as, how do I build a kernel with the appropriate config for a mac?
#asahi-dev · 2022-10-29 22:20
nicolas17ah hm if there's a risk of needing DFU restore I may need to backup some stuff too :D
#asahi-dev · 2022-10-29 22:19
nicolas17ChaosPrincess: I have M2 MBP but I'd need some handholding through the process...
#asahi-dev · 2022-10-29 19:40
nicolas17apparently Apple contemplated the edge case where you're booting macOS off a USB drive connected to the USB hub on the Studio Display, in which case it won't let you install software updates on the display
#asahi-dev · 2022-10-29 19:39
nicolas17fun edge cases
#asahi-dev · 2022-10-06 16:24
nicolas17"simple, I have no life"
#asahi-dev · 2022-10-06 11:52
nicolas17anyway, late for lunch ->
#asahi-dev · 2022-10-06 11:52
nicolas17I have very little experience with hardware, maybe I should let someone else do that and take care of the userspace side >.>
#asahi-dev · 2022-10-06 11:51
nicolas17hm
#asahi-dev · 2022-10-06 11:40
nicolas17oh someone on the church of nano
#asahi-dev · 2022-10-06 11:39
nicolas17I'm still at Akademy, all I did so far was basic macOS setup and basic asahi install, I didn't even get to try compile speed yet :D
#asahi-dev · 2022-10-06 11:38
nicolas17maybe I could make such a wiki page no no dammit nicolas stop volunteering yourself to things
#asahi-dev · 2022-10-06 11:36
nicolas17is there a wiki page of who's working on what? so that potential contributors can know what features got 0 attention so far, or else who to talk to that already looked into it?
#asahi-dev · 2022-10-06 11:33
nicolas17has anyone looked into touchbar yet? the fact that I don't even get static Fn keys is really annoying so maybe that's what I'll help with first :p
#asahi-dev · 2022-10-06 11:32
nicolas17so I guess I can get nerdsniped into helping with asahi now

plus ›