Hello Thomas, On Sun, Jun 2, 2019 at 7:46 PM Thomas Petazzoni <thomas.petazzoni@xxxxxxxxxxx> wrote: > > Hello Guo, > > On Sun, 2 Jun 2019 17:41:50 +0800 > guoren@xxxxxxxxxx wrote: > > > + 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; > > Instead of this, I think it makes sense to add support for C-SKY in the > host-qemu package. It should be fairly easy to do, and then you can > enable building host-qemu as part of the c-sky qemu defconfigs. Qemu upstream is under way and I want to add host-qemu for C-SKY after that. See here: https://gitlab.com/c-sky/buildroot/tree/master/package/csky-qemu I don't use package/qemu to build csky qemu and I add another csky-qemu package for simple. Best Regards Guo Ren