Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to get start? #42

Closed
colachg opened this issue Jan 19, 2020 · 2 comments
Closed

How to get start? #42

colachg opened this issue Jan 19, 2020 · 2 comments

Comments

@colachg
Copy link
Contributor

colachg commented Jan 19, 2020

My environment is Ubuntu 18.04.3 LTS with docker-ce 19.03.2. I follow the README.md and have install the suitable Rust toolchain.
When I run make qemu, get this output:

rm -rf target
RUSTFLAGS="-C link-arg=-Tsrc/bsp/rpi/link.ld -C target-cpu=cortex-a53 -D warnings -D missing_docs" cargo xrustc --target=aarch64-unknown-none-softfloat --features bsp_rpi3 --release
error: The sysroot can't be built for the Stable channel. Switch to nightly.
note: run with `RUST_BACKTRACE=1` for a backtrace
Makefile:56: recipe for target 'target/aarch64-unknown-none-softfloat/release/kernel' failed
make: *** [target/aarch64-unknown-none-softfloat/release/kernel] Error 1

I checked the Makefile and don't know what to do.

@andre-richter
Copy link
Member

You havent installed or selected nightly toolchain.

@colachg
Copy link
Contributor Author

colachg commented Jan 19, 2020

Thanks.I am newbie to Rust. After some search I make it worked with below commands:
rustup toolchain install nightly-2019-12-20;rustup default nightly-2019-12-20-x86_64-unknown-linux-gnu;rustup component add rust-src
:)

@colachg colachg closed this as completed Jan 19, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants