#
#asahi-re · 2021-01-09 05:29
JTLfair
#asahi-re · 2021-01-09 05:29
ShizJTL: give you a bunch of ways to boot other kernels
#asahi-re · 2021-01-09 05:29
marcanI won't use U-Boot initially
#asahi-re · 2021-01-09 05:29
marcanpossibly external media boot, if we want to enable that
#asahi-re · 2021-01-09 05:29
davidrysk[m]UEFI support among other things
#asahi-re · 2021-01-09 05:29
JTLwhat does adding u-boot in the chain do for you?
#asahi-re · 2021-01-09 05:28
Shiz/mnt6 :)
#asahi-re · 2021-01-09 05:28
Shiz./preboot/System/Volumes/Preboot/00000000-0000-0000-0000-000000000000/boot/<x>/System/Library/Caches/com.apple.factorydata: broken symbolic link to /mnt6/FactoryData/System/Library/Caches/com.apple.factorydata
#asahi-re · 2021-01-09 05:28
davidrysk[m]then what's in the NOR
#asahi-re · 2021-01-09 05:28
davidrysk[m]which means SecureROM loads iBoot directly? huh
#asahi-re · 2021-01-09 05:28
davidrysk[m]https://h3adsh0tzz.com/inside-xnu/iboot/intro
#asahi-re · 2021-01-09 05:28
davidrysk[m]but apparently they got rid of LLB in the A10
#asahi-re · 2021-01-09 05:28
marcanwonder if any embedded systems have more stages than that
#asahi-re · 2021-01-09 05:28
davidrysk[m]SecureROM -> LLB -> iBoot
#asahi-re · 2021-01-09 05:28
marcanwe might end end up with a boot chain along the lines of SecureROM -> iBoot1 -> iBoot2 -> mini -> U-Boot -> Linux :^)
#asahi-re · 2021-01-09 05:27
davidrysk[m]Yeah, my question would be whether it copies everything from the NOR
#asahi-re · 2021-01-09 05:27
marcandavidrysk[m]: I think apple calls them SecureROM, iBoot1, iBoot2 or something like that, but yes they're all the same codebase
#asahi-re · 2021-01-09 05:27
artemistI just don't own a mac mini
#asahi-re · 2021-01-09 05:26
artemistI have some probing tools designed for working with small packages on PCBs
#asahi-re · 2021-01-09 05:26
marcanmaybe I should just dd /dev/zero on the mini and prove DFU works... :p
#asahi-re · 2021-01-09 05:26
davidrysk[m]sorry, not OS, but one of the partitions in the Apple_APFS_ISC
#asahi-re · 2021-01-09 05:26
marcanI believe that's copied from NOR or such
#asahi-re · 2021-01-09 05:25
davidrysk[m]it's interesting that the OS has a partition called FactoryData
#asahi-re · 2021-01-09 05:25
marcanI doubt apple left a way for us to flash NOR via DFU (since it's all codesigned)
#asahi-re · 2021-01-09 05:25
marcanyou'd have to take the thing apart and use a hardware flasher though
#asahi-re · 2021-01-09 05:25
marcanhowever, if we can read it, I'll add that to our installer etc so that people can keep a backup
#asahi-re · 2021-01-09 05:25
marcan(we might not even be able to at all)
#asahi-re · 2021-01-09 05:25
marcanbut there is no reason for us to ever touch NOR
#asahi-re · 2021-01-09 05:25
marcanI mean, this is the case for most devices
#asahi-re · 2021-01-09 05:24
marcanlike, serial numbers and such
#asahi-re · 2021-01-09 05:24
artemistMean
#asahi-re · 2021-01-09 05:24
marcanDFU happens in the boot ROM. however, the NOR includes critical factory data, so if you wipe it, only apple can fix that (they'd still use DFU, but special software and tools to basically redo part of the manufacturing process)
#asahi-re · 2021-01-09 05:20
artemistDoes DFU happen in the first stage loader? Bricking something by messing up the NOR is not my idea of fun
#asahi-re · 2021-01-09 04:52
davidrysk[m](all of the bootloaders are iBoot — the first (ROM), second (NOR), and third (preboot partion) stage), just different "flavors"
#asahi-re · 2021-01-09 04:51
davidrysk[m]but it probably just has the second stage iBoot
#asahi-re · 2021-01-09 04:51
davidrysk[m]it would be nice for someone to dump the NOR
#asahi-re · 2021-01-09 04:43
artemistDecide whether to play a boot chime?
#asahi-re · 2021-01-09 04:43
artemistI wonder if anything useful is in nvram (in a SPI NOR connected to SPI1)
#asahi-re · 2021-01-09 04:30
artemistThough I guess it makes sense if some of them are connected over both PCIe and i2c
#asahi-re · 2021-01-09 04:30
JTL:P
#asahi-re · 2021-01-09 04:30
artemistPutting PCIe devices in the device tree feels weird to me
#asahi-re · 2021-01-09 04:30
JTLwonders if AWS wants it
#asahi-re · 2021-01-09 04:29
artemistYeah, somone leaked that there would be one
#asahi-re · 2021-01-09 04:29
marcanah, that's what it was
#asahi-re · 2021-01-09 04:29
marcanI thought I read that somewhere
#asahi-re · 2021-01-09 04:29
davidrysk[m]there's a 10GbE model of the mac mini that's apparently available to datacenters or something
#asahi-re · 2021-01-09 04:29
marcanisn't there a 10gbe m1 mac mini coming or something?
#asahi-re · 2021-01-09 04:29
artemistFunny how the device tree has several references to 10 gigabit ethernet and the AQ107 10 gigabit ethernet controller
#asahi-re · 2021-01-09 04:29
davidrysk[m]among other things it tells you what brcm firmware blobs you need
#asahi-re · 2021-01-09 04:29
davidrysk[m]ah nice

plus ›