The great divide in terms of single board computers lies between those that can run some form of Linux-based distribution, and those that can not. For example the Raspberry Pi Zero is a Linux board, while the Raspberry Pi Pico’s RP2040 processor lacks the required hardware to run everybody’s favourite UNIX-like operating system. That’s not to say the new board from Cambridge can’t run any UNIX-like operating system though, as [David Given] shows us with his Fuzix port.
Fuzix is a UNIX-like operating system for less capable processors, more in the spirit of those original UNIXes than of a modern Linux-based distribution. It’s the work of the respected former Linux kernel developer and maintainer [Alan Cox], and consists of a kernel, a C compiler, and a set of core UNIX-like applications.
The RP2040 port maybe needs a little more work to be considered stable. For now, the multitasking support isn’t quite there and NAND flash support is broken, but it does have SD card support for a proper UNIX filesystem and the full set of core tools. Perhaps most interestingly, it only occupies a single core of the dual-core chip, leaving the possibility of the other core and those PIOs to be used for other purposes.
Fuzix has made the occasional appearance here over the years, but perhaps not as often as it should. If you’d like to learn a little more about the genesis of UNIX, we took a look in 2019.
Header: Michiel Henzler (CC BY-SA 4.0).
That chip isn’t a Cray Supercomputer with WiFi, so I don’t like it.
Cray Supercomputer? Don’t bother me with that pre-quantum wreckage… I will not settle for anything less than spintronics to replace medieval 555 circuits…
This chip is actually running at decent speed, offers PIOs and the ability to add a fair bit of memory plus it lacks WiFi so I like it.
It can’t be used as a floor wax and a dessert topping, so NOBODY is allowed to like it.
+10000 for the classic SNL ref!
It’s funny because shellac is literally used in both wood finishes and desserts.
I like Beatles too
Meh their music is a bit so so π€£
I’m waiting for version with jet engine to use in drones.
It does not have MPU and FPU, so I don’t like it.
While cheaper things have it (by having Cortex M4F).
I like it because it doesn’t waste power on floating point hardware that is unnecessary in most applications.
Do you place any value on your own time? Parts with heavy community involvement can save you a Lot of time which translates to a lot of money.
Stuff to do with quadcopters or data acquisition and processing do rely on FPUs to make the program much faster to run, so anything data based can probably perform better with a FPU
“anything data based can probably perform better with a FPU”
Totally false, text data does not undergo floating point operations.
In fact software floating point provides perfectly acceptable performance in most applications. Faster is not better if it consumes more power.
Even numeric things don’t need an FPU. Real time, real world control systems don’t need floating point if you’re using 32-bit numbers, because you have a dynamic range of FOUR BILLION to one. If the code scales each input properly, there is no risk of overflow or underflow. Floating point is only needed for general purpose computing where you have no idea what orders of magnitude you will be working with. That, or lazy coding.
BrightBlueJim is right! Fixed point in 32 bits can get it done. Just watch your intermediate values and keep everything close to 1.0, scale was needed on the way in and out, and you’re golden.
And even if you’re using floating point, it’s a good idea to have a handle on those things. E.g., plain old addition/subtraction of doubles only gives you all 16 digits of accuracy when the inputs are of the same order of magnitude.
I worked on the ECU for a lunar lander and guess what??? We didn’t use floating point. They FPGA was all coded in fixed point. But what do I know. I am just a software engineer that works on mission critical saftey of flight systems.
Sure having an FPU is really handy and while some folks are talking about the increased power usage which depending on the MCU may more not be an issue since a lot of MCUs have an option to sleep the FPU when it is not being used.
It really all depends on the use care. I have used a lot of different MCUs for differt tasks. Everything from X86 SOCs to M4s to RiscV softcores to some RadHard locksteped PPC based MUCs.
So stop getting wound up and use what you like and let others do the same.
Well like/non-like withstanding I could see FPU at least being handy for those cryptographic needs.
https://cryptoservices.github.io/post-quantum/cryptography/2019/10/21/falcon-implementation.html
Whether this is satire or not, you sparked some interesting conversation.
There’s a lot of different MCUs on the market offering nearly every combination of hardware. Different speeds, number of cores, FPU, MPU, MMU, WiFi, Bluetooth, cryptography, etc.
It’d be cool to put together a webpage that tabulates all these options and lets you whittle down to chips that have just what you need and nothing you don’t.
It’d be even better if something like RISC-V modular ISAs became more common, so we could order CPUs ala carte!
You can already do that with ARM chips. Ever look at the selection guides for any of the big ARM makers? Not QUITE a la carte – you don’t generally see miniscule CPU cores paired with megabytes of RAM. So assuming RISC-V makes it into the big time, it’s sure to happen.
Clearly, the Pi Foundation are a bunch of incompetent idiots for designing this overpowered waste of silicon when my project only needs a single NAND gate. I’ll never forgive them for releasing a product without extensive personal consultation regarding my requirements and feelings.
Only one NAND gate.. we aren’t talking about BSD here are we?
How dare you insinuate such a high level of waste in resources. We can just use a rheostat and an LED to get all the interactivity we need to calculate PI…
NAND? NAND!? What kind of barbaric heathen would entertain such a notion!
NOR is the One True Gate!
Thou art heretics one and ALL!
The NAY gate is the only way!
Thanks for the writeup, but… s/FUSIX/FUZIX/g!
Thanks for this port!
\o/
Fixed, thanks.
Can it run “Zephyr”?
Who wrote this and decided to call the Pico a SBC? That’s literally the specific thing it isn’t.
It is most assuredly a single board computer.
Not, it most assuredly is not. It’s a microcontroller development board since it does not have a microprocessor.
Apparently you don’t know the difference between a microcontroller and a microprocessor.
It is most assuredly a computer. Do you have problems with the literal meaning of words?
Do you? A computer is something that is COMPLETE. The original Pi through the 4b and 400 are all complete computers – literally just plug in a keyboard, mouse, monitor, and power supply. The Pico is verly little more than just a breakout board for the RP2040 chip. Which is exactly what I need sometimes, but it is emphatically NOT a single board computer.
Although I have no idea what “does not have a microprocessor” is supposed to mean.
Every programmable microcontroller is as CPU, aka microprocessor with ram, ROM and I/O hardware
It’s also worth noting there are operating systems (fuzio, and a new one I forget the name of) that you can install on the pico. Very tiny amount of RAM, but most definitely a computer by that point.
Saying this isn’t a computer is exactly like saying the first Apple (and it’s clone projects) are not computers. Implementation has more to do with what you call it than anything.
Sure is..
“Designing a sub-$5 computer involves several tough decisions”
“As this is a dual Cortex-M0+ chip, itβs entirely possible to have one processor dedicated to bit banging, and the other dedicated to application code.”
-https://www.arm.com/blogs/blueprint/raspberry-pi-rp2040
This is the wrong argument. The microprocessor vs. microcontroller issue is not what makes or does not make this an SBC. In fact, microcontrollers usually have MORE resources than microprocessors, because MCUs are designed to be used with minimal additional hardware, while MPUs expect to need more external interfacing.
But like I said, wrong argument. The question is what makes a computer. Yes, you can have a single-board computer based on a microcontroller, BUT, this single board is little more than a breakout for the RP2040 chip. It does not include any of the interface logic, especially things like level shifters and differential line drivers, needed to connect directly to peripherals such as HDMI. That should be the criterion: can you complete the system with nothing more than standard peripherals such as monitors, keyboards, and other basic I/O? I don’t believe this is the case with the Pico.
You can connect your favourite little LCD to the pico, you can also connect a USB or PS/2 keyboard. There is a DVI implementation using one core and one PIO, which can output a decent color image. It can run Fuzix, a Unix-like OS. I think it meets all the the criteria for it to be called a computer.
One small dilemma I have is: where do we draw the line between SOC and microcontroller nowadays? Microcontrollers are getting more and more powerful, and are starting to get more and more interfacing options. ST makes some STM32s with powerful ARM cores and rudimentary, but built in GPUs,which they call ‘microcontrollers’, while Espressif has always called the ESP range ‘SOCs”.
Surprised this many people on Hackaday are disagreeing with you!
Not sure about the SOC vs. microcontroller angle, but the Pico is obviously not an SBC! Fusix is not a complete OS – it doesn’t even have the TCP/IP stack implemented for the Pico hardware yet!
Additionally, the argument of “you can connect a mouse, keyboard, and monitor” is not true for a Pico out-of-the-box. I see Fusix does have some work done on SSH, so perhaps you could run a headless unix-like OS on the Pico (once TCP/IP is sorted), but you’re just stretching all reasonable definitions of what a personal computer is.
Yes, that’s right. That WOULD stretch the definition of a personal computer. But maybe you SHOULD stretch the definition of a personal computer, with emphasis on “personal”. Many people think of “personal computers” as generic appliances, but that’s stupid. I can make a personal computer out of a Pi Pico W, just by using a display that includes a controller with memory that doesn’t need to have a high-bandwidth pipe to the CPU. You probably wouldn’t accept that it qualifies as a personal computer, but you are not the person it’s made for. Speaking strictly for me, _I_ don’t need a multitasking OS to have a useful computer, so I don’t need all the extras that a Cortex-A has. And it’s exactly those extensions that make it really difficult to use a Cortex-A WITHOUT a multitasking OS, which is why I’m grateful for the recent development of really capable Cortex-M “microcontrollers”.
It MIGHT be safe to say that you could MAKE an SBC out of the Pico, by using the Pico as a module on SBC. But unless you can tell me how to connect a Pico DIRECTLY to a display, it is not, on its own, an SBC.
https://hackaday.com/2021/02/12/bitbanged-dvi-on-a-raspberry-pi-rp2040-microcontroller/
Yes, I’ve seen that. What it shows is that you CAN make an SBC with the RP2040. But there’s no HDMI connector on the Pico, so you DON’T have a complete computer. There’s a picture of the board he did this with. It was NOT a Pico.
It seems like nobody understands what “single board” means, here.
There’s a couple of examples been posted in the various Pico posts, BBC B emulator and a HDTV output.
I will say it again: Yes,you CAN MAKE an SBC with the RP2040. But the PICO itself is just a breakout board. It does not have a connector to plug a monitor into, so it is NOT an SBC.
Seems to match the definition. How much more do you need?
https://en.wikipedia.org/wiki/Single-board_computer
Deosn’t match… Microcontroller != Microprocessor.
It is a functional computer just as the definition states
Then please point at the microprocessor for us.
Erm, no. A microcontroller is a specialised version of a microprocessor. It is still a microprocessor with all the features of one.
Don’t that there hargument go right back to whether a 680EC20 is a mew pee or a mew cee.
By my books an SBC supports a full linux OS, atleast, gives me the ability to access ordinary files in an ordinary file system(FAT/NTFS/EXT4…) on some amount of easily accessed self-contained storage and can for all purposes be used as a very weak abysmally slow limited equivalent to a laptop (as a BCM2835 based Pi, even a zero W, can) or if there isn’t a readily available graphical output then atleast used broadly like a server which one handles solely by commandline. Microcontrollers are a whole other thing for a whole other type of purpose. The best way to work in big projects is use a microcontroller, or many as this is only Β£4, as slave devices handling realtime operations for an SBC acting as a master which does fancier software stuff, but slower. In small projects you won’t need the fancier software, so you just use an MCU alone.
Not sure I see the point. If you want to use Linux on the cheap, use a Pi Zero.
You’d choose the Pico or another microcontroller board when you don’t want to wait a lifetime for the thing to boot up.
What am I missing here? Unless you want to use the Pico’s PIO capabilities, maybe?
Personally, I like the fact that is not Linux.
The *nix platform slowly disintegrates because of Linux, I think.
Applications and frameworks became much too Linux centric in the past few years, making porting code to BSD and other Unix platforms unnecessarily difficult.
Just think of systemd, for example.
So I guess the good news is that systemd won’t run on Fusix.
You are upset that you can’t port Systemd to BSD?
Thank god systemd isn’t on *BSD. I have for the most part switched over to BSD since nearly every popular Linux distro is infected by systemd now. Slackware is probably the last distro that you have at least heard of that hasn’t gone systemd yet.
Turning BSD into a init BDSM system.
Maybe you should throw out all the threading libraries and go back to yggdrasil 0.99 for a proper linux experience. Glibc is such a pig.
The only real way to run Unix is on a PDP11. Everyone else is just faking it.
Did you mean a PDP7? That was the original machine that UNIX was developed on.
FYI, this has 8KB more memory than a PDP11/45, a faster processor, and more than enough I/O to drive a VT-100 terminal. Mass storage via USB; I think it would be plenty capable of running CB-Unix (that’s Columbus Branch Unix from Bell Labs in 1979, you weenies. Yes, I worked there, then).
Turns out the hobbyist developers love the GPL due to easy and guaranteed sourcecode access, and big time devs often started out as hobbyists
Everyone loves to hate on DOS, but it wasn’t completely horrible. Forward slashes for options, strings terminated with $ chars, and 8.3 filenames were details that sucked, to be sure. Horrible 64K limits sucked too but those were the 8088’s fault. But it didn’t have systemDerp so it had that going for it.
But anyway yeah, Linux is getting waaaay overblown, even without the infectious rot perpetrated by RH. And while we’re at it, let’s not pretend that ‘UEFI’ and secure boot and IME are any kind of necessities either. This line of evolution is matching inexorably toward us ordinary individuals being given only simple, unconfigurable endpoints to rent scraps of actual computer from large centralized powers. Why?
It could be refreshing to do without all these trappings of OS ‘as a service’. The idea of a single-user command shell, that works for the person sitting at the keyboard, with no stupid bloody logins or superusers or remote users — a body could work with that. Something like DOS. Just, not DOS.
That’s neat, it reminds me of CP/M (Control Program/Monitor) from the good old days that I never lived in.
Or Minix 1.x and MS Xenix on IBM PC/XT.
They also ran on minimal computer systems.
In fact, CP/M-80 still lives on in the SBC (single board computer) scene. ^^
Additionally, there’s also Datalight ROM DOS for small x86 systems. In the late 80s, there also was PenDOS, DIPDOS running on handhelds. The Tandy 1000 also had DOS in ROM, I heard.
Interested parties may be, er, interested in another project of mine… http://cowlark.com/cpmish/
Definitely!
And ACK and Cowgol and …
I keep meaning to try out your vim clone for cp/m! My brain keeps intermittently locking up while text editing when I try to keep the vi and wordstar keyboard shortcuts in my head at the same time.
That’s a trip down memory lane. I just recently ran across my CP/M-80 book from 40 years ago – couldn’t let it go.
Couple of things:
1) he says it includes 2 MB NAND flash on chip. Not on chip, but on the Pico PCB, which means without much trouble you can upgrade it to 16 MB.
2) EEEEEEEEK. Flash memory should NEVER be used for swap. Just look what happened to Tesla. (Just Google “tesla flash problem”.)
Yes, that’s true; the flash isn’t built in. I’d missed seeing the chip on the board: it’s so small I thought it was a voltage regulator!
No Linux? Into the trash it goes. I have no time for useless products like this. There’s a cheaper business card that runs Linux at just $3, but this at $1 more… Oof. That’s embarrassing.
I know right? I bought an air fryer the other day and it doesn’t run linux so into the trash it goes.
Lol π
If I am to understand this correctly, you’re going to purchase it and throw it in the trash because it doesn’t run linux?
That’s the sort of question someone who doesn’t run Linux would ask.
I don’t run linux too, hopefully my wife did not dump me in the trash bin :)
There are use cases wher you don’t WANT to run linux, much as linux is betetr than windows as a desktop OS there are such things as devices where having any OS at all is undesirable. There is and always will be a place for fast microcontrollers doing nothing more than running one C program that you’ve flashed on to them. By my books an SBC supports a full linux OS, atleast, gives me the ability to access ordinary files in an ordinary file system(FAT/NTFS/EXT4…) on some amount of easily accessed self-contained storage and can for all purposes be used as a very weak abysmally slow limited equivalent to a laptop (as a BCM2835 based Pi, even a zero W, can) or if there isn’t a readily available graphical output then atleast used broadly like a server which one handles solely by commandline. Microcontrollers are a whole other thing for a whole other type of purpose. The best way to work in big projects is use a microcontroller, or many as this is only Β£4, as slave devices handling realtime operations for an SBC acting as a master which does fancier software stuff, but slower. In small projects you won’t need the fancier software, so you just use an MCU alone.
“By my books an SBC supports a full linux OS, ” So?
By your book what ever that is it must run linux and access files in a normal file system. Guess what no SBC will “run” any OS until it is ported to it or gets and BSP.
You have a very narrow idea of what a SBC is based just on your opinion.
Probably the best description of and SBC or single board computer is a computer that has a processor, memory, and IO that all fits on a single board. You know a single board computer. Even some SOCs would fit it.
Frankly the nit picking is a giant waste of time folks. Go grab the board of your choice and make something or learn something. Best of all do both.
Glad you said that; from his definition I was starting to wonder how I should refer to my BBC Micro, Amiga, the PET, Archimedes, Spectrum, Fat Macintosh
Can it be used as an NE555? Otherwise I’m not interested.
But can it run Classic Workbench 3.1 though?
So if you compile UAE for it, maybe make sure frameskip is enabled, or you need a 400Mhz clock and a fire extinguisher.
Soon(ish), OS9, no not Apple’s OS-9 but OS9 formerly from Microware and also the Unix-like OS used on the TRS-80 Color Computer and Dragon computers will appear on PI platform. This will be an exciting opportunity to run a great OS on a microcontroller. Who needs Linux then? ;-)
Serious rumor of just a joke?
Anyway: A websearch did bring me https://microsys.de/products/microware-os-9/microwaretm-os-9-for-arm/
Unfortunately, this is just for the Cortex A9, A53, A72. I.e., does not support the Cortex M series.
I miss OS9. OS9 on the Color Computer is what got me seriously into computers and started my programming career.
It should be possible to get FreeBSD running on the RP2040. Not a whole lot of reasons to do it but it has all the hardware needed.
Can it run fforth?
Well, time to order one
To think we controlled Hydro dams with a little o’ 68000 series and 68332 running at a lowly 8mhz, then 16mhz and finally 25mhz as the brains….. The custom 68332 board did have more SRAM memory than 256K as a final product in that line. Want to say if memory serves, 1Meg SRAM on the final board with 1Meg of Flash for program. Could do a ‘lot’ with that with interrupt driven I/O with millisecond time stamping of events. Much like this little board there was only one program running but using a little RT kernel called VRTX to provide priority driven tasks (now called ‘threads’). VRTX/VRTX32 provided just the simple RT scheduling with 256 priority levels. BTW, VRTX runs the Hubble telescope I believe. Might have to look into building a simple RTOS library for this board (if not already there) for kicks… Now I like Linux and am Windows free… But for this board? … Naw I don’t think so… A tiny RTOS? Sure… But for a lot of cases probably not needed.
Thinking back on my first job I had for 20+ years … Programs for the 68000 boards were first loaded on EPROMs… later Flash (uploaded via serial port which was awesome) …. How much even simpler it is today. I remember finding bugs in the code while in the field… then having to ‘wait’ for FedEx (next day) to deliver a new set of EProms… Extended ones time in the field! Those were the days… This little Pico is a dream to load in comparison!
Interesting comment, most of the UK water/wastewater and Oli/Gas networks where monitored with custom 68340 and 68332 boards, 1mb NOR flash and 1mb SRAM, bunch of UART’s hanging of it. Most done 20+ years of service.
Here is a Linux compatible option that just became available the last few days: Thanks to the efforts of Yunkaya2 and Masayuki Ishikawa, NuttX now fully supports the RP2040 and has be verified in SMP mode! Great job!
Wow! That’s cool / fast!
We waiting for MINIX 3