{"id":37532967,"url":"https://github.com/9xbt/bentobox","last_synced_at":"2026-01-16T08:34:12.687Z","repository":{"id":331629408,"uuid":"950868911","full_name":"9xbt/bentobox","owner":"9xbt","description":"64-bit SMP-enabled operating system targeting x86_64 and aarch64","archived":false,"fork":false,"pushed_at":"2026-01-10T17:22:43.000Z","size":8931,"stargazers_count":20,"open_issues_count":0,"forks_count":3,"subscribers_count":2,"default_branch":"rewrite","last_synced_at":"2026-01-11T03:55:44.915Z","etag":null,"topics":["aarch64","c","kernel","operating-system","os","posix-compatible","smp","x86-64"],"latest_commit_sha":null,"homepage":"","language":"C","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"bsd-2-clause","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/9xbt.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2025-03-18T20:03:43.000Z","updated_at":"2026-01-10T17:22:47.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/9xbt/bentobox","commit_stats":null,"previous_names":["9xbt/bentobox"],"tags_count":2,"template":false,"template_full_name":null,"purl":"pkg:github/9xbt/bentobox","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/9xbt%2Fbentobox","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/9xbt%2Fbentobox/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/9xbt%2Fbentobox/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/9xbt%2Fbentobox/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/9xbt","download_url":"https://codeload.github.com/9xbt/bentobox/tar.gz/refs/heads/rewrite","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/9xbt%2Fbentobox/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28478047,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-16T06:30:42.265Z","status":"ssl_error","status_checked_at":"2026-01-16T06:30:16.248Z","response_time":107,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["aarch64","c","kernel","operating-system","os","posix-compatible","smp","x86-64"],"created_at":"2026-01-16T08:34:12.592Z","updated_at":"2026-01-16T08:34:12.673Z","avatar_url":"https://github.com/9xbt.png","language":"C","funding_links":[],"categories":[],"sub_categories":[],"readme":"# bentobox\nbentobox is a 64-bit SMP-enabled operating system targeting x86_64 and aarch64.\n\n## Features\n- SMP capable preemptive modular kernel with full multi-architecture support\n- POSIX compatibility\n- IPC: Pipes, UNIX domain sockets, signals\n- Ports: Xorg, bash, coreutils, vim, fastfetch \u0026 more\n- Filesystems: ext2, devfs, tmpfs, procfs\n- Block devices: AHCI\n- Interrupt controllers: APIC (x86_64), GICv2 (aarch64)\n- ACPI table parsing \u0026 full ACPI mode using LAI\n- PCI \u0026 PCIe support\n- Input devices: PS/2 (x86_64), virtio-input (aarch64)\n- Elf64 modules \u0026 binaries, VMM with CoW support\n\n## Building the toolchain\nPackages required:\n- git\n- base-devel\n\nStart by sourcing the environment. Run `. build/mlibc-root`.\n\n\u003e [!NOTE]\n\u003e To build an aarch64 toolchain, run `. build/mlibc-root aarch64` instead.\n\nNow build binutils. Run `./util/binutils.sh`.\n\nThen, install mlibc headers for the GCC cross compiler. Run `make -f build/mlibc.mk headers`.\n\nNow you can build the GCC cross compiler. Run `./util/gcc.sh`.\n\n## Building the userspace\nPackages required:\n- git\n- meson\n\nStart by building mlibc. Run `make -f build/mlibc.mk resetup build install`.\n\n\u003e [!NOTE]\n\u003e To build mlibc for aarch64, append `ARCH=aarch64` to the make command.\n\nAfterwards, rebuild libgcc. Run `./util/libgcc.sh`.\n\nNow proceed to build the ports below.\n\n\u003e [!TIP]\n\u003e Run `./build/strip-bin` after building the ports to reduce their size.\n\nFinally, run `make hdd -j$(nproc)` to make the HDD image (or `make livecd -j$(nproc)` if you prefer an initrd).\n\n## Ports\n\n### bash\nRun `./ports/bash.sh`.\n\n### gnulib\nPackages required:\n- autoconf\n- automake\n- gettext\n- autopoint\n- m4\n- wget\n\nRun `./ports/gnulib.sh`.\n\n### coreutils\nPackages required:\n- bison\n- gperf\n- texinfo\n\nDependencies:\n- gnulib\n\nRun `./ports/coreutils.sh`.\n\n### lua\nRun `./ports/lua.sh`.\n\n### figlet\nRun `./ports/figlet.sh`.\n\n### doomgeneric\nRun `./ports/doomgeneric.sh`.\n\n### fastfetch\nPackages required:\n- cmake\n\nRun `./ports/fastfetch.sh`.\n\n### ncurses\nRun `./ports/ncurses.sh`.\n\n### vim\nDependencies:\n- ncurses\n\nRun `./ports/vim.sh`.\n\n### nyancat\nRun `./ports/nyancat.sh`.\n\n### Xorg\nRun `./ports/Xorg.sh` to build all Xorg-related libraries and `xorg-server`.\n\n### twm\nDependencies:\n- Xorg\n\nRun `./ports/twm.sh`.\n\n### xev\nDependencies:\n- Xorg\n\nRun `./ports/xev.sh`.\n\n### xeyes\nDependencies:\n- Xorg\n\nRun `./ports/xeyes.sh`.\n\n### xclock\nDependencies:\n- Xorg\n\nRun `./ports/xclock.sh`.\n\n### nes_emu\nDependencies:\n- Xorg\n\nRun `./ports/nes_emu.sh`.\n\n## Building the kernel\n### x86_64\nPackages required:\n- git\n- gmake\n- gcc\n- binutils\n- xorriso\n- nasm\n- genext2fs\n\nFirst run `make kernel-deps` to get the dependencies, then run `make run -j$(nproc)` to run it in QEMU.\n\n### aarch64\nPackages required:\n- git\n- gmake\n- xorriso\n\nRun `make kernel-deps` to get the dependencies, then run `make run -j$(nproc) ARCH=aarch64` to run it in QEMU.\n\n## Screenshots\n\u003cimg width=\"1154\" height=\"926\" alt=\"image\" src=\"https://github.com/user-attachments/assets/c18b1f3e-f838-4839-a352-ecd221ba8f36\" /\u003e\n\u003cimg width=\"1154\" height=\"926\" alt=\"image\" src=\"https://github.com/user-attachments/assets/c643893e-ee9d-4128-b287-bb40586367c8\" /\u003e\n\u003cimg width=\"1154\" height=\"926\" alt=\"image\" src=\"https://github.com/user-attachments/assets/dc871600-422f-437b-9314-55be789b59a5\" /\u003e\n\u003cimg width=\"1154\" height=\"926\" alt=\"image\" src=\"https://github.com/user-attachments/assets/ff71dada-6f75-45ea-b6a4-9f68cef57855\" /\u003e\n\u003cimg width=\"1154\" height=\"926\" alt=\"image\" src=\"https://github.com/user-attachments/assets/0b738dbe-49c3-4595-b06b-9b4d014bc3b9\" /\u003e\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2F9xbt%2Fbentobox","html_url":"https://awesome.ecosyste.ms/projects/github.com%2F9xbt%2Fbentobox","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2F9xbt%2Fbentobox/lists"}