Menu
JAQForum Ver 19.10.27

Forum Index : Microcontroller and PC projects : Unix on the Pico Computer 3

   Page 1 of 3    
Posted: 10:33am
26 Jul 2026
Copy link to clipboard
matherp
Guru

  Quote  FUZIX version 0.5
Copyright (c) 1988-2002 by H.F.Bower, D.Braun, S.Nitschke, H.Peraza
Copyright (c) 1997-2001 by Arcady Schekochikhin, Adriano C. R. da Cunha
Copyright (c) 2013-2015 Will Sowerbutts <will@sowerbutts.com>
Copyright (c) 2014-2025 Alan Cox <alan@etchedpixels.co.uk>
Devboot
520KiB total RAM, 320KiB available to processes (15 processes max)
Enabling interrupts ... ok.
NAND flash, 4000kB physical 2673kB logical at 0x14018000: hda:
SD drive 0: no card found
bootdev: hda
Mounting root fs (root_dev=0, ro): OK
Starting /init
init version 0.9.1
Checking root file system.
Current date is Sun 2026-07-26
Enter new date:
Current time is 09:57:41
Enter new time:
login: root

Welcome to FUZIX.
# ls /bin
ac
accton
at
atrun
banner
basename
bd
blkdiscard
cal
cat
chgrp
chmod
chown
cksum
cmp
col
comm
cp
cron
crypt
cut
date
dc
dd
decomp16
deroff
df
diff
diff3
diffh
dirname
dosread
du
echo
ed
env
false
fdisk
fforth
fgrep
free
fsck
fsck-fuzix
grep
halt
head
id
join
kill
killall
levee
ll
ln
logname
look
ls
makekey
man
marksman
mesg
mkdir
mkfifo
mkfs
mknod
more
mount
mv
newgrp
od
pagesize
passwd
pg
picoctl
pr
printenv
prtroot
ps
ptx
pwd
reboot
remount
rev
rm
rmdir
setboot
setdate
sh
shutdown
sleep
sort
split
ssh
stty
su
substroot
sum
swapon
sync
tail
tar
tee
telinit
test
time
touch
tr
true
tsort
tty
umount
uniq
uptime
uud
uue
wall
wc
which
who
whoami
write
xargs
yes
# ls /usr/games
advent
cowsay
lib
# /usr/games/advent

Do you want to restore a saved game? (Y/N) n
Welcome to adventure!!  Would you like instructions?
>y
Somewhere nearby is Colossal Cave, where others have found fortunes in
treasure and gold, though it is rumored that some who enter are never seen
again.  Magic is said to work in the cave.  I will be your eyes and hands.
Direct me with commands of 1 or 2 words.  I should warn you that I look at
only the first five letters of each word, so you'll have to enter

"Northeast" as "ne" to distinguish it from "North".  (Should you get stuck,
type "help" for some general hints).

This program was originally developed by Willie Crowther. Most of the
features of the current program were added by Don Woods.  This version,
written in BDS 8080 C was adapted by Jay R. Jaeger and was later ported to
MSC V5.1 on the IBM/PC by Bob Withers and then to Fuzix by Alan Cox.

You are inside a building, a well house for a large spring.

There are some keys on the ground here.
There is a shiny brass lamp nearby.
There is tasty food here.
There is a bottle of water here.
>exit
You are standing at the end of a road before a small brick building.  Around
you is a forest.  A small stream flows out of the building and down a gully.

>quit
Do you really want to quit now?
>y
OK

Treasures           0
Survival            30
Score:              32
#

 
Posted: 11:22am
26 Jul 2026
Copy link to clipboard
Bleep
Guru


I haven't even got the hang of Python yet! ;-)
but I do at least understanf Unix/Linux/Fuzix :-)
 
Posted: 11:56am
26 Jul 2026
Copy link to clipboard
dddns
Guru

You finished that ARM port just within hours?..Alan Cox will love it  
What would be the preferred programming language for applications on this OS?

Regards
Edited 2026-07-26 21:57 by dddns
 
Posted: 12:13pm
26 Jul 2026
Copy link to clipboard
Mixtel90
Guru


Lol! This is too cool. :)

CP/M next week...  ;)
 
Posted: 12:38pm
26 Jul 2026
Copy link to clipboard
Martin H.
Guru


  Mixtel90 said  CP/M next week...  ;)

Geos first
 
Posted: 01:56pm
26 Jul 2026
Copy link to clipboard
lizby
Guru

And when I asked Perplexity about, say, openWrt on the Pico Computer 3, it cast shade on the idea of any linux running well.

As my mother would say, "Will wonders never cease?".

I may have to buy another round of Pico Computer 3s just for myself.
Edited 2026-07-26 23:57 by lizby
 
Posted: 02:12pm
26 Jul 2026
Copy link to clipboard
matherp
Guru

The limitation of Fuzix is that any program only has a 64kb space available. So, for example, you can't run nano as an editor
 
Posted: 04:51pm
26 Jul 2026
Copy link to clipboard
bfwolf
Senior Member

I discovered Fuzix quite some time ago and find it rather interesting — especially since it runs on many 8-bit architectures. However, the 64K limitation (which is presumably linked to its 8-bit heritage or the segmentation on the 8086/88) is certainly a drawback.

Another very interesting "Un*x clone" for microcontrollers is NuttX:
https://nuttx.apache.org/

There is also a ready-made port for the RP2040 and RP2350 (including PSRAM support for the latter):
https://nuttx.apache.org/docs/latest/platforms/arm/rp23xx/index.html

NuttX claims strict POSIX compliance and supports loadable executables (even directly from program memory) using various memory models.

I also recall seeing somewhere that Samsung created a fork of NuttX many years ago, which served as the software foundation for their smart TVs for quite some time.

Samsung is apparently still among the sponsors, alongside Espressif and several other well-known companies.

It is essentially a competitor to Zephyr OS and also supports networking (Ethernet, Wi-Fi, Bluetooth, etc.).

Unfortunately, I haven't yet had the time to set up a build environment (though ready-made containers are available), and pre-built .uf2 files for the Pico are not offered.

Regards, bfwolf
Edited 2026-07-27 02:52 by bfwolf
 
Posted: 05:13pm
26 Jul 2026
Copy link to clipboard
matherp
Guru

  Quote  However, the 64K limitation (which is presumably linked to its 8-bit heritage or the segmentation on the 8086/88) is certainly a drawback.

Fixed. USB keyboard and HDMI screen working so now has full "stand-alone" status. Next is to check/add applications - target is to have BBC Basic runnable
Edited 2026-07-27 03:13 by matherp
 
Posted: 05:14pm
26 Jul 2026
Copy link to clipboard
scruss
Senior Member

  Mixtel90 said  
CP/M next week...  ;)


There's been a solid CP/M emulator for RP2040 for some time: ExtremeElectronics/RC2040: Z80 CP/M80 emulation of an RC2014 using the RP2040 (PI PICO) processor

Implementing it (and a video terminal emulator) on Pico Computer 3 is left to the reader
 
Posted: 06:18pm
26 Jul 2026
Copy link to clipboard
Mixtel90
Guru


I looked at the photo on that Github page and dived for my drawer of past projects. Sure enough, I built that design on padboard. :)  My layout is a bit different because I had to take liberties to make it fit.
 
Posted: 07:46pm
26 Jul 2026
Copy link to clipboard
bfwolf
Senior Member

  Mixtel90 said  I looked at the photo on that Github page and dived for my drawer of past projects. Sure enough, I built that design on padboard. :)  My layout is a bit different because I had to take liberties to make it fit.


In case you're referring to the CP/M emulator: A "hobbyist" has also created a nice port for the Pico(2):
https://github.com/guidol70/RunCPM_RPi_Pico  

There is also an Amstrad CPC emulator; CP/M Plus ought to run on that as well...
https://blog.adafruit.com/2026/06/11/an-amstrad-cpc-464-664-6128-emulator-for-the-raspberry-pi-pico-2/

bfwolf
 
Posted: 11:53pm
26 Jul 2026
Copy link to clipboard
Grogster
Admin Group


"This is a Unix system......I know this....." - Jurassic Park
 
Posted: 06:58am
27 Jul 2026
Copy link to clipboard
Mixtel90
Guru


Strangely enough, my brain went into "REJECT" mode the minute I saw the words "Arduino IDE", btwolf. That IDE and myself have a mutual hatred for each other. :)
 
Posted: 10:59am
27 Jul 2026
Copy link to clipboard
bfwolf
Senior Member

  Mixtel90 said  Strangely enough, my brain went into "REJECT" mode the minute I saw the words "Arduino IDE", btwolf. That IDE and myself have a mutual hatred for each other. :)


So, you're allergic to Arduino?

I’m not a huge fan of the Arduino IDE either, as it is quite limited.  However, the Arduino framework is often the "shortest route to the goal" when a task needs to be solved.

Besides, guidol70 provides ready-made .uf2 files for the Pico and Pico2. You really only need to recompile it yourself if the GPIO configuration doesn't suit your needs.

What I quite like about RunCPM is that AFAIK it apparently executes the BIOS and BDOS in native ARM mode (or x86/x64 on a PC), making the maximum possible TPA available  — and the speed is naturally better, too. There are also Win32 and Win64 versions you can play around with to get a feel for the system.

bfwolf
 
Posted: 03:54pm
27 Jul 2026
Copy link to clipboard
matherp
Guru

Here is the first release. Will run on the Pico Computer 3 or the Pico Computer 2 (HDMIUSBI2S)

fuzix.zip


FUZIX-PC3-MANUAL.pdf

Full blown Unix V7 on your rp2350 with lots of apps including BBC Basic

 
Posted: 04:01pm
27 Jul 2026
Copy link to clipboard
lizby
Guru

I was surprised when perplexity advised me that Linux wouldn't run well on a RP2350 with 8MB PSRAM. 10 years ago, the openWrt version of Linux would run on a 4MB box, supporting a fair number of packages. 8MB is now considered the minimum. The 4MB versions didn't have nano, and I hate vi, so I was happy to see that nano is available on the 8MB boxes.

Does nano now run on the RP2350 unix? What was the reason for selecting FUZIX rather than openWrt with its huge repository? Of course, all the openWrt devices I use are headless.

I've read that there are 16MB PSRAMs with the same footprint as the 8MB ones. Have you looked into those for the Pico Computer 3?

No apk/apt/opkg package installer?

~
Edited 2026-07-28 02:04 by lizby
 
Posted: 04:14pm
27 Jul 2026
Copy link to clipboard
matherp
Guru

No nano, uses ncurses and is therefore HUGE.
Haven't looked further at the 16Mb PSRAM after I saw the price
Edited 2026-07-28 02:16 by matherp
 
Posted: 05:21pm
27 Jul 2026
Copy link to clipboard
Mixtel90
Guru


The editor is levee. Screen editor based on vi, I believe.
 
Posted: 08:10pm
27 Jul 2026
Copy link to clipboard
bfwolf
Senior Member

  matherp said  Here is the first release. Will run on the Pico Computer 3 or the Pico Computer 2 (HDMIUSBI2S)
...
Full blown Unix V7 on your rp2350 with lots of apps including BBC Basic
...


How are loadable executables implemented there? Are they compiled as position-independent code, or is there a loader that adjusts absolute addresses using relocation tables?

Do you plan to make the PSRAM area available to processes (tasks)?

One thing that surprises me a bit: I took a look at the RP2350's QMI, and it has 8 address translation registers (4 each for Flash and RAM) that allow virtual address ranges to be translated into physical ones. In principle, one ought to be able to use them like an MMU, yet I haven't seen a practical implementation anywhere.

bfwolf
 
   Page 1 of 3    
The Back Shed's forum code is written, and hosted, in Australia.
© JAQ Software 2026