#asahi · 2021-10-18 04:48
marcanu-boot works, it's just not upstream yet and I haven't integrated it with the installer / build stuff#asahi · 2021-10-18 04:48
marcanthere is no canonical MBA devicetree yet#asahi · 2021-10-18 04:40
marcanyes, as long as you put m1n1.macho next to it (you might need to remount read-write as macos likes to mount system volumes read-only by default)#asahi · 2021-10-18 04:39
marcanyes#asahi · 2021-10-18 04:38
marcanthat is why I think it makes no sense to embed kernels this way#asahi · 2021-10-18 04:38
marcanso it is absolutely required to go through this process every time#asahi · 2021-10-18 04:38
marcanthis is part of secureboot and requires authenticating against the SEP and only works from 1TR#asahi · 2021-10-18 04:38
marcanwhen you run step2.sh it copies m1n1.macho into the proper place and updates the boot policy#asahi · 2021-10-18 04:38
marcanm1n1.macho doesn't do anything on its own, you need to install the boot object from 1TR (booting with the power button held down). This is why this is a pain in the ass and not recommended.#asahi · 2021-10-18 04:37
marcanthat was your old m1n1#asahi · 2021-10-18 04:37
marcannope, it didn't#asahi · 2021-10-18 04:37
marcandid you run kmutil?#asahi · 2021-10-18 04:37
marcanSerentty[m]: put the kernel last#asahi · 2021-10-18 04:36
marcanyes#asahi · 2021-10-18 04:34
marcanwhat this is telling me is I need to get the U-Boot flow sorted out because enough people want to use this already :p#asahi · 2021-10-18 04:34
marcanlike, I won't stop people from doing it, but it's going to make debugging a nightmare and just isn't terribly useful, so you're kind of on your own if you really want to do that#asahi · 2021-10-18 04:33
marcansure, but given how things are in flux...#asahi · 2021-10-18 04:33
marcanserial is a special thing#asahi · 2021-10-18 04:33
marcanyou don't need a serial cable, just a USB cable will do#asahi · 2021-10-18 04:32
marcanand yes, any USB-C to USB-A or USB-C cable (depending on your other side) will work, nothing fancy#asahi · 2021-10-18 04:32
marcanGlanzmann: macos works too#asahi · 2021-10-18 04:32
marcanin my opinion there really isn't a good reason for people to be putting kernels straight into the boot object, especially at this point in the game... but I won't stop you if you really want to do it that way :)#asahi · 2021-10-18 04:31
marcanthat's why the production setup will use U-Boot#asahi · 2021-10-18 04:30
marcanI mean you *can* embed a kernel into m1n1 and boot it, but it'd be silly because you'd have to go to 1TR and run kmutil every time you want to change the kernel#asahi · 2021-10-18 04:29
marcanjust put the commandline in /chosen/boot-args#asahi · 2021-10-18 04:29
marcanI use the DT#asahi · 2021-10-18 04:29
marcanbut you can use either of those methods#asahi · 2021-10-18 04:29
marcanI'm just saying there's no way to tell m1n1 to do it separately#asahi · 2021-10-18 04:28
marcanyes, either in the kernel or the DT#asahi · 2021-10-18 04:28
marcanGlanzmann: you can't, you need to put them in the device tree right now. I've been meaning to add some mechanism for that.#asahi · 2021-10-18 04:28
marcanfor an end-user system, you'd embed U-Boot into m1n1 and use that as a second stage, but we don't really have guides for that nor is it in the installer because right now we only expect kernel devs to be booting things and developing using another system as a host#asahi · 2021-10-18 04:27
marcanSerentty[m]: you usually would not embed Linux kernels into m1n1 for booting stand-alone#asahi · 2021-10-18 04:25
marcanthis is for running under the hypervisor?#asahi · 2021-10-18 04:24
marcandid you use the gzipped kernel?#asahi · 2021-10-18 04:24
marcandoesn't have to be ARM linux though#asahi · 2021-10-18 04:24
marcanSerentty[m]: I was going to say, yeah, *usually* you'd be building linux kernels on linux#asahi · 2021-10-18 04:24
marcan... how did that even happen. something something right click menu#asahi · 2021-10-18 04:23
marcanbad paste#asahi · 2021-10-18 04:23
marcancrap#asahi · 2021-10-18 04:23
marcanあっ!!金曜日は間に合わなくて、週末は郵便局が閉店なので今日行ってみましたが、お名前も必要みたいです!すみません…:sweat_drops: #asahi · 2021-10-18 02:27
marcanit's not just the screen size#asahi · 2021-10-18 02:26
marcanwe will have a DT for each model#asahi · 2021-10-18 02:26
marcanthey are different models#asahi · 2021-10-18 02:26
marcanthat's already going to be a thing#asahi · 2021-10-18 02:25
marcanyeah, we should probably just use that#asahi · 2021-10-18 02:24
marcanyeah I don't see it#asahi · 2021-10-18 02:23
marcanah wait#asahi · 2021-10-18 02:22
marcan*ADT#asahi · 2021-10-18 02:22
marcanI don't see it in any obvious place in the DT#asahi · 2021-10-18 02:20
marcandidn't DCP tell you?