Hacker News new | ask | show | jobs
by renewiltord 746 days ago
XINU is another simple teaching system.
2 comments

What I would love is something similar that could boot on raspberry pi...
Ultibo is pretty cool…

https://ultibo.org/

It’s a bare metal Free Pascal environment for Raspberry Pi.

Disclaimer: I've made LEDs blink with an Arduino and I think microcontrollers are cool, but I'm an embedded systems noob for sure :)

I poked around the FAQ a bit and I'm kinda confused about this.

Do you write bare-metal Pascal programs in this? I.e., do you write a Pascal program that uses Ultibo libraries to run without a separate operating system?

How is the resulting program different from a unikernel?

I think I'm mostly confused about why the IDE is bare-metal (why not write your Pascal programs in a normal environment and then run it bare metal on your RPi)D

> Do you write bare-metal Pascal programs in this? I.e., do you write a Pascal program that uses Ultibo libraries to run without a separate operating system?

Yes, that's exactly how it works.

> How is the resulting program different from a unikernel?

I think that's essentially what Ultibo is.

> I think I'm mostly confused about why the IDE is bare-metal (why not write your Pascal programs in a normal environment and then run it bare metal on your RPi)D

You do run the IDE in a normal environment and then run it on your RPi. See below for a better description of how it works...

https://ultibo.org/wiki/Getting_Started

There are versions for at least up to RPi 3: https://github.com/xinu-os/xinu/blob/master/docs/arm/rpi/Ras...
Amazing. I have to take a crack at this.
XINU works on a Beaglebone Black it seems https://github.com/jarrocha/XinuBBB/tree/main
I like os161 from ops-class dot org too (Harvard course)