#asahi · 2021-06-03 16:03
pipcet[m]again, my armchair opinion is one phandle per clock would work best, as sub-nodes of the pmgr with the address in the reg property.#asahi · 2021-06-03 16:01
pipcet[m]it's simply not true that there is a line connecting the pmgr to itself which serves both as input and output line; it's an internal line connecting one part of the pmgr, which should be represented as one node, to another#asahi · 2021-06-03 16:00
pipcet[m]sven: because it would go away if we had one phandle representing each clock#asahi · 2021-06-03 15:58
pipcet[m]sven: I guess it's the best you can do under those strange circumstances, though I'd just do it right rather than introduce spurious self references#asahi · 2021-06-03 15:52
pipcet[m]no sub-nodes for the clocks?#asahi · 2021-06-03 15:51
pipcet[m]yes.#asahi · 2021-06-03 15:49
pipcet[m]I may be missing something obvious again, but what's the reason for the self-reference?#asahi · 2021-06-03 09:13
pipcet[m]IRQs or FIQs, out of curiosity?#asahi · 2021-06-03 09:11
pipcet[m]jannau: what did you have to do?#asahi · 2021-06-03 09:09
pipcet[m]except for the last one#asahi · 2021-06-03 09:09
pipcet[m]so it only covers single registers#asahi · 2021-06-03 09:09
pipcet[m]adt.device-tree.arm-io.wdt.reg = <0x3d2b0000 0x00000000 0x00004000 0x00000000 0x3d2b8020 0x00000000 0x00000004 0x00000000 0x3d2b8008 0x00000000 0x00000004 0x00000000 0x3d2b800c 0x00000000 0x00000004 0x00000000 0x3d280000 0x00000000 0x0000c000 0x00000000>#asahi · 2021-06-03 09:08
pipcet[m]j_ey: it's a cargo cult page, I put it there so the big knowledgeable Apple plane would land and tell me more about the WDT :-)#asahi · 2021-06-03 09:07
pipcet[m]random guess, but I'd think there'd be a non-volatile area so the watchdog knows why it reset..#asahi · 2021-06-03 09:05
pipcet[m]so it seems the ADT isn't entirely accurate :-)#asahi · 2021-06-03 09:02
pipcet[m]WDT?#asahi · 2021-06-01 22:55
pipcet[m]thanks, sorry, I found it#asahi · 2021-06-01 22:07
pipcet[m]kettenis: is your config file for u-boot available by any chance? I'd like to give your code a spin#asahi · 2021-06-01 21:01
pipcet[m]iboot -> linux -> linux :-)#asahi · 2021-05-31 08:03
pipcet[m]no, or the cursor wouldn't blink.#asahi · 2021-05-31 08:00
pipcet[m]it's talking to the serial port, which probably isn't connected in your case?#asahi · 2021-05-30 13:45
pipcet[m]j_ey: I believe there are forks that are kept up-to-date, which is what I've been doing.#asahi · 2021-05-30 13:43
pipcet[m]alessandrorzz: there are other ports that are further along (but have other issues), but it's hard to tell for Asahi Linux#asahi · 2021-05-29 20:07
pipcet[m]had to tweak them a little to allow reloading after kexec and to reduce the SPI frequency, but nothing major#asahi · 2021-05-29 20:06
pipcet[m]on the mackbookpro's builtin touchpad/keyboard the corellium drivers work very well, and they're based on the existing applespi driver so we can use that.#asahi · 2021-05-28 20:55
pipcet[m]don't you need all the userspace/configfs stuff to create a USB gadget?#asahi · 2021-05-25 12:58
pipcet[m]oh, I must have misread "debug_putc isn't working then"#asahi · 2021-05-25 12:55
pipcet[m]I thought he was wedged in the GL2 code and couldn't get back to the HV?#asahi · 2021-05-25 12:54
pipcet[m]or do you use the mapping macos set up for you?#asahi · 2021-05-25 12:52
pipcet[m]I assume you're injecting the mapping for the uart's mmio page similarly?#asahi · 2021-05-25 12:51
pipcet[m]I injected a page into the GL2 code so it would wait for another core to actually handle the page fault, as part of virtualizing the page tables so I could have an mmiotrace.#asahi · 2021-05-25 12:50
pipcet[m]in my case it was faulting recursively because the injected page wasn't in the right page table#asahi · 2021-05-25 12:46
pipcet[m]silly question, but you're using the right page table, right? As I said, I had to virtualize it separately so it probably is different from the EL2 page table.#asahi · 2021-05-25 12:44
pipcet[m]so I suspect it's trying to resolve the mmio page, failing, and faulting recursively.#asahi · 2021-05-25 12:43
pipcet[m]but debug_putc doesn't use the stack#asahi · 2021-05-25 12:43
pipcet[m]sven: if you can it should go on the wiki, I haven't found a way yet :-)#asahi · 2021-05-25 12:40
pipcet[m]not the top#asahi · 2021-05-25 12:40
pipcet[m]it points to the beginning of the page#asahi · 2021-05-25 12:40
pipcet[m]yes.#asahi · 2021-05-25 12:40
pipcet[m]sven: I had to map my injected page using the actual ttbr_el2 value read from the GXF (I think) exception vector.#asahi · 2021-05-25 12:40
pipcet[m]sven: I virtualized it to get my mmiotrace working#asahi · 2021-05-25 12:39
pipcet[m]sven: are you sure? I think it uses a different top-level page table which just shares the lower levels#asahi · 2021-05-25 12:37
pipcet[m]marcan; can you read the PC from another CPU core? (write 0xc5acce55 to 0x210030fb0, read 32 bits from 0x210040090 and discard, then reading 64 bits from 0x210040090 gives you the lower 49 bits of CPU0's PC)#asahi · 2021-05-25 12:34
pipcet[m]marcan: that happened here (now have it working), but I thought it was because I was failing to virtualize the GXF page tables properly#asahi · 2021-05-25 11:49
pipcet[m]the IRQ line is shared between the two I2C chips#asahi · 2021-05-16 08:43
pipcet[m]jannau: I see checksum errors a lot, too, thought it was a bad usb stack on the other side (I sometimes have to restart the Linux box's usb stack in order to see m1n1 at all)#asahi · 2021-05-15 19:09
pipcet[m]too large for stock m1n1 to load, but it works fine with kmutil :-)#asahi · 2021-05-15 19:09
pipcet[m]I've actually put together a debian-installer-in-a-macho monster#asahi · 2021-05-15 19:06
pipcet[m](Debian works fine with the Corellium kernel, with the exception of Emacs which had a 4KB page size assumption)#asahi · 2021-05-15 19:01
pipcet[m]I do think it's weird that even the touchbar display goes through a dart of its own