Comments (5)
Please give us more details, like the CPU (intel or Apple Silicon), what app you want to run, and why it doesn't run on your computer.
from arceos.
Thank you for reply!
I follow the tutorial to study, eg. https://rcore-os.cn/arceos-tutorial-book/ch01-01.html or https://rcore-os.cn/rCore-Tutorial-Book-v3/index.html. Neither mentioned how to run it on MacOS.
from arceos.
The steps to run on macOS are similar to those on linux, please refer to README, but you need to install the corresponding toolchain (e.g., QEMU) for macOS.
from arceos.
After an afternoon, the hello app was successfully run.
But qemu-riscv64 was not compiled, so I donβt know what impact this will have.
Configuration steps on MacOS
- curl https://sh.rustup.rs -sSf | sh
- cargo install cargo-binutils
- brew install qemu will failed, so compile from source code:
3.1 brew install libffi gettext glib pkg-config pixman ninja meson // reference https://wiki.qemu.org/Hosts/Mac - Building QEMU for macOS
3.2 tar xvJf qemu-7.0.0.tar.xz
3.3 ./configure --target-list=riscv64-softmmu
3.4 make - git clone https://github.com/rcore-os/arceos.git
- make ARCH=riscv64 A=apps/helloworld run
Thank you again!!!
from arceos.
qemu-riscv64
was only available on Linux, which requires Linux syscalls.
from arceos.
Related Issues (14)
- Unexpected reboot on riscv64 with SMP
- hardware specifications for redis benchmark HOT 1
- The rust-fatfs log error HOT 1
- Building errors when I try to run the apps by cmake. HOT 3
- Can not run the Display example app. HOT 4
- Some questions about `gen_offset` function HOT 2
- Idea: add an async runtime ulib
- error of compiling C apps in riscv64 AND aarch64 ARCH HOT 2
- Is it necessary to add specific arch cpu info in a crate? HOT 1
- Configurable root page table size HOT 1
- Tracking issue: merge features from Azure-stars HOT 1
- Enhancement: manage dependency version via workspace.dependencies HOT 3
- Nix flake support (progress reports) HOT 13
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
π Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. πππ
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google β€οΈ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from arceos.