#
✕ nick:jannau
#asahi-dev · 2022-02-20 17:48
jannaumutliple stubs are also needed for allowing an old dcp driver to continue to work
#asahi-dev · 2022-02-20 17:45
jannaukettenis: can't we use u-boot's standard environment handling for that with a file on the ESP? and then convince the efibootmgr to support this format
#asahi-dev · 2022-02-20 17:04
jannaukettenis: if we can get efi vars to work it would be preferable
#asahi-dev · 2022-02-20 17:02
jannaubut a usb rescue system is good argument for using a blessed boot partition. I the main installation is also on usb it would only depend on scan order which one is booted
#asahi-dev · 2022-02-20 17:00
jannaumps: this is an proof of concept, there can be a convenient way to boot from a mismatched partition
#asahi-dev · 2022-02-20 16:51
jannauI guess most will not have more than one alternative OS installation and they would expect it to boot like it was installed and not from a random usb-stick
#asahi-dev · 2022-02-20 16:50
jannaudefine end users
#asahi-dev · 2022-02-20 16:47
jannauyou're free to install a m1n1 + u-boot payload configured as you like in the same way you do it now
#asahi-dev · 2022-02-20 16:46
jannauthis is for the u-boot bundled by the installer and required to support more than one linux/*bsd installation without requiring cooperation
#asahi-dev · 2022-02-20 16:40
jannauit is easier than the other options
#asahi-dev · 2022-02-20 16:39
jannaucurrently the easiest option to override the booth from the cmdline would be to modify boot_esp
#asahi-dev · 2022-02-20 16:38
jannauit intentionally will only boot from a partition with the correct UUID, otherwise it's just a proof of concept and we can think how we can make manually booting from mismatched ESP easier
#asahi-dev · 2022-02-20 16:29
jannaualso the installer could offer to create the ESP on the flash drive
#asahi-dev · 2022-02-20 16:29
jannauthis patch will fall back to the u-boot cmdline if the ESP is not found
#asahi-dev · 2022-02-20 16:28
jannauthat will continue to work
#asahi-dev · 2022-02-20 16:26
jannauu-boot can't provide efi variables so using efi as boot manger will not work
#asahi-dev · 2022-02-20 16:24
jannauthe installer will create for each installtion a seperate efi system partition which is fully owned by the installed OS
#asahi-dev · 2022-02-20 16:03
jannaum1ni could set it from a config payload. modifying all dtbs from the installer seems to be annoying
#asahi-dev · 2022-02-20 16:01
jannauone simple way to set the boot_esp variable in u-boot would be to tunnel it through the chosen devicetree node
#asahi-dev · 2022-02-20 15:59
jannaumarcan: proof of concept: https://paste.debian.net/1231626/
#asahi-dev · 2022-02-20 12:45
jannauonly important missing feature is pcie support for the usb-a ports of the mac mini
#asahi-dev · 2022-02-20 12:44
jannaunot much to do on u-boot side except integrating it into the installer
#asahi-dev · 2022-02-20 09:30
jannauI'm not suggesting to rebase immediately, the fixup commit can be cherry picked as well
#asahi-dev · 2022-02-20 09:24
jannauI think it is. that's how I work on stuff living in a bits branch. That case is even worse as I can't test the bits branch standalone
#asahi-dev · 2022-02-20 09:22
jannaupovik: `git commit --fixup $commit_hash` is helpful for suche commits. `git rebase --autosquash` handles sorts and marks such commits as fixup automatically
#asahi-dev · 2022-02-19 09:19
jannau18k insertions is less than I would have guessed
#asahi-dev · 2022-02-19 09:06
jannaulooks good otherwise
#asahi-dev · 2022-02-19 09:05
jannaumarcan: https://lore.kernel.org/all/e6b80669-20f3-06e7-9ed5-8951a9c6db6f@kernel.dk/ is not yet in next and prevents un-ackable irqs on macbook pro 14/16 where tps6598x fails to probe for all ports except magsafe
#asahi-dev · 2022-02-19 08:57
jannauGlanzmann: the changes are squashed in the main commits
#asahi-dev · 2022-02-19 08:51
jannauasahi-soc/next is just the base
#asahi-dev · 2022-02-19 08:51
jannaustill waiting for audio fixes
#asahi-dev · 2022-02-19 08:51
jannaumps: just the bits branches for now
#asahi-dev · 2022-02-19 08:27
jannaunot sure if you count the two top commints in https://github.com/jannau/linux/commits/bits/010-devicetree under the spi fixes
#asahi-dev · 2022-02-19 08:25
jannaurtkit should be covered by spmi/work and works for nvme, smc, and dcp
#asahi-dev · 2022-02-18 20:00
jannauadding a size=0 region with iommu_dma_get_resv_regions() seems to do the trick
#asahi-dev · 2022-02-18 19:41
jannaustill not sure how
#asahi-dev · 2022-02-18 19:11
jannaufailed framebuffer allocation solved. I somehow managed to allocate the whole display processor's iova space
#asahi-dev · 2022-02-17 20:11
jannauaxboe: 51 IOPS for 4k randwrite with --fsync 1 and F_FULLFSYNC
#asahi-dev · 2022-02-17 19:55
jannauredirects the thanks to the compiler
#asahi-dev · 2022-02-17 19:53
jannausame in code
#asahi-dev · 2022-02-17 19:53
jannaumissing 'F'
#asahi-dev · 2022-02-17 19:52
jannauaxboe: configure checks for F_FULLSYNC instead of F_FULLFSYNC
#asahi-dev · 2022-02-16 20:04
jannaumarcan, sven: dcp works with rtkit from spmi/work
#asahi-dev · 2022-02-16 18:51
jannauvolunteered == didn't say no fast enough
#asahi-dev · 2022-02-16 18:38
jannaufor the premapped regions I'm still unsure whether to use regions from the carveout-memory-map or just scan the dart
#asahi-dev · 2022-02-16 18:37
jannauit might work if the region-id numbers in the adt are constant
#asahi-dev · 2022-02-16 18:36
jannaualso the reserved regions changes are still very premature and require m1n1 changes
#asahi-dev · 2022-02-16 18:34
jannauI haven't tested dcp on t600x yet
#asahi-dev · 2022-02-16 18:31
jannauI'll test dcp on top of spmi/work
#asahi-dev · 2022-02-15 20:01
jannauseeing following messages after nvme reset https://paste.debian.net/1231040/

plus ›