#
✕ nick:_jannau_
#asahi-dev · 2022-03-04 15:17
_jannau_the goal is to have a general distro kernel work well enough (to install a special apple silicon 16k kernel)
#asahi-dev · 2022-02-28 14:11
_jannau_kettenis, sjg1: we have no constraints adding a preferred boot partition UUID to bootstd either. I'm hoping adding it to bootstd will be less hacky than with the boot scripts
#asahi-dev · 2022-02-25 15:26
_jannau_I think the higher memory bandwith on the m1 max does not improve CPU only tasks
#asahi-dev · 2022-02-23 11:30
_jannau_marcan: fine by me. it would make sense to prune linux-apple from its history
#asahi-dev · 2022-02-22 12:37
_jannau_kettenis: does openbsd ignore "reserved-memory" nodes with unknown compatibles?
#asahi-dev · 2022-02-22 12:35
_jannau_a little annoying since they depend on not formalized devicetree bindings
#asahi-dev · 2022-02-22 12:34
_jannau_the DCP driver should be good enough for testing the GPU driver. I should see that the m1n1 changes are merged to make testing easier.
#asahi-dev · 2022-02-21 16:17
_jannau_multiple simple-framebuffers might work but could cause problems with the dcp driver
#asahi-dev · 2022-02-21 16:04
_jannau_which kicks the notch awareness can of worms down to dcp. seems sensible
#asahi-dev · 2022-02-21 13:46
_jannau_yes, the U from U-boot in the top left corner is in the rounded corner on the macbook pro 14"
#asahi-dev · 2022-02-18 14:07
_jannau_probably, I haven't looked yet, it's called cma in drm's debug output
#asahi-dev · 2022-02-18 14:05
_jannau_ok, the cma alloc might be a different problem then
#asahi-dev · 2022-02-18 14:05
_jannau_handling that for the resrved regions myself is not a problem but I had the cma alloc of the framebuffer fail as well
#asahi-dev · 2022-02-18 14:04
_jannau_it has basicly the same api as io-pgtbl. I'll check the decumention tonight.
#asahi-dev · 2022-02-18 14:02
_jannau_so dart_map_pages would be responsible for looping
#asahi-dev · 2022-02-18 14:01
_jannau_it writes the mapped size
#asahi-dev · 2022-02-18 13:59
_jannau_sven: is it expected that dart_map_pages() just maps to the end of a l2 table? the imac vram/framebuffer is huge
#asahi-dev · 2022-02-18 13:55
_jannau_spmi/work
#asahi-dev · 2022-02-18 07:27
_jannau_and already fixed and tested in fio master
#asahi-dev · 2022-02-17 07:50
_jannau_I don't think there is huge amount of work to be done to make dcp useful but I should concentrate on submitting spi-hid
#asahi-dev · 2022-02-17 07:47
_jannau_yes, I think simpledrm should be preferred unless someone has time to work on dcp before that
#asahi-dev · 2022-02-17 07:46
_jannau_it might be enough to transition dcp to hibernate in m1n1
#asahi-dev · 2022-02-17 07:45
_jannau_marcan: I don't think dcp in its current state is ready to be integrated in asahi. preserved regions need a coordinated m1n1/kernel changes with a not fully agreed on dt-binding. My current code to remap in the locked dcp dart apparently only works when iboot doesn't initialize dcp (it works only on the mac mini)
#asahi-dev · 2022-02-16 16:05
_jannau_yes and cpu frequency scaling makes them much more likely. to the point that nobody has noticed them without it
#asahi-dev · 2022-02-16 14:49
_jannau_err
#asahi-dev · 2022-02-16 14:49
_jannau_I will tonight. do you mean s/use/improve/ ?
#asahi-dev · 2022-02-16 12:59
_jannau_I will tonight. do you mean s/use/improve/ ?
#asahi-dev · 2022-02-11 16:06
_jannau_we could check if the A12X/Z (ipad pro with usb-c/developer transition kit) already had ATC. no thunderbolt there
#asahi-dev · 2022-02-10 10:11
_jannau_I think so too. I did a short test based on the applespi code and it wasn't working
#asahi-dev · 2022-02-10 10:10
_jannau_did anyone trace macos to see how macos sets the keyboard backlight brightness? I wouldn't surprised if there are multiple ways
#asahi-dev · 2022-02-10 10:09
_jannau_I still haven't looked into if it's still possible to set it via the hid device
#asahi-dev · 2022-02-08 11:18
_jannau_povik might have some audio fixes too which could be integrated
#asahi-dev · 2022-02-08 11:16
_jannau_marcan: when you recreate the asahi branch the next time please add the two fixups from https://github.com/jannau/linux/commits/bits/090-spi-hid to bits/090-spi-hid
#asahi-dev · 2022-02-01 08:47
_jannau_I guess you could just reuse the read part of one of the existing crates and read replace the io with what you're doing in the fat code
#asahi-dev · 2022-02-01 08:40
_jannau_not sure if there strong security advantage of doing the limited gpt parsing we need in rust. one argument for rust would be that all nvme data proecessing code is in rust
#asahi-dev · 2022-02-01 08:14
_jannau_as first step it would be fine if it uses the first EFI system partition
#asahi-dev · 2022-02-01 08:13
_jannau_you could check if there's a useable gpt partition crate. we only need read support
#asahi-dev · 2022-02-01 08:04
_jannau_I suppose you could start testing by creating a ESP partition and hardcode it's start and end sector
#asahi-dev · 2022-02-01 08:03
_jannau_the second stage m1n1 should be read from that partition. After verification it will be loaded by the active m1n1 in a similar fashion as the proxy chainlaod
#asahi-dev · 2022-02-01 08:00
_jannau_kloenk: you're too fast so the infrastructure is not there. I suppose the installer will embed a config payload which will specify a GPT partition UUID of the matched EFI system partition
#asahi-dev · 2022-01-27 09:08
_jannau_but to disable scan out we need dcp. is dart reconfigured at probe time or only when the first iommu domain attaches?
#asahi-dev · 2022-01-27 08:52
_jannau_macos clears all planes as first swap during boot. that hopefully removes the boot framebuffer scanout
#asahi-dev · 2022-01-27 08:41
_jannau_sven: almost not familiar at all. I looked over the dart commits and I figured out how to map the dcp crashlog buffer
#asahi-dev · 2022-01-26 15:32
_jannau_I think poovik had patch for audio i2c
#asahi-dev · 2022-01-26 15:25
_jannau_do you have todo's for the DCP driver? sven promised some remarks on how the locked dart should be handled
#asahi-dev · 2022-01-26 15:24
_jannau_you're welcome
#asahi-dev · 2022-01-26 15:24
_jannau_3I think it's fine as long as we don't understand what the virtual modes are and if/how we can use them
#asahi-dev · 2022-01-26 14:29
_jannau_also make sure you have the user space fallback firmware loader disabled. the driver ask for so many alternate names that the 1 minute timeouts results in waiting over 15 minutes until all firmware is loaded
#asahi-dev · 2022-01-26 14:27
_jannau_ah, ok then it is one of the needed files for the brcmfmac driver, not just the firmware
#asahi-dev · 2022-01-26 14:24
_jannau_someone is slacking on the smc gpio driver, so the wifi device has to be enabled either by pcie_enable_devices.py in proxyclient/experiments or u-boot

plus ›