1
0
mirror of https://github.com/mgcaret/of816.git synced 2024-12-04 19:50:22 +00:00
of816/ofw
2021-07-31 11:23:37 -07:00
..
of shrink max instance size a little more 2021-07-31 11:23:37 -07:00
packages
build.sh
of.fs
README.md
SLOF-LICENSE

Open Firmware for OF816

This directory contains Forth source implementing Open Firmware on top of OF816. It is based on IBM's Slimline Open Firmware that is notably used in IBM POWER systems and QEMU.

There are Bugs

  • Package instances don't quite work right.

Working features:

  • Device tree.
  • Properties.

Unimplemented features:

  • FCode additions (to-do).
  • nvram (board-level addon).
  • Framebuffer/display support (to-do).
  • Device probing (to-do).
  • Support packages (to-do).
  • FCode debugging and Forth source-level debugging (probably won't do).
  • Client interface.
  • Other miscellania.

Difficulties:

  • SLOF is based on a 64-bit system. The basic stuff ports to 32-bit easily enough, but the cool stuff like FAT and ext2 support rely on the 64-bit extensions.

The build script borrows tricks from SLOF to incorporate the C preprocessor and remove comments and extra lines from the code, producing a single file that can be used with EVALUATE.

SLOF is licensed under a BSD license, and since the files in this directory are a derivative work, the license is reproduced in this directory as SLOF-LICENSE.