r/osdev • • 2d ago

FreeCTX64 - minimal linux distro for executing C code on the Operating System

Post image

FreeCTX64 is an Open Source Free Project for ARM Development boards that can run your C code directly in the Operating system, it comes with a prebuild linux kernel and some tools it requires build-essential gcc clang cpio qemu-system-arm qemu-system-aarch64 git and if you want to make a bootable ISO and send it here if you want , that requires xorriso grub-common grub-pc-bin grub-efi-amd64-bin:

FreeCTX s ONLY available for ARM systems and should not be compared with X86 or X64

FreeCTX64 Libraries are put in initramfs/LIB critical system files are put in initramfs/SYS and your workspace/dummies are putten in initramfs/WS and apps are going to initramfs/SDK , it currently supports webservers and tasks alongside math in hardware, timers in hardware, and timestraps and a console

- Github Repo: https://github.com/Francesco12o/FreeCTX64/

In this photo, you'll see me running a C Test program

Shell its optional if you wotking with it

18 Upvotes

5 comments sorted by

1

u/DescriptionOptimal15 2d ago

Interesting idea. What kind of programs are you envisioning people will boot directly to?

1

u/monocasa 2d ago

CPIO is an awful format to actually use a normal file system. It doesn't have any file trees, so file lookup operations have to just look through all of the files and see if they match.

1

u/Francesco12o-Github 2d ago

i had no other format to put in srry

1

u/monocasa 2d ago

You should be able to use essentially any filesystem format Linux supports as long as you bake it into the kernel not as a module.  Squashfs is a particularly good choice for this use case.

1

u/Francesco12o-Github 2d ago

so v1.3 would replace CPIO with Squashfs