270 points · by zenincognito · 4w ago · 105 comments
In the 2020s or somewhere before that we got a bunch of dedicated cheap MCUs that were good enough and I think stole the thunder from full Linux but there are still projects to run it on things like the ESP32 family.
Either way, hardware hacking is still my favorite hobby to watch.
https://wiki.nura.eco/wiki/Zhihe_series_LTE_dongles_(generic...
even the exact same model that I use for, ahem, iptv purposes has ballooned in price by 50% over the past few years, despite no design upgrades/changes :(
The board mentioned in the post is like a barebone mini RPi that cost only USD$20, a fraction of the cost for normal RPi.
A more complete embedded system with the same ESP32 cost a real bargain at USD$80 incorporating sensors, display, etc [2].
[1] The ESP32 S31 Runs Linux:
https://www.i-programmer.info/news/91-hardware/19197-the-esp...
[2] ESP-Mosaico centers dual-core RISC-V ESP32-S31 around a 2.16-inch square AMOLED:
https://linuxgizmos.com/updated-esp-mosaico-centers-dual-cor...
If you want Linux for very little money, there are still options. There's the MilkV Duo which is probably the cheapest at less than $10. Kind of like the Raspberry Pi Zero, but worse.
Hey, why not check your old conference badges, chances are one of them can run Linux!
These days we'd be lucky to see certain models discounted to $314.
For reference, the cheapest 16GB LPDDR4 (not 4X as used in the Pi 5) DIMM in stock is more than $150, which is about what I paid for the 64GB of DDR4 in my desktop a couple years ago.
bit of an over-wrouught unit of time, ha
Personally the pricing changes are absurd even with inflation and memory prices in mind.
RPi is horrible value now you can get so much more from a lot of other boards it's not even a comparison now.
They didn't really exist before. And software support is still best on RPi. But they did really lose the plot because you could buy a whole x86 mini PC (new) for less and they're much better (unless you need GPIO).
Sure, today everything works... but take a board from 10 years ago and try to find a current software (linux distro or whatever) for that. For a RPi you can, but good luck with any other board.
The only exceptions are the mini PCs on x86 architecture (intel nuc, and similar chinese alternatives, but the prices of those are even worse than on RPis now)
This thing has USB OTG, multiple usable GPIO and can be flashed via microSD and has a display out with touch support.
I was in the process on building a little iPod Nano clone[1] with Rust / Slint but i was too busy for a while, yet I plan to get back to it in the future. Unfortunately the sg2002 image has no CPU governor yet.
Maybe I switch to the tinyembedded dual with a custom PCB to save power[2].
However, there is also still a proprietary bootloader blob that has to be included, but still: I like the device and it's hardware... it could have better docs though.
I wrote some best practise, but a lot of thing are still missing: https://github.com/scpcom/LicheeSG-Nano-Build/blob/develop/b...
A newer project might be more successful on that: https://github.com/lone0/buildroot-external-licheervnano
But it isn't generalized.
It also doesn't support the weird sophgo "media engine" which is the big roadblock, but the code might help you.
There's been updates since i published that, though.
There is someone out there with an open source bootloader blob, i think i saw it on the milk-v forums can't remember the link
A particularly good deal is the Banana Pi BPI-RV2: It has 4xC908@1.25GHz, 512MB DDR3, M.2, miniPCIe, 1x 2.5GbE, 5xGbE.
There is a cheaper Banana Pi BPI-CanMV-K230D-Zero. 2xC908, 128MB LPDDR4, KPU, MIPI CSI/DSI, Wi-Fi, 40x GPIO.
If serious about RISC-V, then of course RVA23 is desirable. Unfortunately any SBC with that is currently expensive due to the RAM shortage situation.
https://pine64.com/product/128mb-ox64-sbc-available-on-decem...
It has 64 MB of internal psram and these cores:
- 64-bit 480MHz RV64 C906
- 32-bit 320MHz RV32 E907
- 32-bit 150MHz RV32 E902
This is like desktop computers from 30-40 years ago I guess. There were quite a few types of applications those could run.
I'd guess that this board is inexpensive as a cheap entry-level board into the pine64 ecosystem, other boards by pine64 are more expensive. ($60-$80 range.)
30 years ago was 1990; a typical desktop computer of that era would have a single CPU at 20ish MHz, and between 512 kB and 2 MB of RAM. The Ox64 easily outclasses anything that was available at the time.
Your overall point is valid, though I think you'll find that this particular calculation isn't correct. (The current year ends in a 6 so 30 years ago also ends in a 6.)
However, I just did a quick search for the Doom release date, which was 1993 and the original system requirements which is Memory (RAM): 4 MB and Processor (CPU): Intel 486DX (66 MHz).[1] So in terms of RAM this is 16x as much and in terms of MHz it's 6x faster on one of the cores. So it's definitely desktop-class for 1993. (33 years ago). As you state, it's much faster than desktop class in 1990.
[1] I only just looked at Google's AI summary, maybe it's wrong: https://imgur.com/a/LbhAmGp
66MHz probably wasn't an 80486DX; as far as I can recall, those only went up to 50MHz. It would have to be a 486DX2, with the RAM running at only 33MHz. https://netlib.org/performance/html/dhrystone.data.col0.html says that a 486DX2/66 was about 31 to 51 Dhrystone MIPS.
https://www.riscvschool.com/2023/03/09/t-head-xuantie-c906-r... says the T-Head (Honey Badger) C906 RV64 core is about 2.3 Dhrystone MIPS ("DMIPS") per MHz, so we should expect the 480MHz C906 to be about 1100 DMIPS.
So the clock speed is only ≈8× higher, but the actual speed gap is probably closer to 32×.
And, for vectorizable workloads, we should expect the V extension to give us another 4–8× boost, so 128×–256× the DX2/66, which didn't even have MMX.
I have no idea how you reached this conclusion, given that the numbers you have provided are in total contradiction.
A ~400+ MHz processor today is definitely NOT desktop-class for 1993 when the average was a 486DX. I mean, I was there. You are a decade off, if you want to include all the architectural improvements that even a cheap CPU today has.
With that said, add NFC, maybe a USB-A connector made accessible by part of the card folding back, and some UI mechanism to select TKIP codes, and a device like that could make an nice universal hardware security token.
It also has instructions for how to flash it(including picoprobe) on their site instead of a discord.
Finally - last time I looked - none of the peripherals were supported(including USB) on the chip and the last commit on their kernel repo was 2023. Also the wifi barely worked.
I still intend to go back, but time keeps on slipping...
I'm sure many have collected an impressive number of SBCs since the beaglebone, someday I want to build a display case that runs them all on some distributed process as a visual art piece
https://thelittleengineerthatcould.blogspot.com/2019/10/horr...
Sam Altman is just catching on ;)
Anyway, the downside of filling RAM aggressively is that it convinces users that their RAM is in very short supply, hence causing them to make issues/reddit posts/forum posts complaining about the RAM usage of even fairly conservative programs. I can’t totally blame them - if your memory only has a gigabyte free at startup, and $program uses a gigabyte and a half under heavy load, it’s natural to worry that something is going to go wrong if you open it!
Of course it doesn’t work that way, especially on modern machines with fast SSD swapping, and the memory filled at startup is mostly purgeable cache data. Doesn’t stop the complaints!
After some time, work forced me to switch back to Windows, and now everytime I see complaints about how Windows gobbles up RAM, I just say to myself, "Hah, that's how Linux works too!"
Probably a little faster than a Pentium 3
Its an interesting comparison that Im not sure reflects positively on the RISC-V C906 core when you factor in core area and process nodes and core area, 22nm vs 250nm. Even if we choose the worst case scenario for the P3 cores to compare which would be the Katmai core. We are basically look at ~parity with a 30 year old core design
C906 core only @ 22nm = ~0.6 mm2
C906 core only @ 250nm = ~78 mm2 (geometric transform)
P3 core only @ 22nm = ~0.5 mm2 (geometric transform)
P3 core only @ 250nm = ~76 mm2
Apologies if this is messy and badly formatted. Im currently at a wedding, sat waiting between the ceremony and the after party and Ive quite a few beers. I responded because its something I looked at previously with RISC-V cores and I already had the answers in my head
So the Pentium 3 is 2x the transistor count of the C906 (even 3x if you ignore SRAM) and that's despite being 32-bit while the C906 is 64-bit and has a much more capable vector unit.
(As for new vs 30 year old design I don't really have an intuition how that's supposed to factor in the comparison... But if we consider that we should also consider how much engineering effort went into each of these cores, and we're probably talking a dozen engineers for a couple years for the C906 vs hundreds of engineers and more years for the Pentium.)
This might be the most Linux sentence ever!
https://www.canakit.com/raspberry-pi-zero-2-w.html?cid=usd&s...
Out of interest I just dug out my invoice for the pi500+ I brought almost exactly 12 months ago - looks I got it at around 40% of the price it goes for today.
I agree with the other poster though, ESP32 is a good alternative if you don't need linux - these things are great ...
https://shop.m5stack.com/products/atom-lite-esp32-developmen...
This includes all of that
But online it's very hard to find