Repository navigation
potad os release v1.2.0-alpha
·
117 commits
to main
since this release
potad os is a minimal, arm64 linux system made with buildroot, designed to run on allwinner h616 or qemu aarch64!!!
what's new with this release?
- service supervisor:
- supervised services can now be automatically created, monitored, and automatically respawned :)
what can this release do?
- boot into a busybox shell through qemu
- working and configured u-boot boot manager
- run nvim and git directly cli
- weston / drm composited desktop environment that can run doom
- dhcp networking
- pid-1 process management
- zombie process reaping
- graceful shutdown
- create and restart supervised services
build and run locally:
prereqs:
- for now, please use linux, mac, or figure this out on your own, i really don't feel like figuring out how to do all this on windows lol
- install qemu:
- ubuntu / debian:
sudo apt install qemu-system-arm - arch:
sudo pacman -S qemu-system-aarch64 - fedora:
sudo dnf install qemu-system-aarch64 - macos:
brew install qemu
- ubuntu / debian:
build and run:
note: make sure your parent directory doesn't have spaces in it (buildroot will freak out)
-
clone the repo:
git clone https://github.com/swedishsplidney/potad.git cd potad -
build the os image:
./scripts/build-app.sh
note: setting up buildroot can take a while!
- run in qemu:
./scripts/run-qemu.sh
- or, if you want to test u-boot you can run:
./scripts/run-qemu-uboot.sh
- then to boot into potadOS, run the following inside the u-boot terminal:
setenv bootcmd "ext4load virtio 0:0 0x40400000 /boot/Image; booti 0x40400000 - ${fdtcontroladdr}" setenv bootargs "console=ttyAMA0 root=/dev/vda rw earlycon init=/sbin/potad_init" boot
- then to boot into potadOS, run the following inside the u-boot terminal:
there is also an Image, rootfs.ext4, and u-boot.bin file attached if you dont feel like compiling from scratch (but it will be much less reliable)
if you want to see my progress but not have to deal with qemu (understandable), then i've also attached a demo.webm video file so you can see what ive done :)
potadOS built with C₈H₁₀N₄O₂ by SwedishSplidney