by lelanthran · 3y ago · 0 comments
My initial impression is that there are no binary blobs[1]. You can look at the repo it is using over here: https://github.com/milk-v/cvitek-linux-5.10
I think getting the full sources alone is sufficient. It might not be desirable for the Linux team to accept patches for every standalone piece of hardware. As long as the patches for the actual ISA are mainlined I consider that a win.
[1] Maybe there are, I didn't look too closely at the repo, but it looks to me that it's all source code.
After all, on an appliance with no internet access, that cannot be updated OTA, how would having updates help?
I'm thinking household appliances, factory monitoring, automotive infotainment systems, environmental control, etc.
For most embedded stuff, your choices are leave it in the field or recall.
For hobbyists, updates are important. For production it only matters if the device is internet connected.
For one, to not have to keep ancient dev environments around when you need to make small change. Also when you decide to repurpose it for something else, which is far more likely for hobbyist board like this.
> For most embedded stuff, your choices are leave it in the field or recall.
Sure if you want to get fired. "Sir, you need to pack the $200k worth, 300kg CNC and send it to us so we can upgrade your firmware".
There's no what-if - internet is not on that board. Sure, available as a add-on board, but if you use that standard then everything has internet via an add-on i2c/USB device.
> Sure if you want to get fired.
I don't think you work in the field.
> "Sir, you need to pack the $200k worth, 300kg CNC and send it to us so we can upgrade your firmware".
You honestly think that every single factory has every single automation controller internet-connected?
I mean, I dunno what else that snark was supposed to mean, but I can assure you that factories don't let their equipment talk to the internet. Anything that the equipment needs will get shipped out to the deployment.
You aren't working in this field, that much is clear.
Shipping hardware is costly in transport and worker-hours. Being able to update things on site is way better, even if it's "put this on a USB drive, plug in, restart".
Just to point out, the sales page for this board says in big letters that it can do 10/100 ethernet with an add-on board.
So? If we lower the bar to "can do internet with an add-on" then everything can be internet connected, because there's a network addon (interface card/module, i2c, USB) that can be used by almost every single device out there.
It's different when a SoC comes with network - that's obviously targeting always-connected devices.
GP said: "a small mountain".
But I think GP does have a good point about ease of serviceability allowing for longer product life, even if it would be on something that you do not expect to require updates.
So my revision 1.2 of the product has an updated kernel, because it is supported, and I can do this without requiring a full rework of the hardware because it is only a software update.
Updates can be applied prior to shipping the hardware. You seem to be advocating that the hardware gets no support because you can't think how things can be updated, which is a strange position to take.
I believe this may warrant an “extended mainline” kernel project that has all those extra modules and that works to consolidate them into the least amount of different variants as possible, all the while providing some continuous hardware testing. It could be maintained in part by the manufacturers themselves who’d need to provide hardware and high quality code at the very least to be able to claim support from this extended mainline.
Sounds like my second business idea for the day. I’d love if someone would run with it.
I have a non-thinkpad laptop, and it seems nearly every kernel release there is some regression. Touchpad not working.. Then GPU driver not working... Then suspend to disk broken... Regressions that, for a regular non-technical user would be a big headache.
I would like to 'lend' hardware to someone to prevent this. I'd happily leave my laptop/desktop/SBC overnight compiling a kernel, rebooting into it, running tests, and hopefully finding regressions before they get into a release.
Unfortunately, there doesn't seem to be any project to make this easy. I'd like to just "apt install volunteer-my-hardware-for-overnight-testing". A few thousand people doing that would soon find issues that only affect rare hardware.
Unfortunately, while nearly all computer hardware has a watchdog, frequently the linux kernel doesn't implement support for it. That in turn means that testing buggy kernels on real hardware automatically frequently ends up with the hardware getting stuck and a human needs to reset stuff manually.
Unless it's so bad as it becomes unbootable and no safe boot option exists that can be engaged via, say, the serial console, being able to power cycle the board should be more or less enough. If the bootloader can be controlled via a serial console, then it can be automated.
Of course, someone needs to build that infra.