#asahi-dev · 2025-03-20 12:50
kettenisis upstreaming the dockchannel DT bindings on someone's radar?#asahi-dev · 2025-03-20 12:27
kettenisjannau: thanks for doing that u-boot test#asahi-dev · 2025-03-20 12:21
chadmedfigured that would be the answer. thats okay it's tiny #asahi-dev · 2025-03-20 12:20
kettenischadmed: I fear that means you need to convert that to YAML first#asahi-dev · 2025-03-20 12:16
chadmedrobher: im working on that tdm idle slot mechanism we discussed on the ML, but given that tdm-slot.txt is not a standard YAML thing im not sure how/where to document the new DT properties. Plain English in that file with the other TDM slot properties?#asahi-dev · 2025-03-19 20:38
jannauapalos: seems to work without issues. meminfo output of a m1 mac mini: https://gist.github.com/jannau/73388b7cc9599ab6fea8fdc8ce3278ad#asahi-dev · 2025-03-19 15:48
fl0_idwould be also curious to know if normal M3 (T8122) works. it seems to kind work based on being similar to M2 but not sure.#asahi-dev · 2025-03-19 12:41
fl0_idsven yes, I think I described it badly and we meant the same thing, feel free to check again#asahi-dev · 2025-03-19 12:13
svenhrm, I guess I was confused then. I meant to move the constants to the commit that does the chickens. I’ll merge it either way this evening #asahi-dev · 2025-03-19 10:23
fl0_idI think it should be fine now, but maybe check if there is now too much in the first commit (Add support fro retrieving boot cpu and mpidr for M3+)#asahi-dev · 2025-03-19 10:22
fl0_idsven I know what happened, I squashed it into the wrong commit I think... as the constants were added to chickens.c (second commit) and not the first commit which mentions midr#asahi-dev · 2025-03-19 08:38
apalosIt's disable by default, so you'll have to enable MMU_PGPROT and CMD_MEMINFO CMD_MEMINFO_MAP to set and dump thge memory map #asahi-dev · 2025-03-19 08:37
apalosmonring all, is there a chance anyone can test U-Boots -next branch with m1n1? I've recently sent this https://source.denx.de/u-boot/u-boot/-/commit/973c366ce68d9a99e16bcbce3941a1c52492c097 and I wanted to do some testing with all the architectures we support this on#asahi-dev · 2025-03-18 22:52
svenor maybe even grab the old commit hash from the PR, I think GitHub shows those before a force push #asahi-dev · 2025-03-18 22:52
svensure, you can probably and find the commit before the rebase with git reflog #asahi-dev · 2025-03-18 22:50
mischa85fl0_id thanks for your MR, i'll see if i missed some stuff and can try on t6041 too#asahi-dev · 2025-03-18 22:42
fl0_idsven I'm gonna check tomorrow how I can rescue that commit safely or fix it somehow, too tired now.#asahi-dev · 2025-03-18 22:35
mischa85but it really seems to be correct#asahi-dev · 2025-03-18 22:35
mischa85*stole#asahi-dev · 2025-03-18 22:34
mischa85but i can't take credit for even that one because i still it from some other wip repo#asahi-dev · 2025-03-18 22:29
mischa85well there's at least one t6041 thing that can probably be added to m1n1: T6041 EARLY_UART_BASE: 0x429200000#asahi-dev · 2025-03-18 22:23
mischa85i'm almost 95% sure my chicken bits are wrong#asahi-dev · 2025-03-18 22:22
mischa85aight i'll try that then#asahi-dev · 2025-03-18 22:21
sveni'd skip that if you're not confident you have the chicken bits set correctly#asahi-dev · 2025-03-18 22:20
mischa85i have a custom bootpath, it does do mmu_init()#asahi-dev · 2025-03-18 22:20
svenare running with BRINGUP defined? that skips mmu init I think#asahi-dev · 2025-03-18 22:19
sveniirc only once linux booted though but it was likely already broken inside m1n1#asahi-dev · 2025-03-18 22:19
svenenabling the MMU without proper chicken bits exploded in the past in weird ways iirc#asahi-dev · 2025-03-18 22:19
mischa85at least it's not exploding#asahi-dev · 2025-03-18 22:18
mischa85sven: actually i did take over some mmu code, but i have no idea if it's correct#asahi-dev · 2025-03-18 22:17
svenin theory chicken bits can effect everything since they're working around cpu errata#asahi-dev · 2025-03-18 22:17
mischa85apple seemed to be short on bits there so they went on to do some weird stuff there#asahi-dev · 2025-03-18 22:17
fl0_idhehe can imagine#asahi-dev · 2025-03-18 22:17
svenmischa85: i assume you're running with MMU disabled etc?#asahi-dev · 2025-03-18 22:17
mischa85but the only problematic section for me was the pmgr section of course#asahi-dev · 2025-03-18 22:16
mischa85fl0_id: i actually had some fun in untangling the binary data adt.py spit out when i had it wrong#asahi-dev · 2025-03-18 22:15
fl0_id(I basically just printed the error and made the error counter count up on pmu but then have it go on) (afaik)#asahi-dev · 2025-03-18 22:14
fl0_idmischa85 ah interesting. re parsing adt, I was wondering if you had done this https://github.com/AsahiLinux/m1n1/pull/418/commits/69f3e4d24bf6c1be686fc1a94e27c5c5b4ef9df0 as I was wondering as whether that was a better solution for parsing adt then my hack#asahi-dev · 2025-03-18 22:13
mischa85noob question: the chicken bits are irrelevant in being able to/not being able to fire up the cores right?#asahi-dev · 2025-03-18 22:11
svenonce that's fixed it looks ready to be merged I think#asahi-dev · 2025-03-18 22:10
svengreat :)#asahi-dev · 2025-03-18 22:10
fl0_idsven yes that's how it should be. mmh at first it looked right for me, no idea what happened now, will check#asahi-dev · 2025-03-18 22:10
mischa85btw that repo is a mess but i will only start cleaning it up once i know at least a tiny little bit what is going on on m4#asahi-dev · 2025-03-18 22:08
svenhttps://github.com/AsahiLinux/m1n1/pull/450/commits/f8d25a3991a5395b075a891e3f02af8be7a3638e that commit should just add two lines or whatever to midr.h#asahi-dev · 2025-03-18 22:08
sveni'd expect to just see two new lines or so for midr.h#asahi-dev · 2025-03-18 22:08
svenfl0_id: no, the constants shouldn't be in chickens.c but in midr.h but it looks like they're added to chickens.c in the github diff#asahi-dev · 2025-03-18 22:07
mischa85i still think some of these are related to the power registers#asahi-dev · 2025-03-18 22:05
mischa85i did some more stuff to it, not only to get it to parse but also to index all the values i could find in it: https://github.com/mischa85/m1n1/commit/ad8c07411c9ac730615a141519652128a34a721a#diff-a41d8ed8cd219c858c64b5b44cc2f744f5199de7f65161b7e21a57aa3c18adf1#asahi-dev · 2025-03-18 21:54
fl0_id(remove #)#asahi-dev · 2025-03-18 21:53
fl0_idsven CI passes now https://github.com/AsahiLinux/m1n1/pull/450#