#asahi-dev · 2021-12-20 06:30
marcanso that would make sense that they added an extra stage#asahi-dev · 2021-12-20 06:30
marcant6000 DART still only supports 32-bit dvas as far as I know#asahi-dev · 2021-12-20 06:30
marcanah wait, won't this be for >4G inputs?#asahi-dev · 2021-12-20 06:30
marcanbut t6000 also has "segment tables"#asahi-dev · 2021-12-20 06:30
marcanheh#asahi-dev · 2021-12-20 06:30
marcan"chunk table" "segment table"#asahi-dev · 2021-12-20 06:30
marcanand "STT"#asahi-dev · 2021-12-20 06:29
marcanthere's apparently a "CTE" thing in that dart?#asahi-dev · 2021-12-20 06:28
marcanyeah, TB is bound to be more special#asahi-dev · 2021-12-20 06:28
marcanah, heh#asahi-dev · 2021-12-20 06:27
marcanI doubt they came up with *another* PTE format...#asahi-dev · 2021-12-20 06:27
marcanthe only thing that changed in t6000 that we cared about was the PTE format#asahi-dev · 2021-12-20 06:27
marcanthough I can't imagine they changed much#asahi-dev · 2021-12-20 06:27
marcanI wonder what they did with t8110 then#asahi-dev · 2021-12-20 06:27
marcant8020, t8110, t6000 have different drivers#asahi-dev · 2021-12-20 06:26
marcanhm, different driver though#asahi-dev · 2021-12-20 06:25
marcant8110 is A15; it might actually be the same as t6000 and they just typoed it :p#asahi-dev · 2021-12-20 06:25
marcanyeah, I noticed that too#asahi-dev · 2021-12-20 05:55
marcanapparently auxkc is not a thing with fuos#asahi-dev · 2021-12-20 05:55
marcansven: I don't think that would work#asahi-dev · 2021-12-20 05:17
marcancool :)#asahi-dev · 2021-12-20 05:14
marcananything else is a recipe for crashes, often right at boot#asahi-dev · 2021-12-20 05:14
marcanyou can get it from the Preboot partition#asahi-dev · 2021-12-20 05:14
marcanif you are using the HV you need to use the same exact kernel as was present in the underlying macOS#asahi-dev · 2021-12-20 05:13
marcanthat will also let us find out how well existing distro installers work (if we just replace the kernels)#asahi-dev · 2021-12-20 05:12
marcanyeah, tbh I'd be very grateful if you could get it working with uefi+grub since that is the direction we're going to be moving towards, and I'd rather someone document that one#asahi-dev · 2021-12-20 05:12
marcanah...#asahi-dev · 2021-12-20 05:11
marcantpw_rules: what is your current boot chain? no UEFI?#asahi-dev · 2021-12-20 05:10
marcanwe could also offer some kind of mechanism to stage a netinstall image for first boot or something like that#asahi-dev · 2021-12-20 05:10
marcanI want to offer a list of pre-baked images (we'll do the Arch ones, other distros can maintain others) so users have that convenience, plus an option to just create a blank EFI partition and leave it to an installer#asahi-dev · 2021-12-20 05:09
marcanthat has been the plan all along, yes#asahi-dev · 2021-12-20 05:08
marcanin addition, m1n1 will have to start providing PSCI services to everything down the chain at some point, with a new mechanism we'll have to invent :-)#asahi-dev · 2021-12-20 05:07
marcanu-boot already has UEFI support; people are using GRUB on top of it. that's always been the plan#asahi-dev · 2021-12-20 05:06
marcanso that plan is definitely solid as far as that is concerned#asahi-dev · 2021-12-20 05:06
marcan(the init code is basically written to be idempotent)#asahi-dev · 2021-12-20 05:06
marcanwe've already proven that m1n1 chainloading is extremely effective during development; I very, *very* rarely have updated my installed m1n1#asahi-dev · 2021-12-20 05:05
marcanu-boot provides UEFI services#asahi-dev · 2021-12-20 05:04
marcanand the solution for that isn't DT merging, it's m1n1 chainloading itself, since it's not just about the DT; we want to be able to update m1n1 too, it goes together with it#asahi-dev · 2021-12-20 05:04
marcanas far as I'm concerned the only problem with the current approach is updating m1n1+dt+u-boot is mildly inconvenient#asahi-dev · 2021-12-20 05:03
marcan(and we try to keep it that way)#asahi-dev · 2021-12-20 05:03
marcanDTs are specified to be backwards and forwards compatible for this reason#asahi-dev · 2021-12-20 05:03
marcanthe idea is the bootloader should provide the DT#asahi-dev · 2021-12-20 05:03
marcanthat all breaks down if distros are providing their own device trees#asahi-dev · 2021-12-20 05:03
marcan(enough to boot an installer at least)#asahi-dev · 2021-12-20 05:03
marcanjust using new device trees#asahi-dev · 2021-12-20 05:03
marcanremember one of the goals of the way we're doing the kernel stuff is that hopefully we can add partial support for new platforms without any kernel changes at all#asahi-dev · 2021-12-20 04:56
marcan(funny how originally I wanted to add storage to m1n1, then I ditched that and left it to U-Boot, and now it's sounding like it might make sense again...)#asahi-dev · 2021-12-20 04:56
marcanand we solve the having to go into 1TR for updates problem#asahi-dev · 2021-12-20 04:55
marcanthen *that* could be updated with new device trees and U-Boot versions#asahi-dev · 2021-12-20 04:55
marcangiven the direction things seem headed in, and that it looks like I need to add RTKit to m1n1 anyway, it's starting to sound like the future is m1n1 chainloading itself from the EFI system partition. once we have RTKit, a dumb NVMe driver shouldn't be too hard, and I'm used to throwing fatfs everywhere...