#
✕ nick:marcan
#asahi-dev · 2023-04-27 12:54
marcanyou can't really do room EQ for anything higher, it's always a huge mess
#asahi-dev · 2023-04-27 12:54
marcanroom EQ matters more for deep bass
#asahi-dev · 2023-04-27 12:54
marcanyeah
#asahi-dev · 2023-04-27 12:54
marcanyeah but at that point you're running your own room EQ if you care :)
#asahi-dev · 2023-04-27 12:53
marcandepends on the speaker :p
#asahi-dev · 2023-04-27 12:53
marcankaazoo: fwiw the best way to understand the boot process etc is https://github.com/AsahiLinux/docs/wiki/Open-OS-Ecosystem-on-Apple-Silicon-Macs
#asahi-dev · 2023-04-27 12:52
marcanI mean by definition that's all an IR does, changes the frequency/phase response :p
#asahi-dev · 2023-04-27 12:49
marcannot very
#asahi-dev · 2023-04-27 12:45
marcanit also helps that in audio data is already signed, while typical images are unsigned :p
#asahi-dev · 2023-04-27 12:35
marcanok yeah then you should probably delete those
#asahi-dev · 2023-04-27 12:34
marcanseriously, you might be better off starting from scratch if the base you have is such a mess of random patches and bad branches and ancient workarounds that haven't been relevant for a year+
#asahi-dev · 2023-04-27 12:33
marcanwrong u-boot branch
#asahi-dev · 2023-04-27 12:33
marcangit reset --hard origin/asahi 2>&1| capture_and_log "reset u-boot"
#asahi-dev · 2023-04-27 12:32
marcanomg why is it using "eatmydata" is this from before we added the flush defer stuff to NVMe? ffs that was fixed *ages* ago
#asahi-dev · 2023-04-27 12:30
marcanthis whole setup you are basing on seems to be quite ancient, which does not bode well for getting stuff right (e.g. the new firmware stuff)
#asahi-dev · 2023-04-27 12:29
marcanalso config-2022-03-17-distro-sven-jannau.txt sounds *ridiculously* out of date
#asahi-dev · 2023-04-27 12:28
marcan*expect
#asahi-dev · 2023-04-27 12:28
marcanplease don't apply random third party patches to our kernels and expert support
#asahi-dev · 2023-04-27 12:27
marcanwe fixed that message thing
#asahi-dev · 2023-04-27 12:27
marcanalso the other patch is also garbage
#asahi-dev · 2023-04-27 12:27
marcanthe 4K patch is not supported, please stop using that until it is available upstream
#asahi-dev · 2023-04-27 12:25
marcan(CONFIG_DRM_APPLE)
#asahi-dev · 2023-04-27 12:25
marcankaazoo: sleep is not supported without DCP, don't even try
#asahi-dev · 2023-04-27 10:49
marcanI guess this is basically "compressed logs"
#asahi-dev · 2023-04-27 10:49
marcanoh wow the MTP firmware literally has an OS_LOG segment that does *not* get put into SRAM but rather contains all the strings for the oslog entries, which themselves just have pointers to them
#asahi-dev · 2023-04-27 10:43
marcanPCIe and it should show up
#asahi-dev · 2023-04-27 10:36
marcanlet me play around with ghidra just to make sure there isn't an easier way, if not we'll go the SRAM route
#asahi-dev · 2023-04-27 10:36
marcankettenis: I think you should land it as is and I can add the new thing on top
#asahi-dev · 2023-04-27 10:36
marcankaazoo: your patch is correct as far as handling that in general, but we're going to need an extra special case based on a device tree property here
#asahi-dev · 2023-04-27 10:34
marcan(but keeps it out of m1n1)
#asahi-dev · 2023-04-27 10:34
marcanok, I think we're going to do that, which does in fact mean more special-casing for u-boot needed
#asahi-dev · 2023-04-27 10:34
marcanhuh, but it does look like it works
#asahi-dev · 2023-04-27 10:30
marcanthough it kind of looks like it ORs in some high bits, hmm
#asahi-dev · 2023-04-27 10:30
marcanactually I wonder if we can just... give it an SRAM address?
#asahi-dev · 2023-04-27 10:26
marcanI wonder if there is some codepath to clear this out, I should probably throw the firmware into ghidra and check before I spend time moving this to m1n1
#asahi-dev · 2023-04-27 10:24
marcanwhy is rtkit such pain...
#asahi-dev · 2023-04-27 10:24
marcanmuch easier to deal with this in m1n1 with the DAPF than try to handoff mappings
#asahi-dev · 2023-04-27 10:24
marcanwe just probably won't be invoking this codepath any more in u-boot
#asahi-dev · 2023-04-27 10:24
marcansorry, this probably should go in m1n1 then, but yeah, you can remove the print statement
#asahi-dev · 2023-04-27 10:24
marcansigh, yeah, oslog keeps its dva alloc across restarts :(
#asahi-dev · 2023-04-27 10:21
marcanyeah, that's generally OK
#asahi-dev · 2023-04-27 10:19
marcanI don't particularly care how it works as long as it doesn't break
#asahi-dev · 2023-04-27 10:19
marcanwe just handle the init and ignore all the messages
#asahi-dev · 2023-04-27 10:19
marcanwe don't do anything with oslog
#asahi-dev · 2023-04-27 10:19
marcankaazoo: that's all normal
#asahi-dev · 2023-04-27 10:16
marcanI'm making assumptions here about the problem
#asahi-dev · 2023-04-27 10:16
marcanbut yeah, let me worry about that
#asahi-dev · 2023-04-27 10:16
marcancould probably program that region into the DAPF and avoid DART handoff pain that way
#asahi-dev · 2023-04-27 10:15
marcanthe way macos does it, oslog goes into a dedicated memory area, and if we're stuck with that I'm tempted to move this all to m1n1 and fix it for good there, but that doens't mean u-boot shouldn't know how to do this anyway.
#asahi-dev · 2023-04-27 10:15
marcanbut I can look into that later

plus ›