From 97e7b4a3884a5f9147517568a29ecec167c73912 Mon Sep 17 00:00:00 2001 From: husky Date: Fri, 12 Sep 2025 13:40:58 -0700 Subject: [PATCH] update the readme to reflect changes in v0.1.1 --- README.md | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index 6082fce..2f31b68 100644 --- a/README.md +++ b/README.md @@ -60,16 +60,17 @@ and then run the `./copy_to_fs.sh` script to copy the built files to the filesys ``` note that the script will likely need to be run as root because of linux's requirements for fat32 filesystems; and more importantly that the script expects the binary files to be in the directories above in the build section. -after you do this, the filesystem should be ready for the kernel and you should be able to run a variant of the -following to run the kernel +after you do this, the filesystem should be ready for the kernel and you should be able to run the qemu start script +like so: (note that it may also require root) ```shell -qemu-system-riscv32 -machine virt -bios none -drive if=none,format=raw,file=/dev/loop0,id=disk1 -device virtio-blk-device,drive=disk1 -serial mon:stdio -m 5M -kernel target/riscv32imac-unknown-none-elf/release/lbos +./qemurun.sh /dev/loop0 # or whatever the loopback device you created is called, see losetup -a ``` (note that this will take over your terminal and steal CTRL+C, so you'll need to kill it by closing the terminal or manually killing the process) -in the shell you can currently do two things: +in the shell you can currently do the following: - `ls` will list files in the root directory +- `cd ` will change the current directory to `` - `` will run the program `` in the root directory, always capitalize your file name! ## developing programs