Commit Graph

27 Commits

Author SHA1 Message Date
Ashwin Naren
162c0d9335 use python script to run qemu instead of shell script 2026-02-26 22:01:39 -08:00
Ashwin Naren
94018295da use sh instead of bash to fix CI 2026-02-19 22:42:40 -08:00
Ashwin Naren
b087928ef5 redo the build system
- use alpine for default image
- use just to run commands
2026-02-16 09:54:31 -08:00
Andrew Mackenzie
f8a6c0c3d5 Small typo fix 2026-02-15 16:17:50 +01:00
Andrew Mackenzie
b4bdbc387e Add additional markup for command lines. This allows some editors/IDEs to be able to invoke it with a click on a run button beside the text 2026-02-15 16:17:03 +01:00
Andrew Mackenzie
af8ff3bfa5 Add < /dev/null at the end of debugfs invocations to ensure it exits and doesn't continue to read commands from stdin after completing commands from file 2026-02-15 15:55:19 +01:00
Andrew Mackenzie
dbeb4eab96 Add an explicit quit command at the end of the symlink commands for debugfs 2026-02-15 15:54:30 +01:00
Andrew Mackenzie
6154709539 Add additional macos dependencies required, and details of how to configure them. 2026-02-15 15:54:05 +01:00
Ashwin Naren
c394e18231 tmp 2026-02-07 00:20:37 -08:00
Ashwin Naren
fb27ed3320 add retry logic to wget 2026-01-18 17:02:52 -08:00
Matthew Leach
a2a37146ff main: init: add arg init option
Add a new option `--init-arg` which allows arguments to be passed to
init when invoked by the kernel. This allows the `-i` parameter to be
passed through to bash such that it will be started in interactive mode.
2026-01-06 16:22:59 -08:00
ootinnyoo
42a2ea2901 use an ext4 rootfs with busybox symlinks 2026-01-03 17:00:13 -08:00
Ashwin Naren
40e092faa8 switch qemu-runner back 2026-01-02 17:01:02 -08:00
Ashwin Naren
b5138c30f9 working ext4 2026-01-02 17:01:02 -08:00
Ashwin Naren
3284b04197 fix build script 2025-12-29 11:54:43 -08:00
Ashwin Naren
937adb12d0 dockerfile 2025-12-29 11:54:43 -08:00
Ashwin Naren
cd6d830ae9 Initial proc fs (#70) 2025-12-21 01:37:14 -08:00
Matthew Leach
0a32eeaaa0 scripts: create /tmp
Create /tmp and modify the kernel command line to mount tmpfs on /tmp.
2025-12-17 20:04:31 -08:00
Matthew Leach
4cd9fab80b scripts: deps: usertest: new
Add a script to build the userspace test program and include it in the
initramfs.
2025-12-13 19:21:22 -08:00
Matthew Leach
e2a9306037 build-deps: busybox: don't popd too many times
Fix the busybox deps script's dir stack underflow.
2025-12-13 19:21:22 -08:00
Matthew Leach
511a0db41e arch: arm64: parse cmdline from chosen node
The kernel command line is passed via the FDT's chosen node. Use that,
rather than hard-coding it into the kernel.

Fixes: #20
2025-12-07 16:41:45 +00:00
Matthew Leach
abd5ef39c2 create-image: use mtools to populate image
Use the `mtools` set of utilities to populate the image without the need
to run mount the image (requring sudo).
2025-12-07 16:41:35 +00:00
Matthew Leach
76624b8be0 scripts/deps/bash: fix build for later gcc
'bool' has become a reserved keyword in c23.  If gcc is modern enough
that this is the default standard, it results in an error.  Default to
c99 for the host compiler to fix the problem.

Patch suggested by: @dec-mcgraw

Fixes: #43
2025-12-07 16:41:35 +00:00
Matthew Leach
afaae627cf scripts/deps/bash: use release tar
Rather than closing the entire git repo, use the offical tar.gz release
from GNU.
2025-12-07 16:41:35 +00:00
NerdNextDoor
0904a1994c Introduce experimental macOS build support
Tested on my M4 MacBook Air, builds fine.
2025-11-30 21:15:30 +00:00
Herman Polloni
41814dddbe Fix bash build on aarch64 host 2025-11-30 10:19:14 +00:00
Steve Biedermann
e5c4ef7e74 restructure build scripts 2025-11-25 22:06:39 +01:00