#asahi · 2022-02-11 22:26
Glanzmannah-[m]: I see.#asahi · 2022-02-11 22:26
GlanzmannFor example ls nvme 0:4#asahi · 2022-02-11 22:26
Glanzmanntpw_rules: You can do a ls#asahi · 2022-02-11 22:25
Glanzmannah-[m]: Which distro are you using?#asahi · 2022-02-11 22:25
Glanzmanntpw_rules: It /clear#asahi · 2022-02-11 22:24
GlanzmannOtherwise the systems are equal.#asahi · 2022-02-11 22:24
GlanzmannSo, yes.#asahi · 2022-02-11 22:24
Glanzmanntpw_rules: It has a fan.#asahi · 2022-02-11 22:22
Glanzmanntpw_rules: Same kernel on the m1 air: 4m36.210s#asahi · 2022-02-11 22:14
Glanzmanntpw_rules: Okay let me benchmark the air.#asahi · 2022-02-11 22:13
GlanzmannThat includes 3.5 seconds doing git, patches, olddefconfig, cleaning up the old build.#asahi · 2022-02-11 22:13
Glanzmanntpw_rules: For the kernel compile without ccache: real 1m41.651s#asahi · 2022-02-11 22:13
Glanzmannas400[m]: Maybe try the one from Debian?#asahi · 2022-02-11 22:12
Glanzmannas400[m]: Where did you get the grub from?#asahi · 2022-02-11 22:09
Glanzmanntpw_rules: Okay, now I do a run for you without ccache.#asahi · 2022-02-11 22:09
Glanzmannas400[m]: The steps are: https://pbot.rmdir.de/m2QMy_3K0M0nVRc1dpxBRw#asahi · 2022-02-11 22:08
Glanzmannas400[m]: Good night. You need a efi partition with the grub on it.#asahi · 2022-02-11 22:08
Glanzmanntpw_rules: 44 seconds for the kernel, but that involes building a debian package. If I leave that out it will be faster.#asahi · 2022-02-11 22:07
Glanzmannah-[m]: m1n1 picks the right dtb and than loads u-boot. u-boot loads grub, grub loads kernel and initrd#asahi · 2022-02-11 22:06
Glanzmanntpw_rules: Here is the build output: https://pbot.rmdir.de/gJ9FG8cPwuwlfqb4sVOQbA#asahi · 2022-02-11 22:04
Glanzmanntpw_rules: Building the kernel on the x5950 is very fast, but I also cheat by having ccache (same on the m1).#asahi · 2022-02-11 22:04
Glanzmanntpw_rules: So the whole bootstrap on the air takes approx. 10 minutes.#asahi · 2022-02-11 22:03
Glanzmanntpw_rules: ANd the really cool thing is that you can even install after debootstrap debian packages using that.#asahi · 2022-02-11 22:03
Glanzmanntpw_rules: The trick is to put the static qemu binary in the change root.#asahi · 2022-02-11 22:02
Glanzmanntpw_rules: Of course the debootrap is slower on the x5950 than on the m1, but the rest is much faster.#asahi · 2022-02-11 22:02
Glanzmanntpw_rules: I just pushed, if you're intested it. Will paste the compile log in a second. https://git.zerfleddert.de/cgi-bin/gitweb.cgi/m1-debian/blob/0bffa1b014fafea1080904cce9050825ab2846c9:/bootstrap.sh#asahi · 2022-02-11 22:01
Glanzmannas400[m]: Where does the kernel come from?#asahi · 2022-02-11 22:01
Glanzmannas400[m]: Does grub come up?#asahi · 2022-02-11 22:01
Glanzmannas400[m]: What distribution do you try to boot?#asahi · 2022-02-11 22:00
Glanzmanntpw_rules: Yes it does. The kernel of the host.#asahi · 2022-02-11 22:00
Glanzmanntpw_rules: Yes, I can.#asahi · 2022-02-11 21:55
GlanzmannIIUC, it puts a qemu binary in the root of the debian being boostraped and registers a binfmt handler to execute arm64 binaries using this statically linked qemu binary.#asahi · 2022-02-11 21:52
GlanzmannSo now I can bootstrap on an amd64 host.#asahi · 2022-02-11 21:52
Glanzmannj`ey: Turns out there is a qemu-debootstrap which does anything.#asahi · 2022-02-11 21:38
GlanzmannI see, I'll google it up. I thought you had some fancy qemu line which makes it work.#asahi · 2022-02-11 21:35
GlanzmannBut than it is bailing out on me when it wants to run /bin/true.#asahi · 2022-02-11 21:35
Glanzmannj`ey: It has: https://pbot.rmdir.de/i4G-Fb0tpeR762aH0BqLpw#asahi · 2022-02-11 21:33
Glanzmanns/aarch64/amd64/g#asahi · 2022-02-11 21:33
Glanzmannjannau / j`ey: Now I would like to run debootstram on aarch64, you have some fancy qemu command I can use?#asahi · 2022-02-11 21:31
GlanzmannI'm born 80.#asahi · 2022-02-11 21:30
Glanzmannjannau / kettenis / j`ey: Thank you crosscompiling is working.#asahi · 2022-02-11 21:29
Glanzmannas400[m]: So around 94 when some student of my father showed me the internet (www, ftp, gother, irc). I had only a modem line at home and it was expensive. Luckily I had access to the university because my father was working there. So what I did is, I spend every free minute in the university.#asahi · 2022-02-11 21:27
Glanzmannj`ey: You have to take this to jannau. And request an asahi logo.#asahi · 2022-02-11 21:26
GlanzmannActually It was only 11:52#asahi · 2022-02-11 21:26
Glanzmannj`ey: Nope, the whole process. From start to finish.#asahi · 2022-02-11 21:25
Glanzmannas400[m]: So the answer is use the dtb from the kernel. :-)#asahi · 2022-02-11 21:24
Glanzmannas400[m]: So I need to add transcribes for my videos, that you can access it easier.#asahi · 2022-02-11 21:19
Glanzmannas400[m]: I did a video how to install u-boot: https://tg.st/u/asahi-installer-u-boot.mp4 - takes 12 minutes or more depending on your internet connection.#asahi · 2022-02-11 21:19
Glanzmannas400[m]: Thanks.#asahi · 2022-02-11 20:57
GlanzmannI see. Than I'll modify my script so that it also works on amd64.