#
✕ nick:marcan
#asahi-dev · 2022-02-20 17:56
marcananyhoo, feel free to shave this yak while I sleep :-)
#asahi-dev · 2022-02-20 17:56
marcanthough I'm not a u-boot expert
#asahi-dev · 2022-02-20 17:56
marcanyeah, I kind of assumed we'd be writing our own scripts/bootcmd to some extent anyway
#asahi-dev · 2022-02-20 17:54
marcandone
#asahi-dev · 2022-02-20 17:53
marcanI'm happy to try any number of approaches as far as how u-boot actually handles this
#asahi-dev · 2022-02-20 17:53
marcananyway, next week is going to be playing around with all this and the installer, that's why I wanted a u-boot repo
#asahi-dev · 2022-02-20 17:52
marcanthat seems like an OpenBSD problem ;)
#asahi-dev · 2022-02-20 17:52
marcanlol
#asahi-dev · 2022-02-20 17:52
marcanhm?
#asahi-dev · 2022-02-20 17:51
marcanas long as we can use multiple EFI partitions
#asahi-dev · 2022-02-20 17:50
marcancertainly, I don't particularly care about the approach
#asahi-dev · 2022-02-20 17:48
marcanthere's just too much pain down this road, as a default
#asahi-dev · 2022-02-20 17:48
marcanyou'd be locked into the oldest supported firmware
#asahi-dev · 2022-02-20 17:48
marcandistros will update their kernels separately
#asahi-dev · 2022-02-20 17:48
marcanthat too
#asahi-dev · 2022-02-20 17:48
marcanother than ESP selection
#asahi-dev · 2022-02-20 17:48
marcanwell, u-boot doesn't really have to change more does it?
#asahi-dev · 2022-02-20 17:46
marcanof course people will do whatever they want
#asahi-dev · 2022-02-20 17:46
marcanI see too many things becoming a mess letting OSes share an ESP, at least for the "official" install approach
#asahi-dev · 2022-02-20 17:46
marcanplus there's the whole how badly are we going to confuse SEP if multiple OSes try to use it under the same boot context
#asahi-dev · 2022-02-20 17:46
marcanplus using the native bootpicker means a11y support
#asahi-dev · 2022-02-20 17:46
marcanfor one distros will want to update their DTBs/u-boot with the chained m1n1 thing
#asahi-dev · 2022-02-20 17:45
marcanremember there are good reasons to have separate stubs everywhere
#asahi-dev · 2022-02-20 17:45
marcanthen what, how does each top-level stub know which sub-OS to boot?r
#asahi-dev · 2022-02-20 17:45
marcanbut I'm still not convinced of the idea of merging everything into one ESP
#asahi-dev · 2022-02-20 17:45
marcanyeah, an efibootmgr patch could do it
#asahi-dev · 2022-02-20 17:44
marcanso it seems easier to get distros to read a DT node and look for the ESP there, to be honest
#asahi-dev · 2022-02-20 17:44
marcanand I don't see how we can support EFI variables sanely including runtime services, which we need for installers to work...
#asahi-dev · 2022-02-20 17:44
marcanfrom the POV of the platform the stub partitions are the OSes; it doesn't *really* make sense to have them all merge back into one ESP
#asahi-dev · 2022-02-20 17:44
marcanwe still want multiple ESPs for other reasons, like platform firmware comes from the stub which goes in its associated ESP
#asahi-dev · 2022-02-20 17:43
marcankettenis: OS installers will need changes to support multiple ESPs, yes; one workaround would be to have u-boot or m1n1 mark the current ESP as the only real ESP, but that's hacky
#asahi-dev · 2022-02-20 17:41
marcanjannau: yes, we won't touch dtbs from the installer since they have to be generic; /chosen was my plan
#asahi-dev · 2022-02-20 17:40
marcankettenis: invite sent
#asahi-dev · 2022-02-20 12:53
marcanso that will require some thought, probably just having m1n1 be packaged in /usr/share or whatever and then have an install script that checks versions and only installs it if it's newer
#asahi-dev · 2022-02-20 12:53
marcanbut it's not as easy as "distros upgrading dtbs" either; we're going to need some kind of max-version mechanism, because we don't want a distro to downgrade a m1n1 that was installed by the installer which is newer
#asahi-dev · 2022-02-20 12:52
marcanbut we've already very thoroughly proven that chainloading m1n1 is a solid way to add features, so we're just going to make that the normal way
#asahi-dev · 2022-02-20 12:51
marcanit doesn't make any sense to upgrade dtbs outside of m1n1 because m1n1 has to modify the dtb, and because very often m1n1 will require some more initialization code to make whatever you changed in the dtb work anyway
#asahi-dev · 2022-02-20 12:51
marcanu-boot will be embedded in the second stage
#asahi-dev · 2022-02-20 12:50
marcanm1n1 will eventually have chainloading from NVMe ability so that can bring in updated dtbs
#asahi-dev · 2022-02-20 12:50
marcanwe already talked about this
#asahi-dev · 2022-02-20 12:45
marcanjannau: I mostly want to work out how to specify an EFI partition from m1n1
#asahi-dev · 2022-02-20 12:45
marcanmps: not really, they chain off of each other
#asahi-dev · 2022-02-20 12:40
marcanI finally got the kernel ~where I want it, so I finally need to get on the u-boot side of things
#asahi-dev · 2022-02-20 12:40
marcankettenis: I think we should move it under asahilinux, yeah. I can give you commit rights :)
#asahi-dev · 2022-02-19 11:20
marcanjust turn off that driver
#asahi-dev · 2022-02-19 11:20
marcanno, didn't realize that patch fixed a broken build
#asahi-dev · 2022-02-19 11:17
marcanit was the only option
#asahi-dev · 2022-02-19 11:17
marcanGlanzmann: it's the only thing in the message that doesn't have a [y] next to it and isn't COMPILE_TEST
#asahi-dev · 2022-02-19 11:17
marcanbut that sounds like SND_SOC_APPLE_MCA needs a dep on ARCH_APPLE too to prevent that broken dep chain
#asahi-dev · 2022-02-19 11:15
marcanthe message literally told you...

plus ›