#
✕ nick:tpw_rules
#asahi · 2022-07-21 02:27
tpw_rulesprobie_: https://github.com/tpwrules/nixos-m1/blob/main/docs/uefi-standalone.md#nixos-uninstallation this has info on how to identify and manipulate the relevant partitions from macos. you can just delete the unused stub with the openbsd partitioner though
#asahi · 2022-07-21 02:26
tpw_rulesnot sure how considering there's no bootable media
#asahi · 2022-07-21 02:26
tpw_rulesi would just delete the stub partition and rerun the installer
#asahi · 2022-07-21 02:23
tpw_rulesand like the installer don't touch anything or have any programs while it is busy or the machine will appear to hang
#asahi · 2022-07-21 02:23
tpw_rules0 should bump it up to the next partition. you can also do 20G or whatever
#asahi · 2022-07-21 02:23
tpw_rulesthen diskutil apfs resizeContainer disk0sN X to resize to X bytes
#asahi · 2022-07-21 02:22
tpw_rulesin macos do diskutil list disk0 to see what the right id is
#asahi · 2022-07-21 02:21
tpw_rulesand device tree and stuff
#asahi · 2022-07-21 02:21
tpw_rulesthat was a decision which i still don't love. the asahi project vision is that each OS has its own stub partition and u-boot. iirc this is partially to use the macos boot picker and partially to guarantee each kernel has the matching firmware
#asahi · 2022-07-21 02:15
tpw_rulesno
#asahi · 2022-07-21 02:12
tpw_rulesnot that i know
#asahi · 2022-07-21 02:05
tpw_rulesidk how you update grub to boot it but yes
#asahi · 2022-07-21 01:58
tpw_rulesseems a bit of an oversight to not detect it enough to say "don't touch this one"
#asahi · 2022-07-21 01:56
tpw_rulesopenbsd can't read ext4?
#asahi · 2022-07-21 01:54
tpw_rulesnothing. you can even make the machine unbootable if you try hard enough. you'll need another computer and a usb cable (or a trip to the apple store and a bit of cash) to fix that. be more careful next time
#asahi · 2022-07-21 01:52
tpw_rulesyeah that one broke recently but someone nicely fixed it for me. i don't use it anymore. it's not a long term solution
#asahi · 2022-07-21 01:37
tpw_ruleshttps://github.com/tpwrules/nixos-m1/blob/main/nix/m1-support/kernel/sven-iommu-4k.patch here is the patch. no idea how to apply it on arch
#asahi · 2022-07-21 01:36
tpw_rulesit's literally removing a dumb compiler flag
#asahi · 2022-07-21 01:35
tpw_rulesblame google for saving all those kilobytes by screwing with their compiler
#asahi · 2022-07-21 01:35
tpw_rulesoh right you wanted the android
#asahi · 2022-07-21 01:35
tpw_ruleswhat code are you running?
#asahi · 2022-07-21 01:34
tpw_rulesthere are 4k patches floating around to make it work, but there is a measurable and significant performance degradation
#asahi · 2022-07-21 01:33
tpw_rulesi don't remember if it will boot, but several important things like wifi won't work
#asahi · 2022-07-21 01:33
tpw_rulesoh also to your query about the config that's a bad idea
#asahi · 2022-07-21 01:33
tpw_rulesdo your usb-a ports work?
#asahi · 2022-07-21 01:33
tpw_rulesthere was an update like yesterday or monday too
#asahi · 2022-07-21 01:32
tpw_rulesthere is a separate driver necessary for the usb-a ports. do you own a usb-c dongle? can you test with that?
#asahi · 2022-07-21 01:31
tpw_rulesbut usb works fine on my m1 max macbook pro afaik
#asahi · 2022-07-21 01:31
tpw_rulessadly i don't have access to my testing mac mini anymore
#asahi · 2022-07-21 01:25
tpw_rulesthat's strange. i wonder if there is a regression
#asahi · 2022-07-21 01:24
tpw_rulesusb-a ports do not work in u-boot or grub, but in the asahi reference distro you should be able to get past those without any input
#asahi · 2022-07-21 01:23
tpw_ruleswhat do you mean by "initial window"?
#asahi · 2022-07-21 00:52
tpw_rulesor use the startup disk preferences in macos
#asahi · 2022-07-21 00:52
tpw_ruleshold the Option key in the boot picker then the button will change to "always boot"
#asahi · 2022-07-21 00:49
tpw_rulesis that what he meant by quick :)
#asahi · 2022-07-20 00:56
tpw_rulesManouchehri: https://github.com/AsahiLinux/docs/wiki/Broken-Software#why-does-not-work-sometimes-mean-instantly-segfault
#asahi · 2022-07-19 20:06
tpw_rulessome of them have a "bios mode" which might help
#asahi · 2022-07-19 16:53
tpw_rulespow(2, 15)?
#asahi · 2022-07-19 16:50
tpw_rulesall of the LOAD sections need to have align values of at least 0x4000
#asahi · 2022-07-19 16:47
tpw_rulesi misremembered the options i think
#asahi · 2022-07-19 16:46
tpw_rulesi'm sorry, try readelf -l
#asahi · 2022-07-19 16:45
tpw_rulesiirc
#asahi · 2022-07-19 16:45
tpw_rulesbe*
#asahi · 2022-07-19 16:45
tpw_rulesit needs to me % 16384 = 0
#asahi · 2022-07-19 16:44
tpw_rulesthe load address is 00000000000d9000
#asahi · 2022-07-19 16:43
tpw_rulesno that one is misaligned to
#asahi · 2022-07-19 16:43
tpw_ruleschrome had the same problem too
#asahi · 2022-07-19 16:43
tpw_rulesit's sort of an uncommon problem and it seems google specifically has hacks to defeat the default 64k segment alignment set by the major compilers
#asahi · 2022-07-19 16:41
tpw_rulesyeah, the .text is only 4k aligned so the loader cannot map it into memory
#asahi · 2022-07-19 16:39
tpw_ruleswhat does readelf -S say?

plus ›