From: Guo Ren <ren_guo@xxxxxxxxx> Signed-off-by: Guo Ren <ren_guo@xxxxxxxxx> Cc: Liu Zhiwei <zhiwei_liu@xxxxxxxxx> Cc: Thomas Petazzoni <thomas.petazzoni@xxxxxxxxxxx> --- board/qemu/csky/readme.txt | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 board/qemu/csky/readme.txt diff --git a/board/qemu/csky/readme.txt b/board/qemu/csky/readme.txt new file mode 100644 index 0000000..c36c755d --- /dev/null +++ b/board/qemu/csky/readme.txt @@ -0,0 +1,16 @@ +Run with qemu: + + wget https://gitlab.com/c-sky/buildroot/-/jobs/197192514/artifacts/raw/output/images/csky_toolchain_csky_860_fpga_4.9_glibc_br_defconfig_56683a5a67ecf1dd0e67b05b9541de74530d0047.tar.xz; + mkdir tools; + tar -Jxf csky_toolchain_csky_860_fpga_4.9_glibc_br_defconfig_56683a5a67ecf1dd0e67b05b9541de74530d0047.tar.xz -C tools; + LD_LIBRARY_PATH=./tools/lib ./tools/csky-qemu/bin/qemu-system-cskyv2 -M virt -cpu ck860 -smp 2 -kernel output/images/vmlinux -nographic; + +For ck810/ck807: + LD_LIBRARY_PATH=./tools/lib ./tools/csky-qemu/bin/qemu-system-cskyv2 -M virt -kernel output/images/vmlinux -nographic; + +For ck610: + LD_LIBRARY_PATH=./tools/lib ./tools/csky-qemu/bin/qemu-system-cskyv1 -M virt -kernel output/images/vmlinux -nographic; + +The login prompt will appear in the terminal that started Qemu. Username is root and no password. + +Tested with QEMU 3.0 in https://gitlab.com/guoren83/qemu, C-SKY qemu upstream is on its way. -- 2.7.4