Ref. http://mail-index.netbsd.org/port-sparc/2023/03/15/msg002546.html "modern compilers are big." My thought was "Not all." "either try adding more swap, or ..." Or port an Oberon system to the bare machine? Haven't replied; for now at least. =8~/ Regards, ... P.L. - mobile: +1 778 951 5147 VoIP: +1 604 670 0140 sip:461697@sip.diamondcard.us https://en.wikibooks.org/wiki/User:PeterEasthope
On Thu, 16 Mar 2023 at 16:14, <peter@easthope.ca> wrote:
Ref. http://mail-index.netbsd.org/port-sparc/2023/03/15/msg002546.html "modern compilers are big."
My thought was "Not all."
"either try adding more swap, or ..."
Or port an Oberon system to the bare machine? Haven't replied; for now at least. =8~/
Exactly so. As I often say, I feel that it would be really good for Oberon, or A2, or both, to have a native, bare-metal version for the Raspberry Pi. It used to support Arm and StrongArm systems; the A2 web site used to be hosted on A2 on a StrongArm machine. The RasPi is not ideal, I know, because it has some many-megabyte proprietary RTOS underneath. But I think there would be much educational value in being able to show students a $5 to $10 computer with a complete OS, with rudimentary Internet access (over Ethernet at least), which was small enough for them to read and study in its entirety. (The RasPi Zero and Zero W are that cheap. I think the Pi Pico is too small to run even Oberon. It has 264 kB of RAM and 2MB of Flash, which is less than a Ceres workstation 30 years ago.) A 1GB Pi 3 would be a capable computer with A2. There are no other small FOSS OSes that are _that_ small and simple. (Plan 9 works but it is pretty weird and arcane. Inferno even more so. Haiku and AROS don't run on the bare metal of the Pi, and they're *much* bigger and more complicated.) -- Liam Proven ~ Profile: https://about.me/liamproven Email: lproven@cix.co.uk ~ gMail/gTalk/FB: lproven@gmail.com Twitter/LinkedIn: lproven ~ Skype: liamproven IoM: (+44) 7624 277612: UK: (+44) 7939-087884 Czech [+ WhatsApp/Telegram/Signal]: (+420) 702-829-053
Am 19.03.23 um 17:05 schrieb Liam Proven:
The RasPi is not ideal, I know, because it has some many-megabyte proprietary RTOS underneath. But I think there would be much educational value in being able to show students a $5 to $10 computer with a complete OS, with rudimentary Internet access (over Ethernet at least), which was small enough for them to read and study in its entirety.
I think you haven't bought Raspberries for a while ;-)
(The RasPi Zero and Zero W are that cheap. I think the Pi Pico is too small to run even Oberon. It has 264 kB of RAM and 2MB of Flash, which is less than a Ceres workstation 30 years ago.)
There are versions with 8MB Flash. As the Pico can run code from Flash, I think it would be possible, but too limited. Also for ARM, there are 3 different instruction sets. Thumb-2, ARM32 and ARM64. Only ARM32 has open source Oberon compilers.
A 1GB Pi 3 would be a capable computer with A2.
There are no other small FOSS OSes that are _that_ small and simple.
With Oberon-V, I am doing something very similar for RISC-V embedded controllers. See http://oberon.wikidot.com/project-oberon-v . FreeRTOS should be allowed to be used at least in cooperative multitasking mode. This simplifies loading a lot. Size of Bootloader written in C for FreeRTOS on RISC-V is over 200k. Size of Bootloader for Linux written in Oberon is 2.7k... Peter
On Sun, 19 Mar 2023 at 17:16, Peter Matthias <PeterMatthias@web.de> wrote:
I think you haven't bought Raspberries for a while ;-)
I have a 3, 3+, 4 and 400. Last one bought a year ago, post-COVID. I know the faster ones are currently in short supply but the post-COVID chip shortages are going away, and there will be new versions coming, of this I am very confident. Secondly, and I submit that this is very important, the 3 models are too slow for desktop use with Linux, really, and there are a lot on the 2nd hand market.
There are versions with 8MB Flash. As the Pico can run code from Flash, I think it would be possible, but too limited.
It's also possible to upgrade the RAM, as I wrote here: https://www.theregister.com/2022/05/06/pi_pico_transputer_code/ Look for "underpants" :-D
Also for ARM, there are 3 different instruction sets. Thumb-2, ARM32 and ARM64. Only ARM32 has open source Oberon compilers.
It is an issue but for now I submit that Arm32 would be enough. At present the Arm64 chips out there will still run Arm32 code. It is planned to go away but it hasn't yet.
With Oberon-V, I am doing something very similar for RISC-V embedded controllers. See http://oberon.wikidot.com/project-oberon-v . FreeRTOS should be allowed to be used at least in cooperative multitasking mode. This simplifies loading a lot. Size of Bootloader written in C for FreeRTOS on RISC-V is over 200k. Size of Bootloader for Linux written in Oberon is 2.7k...
That is impressive, but RISC-V is still not that common out there, and the performance is currently very poor. That will change, but for now they are not competitive. There are other readily-available tiny computers cheaper and more available than Pis, but they're often very very low end, e.g. http://www.lilygo.cn/prod_view.aspx?TypeId=50033&Id=1083 This has SD, dual PS/2, and VGA, and it sells for $12. -- Liam Proven ~ Profile: https://about.me/liamproven Email: lproven@cix.co.uk ~ gMail/gTalk/FB: lproven@gmail.com Twitter/LinkedIn: lproven ~ Skype: liamproven IoM: (+44) 7624 277612: UK: (+44) 7939-087884 Czech [+ WhatsApp/Telegram/Signal]: (+420) 702-829-053
Am 19.03.23 um 19:26 schrieb Liam Proven:
That is impressive, but RISC-V is still not that common out there, and the performance is currently very poor. That will change, but for now they are not competitive.
I paid 12.35 EUR for the M1s dock with 480MHz 64Bit RISC-V, 64MB RAM and 16MB Flash. Bluetooth an WLAN included. Perfectly well suited for Oberon and it's already running Oberon. AFAIK Expressif already announced to switch completely to RISC-V. Lots of devices are already available.
There are other readily-available tiny computers cheaper and more available than Pis, but they're often very very low end, e.g.
http://www.lilygo.cn/prod_view.aspx?TypeId=50033&Id=1083
This has SD, dual PS/2, and VGA, and it sells for $12.
No underpants and an unnamed processor architecture... Peter
On Sun, 19 Mar 2023 at 19:38, Peter Matthias <PeterMatthias@web.de> wrote:
I paid 12.35 EUR for the M1s dock with 480MHz 64Bit RISC-V, 64MB RAM and 16MB Flash. Bluetooth an WLAN included. Perfectly well suited for Oberon and it's already running Oberon. AFAIK Expressif already announced to switch completely to RISC-V. Lots of devices are already available.
OK, that is really good value!
No underpants and an unnamed processor architecture...
Underpants as in the Pi Pico RAM expansion? If not, I am baffled. The CPU architecture is in the description. It is ESP32: https://en.wikipedia.org/wiki/ESP32 ... as used in many very-low-end smart devices, like wifi adaptors for 8-bit computers, and even standalone machines, e.g. https://basicengine.org/ For clarity: I am not proposing the ESP32 as an Oberon target. I think it is _too_ low-end. But they are under €10, in fact well under if you shop around. All I am saying is that yes, there are standalone computers down around this price point that don't seem to be suffering too badly from the chip shortages. -- Liam Proven ~ Profile: https://about.me/liamproven Email: lproven@cix.co.uk ~ gMail/gTalk/FB: lproven@gmail.com Twitter/LinkedIn: lproven ~ Skype: liamproven IoM: (+44) 7624 277612: UK: (+44) 7939-087884 Czech [+ WhatsApp/Telegram/Signal]: (+420) 702-829-053
participants (3)
-
Liam Proven -
Peter Matthias -
peter@easthope.ca