Initial proc fs (#70)

This commit is contained in:
Ashwin Naren
2025-12-21 01:37:14 -08:00
committed by GitHub
parent 35a6caa541
commit cd6d830ae9
11 changed files with 448 additions and 4 deletions

View File

@@ -11,6 +11,7 @@ mkfs.vfat -F 32 "$img"
mmd -i "$img" ::/bin
mmd -i "$img" ::/dev
mmd -i "$img" ::/proc
mmd -i "$img" ::/tmp
mcopy -i "$img" "$base/build/bin"/* "::/bin"

View File

@@ -8,4 +8,4 @@ bin="${elf%.elf}.bin"
# Convert to binary format
aarch64-none-elf-objcopy -O binary "$elf" "$bin"
qemu-system-aarch64 -M virt,gic-version=3 -initrd moss.img -cpu cortex-a72 -m 2G -smp 4 -nographic -s -kernel "$bin" -append "--init=/bin/bash --rootfs=fat32fs --automount=/dev,devfs --automount=/tmp,tmpfs"
qemu-system-aarch64 -M virt,gic-version=3 -initrd moss.img -cpu cortex-a72 -m 2G -smp 4 -nographic -s -kernel "$bin" -append "--init=/bin/bash --rootfs=fat32fs --automount=/dev,devfs --automount=/tmp,tmpfs --automount=/proc,procfs"