2021-10-28
00:04alexstore06 has quit [Remote host closed the connection]
00:11rohin2 has joined #asahi-dev
00:19yuyichao_ has joined #asahi-dev
00:20alexstore06 has joined #asahi-dev
00:31rohin2 has quit [Ping timeout: 480 seconds]
00:41nsklaus_ has quit [Ping timeout: 480 seconds]
00:47nsklaus_ has joined #asahi-dev
00:55alyssa has quit [Quit: leaving]
00:56user982492 has joined #asahi-dev
01:05alexstore06 has quit [Remote host closed the connection]
01:31alexstore06 has joined #asahi-dev
01:34alexstore06 has quit [Remote host closed the connection]
02:08PhilippvK has joined #asahi-dev
02:11phiologe has quit [Ping timeout: 480 seconds]
03:01skipwich has quit [Quit: DISCONNECT]
03:01skipwich has joined #asahi-dev
03:05alexstore06 has joined #asahi-dev
03:14alexstor_ has joined #asahi-dev
03:15alexstore06 has quit [Remote host closed the connection]
03:44kov has quit [Quit: Coyote finally caught me]
03:44kov has joined #asahi-dev
04:11rohin has quit [Quit: Konversation terminated!]
04:36alexstor_ has quit [Ping timeout: 480 seconds]
05:59alexstore06 has joined #asahi-dev
06:25user982492_ has joined #asahi-dev
06:25user982492 has quit [Read error: Connection reset by peer]
06:46alexstore06 has quit [Ping timeout: 480 seconds]
06:56user982492_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
07:08user982492 has joined #asahi-dev
07:25jacoxon has joined #asahi-dev
07:46user982492 has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
08:17bps has joined #asahi-dev
08:52alexstore06 has joined #asahi-dev
09:35alexstore06 has quit [Ping timeout: 480 seconds]
10:15RasmusEneman[m] has joined #asahi-dev
10:35alexstore06 has joined #asahi-dev
10:38amw has quit [Ping timeout: 480 seconds]
10:57amw has joined #asahi-dev
10:57rkt has joined #asahi-dev
11:11alexstore06 has quit [Ping timeout: 480 seconds]
11:15bps2 has joined #asahi-dev
11:21bps has quit [Ping timeout: 480 seconds]
11:24bps2 has quit [Remote host closed the connection]
11:26bps2 has joined #asahi-dev
11:32alexstore06 has joined #asahi-dev
11:37alexstor_ has joined #asahi-dev
11:40alexstore06 has quit [Ping timeout: 480 seconds]
12:06alexstore06 has joined #asahi-dev
12:12alexstor_ has quit [Ping timeout: 480 seconds]
13:05aleasto has joined #asahi-dev
13:23jbowen has joined #asahi-dev
13:29yuyichao has joined #asahi-dev
13:29yuyichao_ has quit [Ping timeout: 480 seconds]
13:43os has quit [Quit: The Lounge - https://thelounge.chat]
13:45os has joined #asahi-dev
13:48phire has joined #asahi-dev
13:55yuyichao has quit [Ping timeout: 480 seconds]
14:31rkt has quit [Quit: rkt]
14:42yuyichao has joined #asahi-dev
14:43rohin2 has joined #asahi-dev
15:11rohin2 has quit [Ping timeout: 480 seconds]
15:31alexstore06 has quit [Remote host closed the connection]
15:48alexstore06 has joined #asahi-dev
15:58alexstor_ has joined #asahi-dev
16:03alexstore06 has quit [Ping timeout: 480 seconds]
16:13alexstor_ has quit [Remote host closed the connection]
16:14alexstore06 has joined #asahi-dev
17:23jmr2 has joined #asahi-dev
17:27jmr2alyssa: you mentionned a while ago that you might be interested in merging j_ey's version of Corellium's spi+keyboard patches. I have the keyboard working on the Air, on top of your 20211022 branch. Let me know. j_ey: thanks for the work, and kettenis: thanks for yesterday's DT commit that gave me the clues I was missing.
17:32jixis there a tree with a separate DT for the air already? I'm trying to get an overview of things (just got my HW yesterday) and I noticed that I need to adjust the DT (remove 2 pcie darts) to get 20211022 to boot on my air
17:34jixhuh interesting I was getting a panic when initializing the 2nd pcie dart, and I checked the ADT on the device and it indeed just has one for me... is that not expected?
17:39nsklaus_ has quit [Quit: WeeChat 3.2]
17:43jixhttps://paste.gg/p/anonymous/95d9a9c8e35e425f9922dc536a371b4d << that's what I get with the DT from the 20211022 tree and the dart@682008000 and dart@683008000 are not in the ADT I dumped
17:49kovI spent a few hours trying to get that to work as well, but I'm a noob, only managed to get some deadlocks ;D
17:54kovjmr2, great, thanks, will give it a go in a bit! I think my dts looked almost like that, but I did not have the last bit, I assume the second to last is essentially cleanup right?
17:56jixjmr2: I think I also tried it without the HV, but let me double check... in any case the DT wouldn't match my ADT
17:58jixyeah even without the HV I do get a panic in apple_dart_probe while probing the one at 682008000 which isn't in my ADT... so are ther different HW revisions? or what is happening here?
18:02StupidYui has quit [Read error: Connection reset by peer]
18:05jmr2kov: second to last was required. Othewise, it was using aic as the parent, and failing to initialize, trying to read a 3rd interrupt cell. No idea why - I don't pretend to know what I'm doing...
18:06yuyichao_ has joined #asahi-dev
18:09yuyichao has quit [Ping timeout: 480 seconds]
18:10jmr2 has quit [Quit: Page closed]
18:20yuyichao has joined #asahi-dev
18:22jacoxon has quit []
18:22jacoxon has joined #asahi-dev
18:22jixok, the macbook air ADT marcan posted a while back also only has the one pcie dart, so I asssume jmr2 might have used a config without CONFIG_APPLE_DART?
18:24jixprobably would be a good idea to maintain different DTs at this point then and not put everything in the common t8103.dtsi
18:25yuyichao_ has quit [Ping timeout: 480 seconds]
18:25marcanjix: the .dtsi is the SoC, the bits are supposed to be specialized in the .dts files that include it
18:27marcanmeanwhile today I, uh, spent the whole day doing panic data recovery on a friends' iPhone :/
18:27jixwell then let me rephrase: it'd be a good idea to maintain the DTs in a way that doesn't require manually patching things when not using a mac mini ;)
18:27marcannot exactly how I planned to spend the day. also the entire ecosystem of jailbreak/etc tooling is a gian mess outside of standard use cases
18:28marcanI think I was 20 levels deep in the problem stack and about to give up when I had a really lucky break and something fixed itself enough to let me continue and make it work again
18:29yuyichao has quit [Ping timeout: 480 seconds]
18:29marcanm1n1 already has the ability to filter DTs by machine, I added that recently (it won't even boot a mini DT on an air any more)
18:31marcanyeah... after 5.16 I'm going to finally put together a bit of a canonical branch with this stuff
18:31minecrell has quit [Read error: Connection reset by peer]
18:31yuyichao has joined #asahi-dev
18:32marcanbut feel free to send me some patches to add a DT for the air (and/or mbp); non-schema DT changes like these are easy to review, just CC the usual folks/MLs so everyone gets a chance to see it :)
18:33minecrell has joined #asahi-dev
18:33marcanalso power states, but you can kind of ignore that the way the APIs work and just enable stuff in m1n1 prior to booting, kinda
18:38alexstore06 has quit [Quit: Leaving...]
18:48yuyichao has quit [Ping timeout: 480 seconds]
18:58nsklaus has joined #asahi-dev
19:15X-Scale` has joined #asahi-dev
19:20X-Scale has quit [Ping timeout: 480 seconds]
19:24jacoxon has quit []
20:00amw has quit [Ping timeout: 480 seconds]
20:23X-Scale has joined #asahi-dev
20:26user982492 has joined #asahi-dev
20:28X-Scale` has quit [Ping timeout: 480 seconds]
20:40j_eyI think it might be better to have status="disabled" in t8103.dtsi.. than haveit this way around
20:45jixI completely lack the big picture regarding everything, but listing stuff that is present and not stuff that is absent does seem clearer to me
20:45jmr2 has joined #asahi-dev
20:46jixif I have a working /dev/input/event1 (using the patches jmr2 collected) can I attach it to the console? can I do that automatically? I fail at finding the relevant documentation for this stuff
20:50jixunrelated, but something freezes for me sometimes if I leave linux running in the HV for longer ... virtual uart and hypervisor ^C don't respond anymore, but the devices are still there until I hard reboot
20:51jixalthough now I'm puzzled how that ends up doing this, given that without it, the keyboard input didn't end up in /dev/tty0 AFAICT
20:51aleasto has quit [Quit: Konversation terminated!]
20:52aleasto has joined #asahi-dev
20:54jmr2j_ey, kov: you're correct - it's the added interrupt-cells that's important. interrupt-parent+interrupts and interrupts-extended both work. However, using interrupts-extended give a "Missing property '#interrupt-cells'" warning when compiling the DTB, which is not present when using the two-lines syntax. I only tested with interrupts-extended after fixing that warning. Sorry for the confusion.
20:56jixjmr2: do you have CONFIG_APPLE_DART set? if not that would probably explain why you didn't have the issues I had with the DT
20:57aleasto has quit [Quit: Konversation terminated!]
20:57jmr2jix: yes, it's set. I started from alyssa's config, available here: www.rosenzweig.io/.config
20:58jmr2Could be because I'm using a version of m1n1 from a little while ago. Given marcan's comments, updating is on my list.
21:02aleasto has joined #asahi-dev
21:04nsklaus has quit [Read error: Connection reset by peer]
21:04nsklaus has joined #asahi-dev
21:04nsklaus has quit []
21:05kettenismy current thinking is that the mba/mbp should only have one root port node and the mini should have all three
21:14user982492 has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
21:28jmr2marcan: just FYI, m1n1 2736f0d (Sept. 24th, on stub partition) chainloading 73180e2 (latest) and then running linux.py still successfully boots an air with a j274 DT.
21:31jmr2 has quit [Quit: Page closed]
21:55jbowen has quit [Quit: leaving]
22:02user982492 has joined #asahi-dev
22:58aleasto has quit [Quit: Konversation terminated!]
23:19lucifer178[m] has joined #asahi-dev