346 points · by JNRowe · 4y ago · 173 comments
According to the Pi Foundation, this is because simple peripherals are too easy to clone and they need to recoup their investment in accessory design.
I was reminded of this while I was researching Twitter speculation yesterday that something similar is done for the DSI interface for displays. I wasn't able to substantiate this - the FKMS (FakeKMS/FirmwareKMS) and proprietary Raspberry Pi video drivers, where link negotiation and backlight control is done in the blob, do only support specific displays. However, it's unclear to me if this is due to driver support or an intentional lock-in. The open-source KMS driver (not yet usable on Raspberry Pi 4) where link negotiation and backlight control is done in the kernel, of course supports anything with a driver.
I find this completely fair, but then maybe don't call yourself a "charity" and an "open platform" and just be upfront that you need to lock down your hardware to recoup the investment.
The Raspberry Pi Foundation is a charitable organization registered with the Charity Commission for England and Wales. [0]
We can quibble over whether we think they're doing work in the best way, but by authoritative definitions they are a charity.
[0] https://en.m.wikipedia.org/wiki/Raspberry_Pi_Foundation#Foun...
Hospital systems that make billions of dollars a year of profit are charities! Companies that own billions of dollars of real estate holdings for no purpose except speculation are charities!
Non-profit simply means that profits aren't paid out to shareholders. It doesn't mean you can't make enormous profits and accrue vast amounts of wealth.
The hardware is developed sold by the non-charitable part, and recently announced that they prioritise orders from industrial customers over private ones. You cannot expect them to act like a charity - they aren't one.
A charity that gives away some things but not other things is still a charity. A platform that is partially closed is not fully open.
I find this to be completely fair game.
A complete open source re-implementation would either not support ISP, or would include a non-proprietary version of the same or similar code, at which point they shouldn't care.
Certainly only the public keys are part of the blob or not? Only the accessories would need the private key embedded to answer the challenge.
https://gist.github.com/marcan/6dde73a9a0c917cd4fc9784a0a73e...
for those who arent amicable with such a 'charitable' definition of open, pine64 has existed for quite some time. the rock platform easily handles my docker workloads.
What? The gru-kevin chromebook (RK3399) can be booted without using a single binary blob, absolutely everything (even the arm trusted firmware) built from source. I use mine that way.
I've never seen a laptop with a "broadcom SoC" that could make that claim.
I think you've been deluded by a certain fruit pastry vendor's marketing budget.
Obviously documentation would be ideal, but I still think an SoC with freely licensed source code available that talks to peripheral devices directly qualifies as much more "open" than one where even "open source" drivers are actually just talking to mailboxes to a HAL running in an RTOS.
I think the challenge with the Broadcom stuff is fundamentally architectural - even with more reverse engineering eyes on the scene, you're working with an SoC that's a big proprietary blob running on an obscure architecture (VPU) which is hosting an ARM Linux box, vs. the Rockchip stuff which is a much more traditional model with memory and register mapped peripherals.
Is the video manipulated? Calculate the hash/key, and use a public key lookup for RPi to verify.
To avoid hacking of the key, embed every camera with a unique private key.
Now if the image is compressed, this is obviously moot. But for important documentation and the like, it's feasible to store the signed raw signal to confirm that the image was taken by that specific camera. Of course, this depends on the security of the keystore, the trustworthiness of the manufacturer, etc.
This would be horrible for privacy, although somewhat mitigated if the camera program/app discarded the signature by default.
Because without such an authority, what's to stop the deepfake source from generating its own unique key? And we're back to square one.
I take a digitally signed photo and tell you "I took the photo with this tamper proof Canon camera, and I can prove it by taking more photos of any subject you ask for and signing them with the same key".
If you worry that I made an authentic-looking counterfeit Canon camera (but you're satisfied I couldn't have extracted the private key from a real one), Canon can confirm that they sold a camera with that key.
>Now, everybody is looking for a cheap ARM board with performance and loads of features. The Raspberry Foundation is a charity that pays probably no tax at all, but somehow is selling lots and lots of boards at an absolutely “amazing” price.
>Amazing because nobody else in Europe can compete with them. Paying no taxes helps. The second step is that they have almost completely outsourced their software development. They call it Open Source-ed, but that is not the same.
>Over many years, there has never been a release of that piece of hardware that was supported by a mainline kernel. Neither Linux nor any other of the *BSDs. They simply do not care what software runs on it.
https://community.ipfire.org/t/arm-sbc-support-discussion/26... Post number 4
Earlier discussion https://news.ycombinator.com/item?id=30504615
Indeed Raspberry PI Ltd (formerly Raspberry PI Trading Ltd) paid no tax on its profits in 2020 (the most recent filing year) but not because its a charity - which it isn't - rather because they got tax deductions for R&D. I strongly suspect that these deductions would be available to any other firm that spent the same amount on R&D.
And of course they did pay a significant amount of VAT (sales taxes) on these boards.
In short the tax insinuation bit of this is very likely completely unjustified.
Edit: I've read the rest of the post this comment quotes from (on the IPFire Forum) - it goes on to accuse RPi of tax evasion (i.e illegality) - seemingly because they are annoyed that they don't make it easy to run their software on it. This is not an 'interesting perspective'.
In short, even if not through tax advantages, it is very hard to compete with a charity (or even the "free" open source developers it attracts as a results). As such it is difficult to imagine how a competing open source hardware would emerge. I found it interesting since there is no clear cut solution to this. Or even the consensus that the state is somehow bad, after all, having a raspberry is absolutely amazing. It just has consequences.
Maybe RPi just knew what their market needed and delivered it very effectively?
Take the Pi 0. Before that came out, the field was open for a competitor to see a gap in the market and capitalise on it. But none did. So then the Pi 0 came out and took a slice of the pie whilst everyone was asleep.
Roll on a few years, when the tech progressed, the competition had the opportunity to produce something like a Pi 0 but cheaper or better. What did they do? Absolutely nothing. This allowed the Foundation to once again create another product: the Pi 0 2. The power of a Pi 3, at the price of a Pi 0W (near enough).
The competition is clueless, which has allowed the Foundation to knock the ball out of the pack time after time after time. Upton is Britain's answer to Jobs.
Ignoring the split between the Raspberry Pi Charity and the Raspberry Pi For-Profit company, charities have more regulation and restrictions than for-profit companies, no? Wouldn't it be easier to compete if you didn't have to at least pretend to operate a public-good charity?
I think the stuff does get mainline support over time, though? That's no different from what goes on in x86 land, where installing Linux on cutting edge hardware is always painful in some ways and some stuff can even take years to get properly supported. (I'm especially thinking of Intel's mobile platforms from quite a few years back.)
And re: OSS, I don’t remember anybody complaining that Lenovo (for example) “outsources” their Linux thinkpad OS. The raspberry pi foundation is using open source (and some vendor closed source) software in full compliance with its licenses. The post you linked complains that the code quality of the raspberry pi modifications is “bad” and can’t be integrated into mainline Linux, but that doesn’t make it not open source. “Open source” has no obligation to be high code quality.
Interesting. Similar to the argument that certain forms of aid given to developing countries can undercut would-be local suppliers.
I found it interesting because there is no clear solution to this, no "bad" party. Having something like the raspberry pi is obviously absolutely amazing. But being able to produce without a profit margin makes it hard to compete. And this of course shapes the market as a whole. Differently put, how are we ever going to get a open source hardware platform when any such project wont be able to compete with the raspberry?
As in, they are trying to reverse engineer the blob bits to make everything completely free?
Is it a legal problem rather than a technical one kind of thing?
The Broadcom Blob
"In common with every other ARM-based SoC, using the VideoCore IV 3d graphics core on the Pi requires a block of closed-source binary driver code (a “blob”) which talks to the hardware. In our case, this blob runs on the VPU vector processor of the BCM2835 (the SOC or System On a Chip at the heart of the Raspberry Pi); our existing open-source graphics drivers are a thin shim running on the ARM11, which talks to that blob via a communication driver in the Linux kernel. The lack of true open-source graphics drivers and documentation is widely acknowledged to be a significant problem for Linux on ARM, as it prevents users from fixing driver bugs, adding features and generally understanding what their hardware is doing.
Earlier today, Broadcom announced the release of full documentation for the VideoCore IV graphics core, and a complete source release of the graphics stack under a 3-clause BSD license."
Does this mean the Raspberry Pi might get suspend to ram support? That would make building a PDA out of eg the Raspberry Pi zero which gets decent battery life feasible.
FWIW, the Allwinner F1C100s is ~$2, 533MHz, has 32MB RAM onboard, and can run mainline recent Linux. It's also this easy* to plonk onto a PCB: https://www.thirtythreeforty.net/posts/2019/12/my-business-c...
(* Yes, "easy" is relative. You'll need a few interesting tools and it'll be a tad deer-in-headlights. But you don't need a rocket science degree to even fathom the idea.)
Unless you meant to make your PDA out of a <4 RPi.
I can see why they would want that to be their own - make the pi 100% open - but sounds like a mammoth task! (especially if its only 1 guy doing it?)
I think "need" implies too much. Because, for example, for 100% headless applications the open+free version is already viable. (But in practice everyone wants to debug using the HDMI from time to time, mostly because almost noone has NTSC lying around.)
Also, without looking at the docs of the VPU, I'd guess that most of the blob functionality is needed for advanced vector stuff and whatnot (so it's only needed if you want to implement OpenGL/EGL/WebGL).
https://en.wikipedia.org/wiki/ThreadX
https://ownyourbits.com/2019/02/02/whats-wrong-with-the-rasp...
Note that the above is specific for the Pi 3 - the Pi 4, for instance, doesn't have the issue of a ridiculously undersized power connector (2.5W minimum standard for up to 13 W demand !!)
Here's an interesting blogpost that kinda explains the multiple boot stages: https://www.furkantokac.com/rpi3-fast-boot-less-than-2-secon...
It's like complaining that the Bill and Melinda Gates Foundation was funded from profits from Microsoft, and therefore Windows should be FOSS software.
Except that no one confuses Microsoft with the Bill and Melinda Gates Foundation. I'm sure that a lot of people are either unaware of the existence of Raspberry Pi Limited, or don't know the distinction between it and the Raspberry Pi Foundation.
I'm not saying Raspberry Pi Limited should not exist, or should not sell hardware. I'm just saying that it is understandable that some would be unaware of and perhaps surprised its existence and the distinction between it and the Foundation.
Now imagine a gussy-upped system like this; a system that approaches being a microprocessor, probably not as powerful, that has something like PIO where some of them are dedicated to specific hardware. You could maybe store the drivers in a ROM, if you like.
So you'd have some kind of BIOS system. Want to produce a tone? Just push a value into a register. Write directly to the display buffer. No OS required, although a DOS equivalent would be nice. Not necessarily Linux, though.
Voila, you'd have some kind of real-time system that needs no OS unless you wanted it. The system would be very easy to understand, and a great educational tool. It would also be a Maker's dream. An 80's system bought into the 21st century. No binary blobs or any of that nonsense.
You'll know you've done it right when Doom has been ported to it (no joke intended).
I don't care if it doesn't run Firefox or if the graphics system seems a bit dated. Don't try to out-compete Intel, see what you can do to carve out a niche.
Just my 2c.
(Albeit, currently only on a Pi 2)
EDIT: Actually, reading more carefully it looks like there might be more than one blob and it's not 100% clear to me which this replaces, so now I'm less sure.
using the vc4-stage1, vc4-stage2, and rpi2-test projects together, you can do the entire boot chain (dram init and loading linux) using open source code
other projects act as demo's or tests on how to run custom code at various stages, but not actually boot linux on the arm core many of those demos work on the the entire pi model range
pi3 support is only broken due to arm side problems, which could be fixed by just using a different bootloader
and the https://github.com/librerpi/rpi-open-firmware codebase can already boot linux headlessly on both pi2 and pi3, it uses a different arm bootloader
The Pi was initially created as a cheap way to get kids into computer science, they didn’t foresee the closed off parts of the processor being an issue towards that goal. They just wanted a cheap computer for kids to learn on that wouldn’t be the end of the world if they broke it. I mean who is gonna want to run an Open Source VideoCore?
THEN, us “grown up” geeks came along and was like “OHHHH, a cheap Linux SBC… Yes Please…” and brought out the initial run on day one.
So ever since then they were kinda stuck with Broadcom unless they wanted to redo a ton with another manufacturer.
To Bens and Raspberry Pis credit, they have managed to get Broadcom more open than they were, Initially we didn’t even have a data sheet for the processor.
Edit: Pre-coffee brain even more prone to typos then when I’m caffeinated…
I've always said that an old PC (but not too old, because retrocomputing has driven up prices then) is probably the best for that. Can be bought for next to nothing or even free, has extensive compatibility with lots of software, and also decades of detailed documentation.
By only have a single platform to support out the box you are getting rid of having to support multiple hardware configurations which could cause headaches for newcomers on day one. Remember it was basically an attempt to remove the roadblocks of getting people into CS. One of those roadblocks is getting people to "hello world".
IMO its a simailar reason to why Arduino worked so well, sure we could push people to using any other microcontrollers but by having single known board (atleast to start with) everyone is in the same boat and makes it eaiser (and cheaper) to offer support and lowers the barrier of entry imo. Basically is solving the fragmentation issue.
Is it the best way to learn? That depends on how you look at things. IMO it makes it a great stepping stone to get into the field which can then lead on to other things/interests, but you will probally learn more earlier on by skipping the "spoon feeding" stage but that (imo) comes with a steeper learning curve which could drive people away from the subject.
I know I delayed my own learning of the NRF platform to start with simply because at the time the toolchain was a PITA to get started with (esp on an unclean machine that had other compilers installed) so on a number of times I got fed up trying to get to "hello world" I would put it down and come back to it at a later time. However that process of less handholding did teach me more about the toolchain.
Working with the same vendor consistently to iterate on a very similar design each time is ideal.
Sorry, my brain is not fully in gear yet. Do you mean the changes between the generations of the Pi?
It's also worth remembering that originally the Pi wasn't maker/OSS focused - the goal was to have a computer cheap enough to be used for computing education in schools. In effect a modern day successor to the BBC Micro.
In the context of the goals and constraints the "minor" binary blob required to make it run was irrelevant. Even more so as basically every other similar SoC has exactly the same issue. The Broadcom parts presumably continue to remain competitive for their capability level and so they keep getting used but now thanks to the success of the Pi there is the will and capability of going full OSS.
Creating a computing platform is - no matter the CPU vendor - one hell of an effort, often involving bunches of binary blobs of questionable quality, NDAs, buggy, outdated or plain lacking documentation and lots of money. The more effort you can save yourself (such as by using a product you already have experience with), the better.
And the SoC can do all the stuff my Rpi 2b does, and more (has a proper audio codec, for one, real gigabit ethernet, working suspend to ram, etc.), does suspend to ram, accelerated video decoding, and has much more open documentation... Rpi 2b's soc is pretty terrible usability wise comapred to A64.
Worth noting too that there is an open source driver for Arm's own Mali GPUs.
https://www.collabora.com/news-and-blog/blog/2021/06/11/open...