File tree Expand file tree Collapse file tree 1 file changed +13
-4
lines changed Expand file tree Collapse file tree 1 file changed +13
-4
lines changed Original file line number Diff line number Diff line change @@ -378,16 +378,25 @@ $ source ~/emsdk/emsdk_env.sh
378378Change the Emscripten SDK environment path if necessary.
379379
380380At this point, you can build and start a web server service to serve WebAssembly by running:
381+ - user space emulation:
381382` ` ` shell
382- $ make CC=emcc start-web
383+ $ make CC=emcc start-web -j8
384+ ` ` `
385+ - system emulation:
386+ ` ` ` shell
387+ $ make CC=emcc start-web ENABLE_SYSTEM=1 INITRD_SIZE=32 -j8
383388` ` `
384389You would see the server' s IP:PORT in your terminal. Copy and paste it to the browsers and
385390you just access the index page of `rv32emu`.
386391
387- You would see a dropdown menu which you can use to select the ELF executable. Select one and
388- click the Run button to run it.
392+ You would see a dropdown menu which you can use to select the ELF executable for user space emulation, select one and
393+ click the ' Run' button to run it. For system emulation, click the ' Run Linux' button to boot Linux.
394+
395+ Alternatively, you may want to view a hosted `rv32emu` since building takes some time.
396+ - [user space emulation demo page](https://sysprog21.github.io/rv32emu-demo/)
397+ - [system emulation demo page](https://sysprog21.github.io/rv32emu-demo/system)
389398
390- Alternatively, you may want to view a hosted `rv32emu` [demo page](https://sysprog21.github.io/rv32emu-demo/) since building takes some time .
399+ Both pages can be easily switched using the navigation button .
391400
392401## Contributing
393402See [CONTRIBUTING.md](CONTRIBUTING.md) for contribution guidelines.
You can’t perform that action at this time.
0 commit comments