riscvarchive / riscv-poky

Port of the Yocto Project to the RISC-V ISA
http://www.riscv.org
62 stars 46 forks source link

vi editor not working properly. #24

Open akashgj opened 6 years ago

akashgj commented 6 years ago

vi editor is not working properly in Risc-V Linux. When I pressed arrow key it will print some alphabets, I am not able to save the modification using ':wq', even ':q' is not working sometimes. What will i do to work properly. please anybody help for this related problem. Thank You

sorear commented 6 years ago

I believe this is a spike bug and it works fine in qemu. (Characters are lost at high speed, which means escape sequences like \033[[A are reduced to just A.)

akashgj commented 6 years ago

But I am unable to use qemu. when I uses qemu emulator its shows the error.

runqemu - INFO - Running MACHINE=riscv64 bitbake -e... runqemu - ERROR - Failed to find rootfs: tmp/deploy/images/riscv64/core-image-riscv-riscv64-20180202065442.ext4 or tmp/deploy/images/riscv64/core-image-riscv-riscv64.ext4 Cleanup