#
✕ nick:marcan
#asahi · 2022-02-23 10:42
marcanas400[m]: no you do not
#asahi · 2022-02-23 10:12
marcanit all depends on discharge rate and a ton of different things
#asahi · 2022-02-23 10:12
marcanbecause it's just an estimate
#asahi · 2022-02-23 10:11
marcanbattery capacites are a lie anyway
#asahi · 2022-02-23 10:01
marcaneither way it's just a number, doesn't really matter if it doesn't match whatever apple uses in their marketing
#asahi · 2022-02-23 10:01
marcanas400[m]: note that macOS does not report capacity in Wh either
#asahi · 2022-02-23 09:12
marcanthere is no correct way to calculate that anyway
#asahi · 2022-02-23 09:12
marcanit seems upower converts that using the design min voltage, which we do provide, in the absence of a design max voltage, which I haven't found yet
#asahi · 2022-02-23 09:11
marcanas400[m]: we do not have capacity values in Wh, we have them in Ah.
#asahi · 2022-02-23 08:14
marcanGlanzmann: I've never seen that
#asahi · 2022-02-22 18:12
marcanhttps://mrcn.st/p/e8uvrPQC fwiw, this is what the os defs look like right now
#asahi · 2022-02-22 18:12
marcansure
#asahi · 2022-02-22 18:10
marcanwe could move the bulk of the OS definition into there too, to make it self-contained
#asahi · 2022-02-22 18:09
marcanthe OS images are streamed from a ZIP file, so you could host yours if you wanted to, it wouldn't have to be on asahi infra
#asahi · 2022-02-22 18:08
marcanit can have a partition that stretches to fit the user-specified space or not
#asahi · 2022-02-22 18:08
marcanyou list the partitions and it can copy a raw image, or a tree into the ESP
#asahi · 2022-02-22 18:07
marcanit's completely flexible
#asahi · 2022-02-22 18:07
marcanwhat I wrote today is flexible enough to copy arbitrary trees to the ESP, and otherwise leave the space unpartitioned
#asahi · 2022-02-22 18:06
marcanif that's all you need to boot the installer, we could have a "bsd installer" OS option
#asahi · 2022-02-22 18:06
marcanthe canned images are an option, not a requirement
#asahi · 2022-02-22 18:05
marcanhe wants to go the UEFI-only route for bsd, works for me
#asahi · 2022-02-22 17:54
marcanapple video decoder
#asahi · 2022-02-22 17:53
marcanAVD and that USB XHCI firmware for the iMacs
#asahi · 2022-02-22 17:53
marcananyway, I should get some sleep
#asahi · 2022-02-22 17:51
marcanso we can just agree on that too and then you won't need to do any weird logic
#asahi · 2022-02-22 17:51
marcanI think everything else will be asahi-specific
#asahi · 2022-02-22 17:51
marcancool
#asahi · 2022-02-22 17:49
marcannot even the wifi stuff?
#asahi · 2022-02-22 17:48
marcansame hierarchy though?
#asahi · 2022-02-22 17:47
marcanhow does bsd do firmware anyway, is it /lib/firmware or is there some other mechanism?
#asahi · 2022-02-22 17:45
marcan(or bsd for that matter)
#asahi · 2022-02-22 17:45
marcani.e. provide vendor-supplied firmware for linux driver consumption
#asahi · 2022-02-22 17:45
marcanthe idea with this vendor-firmware thing is that other platforms may want to use it to do the same thing
#asahi · 2022-02-22 17:45
marcanyeah but then that makes the mechanism apple-specific
#asahi · 2022-02-22 17:44
marcan(also case sensitivity - that could be a mess on FAT without)
#asahi · 2022-02-22 17:43
marcanthat's one reason why I'm using a tarball
#asahi · 2022-02-22 17:43
marcannot going to work; we need symlinks
#asahi · 2022-02-22 17:39
marcanwhat I'm doing is providing a bundle that follows the standard /lib/firmware hierarchy for the OS to consume
#asahi · 2022-02-22 17:39
marcannot really what we're doing here, that's more like the stub partition story
#asahi · 2022-02-22 17:39
marcankettenis: that looks to be about boot-time firmware?
#asahi · 2022-02-22 17:37
marcanthat's why there's a manifest file, so the script can figure out if anything changed without unpacking everything again
#asahi · 2022-02-22 17:37
marcanit can happen
#asahi · 2022-02-22 17:37
marcantpw_rules: that's the point
#asahi · 2022-02-22 17:35
marcanone will be one-time and do the disk stuff, the firmware stuff will run on every boot
#asahi · 2022-02-22 17:35
marcanwell, a systemd early unit but yes
#asahi · 2022-02-22 17:34
marcanthe image as built will have a real grub config with static UUIDs
#asahi · 2022-02-22 17:34
marcanthere is no fakery or weirdness involved
#asahi · 2022-02-22 17:34
marcanthat will involve a grub re-config
#asahi · 2022-02-22 17:34
marcanon first boot I will make it randomize its own UUIDs
#asahi · 2022-02-22 17:34
marcanthe system as installed will use static UUIDs and everything will work out of the box

plus ›