linux-csky.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: guoren@kernel.org
To: Thomas Petazzoni <thomas.petazzoni@bootlin.com>,
	Thomas De Schampheleire <thomas.de_schampheleire@nokia.com>,
	arnout@mind.be
Cc: linux-csky@vger.kernel.org, buildroot@buildroot.org,
	zhiwei_liu@c-sky.com, Guo Ren <ren_guo@c-sky.com>
Subject: [PATCH V5 2/2] board/qemu/csky/readme.txt: Add C-SKY Qemu run Documentation
Date: Sun,  2 Jun 2019 17:41:50 +0800	[thread overview]
Message-ID: <1559468510-22085-2-git-send-email-guoren@kernel.org> (raw)
In-Reply-To: <1559468510-22085-1-git-send-email-guoren@kernel.org>

From: Guo Ren <ren_guo@c-sky.com>

Signed-off-by: Guo Ren <ren_guo@c-sky.com>
Cc: Liu Zhiwei <zhiwei_liu@c-sky.com>
Cc: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
---
 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


  reply	other threads:[~2019-06-02  9:42 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-06-02  9:41 [PATCH V5 1/2] configs/qemu_cskyXXX_virt: new defconfig guoren
2019-06-02  9:41 ` guoren [this message]
2019-06-02 11:46   ` [Buildroot] [PATCH V5 2/2] board/qemu/csky/readme.txt: Add C-SKY Qemu run Documentation Thomas Petazzoni
2019-06-03  6:47     ` Guo Ren
2019-06-03  7:32       ` Thomas Petazzoni
2019-06-02 10:32 ` [Buildroot] [PATCH V5 1/2] configs/qemu_cskyXXX_virt: new defconfig Thomas Petazzoni
2019-06-03  7:00   ` Guo Ren
2019-06-03  7:30     ` Thomas Petazzoni

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1559468510-22085-2-git-send-email-guoren@kernel.org \
    --to=guoren@kernel.org \
    --cc=arnout@mind.be \
    --cc=buildroot@buildroot.org \
    --cc=linux-csky@vger.kernel.org \
    --cc=ren_guo@c-sky.com \
    --cc=thomas.de_schampheleire@nokia.com \
    --cc=thomas.petazzoni@bootlin.com \
    --cc=zhiwei_liu@c-sky.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).