#
✕ nick:marcan
#asahi · 2021-01-27 09:02
marcanit varies by soc
#asahi · 2021-01-27 09:02
marcandhewg: the POWER stuff (e.g. the Raptor machines) have open DDR4 training code, it's on their git
#asahi · 2021-01-27 09:02
marcanand this "it doesn't matter" attitude is why I can't just go taking code from random iOS-related RE projects
#asahi · 2021-01-27 09:01
marcanit matters to me
#asahi · 2021-01-27 09:01
marcanit would actually be much less legal exposure to ship the google blob as-is
#asahi · 2021-01-27 09:01
marcanI wouldn't ship any open source software built with that RE'd blob
#asahi · 2021-01-27 09:01
marcancleanrooming that would be quite a feat, but nobody has done that yet
#asahi · 2021-01-27 09:01
marcanbut the result isn't reeally legal
#asahi · 2021-01-27 09:00
marcanwell reversing it is "just work"
#asahi · 2021-01-27 09:00
marcanlol
#asahi · 2021-01-27 08:59
marcansure but the pixel c one worked on the switch IIRC?
#asahi · 2021-01-27 08:59
marcanthey are the same blob
#asahi · 2021-01-27 08:59
marcanthat's unnecessary exposure
#asahi · 2021-01-27 08:59
marcaninstead of the Pixel C blob, which does
#asahi · 2021-01-27 08:59
marcanwhy reverse engineer the HOS blob, which came from a non-redistributable source
#asahi · 2021-01-27 08:59
marcanthat seems.... silly
#asahi · 2021-01-27 08:57
marcan:)
#asahi · 2021-01-27 08:57
marcanhence why it's so open, because the chromeos team cares about this stuff, the android team does not
#asahi · 2021-01-27 08:56
marcanbut then somehow became android
#asahi · 2021-01-27 08:56
marcanoh right, the Pixel C was *originally* supposed to run chromeos
#asahi · 2021-01-27 08:56
marcanC P, P C...
#asahi · 2021-01-27 08:56
marcanChromebook Pixel was intel
#asahi · 2021-01-27 08:56
marcanyeah, Pixel C
#asahi · 2021-01-27 08:55
marcanI keep mixing devices up
#asahi · 2021-01-27 08:55
marcaner sorry, Pixel C was it?
#asahi · 2021-01-27 08:54
marcannobody redistributes the blob alone as necessary for the build process
#asahi · 2021-01-27 08:54
marcanbut the only place you can actually *get* it from is their factory images
#asahi · 2021-01-27 08:54
marcanand just made their bootloader capable of loading it from a file/thing in the firmware image and run it
#asahi · 2021-01-27 08:54
marcanso they built it as a blob you just jump into and it trains the RAM and returns with some info structures
#asahi · 2021-01-27 08:54
marcanbut Google does have the code of course
#asahi · 2021-01-27 08:54
marcanso that give you an idea of just how stupid the bureaucracy around that PHY stuff is
#asahi · 2021-01-27 08:53
marcanapparently Google couldn't get that bit open sourced, it's IIRC the *only* bit of main-cpu code in the entire Chromebook Pixel that isn't OSS
#asahi · 2021-01-27 08:53
marcanit's in their factory images
#asahi · 2021-01-27 08:53
marcanthat was the only place you could find it :D
#asahi · 2021-01-27 08:52
marcandhewg: the training binary came from the Chromebook Pixel
#asahi · 2021-01-27 08:52
marcanincidentally, that Purism device has the ~same PD controller as the Macs :)
#asahi · 2021-01-27 08:50
marcanbylaws: yes, but 1) they probably don't know how to do that, and 2) that would probably violate whatever license they got the blob under
#asahi · 2021-01-27 08:49
marcanat least for Asahi Linux Apple loads all the firmware for us except wi-fi, so FSF converts can rest assured buying an M1 Mac is just as free as buying any other random PC off the shelf, as long as they choose not to use the wi-fi :)
#asahi · 2021-01-27 08:48
marcananyway, sorry for the diatribe; I'm just a bit burned out of the Freedom™ crowd
#asahi · 2021-01-27 08:47
marcanwhat Purism did was build something analogous to that for the RAM training blob
#asahi · 2021-01-27 08:47
marcanthe PD controller has a blob, the modem has a blob
#asahi · 2021-01-27 08:47
marcanTheJollyRoger: there are other blobs; the FSF position is that as long as they're in external flash not touched by the main CPU it's ok
#asahi · 2021-01-27 08:46
marcanand 2) the flash was used for the USB-PD firmware too anyway so it wasn't added cost (yes... because you got lucky; that PD controller did not exist in the hardware versions the FSF Anti-Cooties System was developed for, it got added later and reused the same flash)
#asahi · 2021-01-27 08:46
marcan1) you *could* just throw this all away, ignore the flash, and stick the blob into u-boot in your own OS build like a normal person (yes, yes you could... so your argument is end-users can ignore your waste of time and money and do things the sane way, right)
#asahi · 2021-01-27 08:45
marcanI said this was dumb and less free on Twitter and a Purism guy argued with me it wasn't because
#asahi · 2021-01-27 08:44
marcanRespects Your Freedom™
#asahi · 2021-01-27 08:44
marcanit's Open™
#asahi · 2021-01-27 08:44
marcannevermind that now you can't even easily update the blob, or even see it to reverse engineering it to make sure the DDR PHY (which obviously has R/W access to all your data) isn't backdoored by the NSA
#asahi · 2021-01-27 08:43
marcanwoohoo, now it's an Open System!
#asahi · 2021-01-27 08:43
marcanside CPU loads blob from flash, into DDR PHY, hits run bit

plus ›