#asahi · 2022-02-11 20:56
Glanzmannj`ey: Thanks. Because than I can modify my build script that it also works on amd64, probably easier for lot of people.#asahi · 2022-02-11 20:54
Glanzmannjannau: Do you have instructions how to cross compile u-boot on an amd64?#asahi · 2022-02-11 20:36
Glanzmann 36 cat m1n1/build/m1n1.macho `find linux/arch/arm64/boot/dts/apple/ -name \*.dtb` u-boot/u-boot-nodtb.bin > u-boot.macho#asahi · 2022-02-11 20:36
GlanzmannAnyway in my scripts I build both.#asahi · 2022-02-11 20:36
GlanzmannOkay, maybe not. Than you need the macho.#asahi · 2022-02-11 20:35
GlanzmannDoesn't it?#asahi · 2022-02-11 20:35
Glanzmanntpw_rules: It works with both.#asahi · 2022-02-11 20:35
Glanzmannas400[m]: Than build the kernel.#asahi · 2022-02-11 20:33
Glanzmannfor the dtb.#asahi · 2022-02-11 20:33
Glanzmannbut it needs the patches from jannau.#asahi · 2022-02-11 20:33
Glanzmannas400[m]: From the linux kernel#asahi · 2022-02-11 20:32
Glanzmannthe dtb is from the smc branch with jannaus patches.#asahi · 2022-02-11 20:32
GlanzmannThe bin that you need is m1n1 + dtb(s) + u-boot#asahi · 2022-02-11 20:31
Glanzmannbut you need a bin#asahi · 2022-02-11 20:31
Glanzmannthat is new enough#asahi · 2022-02-11 20:25
Glanzmannas400[m]: I would install the 12.1 stub using asahi installer.#asahi · 2022-02-11 20:19
Glanzmannas400[m]: Did you try the u-boot binary from my site or did you try to build it yourself? I have no pro/max but jannau and axboe use it succesfully.#asahi · 2022-02-11 20:13
Glanzmannas400[m]: But if you want a binary that works: tg.st/u/ush#asahi · 2022-02-11 20:13
Glanzmannas400[m]: These instructions contain multiple things: linux, m1n1, u-boot, debian rootfs, debian dd, debian live stick, and upload the artefacts to my site.#asahi · 2022-02-11 20:10
Glanzmannthan it works.#asahi · 2022-02-11 20:10
Glanzmannas400[m]: Use this instructions to build: https://git.zerfleddert.de/cgi-bin/gitweb.cgi/m1-debian/blob/9506f4e5a1b3ced618d2f15079f6392f1e2f1817:/bootstrap.sh#l39#asahi · 2022-02-11 20:09
Glanzmannas400[m]: For jannau and axboe it works.#asahi · 2022-02-11 20:08
GlanzmannNightRaven[m]: https://git.zerfleddert.de/cgi-bin/gitweb.cgi/m1-debian/blob/9506f4e5a1b3ced618d2f15079f6392f1e2f1817:/bootstrap.sh#l39#asahi · 2022-02-11 20:07
Glanzmannas400[m]: What does not work?#asahi · 2022-02-11 20:04
Glanzmannjannau: I see. And than you just need an extlinux.conf without the fdt and uncompressed kernels?#asahi · 2022-02-11 20:01
Glanzmannmps: I tried jannaus branch. I thought it worked for you already?#asahi · 2022-02-11 19:50
GlanzmannFor me it did not work with debian stable but I might have done something wrong.#asahi · 2022-02-11 19:50
GlanzmannNightRaven[m]: But for me it works out of the box with Debian testing and others have reported that it works for them even with debian stable.#asahi · 2022-02-11 19:49
GlanzmannNightRaven[m]: And than you need mps xorg config to finetune it (see also the link above)#asahi · 2022-02-11 19:49
GlanzmannNightRaven[m]: jannau wrote the drivers, than you need a kernel tree with the driveres and a config which enables the drivers (see the link above).#asahi · 2022-02-11 19:47
GlanzmannNightRaven[m]: jannau took good care of it.#asahi · 2022-02-11 19:47
GlanzmannNightRaven[m]: And not only for me, but for everyone.#asahi · 2022-02-11 19:47
GlanzmannNightRaven[m]: Yes.#asahi · 2022-02-11 19:46
GlanzmannI see.#asahi · 2022-02-11 19:42
GlanzmannBut I think I'll stay with grub, because it has more features and it works out of the box with debian.#asahi · 2022-02-11 19:41
Glanzmannmps: https://tg.st/u/IMG_20220211_203933827_MP.jpg no luck.#asahi · 2022-02-11 19:37
GlanzmannI see, let me try#asahi · 2022-02-11 19:36
GlanzmannCan I keep the compressed kernels?#asahi · 2022-02-11 19:36
GlanzmannOh, I see.#asahi · 2022-02-11 19:34
GlanzmannAnd yes, I have compressed kernels.#asahi · 2022-02-11 19:34
Glanzmannmps: I do not have a boot.scr#asahi · 2022-02-11 19:31
Glanzmannmps: So a few things which are strange. With the new u-boot my internal nvme does not boot when the usb stick with the grub is in.#asahi · 2022-02-11 19:31
Glanzmannmps: So that failed miserable. https://tg.st/u/IMG_20220211_202537242.jpg#asahi · 2022-02-11 19:21
GlanzmannI moved the efi binary out of the way ...#asahi · 2022-02-11 19:20
Glanzmannj`ey / mps: That was easy, lets see if it works: https://pbot.rmdir.de/mDPUZdYnP6wNLjzrs6Nr0g#asahi · 2022-02-11 19:20
GlanzmannNightRaven[m]: see the bootstrap.sh link I pasted above.#asahi · 2022-02-11 19:15
Glanzmannand than it boots.#asahi · 2022-02-11 19:15
GlanzmannThat efi binary is grub which also has a ext4 and msdos driver and loads the grub.cfg There is the kernel and initrd and kernel command line parameters referenced#asahi · 2022-02-11 19:15
Glanzmannu-boot has a driver for ext4 and msdos and looks for an efi binary. Once it finds it, it loads it.#asahi · 2022-02-11 19:14
Glanzmannm1n1 picks the right dtb and loads u-boot