by oneplane · 3y ago · 0 comments
Boards need to come with mainstream distro support or with an ecosystem (or both), otherwise it will just die. And with internet connected devices, you can't set-and-forget, so it needs to have live support.
Edit: a RockPi S (same SoC) can be had for $35 and a touch LCD for $11... Granted, it doesn't come with the same integration and headers, and doesn't have a microphone by default, and no RISC-V MCU. But the point of integration is a useful product that stays useful, and it doesn't if there is no ecosystem.
As for 'adding' mainstream support, it takes quite some effort and active ownership. Out of the many rockchip boards and add-ons this is the set that made it to some level of standard inclusion: http://ftp.debian.org/debian/dists/stable/main/installer-arm...
Currently available on eBay:
* $49.95 for an i5-5300U at 2.3GHz, 4GB of RAM, and 128GB of SSD storage
* $89.00 for an i3-7100U at 2.4GHz, 8GB of RAM, and 256GB of SSD storage
* $135.00 for an i7-5557U at 3.1GHz, 16GB of RAM, and 256GB of SSD storage
...all loaded with ample driver support, extensive connectivity options, and bog-standard x86-64 instructions.
Obviously, there will always be use cases that call for a tiny ARM SoC and nothing else, but plenty of the applications for which people will buy an ARM SoC (e.g., Kodi/Jellyfin/Plex/Emby media centers, RetroArch gaming machines, Minecraft servers, streaming servers, web servers, network filtering, seedboxes, etc.) are better served by a used Intel NUC.
https://www.ebay.com/itm/275777770141?epid=519034385&hash=it...
A homegrown website on re-using thin clients: https://www.parkytowers.me.uk/thin/wyse/z/zx0q/
Of course, I'm still trying to figure out exactly how to upgrade it and if it will replace my trusty RPi4, but I prefer fanless designs where possible, especially for 24/7 usage.
Search tips: look for "USFF" (ultra small form factor), or find a refurbishment vendor like EPC ( https://epcglobal.shop/collections/dell-desktops/price_-100-... ) and then track down their eBay page. Specifically, EPC Pennsylvania seemed to have some very inexpensive deals: https://www.ebay.com/str/epcpennsylvania
It can also help to search for specific business computer models on eBay, as small vendors doing electronics liquidation may just read the model number on the unit, take a picture, and fling it up on the store page in the "priced to sell" price bracket.
https://www.servethehome.com/tag/tinyminimicro/ has a list of small servers they have reviewed, so that can help with getting an idea of a computer's capabilities, upgrade paths, or gotchas (e.g. not supporting more than 8 GB of RAM or something).
[1] https://www.ebay.com/itm/364239987954
[2] https://www.ebay.com/itm/145134550658
[3] https://www.ebay.com/itm/175698509348
And here's a link to the search query I used to find those machines:
$30-150 AUD
The only concern I have is power consumption being orders of magnitude higher than modern SoCs
Rockchip notably, great hardware on paper. Try developing something that needs hardware acceleration and it's a paper weight.
It's a common cycle of broken promises to provide drivers by manufactures, rinse and repeat. The exception being raspberry pi or expressif. Depending on the application.
I think I too was drawn in by the performance claims made by those other manufacturers. I realized though that raspberry pi are very powerful computers. We just take the scale of modern computing for granted and our software is the real problem.
RISC-V is inevitable.
I was thinking how I constantly find myself using GPT and Bard to prettify source code. Surely, not the most efficient use of compute.
Like some crude Parkinson's Law joke on more proficient algorithms.
As it turned out, I spent a couple of hours messing around a bit with some device tree configuration to make it work with the peripherals on their custom carrier and a bit of `make menuconfig`… and it booted right up on Linus’ tree.
To be totally fair to the up-and-coming boards, the Pi was pretty poorly supported on day 1 and the community did (and still does) a lot of heavy lifting. I’m still waiting for a contender, but I don’t have the time or energy to devote to another SBC.
Despite being a super prolific maintainer of Pi-stuff and related projects I haven’t had a single SBC manufacturer reach out to me and say “hey what do you need to support this?” They just don’t seem to care beyond shoving product out the door and hoping for the best.
Because a SoC with limited CPU-core resources can't do everything in software, the chip contains many system components (hence System-on-Chip or System-on-a-Chip) that handle things the CPU cores then no longer need to do.
Think protocol handling or memory; instead of spending many clock cycles on handling the USB bus, you can leave that to the USB controller and only deal with what is actually relevant to your USB device. Same with the VOP (Video Output Processor) block, instead of spending many clock cycles on putting the right bits in the frame buffer you tell the VOP that you'd like the background to be orange and then only spend time setting the right bits for black text (for example). So instead of having to deal with many millions of bits, you only have to deal with less than 1% of them because every bit you don't set becomes orange. For other things like I2C, I2S, DMA, networking, cryptography, SD-IO, GPIO, PWM etc. the same applies. Instead of constantly spending time setting the right bit at the right time many times each second, you just tell a dedicated block on the SoC to do a thing in a certain pattern and it will do it for you, consuming on CPU core resources.
This also allows slow CPU cores that wouldn't be able to decode video in real time to offload the entire decoding to a video decoder block, and then tell the GPU part of the SoC that you're drawing a green rectangle somewhere and that's where it has to put the decoded video frames. Why would one do all of this? Because it's cheap and power-efficient, and that's how you make a big pile of money.
I have no idea how accurate or up-to-date this PDF is, but it should at least give you some idea as to what a SoC can do without bogging down the CPU cores: https://dl.radxa.com/rockpis/docs/hw/datasheets/Rockchip%20R... Check chapter 9 for example, all of those boxes are things you don't have to spend CPU cycles on. If you did use the CPU, it would be super slow.
There is no standard Arm ecosystem to boot on which is the real issue - every board needs a custom kernel and booting.
I blame Arm for never cooking up a PC like spec that defines hardware configuration, firmware and booting. This is why x86 is going to stick around for a while - its dead simple to bootstrap a random x86 machine (well, almost).
The original ARM chips, as in the Archimedes era, obviously ran in things that broadly resembled the other desktop computing platforms of the era.
They had to solve the same problems: deciding which device to boot from, how to initialize the attached grab-bag of peripherals. They also had a long series of models with varying capabilities and integration.
So they must have something comparable to a BIOS/EFI/Open Firmware-- a standardized hardware enumeration and bringup process.
Somehow that disappeared when ARM moved away from RISC OS "desktop computers" and went into the microcontroller world. Why?
I figured it probably either had to do with licensing, or an assumption that an embedded ARM core in some random device would only ever be used with a particular bag of peripherals, so there was no need to rely on conventions.
The main issue is that most SoC vendors just dump a heavily hacked up Linux kernel source intended for Android on you, along with binary blobs (firmware, android hal services, etc.). The drivers aren't in the kernel per se, just enough of a stub for the proprietary blobs to talk to the hardware.
So if the goal is to run a standard Linux distro on the board, you're pretty screwed unless you have the time and resources (or a community) to reverse engineer the android bsp into drivers for the mainline kernel.
The thing that makes the RPi great is that there's actually an entity paying for this development to happen, along with the community. It's certainly far from the fastest ARM board, but even the decade old RPi 1 still gets kernel updates.
ARM isn't to blame; it's that no one company was big enough to set the standard (and let others clone it) for ARM systems unlike what IBM did with the x86/PC, which is not surprising given how diverse ARM's cores are.
It didn’t take long to realize how useless the thing was with ARM Debian and absolutely no driver support…