#asahi · 2023-08-09 20:37
j`eyyeah, i think a VM is a much better way of testing#asahi · 2023-08-09 20:36
dmitryYet some reboot reduction could just help our devs be more efficient overall#asahi · 2023-08-09 20:36
delsoldon't worry about it.#asahi · 2023-08-09 20:36
dmitryHm, that should be pretty negligible waste of memory cycles and shouldn't really bring any trouble#asahi · 2023-08-09 20:34
ChaosPrincessassuming only reboot does a nvram write, and assuming the flash will fail at exactly 100k - 50+ years#asahi · 2023-08-09 20:34
dmitryShould still be 8-10 yrs and more?#asahi · 2023-08-09 20:33
dmitryIn such a hypothetical case how bad that is?#asahi · 2023-08-09 20:33
ChaosPrincessthats a weird user imo :P#asahi · 2023-08-09 20:33
dmitryImagine a user needs 5-6 reboots a day (half being macOS, maybe different versions, and half Asahi)#asahi · 2023-08-09 20:33
j`eyyeah, that might be easier :p#asahi · 2023-08-09 20:32
dmitryProbably if I need that I could just validate in a Linux vm#asahi · 2023-08-09 20:32
dmitrySometimes up to 5 times per day to switch os during cross-platform testing, but that's worst case scenario #asahi · 2023-08-09 20:30
j`eydmitry: how often are you rebooting?#asahi · 2023-08-09 20:29
dmitryGot that, thanks for explaining! In any case it's data could be transferred to a new identical one#asahi · 2023-08-09 20:25
PaulFertserI think it's just a dedicated region, PCH fetches it as soon as it gets standby power. Either way it's not EFI code. Not sure if PCH actually parses the "descriptors" (or whatever they call that intel partition table) or not.#asahi · 2023-08-09 20:24
ChaosPrincessthat lives as a partition inside the efi image, no?#asahi · 2023-08-09 20:23
PaulFertserAnd ME firmware too.#asahi · 2023-08-09 20:21
ChaosPrincesshigh chance you will find those on your x86 mobo storing efi code and variables#asahi · 2023-08-09 20:21
ChaosPrincessas i guessed, just your average winbond bios flash chip#asahi · 2023-08-09 20:20
ChaosPrincessprobably this one https://www.mouser.com/datasheet/2/949/W25Q64JW_RevB_11042019-1760399.pdf#asahi · 2023-08-09 20:20
PaulFertserdmitry: SLC is about NAND memory, not NOR. Typical SPI NOR flash has 100k erase cycles.#asahi · 2023-08-09 20:18
dmitryAre those SLC? Probably teardown revealed that ID#asahi · 2023-08-09 20:18
U9GHey, if the Asahi installer for m2 is still wip, how can I install it on m2 macbook?#asahi · 2023-08-09 20:17
ChaosPrincessthe chip is some spi nor flash chip, probably a jellybean part since it just worked in linux#asahi · 2023-08-09 20:17
dmitryWell, true. So Asahi does reduce the write rate because it doesn't log boots there?#asahi · 2023-08-09 20:17
ChaosPrincessif there is wear leveling, its in hw#asahi · 2023-08-09 20:16
ChaosPrincessthere is a tiny amount of incidental wear leveling in software in that it uses two copies and switches between them, but that is more failed write protection#asahi · 2023-08-09 20:16
ChaosPrincesswell, you dont know if the boot will fail until it does and if it fails, you'd better have collected the logs#asahi · 2023-08-09 20:15
dmitryDoes this do wear leveling? What type of flash it is?#asahi · 2023-08-09 20:15
dmitryDespite fail in name that logs each boot?#asahi · 2023-08-09 20:14
j`eyI dont think you write to that on normal boots#asahi · 2023-08-09 20:14
j`eythere's a panic counter thing#asahi · 2023-08-09 20:14
dmitryAlso heard about sth like boot failure detector you must write after good boot. Does it also live in nvram?#asahi · 2023-08-09 20:12
ChaosPrincessno fs, just key value#asahi · 2023-08-09 20:12
ChaosPrincess"FailbootBreadcrumbs" or whatever this thing is called is written every boot and tracks the boot process#asahi · 2023-08-09 20:12
dmitryDoes NVRAM have some FS with wear leveling etc?#asahi · 2023-08-09 20:12
dmitryDoes it? I thought it only wrote panic reports and backtraces there#asahi · 2023-08-09 20:09
ChaosPrincessDont worry about reboots wearing out your nvram, if something kills it, it will be macos boot logs that it writes there on every boot. #asahi · 2023-08-09 20:07
dmitryThen how durable is that NOR flash used there? Is it an SLC flash? Maybe a partnumber is known#asahi · 2023-08-09 20:04
dmitrySo NVRAM gets written on each reboot once you select a new OS, not only when you change the default?#asahi · 2023-08-09 20:03
dmitryAlso, how does mini's cr2032 battery work? Is it used for saving clock only or also PRAM/NVRAM like on older macs?#asahi · 2023-08-09 20:03
dmitryIs something saved to SSD or NVRAM during that? If so, can some thousand of reboots selecting new os wear out a flash chip?#asahi · 2023-08-09 20:03
j`eynvram#asahi · 2023-08-09 20:02
dmitryHow does boot picker remember what OS to boot when you don't select that volume as default? E.g. Asahi is selected as default, but I boot with opt to select macOS#asahi · 2023-08-09 15:08
handlerugI was thinking this is generally very hard but I saw a post on Mastodon that said it can be done in the same way so now I'm curious#asahi · 2023-08-09 15:08
handlerugI want to upgrade from the ALARM remix to the Fedora Asahi one. is there something similar to how you would do that on a x86 PC (plug in and boot from flashdrive, reformat root and boot partition, leave home as is, install to the formatted root and boot)? basically I don't want to create another APFS container + leave more (unused in the end) space for the installation...#asahi · 2023-08-09 12:22
stintelat least it's booting from nvme without having to manually enter u-boot commands ;)#asahi · 2023-08-09 12:21
_jannau__half working. the nomodeset disables display and gpu driver. the latter not fully but for dispaly purposes#asahi · 2023-08-09 12:17
stintelthanks for all the help, folks <3#asahi · 2023-08-09 12:17
stintelawesome. I have a working Linux install on my m2 air 15"