#asahi · 2022-09-11 19:30
jeppojepsshould be this#asahi · 2022-09-11 19:29
jeppojepspython3 proxyclient/tools/run_guest.py -s <PATH_TO_DEBUG_DWARF> <PATH_TO_DEVELOPMENT_KERNEL_CACHE> -- "debug=0x14e serial=3 apcie=0xfffffffe -enable-kprintf-spam wdt=-1"#asahi · 2022-09-11 19:26
jeppojepsit also has dwc3 support actually#asahi · 2022-09-11 19:25
jeppojepsso I'd build the m1n1 macho normally, I have already commented out the PYLD section, and I have that binary, I have to get to the uart part#asahi · 2022-09-11 19:19
jeppojepsas in the m1n1 dev tutorial?#asahi · 2022-09-11 19:19
jeppojepscould you explain how would you do the UART thingy?#asahi · 2022-09-11 19:19
jeppojeps2 you are right, I can install m1n1, manually but w/o Asahi#asahi · 2022-09-11 19:19
jeppojeps1 it does support UART#asahi · 2022-09-11 19:10
jeppojepsotherwise I could have installed on the bare metal#asahi · 2022-09-11 19:10
jeppojepsand right now I can't update my M1, stuck on 11.4 (work reason)#asahi · 2022-09-11 19:10
jeppojepssince you already have something worked on the ramfb#asahi · 2022-09-11 19:09
jeppojepsbut I wanted to boot Asahi to check few things on the DCP in the kernel#asahi · 2022-09-11 19:09
jeppojepsthe emulator is capable to boot bash on top of XNU right now#asahi · 2022-09-11 19:08
jeppojepsso the difference shouldn't be that huge#asahi · 2022-09-11 19:08
jeppojepswe are talking here that iPhone apps run on M1 seamlessly#asahi · 2022-09-11 19:08
jeppojepsindeed I looked at the one of Asahi and it's pretty similar#asahi · 2022-09-11 19:08
jeppojepsthen the code puts everything together#asahi · 2022-09-11 19:07
jeppojepsso I normally give them as separated params#asahi · 2022-09-11 19:07
jeppojepsapple device tree coming from one of the blobs downloadable for iPhone#asahi · 2022-09-11 19:06
jeppojepswhacking the emulator shouln't be that hard, doing it properly likely it takes a bit more#asahi · 2022-09-11 19:06
jeppojepsthe rationale it's just to understand the best way or the more compatible way to do it#asahi · 2022-09-11 19:06
jeppojepsso it's a kinda of bare-metal iPhone#asahi · 2022-09-11 19:05
jeppojepsno iBoot#asahi · 2022-09-11 19:05
jeppojepsif I provide m1n1 as a kernel#asahi · 2022-09-11 19:05
jeppojepsit does, but I guess it's in the kernelcache#asahi · 2022-09-11 19:05
jeppojepsin my case iboot doesn't exist#asahi · 2022-09-11 19:05
jeppojepsyes I understand#asahi · 2022-09-11 19:04
jeppojepsit complains about the size going after EOF #asahi · 2022-09-11 19:04
jeppojepsor it's just because it's a iPhone emulator#asahi · 2022-09-11 19:04
jeppojepsso the implementation is somewhat not faithful#asahi · 2022-09-11 19:04
jeppojepshow funny on qemu-t8030 it fails miserably#asahi · 2022-09-11 19:03
jeppojepsin my case I think I have to do the math and prepare the recipe myself#asahi · 2022-09-11 19:03
jeppojepsyeah but I guess the M1 likes that format#asahi · 2022-09-11 19:02
jeppojepslike instead of leaving arbitrary appends#asahi · 2022-09-11 19:02
jeppojepsthat thing doesn't seem to be legal on the emulator (which BTW I can change) but I have to understand why I can just make it fit within by knowing the size of the blobs I append#asahi · 2022-09-11 19:01
jeppojepslike the PYLD section is beyond EOF#asahi · 2022-09-11 19:01
jeppojepsOK but you know the linker makes sth dirty#asahi · 2022-09-11 19:00
jeppojepsI thought there wasn't much difference with Linux#asahi · 2022-09-11 19:00
jeppojepsseemed easier looking at how they boot XNU#asahi · 2022-09-11 19:00
jeppojepsand get you back#asahi · 2022-09-11 19:00
jeppojepsI will check the documentation#asahi · 2022-09-11 18:59
jeppojepsbut maybe before that I can just load an example initramfs with an hello world#asahi · 2022-09-11 18:59
jeppojepsso I need m1n1 for stage 1 + uboot + grub, that seems an infinite chain#asahi · 2022-09-11 18:58
jeppojepsyes I wanted to load the linux kernel#asahi · 2022-09-11 18:35
jeppojeps<jannau> so how exactly it works the boot process, m1n1, starts and it's a mach-O, how it jumps and works with the arm64 format kernel?#asahi · 2022-09-11 18:02
jeppojepsseems I can't compile the kernel as MACH-O#asahi · 2022-09-11 18:02
jeppojepsthe kernel that m1n1 boots is an ELF or a MACH-O?#asahi · 2022-09-11 18:01
jeppojepshello#asahi · 2022-09-10 11:52
jeppojepsotherwise also I can change the linker script, thanks#asahi · 2022-09-10 11:52
jeppojepsgonna check