#
#asahi-alt · 2022-12-06 08:34
arndhttp://git.zerfleddert.de/cgi-bin/gitweb.cgi/m1-debian/commitdiff/ada5f71b6752b1b0263be0bcc4e50e94f486463d caused dcp to fail because it now needs a new m1n1
#asahi-alt · 2022-12-06 08:34
arndGlanzmann: I did a fresh Debian install the other day, and ran into two problems, not sure where you track those, or if they are known:
#asahi-alt · 2022-12-06 08:06
Glanzmannamw: The update script does not deinstall the old kernel and makes a backup copy of the old m1n1. So I would jurst revert back the boot.bin from the macos and boot the old kernel.
#asahi-alt · 2022-12-05 10:55
janrinzemarcan: thanks for the clarification. The Asahi install was old so there could be something that happened to it during the Debian install and that is the part which Glanzmann will/has addressed. So hopefully all will be good from now on.
#asahi-alt · 2022-12-05 05:36
marcanI have verified installing Fedora on a lower offset than Asahi (which causes partition numbering changes) does not break anything
#asahi-alt · 2022-12-05 05:35
marcanif you are seeing anything else then either that's a bug or you did something weird to your asahi setup
#asahi-alt · 2022-12-05 05:35
marcanthe only problem I found recently was that a Fedora install "took over" the asahi install due to it managing to set u-boot EFI vars somehow and the Asahi u-boot picking up that var file from the first ESP it finds. I since disabled that code so it doesn't do that (this was a few weeks ago, so if you updated your asahi install it should have that fix)
#asahi-alt · 2022-12-05 05:34
marcanjanrinze: I set up the asahi u-boot/grub stuff to use UUIDs of some sort throughout the stack. it should not care about partition numbers.
#asahi-alt · 2022-12-04 21:03
janrinzeI've noticed a small performance increase with the latest kernels .. or am i imagining things? ;-)
#asahi-alt · 2022-12-04 19:42
svenyou can’t run the normal apple silicon macOS inside there either
#asahi-alt · 2022-12-04 19:41
svenqemu emulates a common arm64 machine and not whatever apple made up for the m1
#asahi-alt · 2022-12-04 19:40
janrinzeGlanzmann: the default 'devices' in QEMU are PC like devices?
#asahi-alt · 2022-12-04 19:40
j`eyalso qemu emulates normal peripherals, doesnt use the M1 hw
#asahi-alt · 2022-12-04 19:38
Glanzmannjanrinze: No, it isn't.
#asahi-alt · 2022-12-04 19:38
janrinzeGlanzmann: sort of a HAL for the OS
#asahi-alt · 2022-12-04 19:38
janrinzeGlanzmann: that's the UEFI for
#asahi-alt · 2022-12-04 19:38
j`eyexactly
#asahi-alt · 2022-12-04 19:38
janrinzej`ey: probably QEMU uses some traps to keep everything running smooth
#asahi-alt · 2022-12-04 19:38
Glanzmannjanrinze: The issue is that Windows 11 does not have any device drivers for apple silicon.
#asahi-alt · 2022-12-04 19:37
janrinzej`ey: Aarch64 Win11 runs in QEMU on OSX M1 with cpu=native setting.
#asahi-alt · 2022-12-04 19:35
Glanzmannhttps://superuser.com/questions/1683814/loading-windows-os-using-mainline-u-boot-bootloader
#asahi-alt · 2022-12-04 19:35
Glanzmannjanrinze: Yes, but not on apple silicon: git reset --hard asahi-v2022.10-1; git clean -f -x -d &> /dev/null
#asahi-alt · 2022-12-04 19:35
j`ey*m1
#asahi-alt · 2022-12-04 19:35
j`eyno because windows 11 doesnt support m2
#asahi-alt · 2022-12-04 19:34
janrinzeGlanzmann: then u-boot can start windows 11?
#asahi-alt · 2022-12-04 19:34
Glanzmannour*
#asahi-alt · 2022-12-04 19:34
Glanzmannu-boot is out uefi boot loader.
#asahi-alt · 2022-12-04 19:34
j`eyjanrinze: u-boot is already UEFI
#asahi-alt · 2022-12-04 19:32
janrinzeGlanzmann: a port of UEFI bootloader could befeasible for M1?
#asahi-alt · 2022-12-04 19:27
Glanzmannjanrinze: Yes it is and unconvient. But the future will be bright. :-)
#asahi-alt · 2022-12-04 19:26
janrinzeit's quite a complicated tree of dependencies. I might just have scratched the surface..
#asahi-alt · 2022-12-04 19:24
janrinzejannau: unless, like u-boot, it receives a config from the party that started grub.
#asahi-alt · 2022-12-04 19:24
janrinzejannau: there's no way how grub would know where to load the modules but from the search paths
#asahi-alt · 2022-12-04 19:23
Glanzmannjanrinze: Debian live system is you friend. I like the Debian live cd so much, that I build an amd64 version of it (optionally with my desktop config). So I can turn any machine into my machine running from RAM in 60 - 120 seconds. I use that everytime I need a live system as well as when delivering trainings in training centers.
#asahi-alt · 2022-12-04 19:22
jannaufrom what I remember from the strings it was just the config, could be that grub needs the config to find its modules
#asahi-alt · 2022-12-04 19:22
mpsjanrinze: this are my scripts to install alpine with asahi kernel on usb
#asahi-alt · 2022-12-04 19:21
Glanzmannjanrinze: Perfect. That is how it should be. I thought about making a video explaining how to troubleshoot the different issues (manually upgrading the stub, reinstalling grub, exchanging u-boot, reinstalling the kernel, etc.)
#asahi-alt · 2022-12-04 19:20
mps`grub-install --target=arm64-efi --efi-directory=/boot/efi --removable`
#asahi-alt · 2022-12-04 19:20
janrinzefound out a lot of stuff.. can almost setup everything manually now ;-)
#asahi-alt · 2022-12-04 19:20
Glanzmannjanrinze: THank you for clarifying.
#asahi-alt · 2022-12-04 19:19
janrinzejannau: and if these modules don't match the version of grub then a lot more erros can be seen
#asahi-alt · 2022-12-04 19:19
janrinzejannau: not just the config , the grub modules too
#asahi-alt · 2022-12-04 19:19
Glanzmannjanrinze: This is why I use my wifes laptop, than I don't have to.
#asahi-alt · 2022-12-04 19:18
jannauthe problem is that the path to the config is using hte partition number
#asahi-alt · 2022-12-04 19:18
mpsin grub pkg
#asahi-alt · 2022-12-04 19:18
janrinzewhere do i find grub-install?
#asahi-alt · 2022-12-04 19:17
mpsyes, grub-install set it
#asahi-alt · 2022-12-04 19:17
janrinzeoops...
#asahi-alt · 2022-12-04 19:17
janrinzeoop string
#asahi-alt · 2022-12-04 19:17
janrinzemps: seems it's inside grub binary as a sting

plus ›