2025-03-23
00:04zumi_ has joined #asahi-dev
00:04zumi has quit [Remote host closed the connection]
00:09zumi_ is now known as zumi
00:09nesnas has quit [Ping timeout: 480 seconds]
00:18nesnas has joined #asahi-dev
00:21fl0_idmischa85 btw, didn't think about it at the time, but does the adt change between firmware versions? as the one I sent you was still for sonoma as I'm stlll using that. Not sure if I mentioned that at the time...
00:22mischa85fl0_id: not really. it's mainly useful to see where m3max and m4max are similar and give me some hints
00:25fl0_idmischa85 yeah based on the code numbers that makes sense I guess. Like also on m3, m3 has an 8x number, pro and max have a 6x. and the pro and max always need extra things
00:26mischa85i still have a tz_regs section which i'm unsure about in mcc. should be translatable from region-id-2 and region-id-4 but nobody told anyone *how* they translate
00:26nesnas has quit [Ping timeout: 480 seconds]
00:28mischa85fl0_id: yeah it's going to be a bit of a mix here and there. i have a branch from yu-re-ka which got some info on t8132, now with t6031 i'm trying to fill in the gaps for t6041
00:33mischa85So dberlin wrote this: Note: For unhandled machines, the TZ regions can be found (on m1, m2, m3) by looking at region-id-2 and region-id-4 on a booted macos, in the /chosen/carveout-memory-map DT node. This can be used along with dumping the mcc reg space to find the correct start/end/enable above.
00:33mischa85but this still doesn't explain how two big hex values translate to tz.count/stride/start/end/enable
00:36nesnas has joined #asahi-dev
00:47nesnas has quit [Ping timeout: 480 seconds]
00:50nesnas has joined #asahi-dev
00:57pb17 has quit [Ping timeout: 480 seconds]
01:00nesnas has quit [Ping timeout: 480 seconds]
01:05pb17 has joined #asahi-dev
01:07nesnas has joined #asahi-dev
01:14dylantaylor has joined #asahi-dev
01:16nesnas has quit [Ping timeout: 480 seconds]
01:18greguu has joined #asahi-dev
01:26nesnas has joined #asahi-dev
01:30dylantaylor has quit [Quit: Konversation terminated!]
01:41rrendec has quit [Ping timeout: 480 seconds]
02:23pb17 has quit [Ping timeout: 480 seconds]
02:23ipatch has quit [Read error: Connection reset by peer]
02:26ipatch has joined #asahi-dev
02:49pb17 has joined #asahi-dev
03:39nesnas has quit [Ping timeout: 480 seconds]
03:40Extern has joined #asahi-dev
03:45tobhe_ has joined #asahi-dev
03:46nesnas has joined #asahi-dev
03:51tobhe has quit [Ping timeout: 480 seconds]
03:57nesnas has quit [Ping timeout: 480 seconds]
04:06nesnas has joined #asahi-dev
04:08mischa85 has quit [Ping timeout: 480 seconds]
04:14nora_ has joined #asahi-dev
04:15nesnas has quit [Ping timeout: 480 seconds]
04:16nora has quit [Ping timeout: 480 seconds]
04:16pb17 has quit [Ping timeout: 480 seconds]
04:19Extern has quit [Quit: WeeChat 4.1.1]
04:23nesnas has joined #asahi-dev
04:26pb17 has joined #asahi-dev
04:31mischa85 has joined #asahi-dev
04:34nesnas has quit [Ping timeout: 480 seconds]
04:39mischa85 has quit [Ping timeout: 480 seconds]
04:42nesnas has joined #asahi-dev
04:47mischa85 has joined #asahi-dev
04:53nesnas has quit [Remote host closed the connection]
04:53nesnas has joined #asahi-dev
04:56mischa85 has quit [Ping timeout: 480 seconds]
05:03nesnas has quit [Ping timeout: 480 seconds]
05:13zerozerozero has joined #asahi-dev
05:13mischa85 has joined #asahi-dev
05:13nesnas has joined #asahi-dev
05:16MountainRose has quit [Remote host closed the connection]
05:21mischa85 has quit [Ping timeout: 480 seconds]
05:23nesnas has quit [Ping timeout: 480 seconds]
05:31nesnas has joined #asahi-dev
05:32JayBeeFOSS has quit [Ping timeout: 480 seconds]
05:33JayBeeFOSS has joined #asahi-dev
05:44nesnas has quit [Ping timeout: 480 seconds]
05:45pb17 has quit [Ping timeout: 480 seconds]
05:45mischa85 has joined #asahi-dev
05:53nesnas has joined #asahi-dev
05:54mischa85 has quit [Ping timeout: 480 seconds]
06:00pb17 has joined #asahi-dev
06:03nesnas has quit [Ping timeout: 480 seconds]
06:03mischa85 has joined #asahi-dev
06:05zumi_ has joined #asahi-dev
06:05zumi has quit [Remote host closed the connection]
06:10zumi_ is now known as zumi
06:11mischa85 has quit [Ping timeout: 480 seconds]
06:12nesnas has joined #asahi-dev
06:22nesnas has quit [Ping timeout: 480 seconds]
06:30nesnas has joined #asahi-dev
06:45mischa85 has joined #asahi-dev
06:53mischa85 has quit [Ping timeout: 480 seconds]
07:03mischa85 has joined #asahi-dev
07:12mischa85 has quit [Ping timeout: 480 seconds]
07:27pb17 has quit [Ping timeout: 480 seconds]
07:37nimprod3l has joined #asahi-dev
07:37johey has quit [Read error: Connection reset by peer]
07:37johey has joined #asahi-dev
07:55nickchanrebased my a7-a11 pmu series above the feat_pmuv3 support, will send when the merge window closes
07:56pb17 has joined #asahi-dev
08:29mischa85 has joined #asahi-dev
08:51nimprod3l has quit [Ping timeout: 480 seconds]
08:51nimprod3l has joined #asahi-dev
09:01nesnas has quit [Ping timeout: 480 seconds]
09:03svendoes that one also require changes to the dt? if yes please directly add those to the series
09:04nesnas has joined #asahi-dev
09:26aditya has joined #asahi-dev
09:29pb17 has quit [Ping timeout: 480 seconds]
09:33nesnas has quit [Ping timeout: 480 seconds]
09:36mischa85 has quit [Ping timeout: 480 seconds]
09:41nesnas has joined #asahi-dev
09:44mischa85 has joined #asahi-dev
09:46nesnas has quit [Remote host closed the connection]
09:46nesnas has joined #asahi-dev
09:53mischa85 has quit [Ping timeout: 480 seconds]
09:56nesnas has quit [Ping timeout: 480 seconds]
09:57nesnas has joined #asahi-dev
10:04pb17 has joined #asahi-dev
10:17nesnas has quit [Ping timeout: 480 seconds]
10:17nesnas has joined #asahi-dev
10:43mischa85 has joined #asahi-dev
10:56nesnas has quit [Ping timeout: 480 seconds]
10:59nesnas has joined #asahi-dev
11:08nesnas has quit [Ping timeout: 480 seconds]
11:10mischa85alright, i now tried with a way smaller release kernel. it stops at 0x5d2360/0x3ed4000, does show the dots this time. but throws another serialexception
11:13pb17 has quit [Ping timeout: 480 seconds]
11:15sveniirc there are some control chars that will be caught by the cs software. have you tried disabling them?
11:16mischa85i was thinking the same thing, but 0x1f doesn't seem to be involved. but going to disable them anyway just to be sure
11:17nesnas has joined #asahi-dev
11:20mischa85yes but the character gets passed, it requires a combination with another specific char to do anything
11:29nesnas has quit [Ping timeout: 480 seconds]
11:36mischa85woah it almost booted. the python script tried setting some cpu rvbars which of course SError'd. lemme remove those too
11:38nesnas has joined #asahi-dev
11:49pb17 has joined #asahi-dev
12:06zumi_ has joined #asahi-dev
12:06zumi has quit [Remote host closed the connection]
12:11zumi_ is now known as zumi
12:12Mary has quit [Quit: .]
12:15Mary has joined #asahi-dev
12:41chadmedLarstiQ: wireplumber persisted the hidden alsa node as the default because the filter chain was not of a higher session priority
12:42chadmedthats why folks were getting "quiet" audio in alsa clients like audacity, and also why we had to vendor the dsp script for a little while
13:07aditya has quit [Quit: Connection closed for inactivity]
13:31pb17 has quit [Ping timeout: 480 seconds]
13:41Extern has joined #asahi-dev
13:56pb17 has joined #asahi-dev
14:39mischa85SPSR = 0x200003c5 (N=0, Z=0, C=1, V=0, TCO=0, DIT=0, UAO=0, PAN=0, SS=0, IL=0, SSBS=0, BTYPE=0, D=1, A=1, I=1, F=1, M=0x5(EL1h))
14:41chaos_princessesr and elr would be more interesting
14:45chaos_princesssomething went wrong with mmu, but idk what
14:46rrendec has joined #asahi-dev
14:46mischa85ok, lemme try disabling mmu totally again. which means i have to upload the kernel at 115200 baud
15:30mischa85yeah, with a bit of luck this is going to supply us with the correct chicken bits, so we can enable mmu and be back at 1.5 mbaud again for further development
15:31mischa85i'm trying with the release kernel at the moment as it's way smaller than the development kernel
15:47mischa85i had to take out page tables update, now it crashes after jumping to entrypoint. nothing from guest, SYNC exception. ESR: 0x96000035 (data abort (current))
15:49chaos_princesswhat is the instruction at elr?
15:51chaos_princessplease use a pastebin next time
15:51chaos_princesscould it be that you are jumping to a no-exec page then?
15:52pb17 has quit [Ping timeout: 480 seconds]
15:53zerozero1 has joined #asahi-dev
15:55zerozero2 has joined #asahi-dev
16:00zerozerozero has quit [Ping timeout: 480 seconds]
16:02zerozero1 has quit [Ping timeout: 480 seconds]
16:14cow123 has quit [Ping timeout: 480 seconds]
16:16zerozero2 has quit [Quit: WeeChat 4.5.2]
16:16zerozerozero has joined #asahi-dev
16:38pb17 has joined #asahi-dev
16:53mischa85which is indeed the range it tries to jump to: PT[10016428000:12000000000] -> HW:RAM-HIGH
17:02okb has joined #asahi-dev
17:44johey has quit [Ping timeout: 480 seconds]
17:49sting has quit [Quit: doei]
17:51mischa85nope. so enabling mmu_init makes pt_update pass without crashing, but crashes later as a guest exception
17:53chaos_princessfrom what i remember from reading arm64 spec, you can disable translation in el2
17:54sting has joined #asahi-dev
17:54john-cabaj has joined #asahi-dev
18:01johey has joined #asahi-dev
18:04zumi_ has joined #asahi-dev
18:04zumi has quit [Remote host closed the connection]
18:09zumi_ is now known as zumi
18:10john-cabaj has quit [Ping timeout: 480 seconds]
18:11pb17 has quit [Ping timeout: 480 seconds]
18:15bjoto has quit [Remote host closed the connection]
18:36zeezie01 has joined #asahi-dev
18:39pb17 has joined #asahi-dev
18:46yuyichao_ has quit [Ping timeout: 480 seconds]
19:55Extern has quit [Quit: WeeChat 4.1.1]
20:13HitokiriKincho has joined #asahi-dev
20:15pb17 has quit [Ping timeout: 480 seconds]
20:29nimprod3l has quit [Quit: Leaving]
20:35pb17 has joined #asahi-dev
20:41zerozerozero has quit [Quit: WeeChat 4.5.2]
21:06HitokiriKincho has quit [Quit: Leaving...]
21:09mischa85chaos_princess: translation should be disabled when mmu_unit() is not called. the hv_translate() function actually checks for the SCTLR_M bit (mmu) in the SCTLR_EL12 (SCTLR_2?) register and acts accordingly
21:18mischa85it's going to be painful tho transferring the kernel at 115200 bauds everytime. if anyone has a trick to get 1.5 mbaud without m1n1 denying it without mmu i'd be glad to hear of it
21:25zerozerozero has joined #asahi-dev
21:49pb17 has quit [Ping timeout: 480 seconds]
21:57pb17 has joined #asahi-dev
22:00okb has quit [Quit: Leaving]
23:00zerozerozero has quit [Quit: WeeChat 4.5.2]
23:01zerozerozero has joined #asahi-dev
23:31pb17 has quit [Ping timeout: 480 seconds]
23:41pb17 has joined #asahi-dev
23:58nesnas has quit [Ping timeout: 480 seconds]