#
…

2023-10-26

00:40mniak has quit [Quit: Leaving]
00:42darkapex1 has quit [Remote host closed the connection]
00:43darkapex1 has joined #asahi-dev
00:57ah- has quit [Read error: Connection reset by peer]
01:01ah- has joined #asahi-dev
02:00gabuscus has quit []
02:14john-cabaj has quit [Ping timeout: 480 seconds]
02:19pg12 has quit [Ping timeout: 480 seconds]
02:20pg12 has joined #asahi-dev
02:22delroth has quit [Ping timeout: 480 seconds]
02:28pg12_ has joined #asahi-dev
02:28pg12 has quit [Ping timeout: 480 seconds]
02:33pg12_ is now known as pg12
02:41crabbedhaloablut has joined #asahi-dev
02:44delroth has joined #asahi-dev
02:56gabuscus has joined #asahi-dev
03:26tristan2_ has joined #asahi-dev
03:27tristan2 has quit [Ping timeout: 480 seconds]
04:47darkapex1 has quit [Remote host closed the connection]
04:47darkapex1 has joined #asahi-dev
05:38yuyichao has joined #asahi-dev
05:42yuyichao_ has quit [Ping timeout: 480 seconds]
05:47yuyichao has quit [Ping timeout: 480 seconds]
05:54yuyichao has joined #asahi-dev
06:19bisko has joined #asahi-dev
06:20bisko has quit []
06:23HardWall has joined #asahi-dev
06:24bisko has joined #asahi-dev
06:33kl has quit [Quit: ZNC - https://znc.in]
06:33kilolima has joined #asahi-dev
07:26capta1nt0ad has joined #asahi-dev
07:32capta1nt0ad has quit [Remote host closed the connection]
07:33capta1nt0ad has joined #asahi-dev
07:46bisko has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
07:47bisko has joined #asahi-dev
07:47bisko has quit []
08:21bisko has joined #asahi-dev
08:42AnuthaDev has joined #asahi-dev
09:04i509vcb has quit [Quit: Connection closed for inactivity]
09:05capta1nt0ad has quit [Ping timeout: 480 seconds]
09:40bisko has quit [Quit: Textual IRC Client: www.textualapp.com]
10:27akda5id has joined #asahi-dev
11:35amw has quit [Ping timeout: 480 seconds]
11:45capta1nt0ad has joined #asahi-dev
11:55capta1nt0ad has quit [Ping timeout: 480 seconds]
12:38kidplayer666 has joined #asahi-dev
13:33yuyichao has quit [Ping timeout: 480 seconds]
13:35john-cabaj has joined #asahi-dev
14:13HardWall has quit [Quit: This computer has gone to sleep]
14:47kidplayer666 has quit [Quit: Connection closed for inactivity]
14:57dylanchapell is now known as dylanchapell_
14:57dylanchapell_ is now known as dylanchapell__
14:57dylanchapell__ is now known as dylanchapell
16:28AnuthaDev has quit []
16:29i509vcb has joined #asahi-dev
17:20cza has joined #asahi-dev
17:25czahello, i was wondering if anyone could tell me what's the recommended way to hack on m1n1? im trying to add a few things to the hypervisor but im not sure what would be the fastest way to test out my changes. im looking into handling some missing system registers like PMCCNTR_EL0 (reading it gives me a sync abort), is there perhaps a way to handle that using the proxy? im not very well versed with aarch64 and apple platforms but i'm
17:29j`eycza: the apple cpu's have a non archtiectural PMU, so I guess that register just isnt there
17:29czayeah i figured that out, the esr was weird but there seems to be an apple PMU equivalent
17:29czaso i wanted to somehow work around that and return the value from one of these registers
17:31j`eynot sure if the proxy can handle that, but you could edit m1n1 itself to do it
17:32czais there an easy way to run the new build of m1n1 as the hypervisor?
17:32czaso i can run the uefi os under the newly built hypervisor
17:33czaor do i have to put it on the efi partition for stage 1 to chainload? that sounds like it will take a lot of time to test a single build
17:33j`eyyou can chainload m1n1 via the proxy, yeah
17:34j`eym1n1 stage1 -> proxy mode -> chainload stage2 m1n1 and then load u-boot
17:34czaso the proxy mode i get by using -v boot args comes from stage 1?
17:36czaalright, what im wondering about is after loading my new payload with newly built m1n1 and uboot how do i get this *whole thing* to run under the m1n1 i just chainloaded?
17:36czasorry if i cant explain what im talking about
17:36czabut i want the newly built m1n1 to act as the hypervisor
17:37j`eycza: take a look at the proxyclient/tools/run_guest.py and proxyclient/tools/run_guest_kernel.sh scripts
17:37j`eyas well as the wiki, it has some info about this
17:38czaim using the run_guest.py script already, but i think im just misunderstanding the boot process
17:39czait seems to me that when i use the run_guest.py script, whatever payload i provide is what is run under the hypervisor, is that correct?
17:40czaso now, can the chainloaded m1n1 that's running under the hypervisor run as a hypervisor itself?
17:40czabecause if not, then any exceptions from the underlying os will be caught by stage 1 m1n1
17:40czawhich does not contain my changes
17:41j`eyyes it can
17:41j`eyif you use proxyclient/tools/chainload.py
17:42czaah, that makes a lot more sense
17:42czai knew i was doing something wrong because none of my changes were actually there
17:43czai'll give that a go, thanks!
17:43j`eyif you see the output of the chainload, it should say something about being at EL2
17:45czayep that's exactly what it says after it reconnects to the proxy, thank you for that!
17:45czaill give that a go now that my code is actually being run :^)
17:46j`eyis this windows or something
17:46czathe thing im trying to run under m1n1? yep lol
17:47czai worked on porting a bootloader to m1 a few days ago and now i wanted to see how far windows can get
17:48czathough the bootloader was light work compared to this, some minor memory related stuff + weird framebuffer format
17:49czai see, someone had that idea before me, not surprised
17:49czai should give that a go, it probably can get windows way further than i'll ever do on my own, especially with no knowledge about the platform :p
17:49czathanks for the link!
18:00kidplayer666 has joined #asahi-dev
18:05cyrinux has quit []
18:06cyrinux has joined #asahi-dev
18:07opticronthere's also this page from the project originator, but it's a bit more stale: https://github.com/amarioguy/AppleWOAProject/blob/gh-pages/index.md
18:33zzywysm has joined #asahi-dev
19:11___nick___ has joined #asahi-dev
19:11___nick___ has quit []
19:14___nick___ has joined #asahi-dev
20:08___nick___ has quit [Ping timeout: 480 seconds]
20:10kidplayer666 has quit [Quit: Connection closed for inactivity]
20:33cza has quit [Quit: Page closed]
20:53WindowPain has joined #asahi-dev
20:58WindowPa- has quit [Ping timeout: 480 seconds]
21:57darkapex1 has quit [Remote host closed the connection]
21:57darkapex1 has joined #asahi-dev
22:43pthariensflame has joined #asahi-dev
22:46pthariensflame has quit []
…