Sylphide OS: a general-purpose OS for microcontroller-based computers

(projects.freehackers.org)

23 points | by iamnothere 2 hours ago

2 comments

  • NooneAtAll5 2 minutes ago
    > On top of that, Sylphide OS adds:

    > drivers for mouse, keyboard, display, storage and network

    and couple lines later

    > What you don't have yet, but definitely planned:

    > storage (microsd, usb) > network (ethernet, wifi)

    I'm not gonna be angry at false advertising, but OS attempts only become appropriate to discuss once you made drivers and actually ran stuff on physical hardware

    Before that point it's just one of the many dozens and dozens other half-efforted attempts at OS that have been done over and over to death by now

  • irdc 1 hour ago
    If it's running on MMU-less systems, I'd be interested in how it loads multiple programs into memory: does it need to relocate each program binary? If so, doesn't that preclude using execute-in-place (XIP)?
    • Arelius 32 minutes ago
      Generally, running in a MMU without static task config would require relocatable binaries. I'm not sure why it'd preclude execute-in-place. As a relocatable binary should be executable from generally any address space. However I suspect that hardware without an MMU is not super likely to be able to support XIP.

      It is based on FreeRTOS, so it should be fairly well documented.

      • dvdkon 2 minutes ago
        > I suspect that hardware without an MMU is not super likely to be able to support XIP.

        This seems strange to me. Don't most microcontrollers support executing directly from flash? Some even can't execute from RAM.

        Though I agree with the main point, you can compile code as "PIC" - position independent code, and not bother with (ELF) relocations except for linking.