-
-
Save chadmed/2101227831c0af272bcfcdb8326a57ea to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
james@usagi ~/asahi/m1n1 $ python3 proxyclient/tools/chainload.py -r -E 2048 build/m1n1.bin | |
TTY> CPU init (MIDR: 0x611f0340)... | |
TTY> CPU part: 0x34 rev: 0x10 | |
TTY> CPU: Unknown | |
TTY> | |
TTY> boot_args at 0x1000350c000 | |
TTY> revision: 2 | |
TTY> version: 2 | |
TTY> virt_base: 0x51e4000 | |
TTY> phys_base: 0x100011e4000 | |
TTY> mem_size: 0x3d69d8000 | |
TTY> top_of_kdata: 0x10003510000 | |
TTY> video: | |
TTY> base: 0x103e1f4c000 | |
TTY> display: 0x1 | |
TTY> stride: 0xa00 | |
TTY> width: 640 | |
TTY> height: 1136 | |
TTY> depth: 32bpp | |
TTY> density: 1 | |
TTY> machine_type: 0 | |
TTY> devtree: 0x6d1c000 | |
TTY> devtree_size: 0x78000 | |
TTY> cmdline: | |
TTY> boot_flags: 0x0 | |
TTY> mem_size_act: 0x400000000 | |
TTY> | |
TTY> | |
TTY> | |
TTY> m1n1 v1.2.4-24-g583f290 | |
TTY> Copyright The Asahi Linux Contributors | |
TTY> Licensed under the MIT license | |
TTY> | |
TTY> Running in EL2 | |
TTY> | |
TTY> Device info: | |
TTY> Model: Mac14,12 | |
TTY> Target: J474s | |
TTY> Board-ID: 0x2 | |
TTY> Chip-ID: 0x6020 | |
TTY> | |
TTY> OS FW version: unknown (iBoot-8419.80.7) | |
TTY> System FW version: unknown (iBoot-8419.80.7) | |
TTY> Heap base: 0x10003510000 | |
TTY> MCC: Unsupported version | |
TTY> MMU: Initializing... | |
TTY> MMU: RAM base: 0x10000000000 | |
TTY> MMU: Top of normal RAM: 0x103d7bbc000 | |
TTY> MMU: Adding Device-nGnRE mapping at 0x5a0000000 (0x20000000) | |
TTY> MMU: Adding Device-nGnRE mapping at 0x5c0000000 (0x40000000) | |
TTY> MMU: Adding Device-nGnRE mapping at 0x800000000 (0x200000000) | |
TTY> MMU: Adding Device-nGnRE mapping at 0xa00000000 (0x80000000) | |
TTY> MMU: Adding Device-nGnRE mapping at 0xc00000000 (0x200000000) | |
TTY> MMU: Adding Device-nGnRE mapping at 0xe00000000 (0x80000000) | |
TTY> MMU: Adding Device-nGnRE mapping at 0x1000000000 (0x200000000) | |
TTY> MMU: Adding Device-nGnRE mapping at 0x1200000000 (0x80000000) | |
TTY> MMU: Adding Device-nGnRE mapping at 0x1400000000 (0x200000000) | |
TTY> MMU: Adding Device-nGnRE mapping at 0x1600000000 (0x80000000) | |
TTY> MMU: Adding Device-nGnRE mapping at 0x1800000000 (0x400000000) | |
TTY> MMU: Adding Device-nGnRE mapping at 0x1700000000 (0x100000000) | |
TTY> MMU: Adding Normal-NC mapping at 0x103fff20000 (0x40000) | |
TTY> MMU: Adding Normal-NC mapping at 0x103ffec0000 (0x20000) | |
TTY> MMU: Adding Normal-NC mapping at 0x103ffe64000 (0x40000) | |
TTY> MMU: Adding Normal-NC mapping at 0x103ffe04000 (0x20000) | |
TTY> MMU: Adding Normal-NC mapping at 0x103ffdc4000 (0x40000) | |
TTY> MMU: Adding Normal-NC mapping at 0x103ffd64000 (0x20000) | |
TTY> MMU: Adding Normal-NC mapping at 0x103fffb8000 (0x4000) | |
TTY> MMU: Adding Normal-NC mapping at 0x103fff74000 (0x4000) | |
TTY> MMU: SCTLR_EL1: 30100180 -> 30901085 | |
TTY> MMU: running with MMU and caches enabled! | |
TTY> AIC: Version 2 @ 0x28e100000 | |
TTY> AIC: AIC2 with 1/8 dies, 1961/4096 IRQs, reg_size:0c004 die_stride:04a00 | |
TTY> AIC: Configuring 4 external interrupts | |
TTY> WDT registers @ 0x29e2c4000 | |
TTY> WDT disabled | |
TTY> pmgr: Cleaning up device states... | |
TTY> pmgr: initialized, 411 devices on 1 dies found. | |
TTY> display: Display is external | |
TTY> display: Dummy framebuffer found, initializing display | |
TTY> dcp: mapper-dcp not found! | |
TTY> display: failed to initialize DCP | |
TTY> fb init: 640x1136 (32) [s=640] @0x103e1f4c000 | |
TTY> fb console: max rows 31, max cols 4 | |
TTY> fb: display logo | |
TTY> CLK: MCA clock registers @ 0x28e03807c (0x18) | |
TTY> CLK: Initialized 6 MCA clock muxes | |
TTY> cpufreq: Initializing clusters | |
TTY> cpufreq: Chip 0x6020 is unsupported | |
TTY> Initialization complete. | |
TTY> Checking for payloads... | |
TTY> Devicetree compatible value: apple,j474s | |
TTY> Unknown payload at 0x10002ec0000 (magic: 4d697373) | |
TTY> No valid payload found | |
TTY> dart: dart /arm-io/dart-usb0 at 0x702f80000 is a t8110 | |
TTY> USB0: initialized at 0x100038de030 | |
TTY> dart: dart /arm-io/dart-usb1 at 0xb02f80000 is a t8110 | |
TTY> USB1: initialized at 0x100038de360 | |
TTY> dart: dart /arm-io/dart-usb2 at 0xf02f80000 is a t8110 | |
TTY> USB2: initialized at 0x100038de690 | |
TTY> dart: dart /arm-io/dart-usb3 at 0x1302f80000 is a t8110 | |
TTY> USB3: initialized at 0x100038de9c0 | |
TTY> Running proxy... | |
Fetching ADT (0x00078000 bytes)... | |
m1n1 base: 0x10002dec000 | |
Total region size: 0x6d8000 bytes | |
Loading kernel image (0xd4004 bytes)... | |
.................. | |
Copying SEPFW (0x5fc000 bytes)... | |
Adjusting addresses in ADT... | |
Pushing ADT (477736 bytes)... | |
Setting secondary CPU RVBARs... | |
cpu1: [0x210150000] = 0x10002dec000 | |
cpu2: [0x210250000] = 0x10002dec000 | |
cpu3: [0x210350000] = 0x10002dec000 | |
cpu4: [0x211050000] = 0x10002dec000 | |
cpu5: [0x211150000] = 0x10002dec000 | |
cpu6: [0x211250000] = 0x10002dec000 | |
cpu7: [0x211350000] = 0x10002dec000 | |
cpu8: [0x212050000] = 0x10002dec000 | |
cpu9: [0x212150000] = 0x10002dec000 | |
cpu10: [0x212250000] = 0x10002dec000 | |
cpu11: [0x212350000] = 0x10002dec000 | |
Setting up bootargs... | |
Copying stub... | |
Entry point: 0x10002dec800 | |
Reloading into stub at 0x1000d3d8200 | |
TTY> Preparing to run next stage at 0x1000d3d8200... | |
Waiting for reconnection... ...................... Connected | |
TTY> CPU init (MIDR: 0x611f0340)... | |
TTY> CPU part: 0x34 rev: 0x10 | |
TTY> CPU: M2 Pro Blizzard | |
TTY> | |
TTY> boot_args at 0x100034c0000 | |
TTY> revision: 2 | |
TTY> version: 2 | |
TTY> virt_base: 0x51e4000 | |
TTY> phys_base: 0x100011e4000 | |
TTY> mem_size: 0x3d69d8000 | |
TTY> top_of_kdata: 0x100034c4000 | |
TTY> video: | |
TTY> base: 0x103e1f4c000 | |
TTY> display: 0x1 | |
TTY> stride: 0xa00 | |
TTY> width: 640 | |
TTY> height: 1136 | |
TTY> depth: 32bpp | |
TTY> density: 1 | |
TTY> machine_type: 0 | |
TTY> devtree: 0x6d1c000 | |
TTY> devtree_size: 0x78000 | |
TTY> cmdline: | |
TTY> boot_flags: 0x0 | |
TTY> mem_size_act: 0x400000000 | |
TTY> | |
TTY> | |
TTY> | |
TTY> m1n1 v1.0.2-772-g583f290-dirty | |
TTY> Copyright The Asahi Linux Contributors | |
TTY> Licensed under the MIT license | |
TTY> | |
TTY> Running in EL2 | |
TTY> | |
TTY> Device info: | |
TTY> Model: Mac14,12 | |
TTY> Target: J474s | |
TTY> Board-ID: 0x2 | |
TTY> Chip-ID: 0x6020 | |
TTY> | |
TTY> OS FW version: unknown (iBoot-8419.80.7) | |
TTY> System FW version: unknown (iBoot-8419.80.7) | |
TTY> Heap base: 0x100034c4000 | |
TTY> MCC: Initializing T6000 MCCs (6 instances)... | |
TTY> MCC: Initialized T6000 MCCs (6 instances, 4 planes, 4 channels) | |
TTY> MMU: Initializing... | |
TTY> MMU: RAM base: 0x10000000000 | |
TTY> MMU: Top of normal RAM: 0x103d7bbc000 | |
TTY> MMU: Adding Device-nGnRE mapping at 0x5a0000000 (0x20000000) | |
TTY> MMU: Adding Device-nGnRE mapping at 0x5c0000000 (0x40000000) | |
TTY> MMU: Adding Device-nGnRE mapping at 0x800000000 (0x200000000) | |
TTY> MMU: Adding Device-nGnRE mapping at 0xa00000000 (0x80000000) | |
TTY> MMU: Adding Device-nGnRE mapping at 0xc00000000 (0x200000000) | |
TTY> MMU: Adding Device-nGnRE mapping at 0xe00000000 (0x80000000) | |
TTY> MMU: Adding Device-nGnRE mapping at 0x1000000000 (0x200000000) | |
TTY> MMU: Adding Device-nGnRE mapping at 0x1200000000 (0x80000000) | |
TTY> MMU: Adding Device-nGnRE mapping at 0x1400000000 (0x200000000) | |
TTY> MMU: Adding Device-nGnRE mapping at 0x1600000000 (0x80000000) | |
TTY> MMU: Adding Device-nGnRE mapping at 0x1800000000 (0x400000000) | |
TTY> MMU: Adding Device-nGnRE mapping at 0x1700000000 (0x100000000) | |
TTY> MMU: Adding Normal-NC mapping at 0x103fff20000 (0x40000) | |
TTY> MMU: Adding Normal-NC mapping at 0x103ffec0000 (0x20000) | |
TTY> MMU: Adding Normal-NC mapping at 0x103ffe64000 (0x40000) | |
TTY> MMU: Adding Normal-NC mapping at 0x103ffe04000 (0x20000) | |
TTY> MMU: Adding Normal-NC mapping at 0x103ffdc4000 (0x40000) | |
TTY> MMU: Adding Normal-NC mapping at 0x103ffd64000 (0x20000) | |
TTY> MMU: Adding Normal-NC mapping at 0x103fffb8000 (0x4000) | |
TTY> MMU: Adding Normal-NC mapping at 0x103fff74000 (0x4000) | |
TTY> MMU: SCTLR_EL1: 30900180 -> 30901085 | |
TTY> MMU: running with MMU and caches enabled! | |
TTY> AIC: Version 2 @ 0x28e100000 | |
TTY> AIC: AIC2 with 1/8 dies, 1961/4096 IRQs, reg_size:0c004 die_stride:04a00 | |
TTY> AIC: Configuring 4 external interrupts | |
TTY> WDT registers @ 0x29e2c4000 | |
TTY> WDT disabled | |
TTY> pmgr: Cleaning up device states... | |
TTY> pmgr: initialized, 411 devices on 1 dies found. | |
TTY> display: Display is external | |
TTY> display: Dummy framebuffer found, initializing display | |
TTY> dcp: mapper-dcp not found! | |
TTY> display: failed to initialize DCP | |
TTY> fb init: 640x1136 (32) [s=640] @0x103e1f4c000 | |
TTY> fb console: max rows 31, max cols 4 | |
TTY> fb: display logo | |
TTY> CLK: MCA clock registers @ 0x28e03807c (0x18) | |
TTY> CLK: Initialized 6 MCA clock muxes | |
TTY> cpufreq: Initializing clusters | |
TTY> cpufreq: Switching cluster PCPU0 to P-State 6 | |
TTY> cpufreq: Switching cluster PCPU1 to P-State 6 | |
TTY> Initialization complete. | |
TTY> Checking for payloads... | |
TTY> Devicetree compatible value: apple,j474s | |
TTY> No more payloads at 0x10002ec0000 | |
TTY> No valid payload found | |
TTY> dart: dart /arm-io/dart-usb0 at 0x702f80000 is a t8110 | |
TTY> USB0: initialized at 0x10003892030 | |
TTY> dart: dart /arm-io/dart-usb1 at 0xb02f80000 is a t8110 | |
TTY> USB1: initialized at 0x10003892360 | |
TTY> dart: dart /arm-io/dart-usb2 at 0xf02f80000 is a t8110 | |
TTY> USB2: initialized at 0x10003892690 | |
TTY> dart: dart /arm-io/dart-usb3 at 0x1302f80000 is a t8110 | |
TTY> USB3: initialized at 0x100038929c0 | |
TTY> Running proxy... | |
Proxy is alive again | |
james@usagi ~/asahi/m1n1 $ python3 proxyclient/experiments/cpu_pstate_latencies.py | |
Fetching ADT (0x00078000 bytes)... | |
m1n1 base: 0x10002dec000 | |
TTY> Starting secondary CPUs... | |
TTY> Starting CPU 1 (0:0:1)... Started. | |
TTY> Starting CPU 2 (0:0:2)... Started. | |
TTY> Starting CPU 3 (0:0:3)... Started. | |
TTY> Starting CPU 4 (0:1:0)... Started. | |
TTY> Starting CPU 5 (0:1:1)... Started. | |
TTY> Starting CPU 6 (0:1:2)... Started. | |
TTY> Starting CPU 7 (0:1:3)... Started. | |
TTY> Starting CPU 8 (0:2:0)... Started. | |
TTY> Starting CPU 9 (0:2:1)... Started. | |
TTY> Starting CPU 10 (0:2:2)... Started. | |
TTY> Starting CPU 11 (0:2:3)... Started. | |
#### Cluster 0 #### | |
P-States: | |
0:24MHz 1:912MHz 2:912MHz 3:1284MHz 4:1752MHz 5:2004MHz 6:2256MHz 7:2424MHz | |
To-> | 912 | 912 | 1284 | 1752 | 2004 | 2256 | 2424 | | |
From |---------+---------+---------+---------+---------+---------+---------+ | |
912 | ******* | 42 | 23875 | 31292 | 37500 | 42833 | 46625 | | |
912 | 42 | ******* | 23833 | 31417 | 37417 | 42917 | 46708 | | |
1284 | 5792 | 5750 | ******* | 26208 | 32083 | 37250 | 40708 | | |
1752 | 6083 | 6000 | 5667 | ******* | 23708 | 29667 | 33958 | | |
2004 | 6833 | 6958 | 6708 | 4083 | ******* | 26708 | 30708 | | |
2256 | 7792 | 7667 | 7250 | 6917 | 4500 | ******* | 23333 | | |
2424 | 7292 | 7375 | 6750 | 7083 | 5583 | 3667 | ******* | | |
Maximum execution latency spike: 249 ns | |
#### Cluster 1 #### | |
P-States: | |
0:24MHz 1:702MHz 2:948MHz 3:1188MHz 4:1452MHz 5:1704MHz 6:1968MHz 7:2208MHz 8:2400MHz 9:2568MHz 10:2724MHz 11:2868MHz 12:3000MHz 13:3132MHz 14:3264MHz 15:3360MHz 16:3408MHz 17:3504MHz | |
To-> | 702 | 948 | 1188 | 1452 | 1704 | 1968 | 2208 | 2400 | 2568 | 2724 | 2868 | 3000 | 3132 | 3264 | 3360 | 3408 | 3504 | | |
From |---------+---------+---------+---------+---------+---------+---------+---------+---------+---------+---------+---------+---------+---------+---------+---------+---------+ | |
702 | ******* | 17750 | 20708 | 23083 | 27458 | 30458 | 42833 | 44542 | 46042 | 49208 | 51708 | 56292 | 58917 | 63125 | 63292 | 63375 | 63375 | | |
948 | 4958 | ******* | 18458 | 20500 | 24750 | 27833 | 39708 | 41917 | 43417 | 46625 | 48625 | 53500 | 56083 | 60500 | 60458 | 60792 | 60583 | | |
1188 | 6125 | 5208 | ******* | 19625 | 22167 | 25250 | 37833 | 40083 | 41875 | 45500 | 48000 | 51833 | 53875 | 58125 | 58000 | 57833 | 57375 | | |
1452 | 5583 | 4792 | 4917 | ******* | 19667 | 22458 | 25250 | 36625 | 37958 | 41208 | 43417 | 47792 | 50458 | 54958 | 54833 | 55042 | 55042 | | |
1704 | 5917 | 5625 | 4833 | 3917 | ******* | 18500 | 21792 | 24125 | 34417 | 37833 | 40583 | 44375 | 46417 | 50458 | 49917 | 48917 | 50083 | | |
1968 | 6917 | 6792 | 6000 | 6375 | 4083 | ******* | 20417 | 22500 | 32583 | 35917 | 38708 | 42625 | 44833 | 48875 | 48917 | 48792 | 48750 | | |
2208 | 7208 | 7167 | 7208 | 6833 | 6583 | 4125 | ******* | 19542 | 22833 | 25042 | 36417 | 40542 | 43000 | 47042 | 47208 | 47083 | 47125 | | |
2400 | 7375 | 7208 | 7458 | 6917 | 7083 | 5500 | 4083 | ******* | 19750 | 28125 | 24875 | 37583 | 40208 | 44333 | 44208 | 44333 | 44292 | | |
2568 | 6958 | 6875 | 7250 | 6625 | 7000 | 6875 | 4708 | 4250 | ******* | 20500 | 22542 | 27083 | 36542 | 40917 | 40667 | 40833 | 40792 | | |
2724 | 6083 | 6125 | 7083 | 6000 | 6667 | 6958 | 6375 | 4250 | 3542 | ******* | 18500 | 22542 | 25000 | 29208 | 29208 | 29125 | 38167 | | |
2868 | 5750 | 5333 | 6792 | 5250 | 6333 | 6875 | 6667 | 4458 | 3625 | 2958 | ******* | 2458 | 22042 | 26333 | 26250 | 26250 | 26125 | | |
3000 | 5833 | 5667 | 6167 | 5250 | 5792 | 6292 | 6458 | 5833 | 3875 | 3167 | 2333 | ******* | 17708 | 21792 | 21917 | 21708 | 22708 | | |
3132 | 5417 | 5208 | 5417 | 5042 | 4917 | 5458 | 6042 | 5375 | 3500 | 2958 | 2208 | 1833 | ******* | 18667 | 19125 | 18792 | 19583 | | |
3264 | 5583 | 5625 | 5375 | 5250 | 4792 | 5500 | 6042 | 5708 | 5042 | 3250 | 2667 | 2333 | 1708 | ******* | 6208 | 6250 | 16625 | | |
3360 | 6167 | 6083 | 5708 | 5875 | 4875 | 5875 | 6625 | 6458 | 5708 | 4125 | 3542 | 2958 | 2333 | 875 | ******* | 83 | 17042 | | |
3408 | 6333 | 6208 | 5625 | 6125 | 4083 | 6000 | 6792 | 6417 | 5750 | 4375 | 3708 | 3458 | 2792 | 2417 | 83 | ******* | 2542 | | |
3504 | 6625 | 6375 | 5417 | 6333 | 5417 | 6167 | 6917 | 6667 | 6500 | 5542 | 4250 | 3792 | 3375 | 2875 | 2583 | 2292 | ******* | | |
Maximum execution latency spike: 298 ns |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment