riscvarchive / risc-v-getting-started-guide

The official RISC-V getting started guide
https://risc-v-getting-started-guide.readthedocs.io/en/latest/
Creative Commons Attribution 4.0 International
198 stars 56 forks source link

Build Linux for the RISC-V target: directory "linux" does not exist #18

Open sanderjo opened 4 years ago

sanderjo commented 4 years ago

Based on the instruction

image

the cd linux does not work

root@6f42517b2121:/riscv64-linux/riscv-gnu-toolchain/qemu# cd linux
bash: cd: linux: No such file or directory
root@6f42517b2121:/riscv64-linux/riscv-gnu-toolchain/qemu# ll | grep drw | grep linux
drwxr-xr-x 11 root root     4096 Nov 26 17:09 linux-headers/
drwxr-xr-x 25 root root     4096 Nov 26 17:09 linux-user/

Am I in the wrong directory /riscv64-linux/riscv-gnu-toolchain/qemu

Must I switch to /riscv64-linux/linux/ ? If so, what did I miss in the Guide?