update the readme to reflect changes in v0.1.1
This commit is contained in:
parent
1272089784
commit
97e7b4a388
1 changed files with 5 additions and 4 deletions
|
@ -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 <dir>` will change the current directory to `<dir>`
|
||||
- `<file>` will run the program `<file>` in the root directory, always capitalize your file name!
|
||||
|
||||
## developing programs
|
||||
|
|
Loading…
Add table
Reference in a new issue