#
#asahi-dev · 2023-04-27 12:23
chadmedi wasnt going to bother doing the desktops at all but you were right they are really _really_ bad
#asahi-dev · 2023-04-27 12:22
j`ey(see: c7906f5f8fba8cdda64f97ebda2cbbe2f3e5b700)
#asahi-dev · 2023-04-27 12:22
chadmedalyssa: it adds DSP for the desktop speaker to make it less trash
#asahi-dev · 2023-04-27 12:22
kaazooThere is a sleep button (moon icon) on my now functional keyboard. Seems like the machine went to sleep when I pressed it while trying out all buttons, but the display driver (llvmpipe) didn't come back and the screen stayed dark. Caps-lock worked, so I guess the machine came back from sleep/idle/whatever.
#asahi-dev · 2023-04-27 12:22
j`eykaazoo: as jannau said, wrong PAGE_SIZE, rebuild with 16K
#asahi-dev · 2023-04-27 12:20
alyssaI admittedly don't understand what that commit does :)
#asahi-dev · 2023-04-27 12:18
alyssachadmed: ahahaha nice
#asahi-dev · 2023-04-27 12:16
j`ey(that's created with gen_pool_create(PAGE_SHIFT..)
#asahi-dev · 2023-04-27 12:13
j`ey' DMA: preallocated 4096 KiB GFP_KERNEL pool for atomic allocations' seems so
#asahi-dev · 2023-04-27 12:03
_jannau_kaazoo: missing CONFIG_PCIE_APPLE, are you building a kernel with 4k page size (ARM64_PAGE_SHIFT == 12)?
#asahi-dev · 2023-04-27 12:03
_jannau_kaazoo: missing CONFIG_PCIE_APPLE, are you building a kernel with 4k page size (ARM64_PAGE_SHIFT == 12)?
#asahi-dev · 2023-04-27 11:59
kaazooAnything missing for PCIe support on M2 Pro? General PCIe support is enabled.
#asahi-dev · 2023-04-27 11:59
kaazoojannau: Apple related kernel config options: https://paste.debian.net/1278641/
#asahi-dev · 2023-04-27 11:35
povikbut that was with u-boot, so i am making sure it's safe to conclude power domains (even being transitionally turned off) are not to be blamed
#asahi-dev · 2023-04-27 11:34
povikbefore that i tried patching the in-kernel pwrstate to never turn off domains, did a bunch of reboots, and saw them too
#asahi-dev · 2023-04-27 11:34
povikyeah, i ran the full-os install under hypervisor, skipping over u-boot, and still saw them
#asahi-dev · 2023-04-27 11:31
jannauah, I thought it was in relation to seing those only in full-os installs
#asahi-dev · 2023-04-27 11:23
povikthis is to tie the hypothetical loose ends of an experiment i did
#asahi-dev · 2023-04-27 11:22
povikyeah, me too
#asahi-dev · 2023-04-27 11:21
jannaupovik: I saw the sio boot failures without u-boot
#asahi-dev · 2023-04-27 11:18
povikhm
#asahi-dev · 2023-04-27 11:18
kettenisyes
#asahi-dev · 2023-04-27 11:18
povikif explicitly invoked from a device driver, right?
#asahi-dev · 2023-04-27 11:17
kettenisno, but it will do resets
#asahi-dev · 2023-04-27 11:16
povikwill u-boot under some conditions turn off power domains?
#asahi-dev · 2023-04-27 10:53
jannauno, it workls on the m2 pro mini. have you enabled it in your kernel config?
#asahi-dev · 2023-04-27 10:52
kaazooIs PCIe perhaps partly disabled in device tree?
#asahi-dev · 2023-04-27 10:51
jannaukaazoo: ignore pcie related messages from nvme-apple, nothing to do with pcie
#asahi-dev · 2023-04-27 10:50
kettenisthe android bcm4389 driver has different code there handling two different cases and none if that matches what the asahi linux brcmfmac driver does
#asahi-dev · 2023-04-27 10:50
kaazookernel log says: nvme-apple 34bcc0000.nvme: RTKit: syslog message: apcie.c:428: APCIe 1 is configured as unused.
#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:48
kettenisdriver needs some changes; on openbsd I end up in the equivalent of brcmf_chip_sysmem_ramsize() but the code in that function is wrong
#asahi-dev · 2023-04-27 10:45
kettenisit shows up for on openbsd
#asahi-dev · 2023-04-27 10:44
jannaudid we add the right pwren gpio to the devicetree?
#asahi-dev · 2023-04-27 10:43
marcanPCIe and it should show up
#asahi-dev · 2023-04-27 10:42
kaazooDid anybody look into wifi support on j414 with 13.3 FW yet? How is wifi stuff connected? PCIe? lspci shows nothing
#asahi-dev · 2023-04-27 10:41
kettenisargh, why did it create a merge commit for that...
#asahi-dev · 2023-04-27 10:39
kaazooOK, thanks
#asahi-dev · 2023-04-27 10:38
kettenisthanks; I'll merge it and tweak the commit message before sending it upstream
#asahi-dev · 2023-04-27 10:37
kaazookettenis: I updated the commit message: https://github.com/AsahiLinux/u-boot/pull/11/commits/42bb4082b51725f1cb74a4864e009dc13b9301d3
#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

plus ›