#
#asahi-dev · 2024-08-28 13:15
mattieI mean the easy way out is have a third install (oh jinx haha)
#asahi-dev · 2024-08-28 13:15
j`eyhm I see, not sure of how to do that (might just be easier to make a 3rd install on the drive!)
#asahi-dev · 2024-08-28 13:14
mattieso I want to switch between m1n1 playgrounds and macOS playgrounds
#asahi-dev · 2024-08-28 13:14
mattieSo I can use the same partition where I have a macos installation with csrutil disabled amfi_get_out_of_my_way enabled for seeing some behaviour on macOS side... (basically a macOS playground)
#asahi-dev · 2024-08-28 13:11
j`eyfor what reason though?
#asahi-dev · 2024-08-28 13:10
mattieto hop between the stub macOS installation and m1n1...
#asahi-dev · 2024-08-28 13:09
j`eymattie: why do you want to do that often?
#asahi-dev · 2024-08-28 13:09
mattieSpecifically uninstall m1n1 and restore boot object policy to the previous state without enabling full security every time
#asahi-dev · 2024-08-28 13:08
mattieI read in the readme of m1n1, kmutil configure-boot sets the boot object policy. If we do a csrutil enable to change device to full security mode, it uninstalls m1n1. That is one way of uninstalling it. However do we have a command just to reset the boot object policy without enabling full security?
#asahi-dev · 2024-08-28 13:07
j`eymattie: ah good!
#asahi-dev · 2024-08-28 13:05
mattieHi j`ey, I was able to install m1n1. I ended up using an external drive with a macOS installation for my m3 macbook
#asahi-dev · 2024-08-27 19:00
harryheresHi there. My name is Jan and I am a software dev looking into ways of contributing to the Asahi project as I very much prefer Linux to MacOS, but love the hardware the M-chip Macbooks are equipped with. Any issues that are a good starting point?
#asahi-dev · 2024-08-27 14:30
svenyeah, secondary install is what i'd recommend as well
#asahi-dev · 2024-08-27 14:01
jannauyou want that to trace what macos is doing
#asahi-dev · 2024-08-27 14:01
jannauI would recommend a second macos install in a new apfs subvol for working on unsuported devices
#asahi-dev · 2024-08-27 14:00
jannauand you need to add the m3 devices as supported
#asahi-dev · 2024-08-27 13:58
leioah.
#asahi-dev · 2024-08-27 13:38
j`eyI think you need a differnt IPSW for newer fw?
#asahi-dev · 2024-08-27 13:22
leiocan't the normal installer be used, have that fail, and then in recovery go through the m1n1 stage1 reinstall step?
#asahi-dev · 2024-08-27 12:38
j`eyI dont know if that will work or not
#asahi-dev · 2024-08-27 12:37
mattieOfcource m1n1 will crash in a VM, but i'll be sure my stub is setup correctly if i can boot to recovery...
#asahi-dev · 2024-08-27 12:35
mattieOh I have another idea, I can test the script using The hypervisor framework (UTM or something) if the stub partition is created correctly, I will run the script on bare metal to boot m1n1
#asahi-dev · 2024-08-27 12:33
j`eyidevicerestore
#asahi-dev · 2024-08-27 12:33
mattieReally? I thought Apple configurator was the only way... I'll look it up thanks
#asahi-dev · 2024-08-27 12:32
j`eyyou can dfu from linux too, but tbh just making a second install is the easiest, not like it's permanent
#asahi-dev · 2024-08-27 12:30
mattieOk thanks, I am okay with patching the installer, It's just that i dont have another mac to dfu restore if something goes wrong with python script due to my coding errors
#asahi-dev · 2024-08-27 12:29
j`eybut as chadmed said, it might not be too hard to patch the installer
#asahi-dev · 2024-08-27 12:29
j`eythat's how we did it before the installer
#asahi-dev · 2024-08-27 12:29
mattieThanks j`ey, I could try installing macos in a seperate partition and use it's boot partition as a stub, yup it will waste some space....
#asahi-dev · 2024-08-27 12:26
chadmedmattie: youd need to patch the installer but its quite easy
#asahi-dev · 2024-08-27 12:26
j`eyone way of creating a stub, if you dont care about wasting some space, is just doing a 2nd macOS install first
#asahi-dev · 2024-08-27 12:25
mattieI am trying to do it on an m3 device with my patched m1n1, would the installer be able to setup the stub if give it a compatile IPSW?
#asahi-dev · 2024-08-27 12:24
j`eymattie: the installer can just install m1n1 only
#asahi-dev · 2024-08-27 12:22
mattieHi, I needed help regarding the partition setup for booting m1n1 stage 1. I Just want to setup a MacOS stub partition without linux manually. Is there a mode in asahi install script to do that? If someone can give the exact commands for creating and seting up volumes in an apfs container partition, that would be really helpful. Thanks
#asahi-dev · 2024-08-27 07:44
svenit’s mostly just aligning things to 16k and adjusting offsets in scatter/gather lists
#asahi-dev · 2024-08-27 07:43
svenit’s rather Linux specific and hasn’t been worked on in a long time
#asahi-dev · 2024-08-26 23:25
amarioguyno it's not to run 4k only software, actually need to look at it to see what it does (there are other OSes that assume 4k pages :/)
#asahi-dev · 2024-08-26 23:24
amarioguycould someone link the latest version of the "16k IOMMU pages with 4k cpu pages" patch?
#asahi-dev · 2024-08-25 19:00
amarioguysaw a comment indicating bypass mode and the probe func seems to be setting bypass mode but just making sure
#asahi-dev · 2024-08-25 19:00
amarioguyin u-boot are you all still running the DARTs in bypass mode or are you now using translation mode
#asahi-dev · 2024-08-25 10:03
nickchanunlike mac though we *can* keep rvbar of cpu0 unlocked
#asahi-dev · 2024-08-25 10:03
nickchanin the short terms this means no cpuidle in linux and no deep wfi in m1n1
#asahi-dev · 2024-08-25 10:02
nickchanwell, other than the normal wfi that every arm64 cpu has
#asahi-dev · 2024-08-25 10:02
nickchanin other words the "hypervisor would go nuts" behavior according to marcan is the only behavior here
#asahi-dev · 2024-08-25 09:58
nickchanaccroding to xnu src as well the first soc that supported state retention across deep wfi is a12
#asahi-dev · 2024-08-25 09:57
nickchani.e. after a deep wfi the cpu will always end up at rvbar
#asahi-dev · 2024-08-25 09:57
nickchanA7 - A11 does not support state retention across deep wfi
#asahi-dev · 2024-08-25 09:57
nickchanaccording to xnu src and experiments
#asahi-dev · 2024-08-25 09:18
nickchansome chicken bit is missing
#asahi-dev · 2024-08-25 09:18
nickchanperhaps

plus ›