Update RISC-V64_QEMU.md

This commit is contained in:
aiminick 2021-06-25 01:58:27 +08:00 committed by GitHub
parent 7a86ece96f
commit cd26fa02d7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 8 additions and 1 deletions

View File

@ -47,8 +47,15 @@ make CROSS_COMPILE=riscv64-unknown-linux-gnu- ARCH=riscv -j $(nproc --all)
```
apt-get install debootstrap qemu-user-static binfmt-support debian-ports-archive-keyring
debootstrap --arch=riscv64 unstable /home/linux/riscv64-chroot \
debootstrap --arch=riscv64 --include=debian-ports-archive-keyring \
unstable /home/linux/riscv64-chroot \
http://mirrors.perfxlab.cn/debian-ports/
or
debootstrap --arch=riscv64 --foreign --include=debian-ports-archive-keyring \
sid /home/linux/riscv64-chroot \
http://ftp.debian.org/debian-ports/
```
```