From: Chen Gang <gang.chen.5i5j@gmail.com>
To: Michael Tokarev <mjt@tls.msk.ru>,
Guenter Roeck <linux@roeck-us.net>,
Peter Maydell <peter.maydell@linaro.org>
Cc: QEMU Trivial <qemu-trivial@nongnu.org>,
qemu-devel <qemu-devel@nongnu.org>
Subject: Re: [Qemu-devel] [Qemu-trivial] [PATCH] pc-bios: petalogix-s3adsp1800.dtb: Use 'xlnx, xps-ethernetlite-2.00.a' instead of 'xlnx, xps-ethernetlite-2.00.b'
Date: Tue, 11 Nov 2014 16:10:51 +0800 [thread overview]
Message-ID: <5461C48B.5040307@gmail.com> (raw)
In-Reply-To: <5461A8C7.5070104@msgid.tls.msk.ru>
On 11/11/14 14:12, Michael Tokarev wrote:
> 03.11.2014 12:26, Chen Gang wrote:
>> For Linux upstream kernel (e.g. 3.17-rc7), the related compatible string
>> 'xlnx,xps-ethernetlite-2.00.a' is supported, but 'b' is not supported,
>> so change qemu dtb file to match kernel driver.
>>
>> The related operation for qemu (after this patch):
>>
>> yum install libvirt
>> yum install tunctl
>> tunctl -b
>> ip link set tap0 up
>> brctl addif virbr0 tap0
>>
>> ./configure
>> make
>> ./microblaze-softmmu/qemu-system-microblaze -M petalogix-s3adsp1800 \
>> -kernel ../linux-stable.microblaze/arch/microblaze/boot/linux.bin \
>> -no-reboot -append "console=ttyUL0,115200 doreboot" -nographic \
>> -net nic,vlan=0,model=xlnx.xps-ethernetlite,macaddr=00:16:35:AF:94:00 \
>> -net tap,vlan=0,ifname=tap0,script=no,downscript=no
>>
>> in microblaze qemu bash (guest machine):
>>
>> ifconfig eth0 add 192.168.122.2 netmask 255.255.255.0
>> ifconfig eth0 up
>>
>> Then can telnet 192.168.122.2 directly without password from the host
>> machine.
>>
>> The related operation for generating new dtb:
>>
>> building Linux kernel firstly, then get dts tool "./scripts/dts/dts".
>> "./scripts/dtc/dtc -I dtb -O dts -o ../work.dts ../qemu/petalogix-s3adsp1800.dtb"
>> edit work.dts (replace 'xlnx,xps-ethernetlite-2.00.b')
>> "./scripts/dtc/dtc -I dts -O dtb -o ..qemu/petalogix-s3adsp1800.dtb ../work.dts"
>
> Oh well. I don't like this patch to be lost, but I must admit I don't
> understand what's happening here. Applied to -trivial.
>
OK, thank you for your work. And I shall try to make another patch for
qemu within this month.
Thanks.
--
Chen Gang
Open, share, and attitude like air, water, and life which God blessed
prev parent reply other threads:[~2014-11-11 8:05 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-11-03 9:26 [Qemu-devel] [PATCH] pc-bios: petalogix-s3adsp1800.dtb: Use 'xlnx, xps-ethernetlite-2.00.a' instead of 'xlnx, xps-ethernetlite-2.00.b' Chen Gang
2014-11-03 12:17 ` Michael Tokarev
2014-11-03 13:45 ` Chen Gang
2014-11-11 6:12 ` [Qemu-devel] [Qemu-trivial] " Michael Tokarev
2014-11-11 8:10 ` Chen Gang [this message]
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=5461C48B.5040307@gmail.com \
--to=gang.chen.5i5j@gmail.com \
--cc=linux@roeck-us.net \
--cc=mjt@tls.msk.ru \
--cc=peter.maydell@linaro.org \
--cc=qemu-devel@nongnu.org \
--cc=qemu-trivial@nongnu.org \
/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).