4 ms·
> What makes the drivers unsalvageable? Proprietary blobs interacting with the Linux kernel? Most drivers in the embedded world come from the BSPs (board supp
by mschuster91 5y ago
> What makes the drivers unsalvageable? Proprietary blobs interacting with the Linux kernel?
Most drivers in the embedded world come from the BSPs (board support packages) of the SoC vendor. And holy hell wherever you look at leaked source code (cough Mediatek) it's madness. Nothing is upstreamed because the quality is so shoddy that you'd get Linus Torvalds into a proper ragepost if you dared to post it for submission, and as a result Android and most of embedded Linux is stuck at outright fossilized kernels where it's extremely hard to backport anything from newer kernels - which is also the reason why so few Android phones are supported for longer than two or three years after initial release. The SoC vendors simply won't provide BSP updates because of the effort involved.
And forget about copyright requiring vendors to open-source everything in Linux kernel space... most simply do not care and there is absolutely no will of enforcing it on a large scale - to the contrary, people trying to do so got booted off [1].
The proprietary blobs for components like WiFi/BT/GPU are only the icing on the cake. Barely any effort made to ensure it actually holds up in real world usage, only enough to pass qualification testing. IIRC Apple had at least one RF vendor make a completely new firmware for their chips because the official one was riddled with bugs.
[1]: https://sfconservancy.org/blog/2016/jul/19/patrick-mchardy-gpl-enforcement/ https://sfconservancy.org/blog/2016/jul/19/patrick-mchardy-g...
- pabs3 5y agoPatrick McHardy wasn't interested in GPL compliance and source code release, only in extracting money from non-compliant companies. Software Freedom Conservancy's approach on the other hand is to require compliance. Through their lawsuit against Vizio they are also aiming to make it possible for any user of GPLed but non-compliant software to sue for compliance. Hopefully this will change the amount of spontaneous GPL compliance for Linux in the industry. https://sfconservancy.org/copyleft-compliance/vizio.html https://sfconservancy.org/copyleft-compliance/vizio.html https://sfconservancy.org/copyleft-compliance/principles.html https://sfconservancy.org/copyleft-compliance/principles.htm... Got a link for that Apple firmware thing? Sounds interesting. We really need open firmware for hardware devices. There is some for very old hardware though. https://wiki.debian.org/Firmware/Open https://wiki.debian.org/Firmware/Open
- mschuster91 5y ago> Patrick McHardy wasn't interested in GPL compliance and source code release, only in extracting money from non-compliant companies. So what? If it makes them comply then I'm fine with it. No one else has taken on the fight except for a handful of large companies (Vizio and a settop-box-manufacturer whose name I forgot are the only cases I remember). Everyone else, particularly in the phone and embedded sector, outright shits on the GPL for decades now. Particularly Google would be in an excellent position - they possess the Android trademark, they could require manufacturers and SoC vendors to properly open-source their stuff as part of the Android license, even for AOSP-powered devices. Governments could also step in, similarly to enforcement of patents, but no government in the world has done anything to establish legal protection for open source that does not rely on open-source authors filing lawsuits on their own! Just imagine customs going on a trade fair and confiscating every device where the GPL and other OSS licenses are not obliged. After two rounds, no one would dare mess around any longer. > Got a link for that Apple firmware thing? Unfortunately not, that was many years ago and I might be remembering it wrong :(
- pabs3 5y agoAFAIK Patrick didn't even get compliance at all, just shady tactics to shakedown companies for money. The only way his actions resulted in compliance is if companies were scared after hearing about them and did their own compliance work, but that seems unlikely. Conservancy are doing the Vizio lawsuit, do a lot of behind-the-scenes work, supported the VMware lawsuit, did a lawsuit against Best Buy/Samsung/Westinghouse/JVC and did one of the earliest compliance actions against Linksys resulting in the OpenWRT project: https://sfconservancy.org/copyleft-compliance/past-lawsuits.html https://sfconservancy.org/copyleft-compliance/past-lawsuits.... https://sfconservancy.org/copyleft-compliance/enforcement-strategy.html#brief-history-of-user-focused-gpl-enforcement https://sfconservancy.org/copyleft-compliance/enforcement-st... Harald Welte of gpl-violations.org did a lot of GPL compliance actions in Germany, admittedly none recently. It would be great if Google could do GPL compliance actions against Android vendors, but they seem to be moving away from GPL projects instead of embracing them, so that seems very unlikely. There was already a case where a Linux copyright holder got the USA customs department to withhold import of some GPL violating tablets. I think that eventually resulted in compliance, the details are somewhere on LWN, I forget the URL though. I think if the Vizio lawsuit is concluded in favor of Conservancy, that is probably the best chance for widespread GPL compliance.
- zozbot234 5y ago> Nothing is upstreamed because the quality is so shoddy that you'd get Linus Torvalds into a proper ragepost if you dared to post it for submission True, but the community does clean up and upstream stuff over time. It's just very slow work, made even more confusing by how much SoC hardware components are duplicated with small variations in different platforms. De-duplicating and merging drivers for some random IP block can involve pretty serious effort