All of lore.kernel.org
 help / color / mirror / Atom feed
From: Guo Ren <guoren@kernel.org>
To: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
Cc: Thomas De Schampheleire <thomas.de_schampheleire@nokia.com>,
	arnout@mind.be, Guo Ren <ren_guo@c-sky.com>,
	zhiwei_liu@c-sky.com, linux-csky@vger.kernel.org,
	buildroot@buildroot.org
Subject: Re: [Buildroot] [PATCH V5 2/2] board/qemu/csky/readme.txt: Add C-SKY Qemu run Documentation
Date: Mon, 3 Jun 2019 14:47:09 +0800	[thread overview]
Message-ID: <CAJF2gTSGEKBE6=EL7PyKvxJ0mF+2wFjXvBxyCZOfFPJ8jVW7hg@mail.gmail.com> (raw)
In-Reply-To: <20190602134620.77a41eb3@windsurf>

Hello Thomas,

On Sun, Jun 2, 2019 at 7:46 PM Thomas Petazzoni
<thomas.petazzoni@bootlin.com> wrote:
>
> Hello Guo,
>
> On Sun,  2 Jun 2019 17:41:50 +0800
> guoren@kernel.org 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

WARNING: multiple messages have this Message-ID (diff)
From: Guo Ren <guoren@kernel.org>
To: buildroot@busybox.net
Subject: [Buildroot] [PATCH V5 2/2] board/qemu/csky/readme.txt: Add C-SKY Qemu run Documentation
Date: Mon, 3 Jun 2019 14:47:09 +0800	[thread overview]
Message-ID: <CAJF2gTSGEKBE6=EL7PyKvxJ0mF+2wFjXvBxyCZOfFPJ8jVW7hg@mail.gmail.com> (raw)
In-Reply-To: <20190602134620.77a41eb3@windsurf>

Hello Thomas,

On Sun, Jun 2, 2019 at 7:46 PM Thomas Petazzoni
<thomas.petazzoni@bootlin.com> wrote:
>
> Hello Guo,
>
> On Sun,  2 Jun 2019 17:41:50 +0800
> guoren at kernel.org 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

  reply	other threads:[~2019-06-03  6:47 UTC|newest]

Thread overview: 16+ 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 ` [Buildroot] " guoren at kernel.org
2019-06-02  9:41 ` [PATCH V5 2/2] board/qemu/csky/readme.txt: Add C-SKY Qemu run Documentation guoren
2019-06-02  9:41   ` [Buildroot] " guoren at kernel.org
2019-06-02 11:46   ` Thomas Petazzoni
2019-06-02 11:46     ` Thomas Petazzoni
2019-06-03  6:47     ` Guo Ren [this message]
2019-06-03  6:47       ` Guo Ren
2019-06-03  7:32       ` Thomas Petazzoni
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-02 10:32   ` Thomas Petazzoni
2019-06-03  7:00   ` Guo Ren
2019-06-03  7:00     ` Guo Ren
2019-06-03  7:30     ` Thomas Petazzoni
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='CAJF2gTSGEKBE6=EL7PyKvxJ0mF+2wFjXvBxyCZOfFPJ8jVW7hg@mail.gmail.com' \
    --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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.