Hallo, i have juts tried to port the OBERON RISC Emulator of Peter de Wachter to Ultibo (http://www.ultibo.org) That's an OBERON emulator on bare metal Raspberry Pi. You may find it at: https://github.com/MGreim/ultiboberon What is Ultibo ? Citation from the Ultibo web-site: "Ultibo core is an embedded or bare metal development environment for Raspberry Pi. It is not an operating system but provides many of the same services as an OS, things like memory management, networking, filesystems and threading plus much more." What they write only in the footnote is: "Ultibo is written entirely in Free Pascal and is designed to act as a unikernel or a kernel in a run time library. That means when you compile your application the necessary parts of Ultibo are automatically included by the compiler so that your program runs without needing an operating system." Maybe they are shaming to be non-C guys. For all, not yet knowing what the Raspberry Pi is: The Raspberry Pi is a series of cheap credit card-sized single-board computers. The smallest model costs here in Germany incl. tax 15 EUR, the biggest iron 38 EUR. Here we have 4 ARM cores @ 1 GHz, HDMI, USB, Network interface, PIO, LED,audio, etc. etc. + 1 GByte + SD card etc. The RPI is mostly used with LINUX. That's nice, but with LINUX you are far, far away from the hardware. And its quite crazy for my opinion, to use Gigabytes of code to blink a LED. So what is Ultibo for me: A very nice tool! You have more or less infinite RAM and power, you can and MUST write all programs in PASCAL, and you have with Lazarus a real nice and fast development environment for Windows and Linux (with Wine) My intension to bring OBERON to Ultibo on the RPI without Linux! 0. Having a total type save Wirthian system! 1. A proof of concept and test for Ultibo. 2. Having an OBERON system for 15 EUR 3. Having direct hardware access from OBERON. Up to now only the Blink.Run works, but integrate GPIO, the serial interface etc. may be done with only a few lines of code. 4. Its quite easy to expand OBERON with some TCP/IP functionality, which is already part of the Ultibo libraries. 5. Maybe in the future OBERON can be used as a kind of intelligent shell for Ultibo, including editor, compiler etc. # Hints, Design, Problems etc. 1. The software is __pre-beta__! 2. There is a bug in the USB interface in Ultibo. You __must__ use an USB hub to connect mouse and keyboard. At least one of both must be connected via the hub. There seems to be a DMA problem for slow HID devices. Its a known issue. 3. Due to lack of time, I have the code only tested for the RPI2. 4. I have realized the sw in one single thread following Wirths original design. 5. The code is not optimized for performance at all. 6. The RISC5 code and the FPU code is from 2014, the latest FPU improvements etc. are not coded yet. 7. The OBERON file system is encapsulated in one single file oberon.dsk, it would be nice for sure, to mirror it in FAT or similar. 8. The disk image is from Peter de Wachter at: https://github.com/pdewacht/oberon-risc-emu/blob/master/DiskImage/Oberon-201... 9. Ultibo has no command line options, so everything is hard coded. 10. the F4 and F12 keys are not working yet. (* 11. For Non-Oberonians: Before you play with the software please read: https://www.inf.ethz.ch/personal/wirth/ProjectOberon/UsingOberon.pdf The using of the mouse and the windows (here called viewers) is different from the Windows or OsX world. Even if Allen, Wozniak, Gates and Jobs said that they have been at least "inspired" by the ALTO system they had seen at Xerox. 12. You need a 3 button mouse. 13. .. and many more.. *) 14. Only tested with a 1280 x 1024 screen Regards Markus
Am 14.08.2016 um 17:04 schrieb greim:
i have juts tried to port the OBERON RISC Emulator of Peter de Wachter to Ultibo (http://www.ultibo.org)
That's an OBERON emulator on bare metal Raspberry Pi.
You may find it at: https://github.com/MGreim/ultiboberon
Any interest to use the available OLR on ARM for ultioberon? Regards, Peter
Is there anything similar available for the BeagleBone? ________________________________________ From: Oberon [oberon-bounces@lists.inf.ethz.ch] on behalf of Peter Matthias [PeterMatthias@web.de] Sent: Monday, August 15, 2016 1:04 PM To: oberon@lists.inf.ethz.ch Subject: Re: [Oberon] Oberon on Ultibo on RPi w/o Linux Am 14.08.2016 um 17:04 schrieb greim:
i have juts tried to port the OBERON RISC Emulator of Peter de Wachter to Ultibo (https://urldefense.proofpoint.com/v2/url?u=http-3A__www.ultibo.org&d=CwICAg&c=kbmfwr1Yojg42sGEpaQh5ofMHBeTl9EI2eaqQZhHbOU&r=uUiA_zLpwaGJIlq-_BM9w1wVOuyqPwHi3XzJRa-ybV0&m=oo89mOmTt74Wq2mhqh1zwd6db5QGLemzT2ecoRcZ2SE&s=wYZ3_4uPN7je4KtLthhcxla5Uw4aTqli09WKHz1LsNY&e= )
That's an OBERON emulator on bare metal Raspberry Pi.
Any interest to use the available OLR on ARM for ultioberon? Regards, Peter -- Oberon@lists.inf.ethz.ch mailing list for ETH Oberon and related systems https://urldefense.proofpoint.com/v2/url?u=https-3A__lists.inf.ethz.ch_mailman_listinfo_oberon&d=CwICAg&c=kbmfwr1Yojg42sGEpaQh5ofMHBeTl9EI2eaqQZhHbOU&r=uUiA_zLpwaGJIlq-_BM9w1wVOuyqPwHi3XzJRa-ybV0&m=oo89mOmTt74Wq2mhqh1zwd6db5QGLemzT2ecoRcZ2SE&s=2UFM90XkJ5hREGuLCJWwKm3-9isQ4q8H4fMUzR7gWOo&e=
OLR should run natively on BeagleBone with Linux. Regards, Peter Am 15.08.2016 um 21:22 schrieb Skulski, Wojciech:
Is there anything similar available for the BeagleBone?
________________________________________ From: Oberon [oberon-bounces@lists.inf.ethz.ch] on behalf of Peter Matthias [PeterMatthias@web.de] Sent: Monday, August 15, 2016 1:04 PM To: oberon@lists.inf.ethz.ch Subject: Re: [Oberon] Oberon on Ultibo on RPi w/o Linux
Am 14.08.2016 um 17:04 schrieb greim:
i have juts tried to port the OBERON RISC Emulator of Peter de Wachter to Ultibo (https://urldefense.proofpoint.com/v2/url?u=http-3A__www.ultibo.org&d=CwICAg&c=kbmfwr1Yojg42sGEpaQh5ofMHBeTl9EI2eaqQZhHbOU&r=uUiA_zLpwaGJIlq-_BM9w1wVOuyqPwHi3XzJRa-ybV0&m=oo89mOmTt74Wq2mhqh1zwd6db5QGLemzT2ecoRcZ2SE&s=wYZ3_4uPN7je4KtLthhcxla5Uw4aTqli09WKHz1LsNY&e= )
That's an OBERON emulator on bare metal Raspberry Pi.
Any interest to use the available OLR on ARM for ultioberon?
Regards, Peter -- Oberon@lists.inf.ethz.ch mailing list for ETH Oberon and related systems https://urldefense.proofpoint.com/v2/url?u=https-3A__lists.inf.ethz.ch_mailman_listinfo_oberon&d=CwICAg&c=kbmfwr1Yojg42sGEpaQh5ofMHBeTl9EI2eaqQZhHbOU&r=uUiA_zLpwaGJIlq-_BM9w1wVOuyqPwHi3XzJRa-ybV0&m=oo89mOmTt74Wq2mhqh1zwd6db5QGLemzT2ecoRcZ2SE&s=2UFM90XkJ5hREGuLCJWwKm3-9isQ4q8H4fMUzR7gWOo&e= -- Oberon@lists.inf.ethz.ch mailing list for ETH Oberon and related systems https://lists.inf.ethz.ch/mailman/listinfo/oberon
OLR should run natively on BeagleBone with Linux.
Peter: 1. Is OLR a user space application? 2. Does OLR run under Linux scheduler? 3. Is OLR providing workarounds for Linux scheduler time choppiness? Explanation: My biggest concern with Linux is the choppiness of its scheduler. You never know how long a given action will take because it can be suspended and then activated at any time, usually with 1 ms granularity. It renders Linux a very poor real time environment. Texas Instruments is addressing this problem with Programmable Real Time Units (PRU) on the ARM-Sitara chip. These are great, but they are basically programmable state machines somewhat similar to Picoblaze (I am exaggerating a bit). I wonder if OLR can help with real time applications running on ARM under Linux, or is it just a regular user space app with all the scheduling baggage that Linux brings to the table. Excuse me for being not very well informed about OLR. Thank you, Wojtek
Am 16.08.2016 um 03:41 schrieb Skulski, Wojciech:
OLR should run natively on BeagleBone with Linux.
Peter:
1. Is OLR a user space application?
Yes. A kernel extension would be way too complicated.
2. Does OLR run under Linux scheduler?
Yes.
3. Is OLR providing workarounds for Linux scheduler time choppiness?
No. I have no knowledge about this and I don't need it.
Explanation: My biggest concern with Linux is the choppiness of its scheduler. You never know how long a given action will take because it can be suspended and then activated at any time, usually with 1 ms granularity. It renders Linux a very poor real time environment. Texas Instruments is addressing this problem with Programmable Real Time Units (PRU) on the ARM-Sitara chip. These are great, but they are basically programmable state machines somewhat similar to Picoblaze (I am exaggerating a bit). I wonder if OLR can help with real time applications running on ARM under Linux, or is it just a regular user space app with all the scheduling baggage that Linux brings to the table.
I agree, for hard real time requirements the linux kernel migh not be ideal, even in it'ts rtLinux version. Regards, Peter
It sounds as though this is a compiler to the Oberon FGPA RISC, and an interpreter for the RISC that runs bare-metal on the Pi. Sounds similar to Brinch Hansen's Solo on the PDP-11. It would be nice to recompile all that with an ARM-target compiler, and (eventually) wind up with a complete Oberon system running bare-metal (as opposed to hosted under Linux) on the Raspberry Pi. The long pole in the tent is the display driver. -----Original Message----- From: Peter Matthias Sent: Monday, August 15, 2016 12:04 PM To: oberon@lists.inf.ethz.ch Subject: Re: [Oberon] Oberon on Ultibo on RPi w/o Linux Am 14.08.2016 um 17:04 schrieb greim:
i have juts tried to port the OBERON RISC Emulator of Peter de Wachter to Ultibo (http://www.ultibo.org)
That's an OBERON emulator on bare metal Raspberry Pi.
You may find it at: https://github.com/MGreim/ultiboberon
Any interest to use the available OLR on ARM for ultioberon? Regards, Peter -- Oberon@lists.inf.ethz.ch mailing list for ETH Oberon and related systems https://lists.inf.ethz.ch/mailman/listinfo/oberon --- This email has been checked for viruses by Avast antivirus software. https://www.avast.com/antivirus
Am 15.08.2016 um 21:31 schrieb John R. Strohm:
It sounds as though this is a compiler to the Oberon FGPA RISC, and an interpreter for the RISC that runs bare-metal on the Pi. Sounds similar to Brinch Hansen's Solo on the PDP-11.
It would be nice to recompile all that with an ARM-target compiler, and (eventually) wind up with a complete Oberon system running bare-metal (as opposed to hosted under Linux) on the Raspberry Pi.
For me, OLR is very close to bare metal. You could make a distribution by just using the Linux kernel and nothing from Linux's user space.
The long pole in the tent is the display driver.
And all other drivers... Regards, Peter
-----Original Message----- From: Peter Matthias Sent: Monday, August 15, 2016 12:04 PM To: oberon@lists.inf.ethz.ch Subject: Re: [Oberon] Oberon on Ultibo on RPi w/o Linux
Am 14.08.2016 um 17:04 schrieb greim:
i have juts tried to port the OBERON RISC Emulator of Peter de Wachter to Ultibo (http://www.ultibo.org)
That's an OBERON emulator on bare metal Raspberry Pi.
You may find it at: https://github.com/MGreim/ultiboberon
Any interest to use the available OLR on ARM for ultioberon?
Regards, Peter -- Oberon@lists.inf.ethz.ch mailing list for ETH Oberon and related systems https://lists.inf.ethz.ch/mailman/listinfo/oberon
--- This email has been checked for viruses by Avast antivirus software. https://www.avast.com/antivirus
-- Oberon@lists.inf.ethz.ch mailing list for ETH Oberon and related systems https://lists.inf.ethz.ch/mailman/listinfo/oberon
participants (4)
-
greim -
John R. Strohm -
Peter Matthias -
Skulski, Wojciech