From mboxrd@z Thu Jan  1 00:00:00 1970
Received: from list by lists.gnu.org with archive (Exim 4.71)
	id 1XlDur-0002YE-1w
	for mharc-qemu-trivial@gnu.org; Mon, 03 Nov 2014 04:27:13 -0500
Received: from eggs.gnu.org ([2001:4830:134:3::10]:56632)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <gang.chen.5i5j@gmail.com>) id 1XlDug-0002Hs-5i
	for qemu-trivial@nongnu.org; Mon, 03 Nov 2014 04:27:11 -0500
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <gang.chen.5i5j@gmail.com>) id 1XlDuW-0002Il-WA
	for qemu-trivial@nongnu.org; Mon, 03 Nov 2014 04:27:02 -0500
Received: from mail-pa0-x22e.google.com ([2607:f8b0:400e:c03::22e]:50814)
	by eggs.gnu.org with esmtp (Exim 4.71)
	(envelope-from <gang.chen.5i5j@gmail.com>)
	id 1XlDuE-000208-Gs; Mon, 03 Nov 2014 04:26:34 -0500
Received: by mail-pa0-f46.google.com with SMTP id lf10so11840672pab.33
	for <multiple recipients>; Mon, 03 Nov 2014 01:26:32 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113;
	h=message-id:date:from:user-agent:mime-version:to:cc:subject
	:content-type; bh=BlzF+np6XW37q5sILX8F6QcYqCEpA3k1cdmny975NeU=;
	b=gUfnx1gmcC/7j7h1YQJbbFtifUBe4fS1wkOQdDecN9uPx+JOwnGJPrtoeU1fRBI1YV
	oAu0fbfi0T13EwXt79EDiFgUrL5TxLEh/d2knLn38CP9RQX5xUx01n7gIvAmpkbNFzkh
	3wCGvTxjXm7Ome8J9pNq1hljTZUjsXfqZCStG5bZN2IIjZHtp5T2V/GyxSJC2EPGoViL
	TiNFtDW+8vYt19EkwipNlyh5t2wseXiP0E8sO5wFkowcSLa0Izd8UNLoftNWUbgN+YtS
	bT8tqeMKNC73vDDO+w7C6Y73h6G6X0Bsm5V9BPGstrrTeYtecxqqp9gCToS/H/EXXyFj
	kQ2A==
X-Received: by 10.70.23.133 with SMTP id m5mr2119336pdf.131.1415006792739;
	Mon, 03 Nov 2014 01:26:32 -0800 (PST)
Received: from [192.168.1.102] ([223.72.65.78])
	by mx.google.com with ESMTPSA id
	dj1sm16658980pdb.10.2014.11.03.01.26.29 for <multiple recipients>
	(version=TLSv1 cipher=RC4-SHA bits=128/128);
	Mon, 03 Nov 2014 01:26:31 -0800 (PST)
Message-ID: <54574A46.3060709@gmail.com>
Date: Mon, 03 Nov 2014 17:26:30 +0800
From: Chen Gang <gang.chen.5i5j@gmail.com>
User-Agent: Mozilla/5.0 (X11; Linux x86_64;
	rv:17.0) Gecko/20130625 Thunderbird/17.0.7
MIME-Version: 1.0
To: Guenter Roeck <linux@roeck-us.net>, 
	Peter Maydell <peter.maydell@linaro.org>
Content-Type: multipart/mixed; boundary="------------090103070807050709090305"
X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address
	(bad octet value).
X-Received-From: 2607:f8b0:400e:c03::22e
Cc: QEMU Trivial <qemu-trivial@nongnu.org>, qemu-devel <qemu-devel@nongnu.org>
Subject: [Qemu-trivial] [PATCH] pc-bios: petalogix-s3adsp1800.dtb: Use 'xlnx,
 xps-ethernetlite-2.00.a' instead of 'xlnx, xps-ethernetlite-2.00.b'
X-BeenThere: qemu-trivial@nongnu.org
X-Mailman-Version: 2.1.14
Precedence: list
List-Id: <qemu-trivial.nongnu.org>
List-Unsubscribe: <https://lists.nongnu.org/mailman/options/qemu-trivial>,
	<mailto:qemu-trivial-request@nongnu.org?subject=unsubscribe>
List-Archive: <http://lists.nongnu.org/archive/html/qemu-trivial>
List-Post: <mailto:qemu-trivial@nongnu.org>
List-Help: <mailto:qemu-trivial-request@nongnu.org?subject=help>
List-Subscribe: <https://lists.nongnu.org/mailman/listinfo/qemu-trivial>,
	<mailto:qemu-trivial-request@nongnu.org?subject=subscribe>
X-List-Received-Date: Mon, 03 Nov 2014 09:27:11 -0000

This is a multi-part message in MIME format.
--------------090103070807050709090305
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit

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"

(Since I am not quite sure whether can read this patch or not, I put the
related dtb file in attachment, please check, thanks).

Signed-off-by: Chen Gang <gang.chen.5i5j@gmail.com>
---
 pc-bios/petalogix-s3adsp1800.dtb | Bin 8259 -> 8259 bytes
 1 file changed, 0 insertions(+), 0 deletions(-)

diff --git a/pc-bios/petalogix-s3adsp1800.dtb b/pc-bios/petalogix-s3adsp1800.dtb
index 93c5973fd81244268aace6e5e6006ad6fb4d6199..8ac80f2f2d191a8491b71182be50b3df2989551d 100644
GIT binary patch
delta 14
VcmX@?aM)pkI6GtFW(js}NdPEw1Wf<{

delta 14
VcmX@?aM)pkI6Gs~W(js}NdPE$1Wo_|

-- 
1.9.3

--------------090103070807050709090305
Content-Type: application/octet-stream;
 name="petalogix-s3adsp1800.dtb"
Content-Transfer-Encoding: base64
Content-Disposition: attachment;
 filename="petalogix-s3adsp1800.dtb"

0A3+7QAAIEMAAAA4AAASEAAAACgAAAARAAAAEAAAAAAAAA4zAAAR2AAAAAAAAAAAAAAAAAAA
AAAAAAABAAAAAAAAAAMAAAAEAAAAAAAAAAEAAAADAAAABAAAAA8AAAABAAAAAwAAABAAAAAb
eGxueCxtaWNyb2JsYXplAAAAAAMAAAAIAAAAJnRlc3RpbmcAAAAAAW1lbW9yeUA5MDAwMDAw
MAAAAAADAAAABwAAACxtZW1vcnkAAAAAAAMAAAAIAAAAOJAAAAAIAAAAAAAAAgAAAAFjaG9z
ZW4AAAAAAAMAAAAWAAAAPGNvbnNvbGU9dHR5VUwwLDExNTIwMAAAAAAAAAMAAAAXAAAARS9w
bGJAMC9zZXJpYWxAODQwMDAwMDAAAAAAAAIAAAABY3B1cwAAAAAAAAADAAAABAAAAAAAAAAB
AAAAAwAAAAQAAABXAAAAAQAAAAMAAAAEAAAADwAAAAAAAAABY3B1QDAAAAAAAAADAAAABAAA
AF0DuaygAAAAAwAAABcAAAAbeGxueCxtaWNyb2JsYXplLTcuMTAuZAAAAAAAAwAAAAQAAABt
kAAAAAAAAAMAAAAEAAAAfpf///8AAAADAAAABAAAAI8AAAAQAAAAAwAAAAQAAAChAAAIAAAA
AAMAAAAEAAAALGNwdQAAAAADAAAABAAAAK6QAAAAAAAAAwAAAAQAAAC/l////wAAAAMAAAAE
AAAA0AAAABAAAAADAAAABAAAAOIAAAgAAAAAAwAAABIAAAAmbWljcm9ibGF6ZSw3LjEwLmQA
AAAAAAADAAAABAAAADgAAAAAAAAAAwAAAAQAAADvA7msoAAAAAMAAAAEAAABAgAAABAAAAAD
AAAABAAAARUAAAABAAAAAwAAAAQAAAEqAAAAAQAAAAMAAAAEAAABPwAAAAAAAAADAAAABAAA
AVMAAAgAA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sdHJpLWRlZmF1
bHQtMgBjdXJyZW50LXNwZWVkAHBvcnQtbnVtYmVyAHhsbngsYmF1ZHJhdGUAeGxueCxkYXRh
LWJpdHMAeGxueCxvZGQtcGFyaXR5AHhsbngsdXNlLXBhcml0eQB4bG54LGp0YWctY2hhaW4A
eGxueCxtYi1kYmctcG9ydHMAeGxueCx1YXJ0LXdpZHRoAHhsbngsdXNlLXVhcnQAeGxueCx3
cml0ZS1mc2wtcG9ydHMAI2ludGVycnVwdC1jZWxscwBpbnRlcnJ1cHQtY29udHJvbGxlcgB4
bG54LGtpbmQtb2YtaW50cgB4bG54LG51bS1pbnRyLWlucHV0cwBsaW51eCxwaGFuZGxlAHhs
bngsY291bnQtd2lkdGgAeGxueCxnZW4wLWFzc2VydAB4bG54LGdlbjEtYXNzZXJ0AHhsbngs
b25lLXRpbWVyLW9ubHkAeGxueCx0cmlnMC1hc3NlcnQAeGxueCx0cmlnMS1hc3NlcnQA
--------------090103070807050709090305--


From mboxrd@z Thu Jan  1 00:00:00 1970
Received: from list by lists.gnu.org with archive (Exim 4.71)
	id 1XlGaY-0007wL-Od
	for mharc-qemu-trivial@gnu.org; Mon, 03 Nov 2014 07:18:26 -0500
Received: from eggs.gnu.org ([2001:4830:134:3::10]:44396)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <mjt@tls.msk.ru>) id 1XlGaQ-0007h8-7k
	for qemu-trivial@nongnu.org; Mon, 03 Nov 2014 07:18:24 -0500
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <mjt@tls.msk.ru>) id 1XlGaK-0000OS-44
	for qemu-trivial@nongnu.org; Mon, 03 Nov 2014 07:18:18 -0500
Received: from isrv.corpit.ru ([86.62.121.231]:33639)
	by eggs.gnu.org with esmtp (Exim 4.71)
	(envelope-from <mjt@tls.msk.ru>)
	id 1XlGa7-0000MA-BG; Mon, 03 Nov 2014 07:17:59 -0500
Received: from [192.168.88.2] (mjt.vpn.tls.msk.ru [192.168.177.99])
	by isrv.corpit.ru (Postfix) with ESMTP id 55C38404DE;
	Mon,  3 Nov 2014 15:17:57 +0300 (MSK)
Message-ID: <54577274.9070604@msgid.tls.msk.ru>
Date: Mon, 03 Nov 2014 15:17:56 +0300
From: Michael Tokarev <mjt@tls.msk.ru>
Organization: Telecom Service, JSC
User-Agent: Mozilla/5.0 (X11; Linux x86_64;
	rv:31.0) Gecko/20100101 Icedove/31.2.0
MIME-Version: 1.0
To: Chen Gang <gang.chen.5i5j@gmail.com>, Guenter Roeck <linux@roeck-us.net>,
	Peter Maydell <peter.maydell@linaro.org>
References: <54574A46.3060709@gmail.com>
In-Reply-To: <54574A46.3060709@gmail.com>
OpenPGP: id=804465C5
Content-Type: text/plain; charset=windows-1252
Content-Transfer-Encoding: 7bit
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x
X-Received-From: 86.62.121.231
Cc: QEMU Trivial <qemu-trivial@nongnu.org>, qemu-devel <qemu-devel@nongnu.org>
Subject: Re: [Qemu-trivial] [PATCH] pc-bios: petalogix-s3adsp1800.dtb: Use
 'xlnx, xps-ethernetlite-2.00.a' instead of 'xlnx, xps-ethernetlite-2.00.b'
X-BeenThere: qemu-trivial@nongnu.org
X-Mailman-Version: 2.1.14
Precedence: list
List-Id: <qemu-trivial.nongnu.org>
List-Unsubscribe: <https://lists.nongnu.org/mailman/options/qemu-trivial>,
	<mailto:qemu-trivial-request@nongnu.org?subject=unsubscribe>
List-Archive: <http://lists.nongnu.org/archive/html/qemu-trivial>
List-Post: <mailto:qemu-trivial@nongnu.org>
List-Help: <mailto:qemu-trivial-request@nongnu.org?subject=help>
List-Subscribe: <https://lists.nongnu.org/mailman/listinfo/qemu-trivial>,
	<mailto:qemu-trivial-request@nongnu.org?subject=subscribe>
X-List-Received-Date: Mon, 03 Nov 2014 12:18:24 -0000

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.

/me does not know anything about this stuff at all.  But anyway...

> diff --git a/pc-bios/petalogix-s3adsp1800.dtb b/pc-bios/petalogix-s3adsp1800.dtb
> index 93c5973fd81244268aace6e5e6006ad6fb4d6199..8ac80f2f2d191a8491b71182be50b3df2989551d 100644
> GIT binary patch
> delta 14
> VcmX@?aM)pkI6GtFW(js}NdPEw1Wf<{
> 
> delta 14
> VcmX@?aM)pkI6Gs~W(js}NdPE$1Wo_|

Is it a binary-only file without source?  Where it come from?

(it is not a simple question, eg, on Debian, binary files are
disallowed (at least in main section)).

Thanks,

/mjt



From mboxrd@z Thu Jan  1 00:00:00 1970
Received: from list by lists.gnu.org with archive (Exim 4.71)
	id 1XlHxL-0006xk-8K
	for mharc-qemu-trivial@gnu.org; Mon, 03 Nov 2014 08:46:03 -0500
Received: from eggs.gnu.org ([2001:4830:134:3::10]:38988)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <gang.chen.5i5j@gmail.com>) id 1XlHxE-0006ls-6a
	for qemu-trivial@nongnu.org; Mon, 03 Nov 2014 08:46:01 -0500
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <gang.chen.5i5j@gmail.com>) id 1XlHx7-0004BN-C4
	for qemu-trivial@nongnu.org; Mon, 03 Nov 2014 08:45:56 -0500
Received: from mail-pa0-x22e.google.com ([2607:f8b0:400e:c03::22e]:64183)
	by eggs.gnu.org with esmtp (Exim 4.71)
	(envelope-from <gang.chen.5i5j@gmail.com>)
	id 1XlHx6-0004Ag-Th; Mon, 03 Nov 2014 08:45:49 -0500
Received: by mail-pa0-f46.google.com with SMTP id lf10so12112068pab.19
	for <multiple recipients>; Mon, 03 Nov 2014 05:45:47 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113;
	h=content-type:mime-version:subject:from:in-reply-to:date:cc
	:content-transfer-encoding:message-id:references:to;
	bh=r6E2d7u4S13txha9SOEPg7bKOr/49b5TIY0sCd/M1ws=;
	b=QqemfoBCEDcPRFbvI4ubGZReR2YXHZ+pzEjILvvUKDqjhJNhAp4atz4Y4jbdZRZW20
	OIjCEHl8J6BSRcqZMwn88wHo0bl2SWv22JGo3a4DF0WT2sRoRiJ+A3EdmOdijv2K4h0s
	yIwNLL3pClLyGPuC8NAmJqRQQwU1iMENLxGwiHqhC2Myw6ks8acQBLE8Thb89yH8CLTa
	CR8YLPFv4GycWK7b0W4TcbprGvLyCX/+WVlbfHazjTUKkKpSpnWCX71XMoU650wsqQbw
	9WimpVV9illxouF9ayf7JiMXZnxL8QfzoMrEs88W5btoA4eW7L5h1210tZjjIGNur5Ms
	xaXw==
X-Received: by 10.68.203.41 with SMTP id kn9mr42831709pbc.47.1415022347550;
	Mon, 03 Nov 2014 05:45:47 -0800 (PST)
Received: from [192.168.1.101] ([223.72.65.78])
	by mx.google.com with ESMTPSA id
	ap5sm17376568pad.22.2014.11.03.05.45.45 for <multiple recipients>
	(version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128);
	Mon, 03 Nov 2014 05:45:45 -0800 (PST)
Content-Type: text/plain;
	charset=gb2312
Mime-Version: 1.0 (1.0)
From: Chen Gang <gang.chen.5i5j@gmail.com>
X-Mailer: iPad Mail (11D257)
In-Reply-To: <54577274.9070604@msgid.tls.msk.ru>
Date: Mon, 3 Nov 2014 21:45:43 +0800
Content-Transfer-Encoding: quoted-printable
Message-Id: <E90D5895-E207-40BA-B5E9-DF82588F59EC@gmail.com>
References: <54574A46.3060709@gmail.com> <54577274.9070604@msgid.tls.msk.ru>
To: Michael Tokarev <mjt@tls.msk.ru>
X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address
	(bad octet value).
X-Received-From: 2607:f8b0:400e:c03::22e
Cc: QEMU Trivial <qemu-trivial@nongnu.org>,
	Peter Maydell <peter.maydell@linaro.org>,
	qemu-devel <qemu-devel@nongnu.org>, Guenter Roeck <linux@roeck-us.net>
Subject: Re: [Qemu-trivial] [PATCH] pc-bios: petalogix-s3adsp1800.dtb: Use
	'xlnx, xps-ethernetlite-2.00.a' instead of 'xlnx,
	xps-ethernetlite-2.00.b'
X-BeenThere: qemu-trivial@nongnu.org
X-Mailman-Version: 2.1.14
Precedence: list
List-Id: <qemu-trivial.nongnu.org>
List-Unsubscribe: <https://lists.nongnu.org/mailman/options/qemu-trivial>,
	<mailto:qemu-trivial-request@nongnu.org?subject=unsubscribe>
List-Archive: <http://lists.nongnu.org/archive/html/qemu-trivial>
List-Post: <mailto:qemu-trivial@nongnu.org>
List-Help: <mailto:qemu-trivial-request@nongnu.org?subject=help>
List-Subscribe: <https://lists.nongnu.org/mailman/listinfo/qemu-trivial>,
	<mailto:qemu-trivial-request@nongnu.org?subject=subscribe>
X-List-Received-Date: Mon, 03 Nov 2014 13:46:02 -0000


As far as I know, It is a hardware description file. Can convert it to dts
format which is a text file, then can read and edit it, after finish, can
convert it to dtb format again.

dts and dtb can convert with each other without any information lost.
One tool for converting is "scripts/dts/dts" in upstream kernel (after
finish building kernel).

So for me, we can also treat dtb file as open source file. It is integrated
into qemu in 2009 (please "git log -p" to this file for more details).

Thanks.

=B7=A2=D7=D4=CE=D2=B5=C4 iPad

> =D4=DA 2014=C4=EA11=D4=C23=C8=D5=A3=AC=CF=C2=CE=E78:17=A3=ACMichael Tokare=
v <mjt@tls.msk.ru> =D0=B4=B5=C0=A3=BA
>=20
> 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.
>=20
> /me does not know anything about this stuff at all.  But anyway...
>=20
>> diff --git a/pc-bios/petalogix-s3adsp1800.dtb b/pc-bios/petalogix-s3adsp1=
800.dtb
>> index 93c5973fd81244268aace6e5e6006ad6fb4d6199..8ac80f2f2d191a8491b71182b=
e50b3df2989551d 100644
>> GIT binary patch
>> delta 14
>> VcmX@?aM)pkI6GtFW(js}NdPEw1Wf<{
>>=20
>> delta 14
>> VcmX@?aM)pkI6Gs~W(js}NdPE$1Wo_|
>=20
> Is it a binary-only file without source?  Where it come from?
>=20
> (it is not a simple question, eg, on Debian, binary files are
> disallowed (at least in main section)).
>=20
> Thanks,
>=20
> /mjt
>=20


From mboxrd@z Thu Jan  1 00:00:00 1970
Received: from list by lists.gnu.org with archive (Exim 4.71)
	id 1Xo4hA-00035o-AA
	for mharc-qemu-trivial@gnu.org; Tue, 11 Nov 2014 01:12:52 -0500
Received: from eggs.gnu.org ([2001:4830:134:3::10]:48835)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <mjt@tls.msk.ru>) id 1Xo4h2-0002r0-2E
	for qemu-trivial@nongnu.org; Tue, 11 Nov 2014 01:12:50 -0500
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <mjt@tls.msk.ru>) id 1Xo4gv-0005sj-Ty
	for qemu-trivial@nongnu.org; Tue, 11 Nov 2014 01:12:44 -0500
Received: from isrv.corpit.ru ([86.62.121.231]:36452)
	by eggs.gnu.org with esmtp (Exim 4.71)
	(envelope-from <mjt@tls.msk.ru>)
	id 1Xo4gi-0005pt-Ve; Tue, 11 Nov 2014 01:12:25 -0500
Received: from [192.168.88.2] (mjt.vpn.tls.msk.ru [192.168.177.99])
	by isrv.corpit.ru (Postfix) with ESMTP id AEC2A41C62;
	Tue, 11 Nov 2014 09:12:23 +0300 (MSK)
Message-ID: <5461A8C7.5070104@msgid.tls.msk.ru>
Date: Tue, 11 Nov 2014 09:12:23 +0300
From: Michael Tokarev <mjt@tls.msk.ru>
Organization: Telecom Service, JSC
User-Agent: Mozilla/5.0 (X11; Linux x86_64;
	rv:31.0) Gecko/20100101 Icedove/31.2.0
MIME-Version: 1.0
To: Chen Gang <gang.chen.5i5j@gmail.com>, Guenter Roeck <linux@roeck-us.net>,
	Peter Maydell <peter.maydell@linaro.org>
References: <54574A46.3060709@gmail.com>
In-Reply-To: <54574A46.3060709@gmail.com>
OpenPGP: id=804465C5
Content-Type: text/plain; charset=windows-1252
Content-Transfer-Encoding: 7bit
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x
X-Received-From: 86.62.121.231
Cc: QEMU Trivial <qemu-trivial@nongnu.org>, qemu-devel <qemu-devel@nongnu.org>
Subject: Re: [Qemu-trivial] [PATCH] pc-bios: petalogix-s3adsp1800.dtb: Use
 'xlnx, xps-ethernetlite-2.00.a' instead of 'xlnx, xps-ethernetlite-2.00.b'
X-BeenThere: qemu-trivial@nongnu.org
X-Mailman-Version: 2.1.14
Precedence: list
List-Id: <qemu-trivial.nongnu.org>
List-Unsubscribe: <https://lists.nongnu.org/mailman/options/qemu-trivial>,
	<mailto:qemu-trivial-request@nongnu.org?subject=unsubscribe>
List-Archive: <http://lists.nongnu.org/archive/html/qemu-trivial>
List-Post: <mailto:qemu-trivial@nongnu.org>
List-Help: <mailto:qemu-trivial-request@nongnu.org?subject=help>
List-Subscribe: <https://lists.nongnu.org/mailman/listinfo/qemu-trivial>,
	<mailto:qemu-trivial-request@nongnu.org?subject=subscribe>
X-List-Received-Date: Tue, 11 Nov 2014 06:12:50 -0000

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.

Thanks,

/mjt


From mboxrd@z Thu Jan  1 00:00:00 1970
Received: from list by lists.gnu.org with archive (Exim 4.71)
	id 1Xo6S3-0005A8-5U
	for mharc-qemu-trivial@gnu.org; Tue, 11 Nov 2014 03:05:23 -0500
Received: from eggs.gnu.org ([2001:4830:134:3::10]:36288)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <gang.chen.5i5j@gmail.com>) id 1Xo6Rr-0004v4-EE
	for qemu-trivial@nongnu.org; Tue, 11 Nov 2014 03:05:20 -0500
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <gang.chen.5i5j@gmail.com>) id 1Xo6Ri-0000ga-De
	for qemu-trivial@nongnu.org; Tue, 11 Nov 2014 03:05:11 -0500
Received: from mail-pd0-x22f.google.com ([2607:f8b0:400e:c02::22f]:44654)
	by eggs.gnu.org with esmtp (Exim 4.71)
	(envelope-from <gang.chen.5i5j@gmail.com>)
	id 1Xo6RP-0000br-2n; Tue, 11 Nov 2014 03:04:43 -0500
Received: by mail-pd0-f175.google.com with SMTP id y13so9661184pdi.34
	for <multiple recipients>; Tue, 11 Nov 2014 00:04:41 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113;
	h=message-id:date:from:user-agent:mime-version:to:cc:subject
	:references:in-reply-to:content-type:content-transfer-encoding;
	bh=QrLzdwguS2tzxkXgupKHGSGXm+GBoDuWSr3geP9ekvU=;
	b=oljniTAJRzrBzzoFbtDdfHmXe/1bCs4luw23A8A22MD8RSu9cggeOnREVobUVf9DIk
	AXA5lqX8xRCq87dcYAEyBUNvoTBbg43kkLz1poHwZD+Cd+SNfCyj6vhFqmqOHWtA7trw
	fjne/CLZJxQqSgV5smzznqPTDNbPVYSQYHRlhOUlkDp2kSbYpGLJAXW0EWtGTYWqQrD1
	/qsiVIE97GT97XUaNIaBiu93JCpxCsvF4n58sc+aFg64n8Bcvnl4LExk0Ta21iwZla2U
	JW7b3Tj2tOGlHxaH/FUHInslzU5K+LDs4v/Iwq9GKKocaEdsSOxbxlnp4F3iyRP8JYAA
	95NA==
X-Received: by 10.66.161.197 with SMTP id xu5mr37490890pab.3.1415693081064;
	Tue, 11 Nov 2014 00:04:41 -0800 (PST)
Received: from ShengShiZhuChengdeMacBook-Pro.local ([124.127.118.42])
	by mx.google.com with ESMTPSA id
	wa3sm18653944pac.18.2014.11.11.00.04.34 for <multiple recipients>
	(version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128);
	Tue, 11 Nov 2014 00:04:39 -0800 (PST)
Message-ID: <5461C48B.5040307@gmail.com>
Date: Tue, 11 Nov 2014 16:10:51 +0800
From: Chen Gang <gang.chen.5i5j@gmail.com>
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.9;
	rv:31.0) Gecko/20100101 Thunderbird/31.2.0
MIME-Version: 1.0
To: Michael Tokarev <mjt@tls.msk.ru>, Guenter Roeck <linux@roeck-us.net>, 
	Peter Maydell <peter.maydell@linaro.org>
References: <54574A46.3060709@gmail.com> <5461A8C7.5070104@msgid.tls.msk.ru>
In-Reply-To: <5461A8C7.5070104@msgid.tls.msk.ru>
Content-Type: text/plain; charset=windows-1252
Content-Transfer-Encoding: 7bit
X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address
	(bad octet value).
X-Received-From: 2607:f8b0:400e:c02::22f
Cc: QEMU Trivial <qemu-trivial@nongnu.org>, qemu-devel <qemu-devel@nongnu.org>
Subject: Re: [Qemu-trivial] [PATCH] pc-bios: petalogix-s3adsp1800.dtb: Use
 'xlnx, xps-ethernetlite-2.00.a' instead of 'xlnx, xps-ethernetlite-2.00.b'
X-BeenThere: qemu-trivial@nongnu.org
X-Mailman-Version: 2.1.14
Precedence: list
List-Id: <qemu-trivial.nongnu.org>
List-Unsubscribe: <https://lists.nongnu.org/mailman/options/qemu-trivial>,
	<mailto:qemu-trivial-request@nongnu.org?subject=unsubscribe>
List-Archive: <http://lists.nongnu.org/archive/html/qemu-trivial>
List-Post: <mailto:qemu-trivial@nongnu.org>
List-Help: <mailto:qemu-trivial-request@nongnu.org?subject=help>
List-Subscribe: <https://lists.nongnu.org/mailman/listinfo/qemu-trivial>,
	<mailto:qemu-trivial-request@nongnu.org?subject=subscribe>
X-List-Received-Date: Tue, 11 Nov 2014 08:05:20 -0000

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


From mboxrd@z Thu Jan  1 00:00:00 1970
Received: from eggs.gnu.org ([2001:4830:134:3::10]:56543)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <gang.chen.5i5j@gmail.com>) id 1XlDuN-00027M-Up
	for qemu-devel@nongnu.org; Mon, 03 Nov 2014 04:26:52 -0500
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <gang.chen.5i5j@gmail.com>) id 1XlDuE-00020N-SJ
	for qemu-devel@nongnu.org; Mon, 03 Nov 2014 04:26:43 -0500
Message-ID: <54574A46.3060709@gmail.com>
Date: Mon, 03 Nov 2014 17:26:30 +0800
From: Chen Gang <gang.chen.5i5j@gmail.com>
MIME-Version: 1.0
Content-Type: multipart/mixed; boundary="------------090103070807050709090305"
Subject: [Qemu-devel] [PATCH] pc-bios: petalogix-s3adsp1800.dtb: Use 'xlnx,
 xps-ethernetlite-2.00.a' instead of 'xlnx, xps-ethernetlite-2.00.b'
List-Id: <qemu-devel.nongnu.org>
List-Unsubscribe: <https://lists.nongnu.org/mailman/options/qemu-devel>,
	<mailto:qemu-devel-request@nongnu.org?subject=unsubscribe>
List-Archive: <http://lists.nongnu.org/archive/html/qemu-devel>
List-Post: <mailto:qemu-devel@nongnu.org>
List-Help: <mailto:qemu-devel-request@nongnu.org?subject=help>
List-Subscribe: <https://lists.nongnu.org/mailman/listinfo/qemu-devel>,
	<mailto:qemu-devel-request@nongnu.org?subject=subscribe>
To: 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>

This is a multi-part message in MIME format.
--------------090103070807050709090305
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit

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"

(Since I am not quite sure whether can read this patch or not, I put the
related dtb file in attachment, please check, thanks).

Signed-off-by: Chen Gang <gang.chen.5i5j@gmail.com>
---
 pc-bios/petalogix-s3adsp1800.dtb | Bin 8259 -> 8259 bytes
 1 file changed, 0 insertions(+), 0 deletions(-)

diff --git a/pc-bios/petalogix-s3adsp1800.dtb b/pc-bios/petalogix-s3adsp1800.dtb
index 93c5973fd81244268aace6e5e6006ad6fb4d6199..8ac80f2f2d191a8491b71182be50b3df2989551d 100644
GIT binary patch
delta 14
VcmX@?aM)pkI6GtFW(js}NdPEw1Wf<{

delta 14
VcmX@?aM)pkI6Gs~W(js}NdPE$1Wo_|

-- 
1.9.3

--------------090103070807050709090305
Content-Type: application/octet-stream;
 name="petalogix-s3adsp1800.dtb"
Content-Transfer-Encoding: base64
Content-Disposition: attachment;
 filename="petalogix-s3adsp1800.dtb"

0A3+7QAAIEMAAAA4AAASEAAAACgAAAARAAAAEAAAAAAAAA4zAAAR2AAAAAAAAAAAAAAAAAAA
AAAAAAABAAAAAAAAAAMAAAAEAAAAAAAAAAEAAAADAAAABAAAAA8AAAABAAAAAwAAABAAAAAb
eGxueCxtaWNyb2JsYXplAAAAAAMAAAAIAAAAJnRlc3RpbmcAAAAAAW1lbW9yeUA5MDAwMDAw
MAAAAAADAAAABwAAACxtZW1vcnkAAAAAAAMAAAAIAAAAOJAAAAAIAAAAAAAAAgAAAAFjaG9z
ZW4AAAAAAAMAAAAWAAAAPGNvbnNvbGU9dHR5VUwwLDExNTIwMAAAAAAAAAMAAAAXAAAARS9w
bGJAMC9zZXJpYWxAODQwMDAwMDAAAAAAAAIAAAABY3B1cwAAAAAAAAADAAAABAAAAAAAAAAB
AAAAAwAAAAQAAABXAAAAAQAAAAMAAAAEAAAADwAAAAAAAAABY3B1QDAAAAAAAAADAAAABAAA
AF0DuaygAAAAAwAAABcAAAAbeGxueCxtaWNyb2JsYXplLTcuMTAuZAAAAAAAAwAAAAQAAABt
kAAAAAAAAAMAAAAEAAAAfpf///8AAAADAAAABAAAAI8AAAAQAAAAAwAAAAQAAAChAAAIAAAA
AAMAAAAEAAAALGNwdQAAAAADAAAABAAAAK6QAAAAAAAAAwAAAAQAAAC/l////wAAA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hsbngsYWxsLWlucHV0cwB4bG54LGFs
bC1pbnB1dHMtMgB4bG54LGRvdXQtZGVmYXVsdAB4bG54LGRvdXQtZGVmYXVsdC0yAHhsbngs
Z3Bpby13aWR0aAB4bG54LGludGVycnVwdC1wcmVzZW50AHhsbngsaXMtYmlkaXIAeGxueCxp
cy1iaWRpci0yAHhsbngsaXMtZHVhbAB4bG54LHRyaS1kZWZhdWx0AHhsbngsdHJpLWRlZmF1
bHQtMgBjdXJyZW50LXNwZWVkAHBvcnQtbnVtYmVyAHhsbngsYmF1ZHJhdGUAeGxueCxkYXRh
LWJpdHMAeGxueCxvZGQtcGFyaXR5AHhsbngsdXNlLXBhcml0eQB4bG54LGp0YWctY2hhaW4A
eGxueCxtYi1kYmctcG9ydHMAeGxueCx1YXJ0LXdpZHRoAHhsbngsdXNlLXVhcnQAeGxueCx3
cml0ZS1mc2wtcG9ydHMAI2ludGVycnVwdC1jZWxscwBpbnRlcnJ1cHQtY29udHJvbGxlcgB4
bG54LGtpbmQtb2YtaW50cgB4bG54LG51bS1pbnRyLWlucHV0cwBsaW51eCxwaGFuZGxlAHhs
bngsY291bnQtd2lkdGgAeGxueCxnZW4wLWFzc2VydAB4bG54LGdlbjEtYXNzZXJ0AHhsbngs
b25lLXRpbWVyLW9ubHkAeGxueCx0cmlnMC1hc3NlcnQAeGxueCx0cmlnMS1hc3NlcnQA
--------------090103070807050709090305--

From mboxrd@z Thu Jan  1 00:00:00 1970
Received: from eggs.gnu.org ([2001:4830:134:3::10]:44360)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <mjt@tls.msk.ru>) id 1XlGaD-0007LM-MJ
	for qemu-devel@nongnu.org; Mon, 03 Nov 2014 07:18:11 -0500
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <mjt@tls.msk.ru>) id 1XlGa7-0000MP-IP
	for qemu-devel@nongnu.org; Mon, 03 Nov 2014 07:18:05 -0500
Message-ID: <54577274.9070604@msgid.tls.msk.ru>
Date: Mon, 03 Nov 2014 15:17:56 +0300
From: Michael Tokarev <mjt@tls.msk.ru>
MIME-Version: 1.0
References: <54574A46.3060709@gmail.com>
In-Reply-To: <54574A46.3060709@gmail.com>
Content-Type: text/plain; charset=windows-1252
Content-Transfer-Encoding: 7bit
Subject: Re: [Qemu-devel] [PATCH] pc-bios: petalogix-s3adsp1800.dtb: Use
 'xlnx, xps-ethernetlite-2.00.a' instead of 'xlnx, xps-ethernetlite-2.00.b'
List-Id: <qemu-devel.nongnu.org>
List-Unsubscribe: <https://lists.nongnu.org/mailman/options/qemu-devel>,
	<mailto:qemu-devel-request@nongnu.org?subject=unsubscribe>
List-Archive: <http://lists.nongnu.org/archive/html/qemu-devel>
List-Post: <mailto:qemu-devel@nongnu.org>
List-Help: <mailto:qemu-devel-request@nongnu.org?subject=help>
List-Subscribe: <https://lists.nongnu.org/mailman/listinfo/qemu-devel>,
	<mailto:qemu-devel-request@nongnu.org?subject=subscribe>
To: Chen Gang <gang.chen.5i5j@gmail.com>, 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>

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.

/me does not know anything about this stuff at all.  But anyway...

> diff --git a/pc-bios/petalogix-s3adsp1800.dtb b/pc-bios/petalogix-s3adsp1800.dtb
> index 93c5973fd81244268aace6e5e6006ad6fb4d6199..8ac80f2f2d191a8491b71182be50b3df2989551d 100644
> GIT binary patch
> delta 14
> VcmX@?aM)pkI6GtFW(js}NdPEw1Wf<{
> 
> delta 14
> VcmX@?aM)pkI6Gs~W(js}NdPE$1Wo_|

Is it a binary-only file without source?  Where it come from?

(it is not a simple question, eg, on Debian, binary files are
disallowed (at least in main section)).

Thanks,

/mjt

From mboxrd@z Thu Jan  1 00:00:00 1970
Received: from eggs.gnu.org ([2001:4830:134:3::10]:39117)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <gang.chen.5i5j@gmail.com>) id 1XlHxP-00073z-HM
	for qemu-devel@nongnu.org; Mon, 03 Nov 2014 08:46:13 -0500
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <gang.chen.5i5j@gmail.com>) id 1XlHxJ-0004Hx-Sv
	for qemu-devel@nongnu.org; Mon, 03 Nov 2014 08:46:07 -0500
Content-Type: text/plain;
	charset=gb2312
Mime-Version: 1.0 (1.0)
From: Chen Gang <gang.chen.5i5j@gmail.com>
In-Reply-To: <54577274.9070604@msgid.tls.msk.ru>
Date: Mon, 3 Nov 2014 21:45:43 +0800
Content-Transfer-Encoding: quoted-printable
Message-Id: <E90D5895-E207-40BA-B5E9-DF82588F59EC@gmail.com>
References: <54574A46.3060709@gmail.com> <54577274.9070604@msgid.tls.msk.ru>
Subject: Re: [Qemu-devel] [PATCH] pc-bios: petalogix-s3adsp1800.dtb: Use
	'xlnx, xps-ethernetlite-2.00.a' instead of 'xlnx,
	xps-ethernetlite-2.00.b'
List-Id: <qemu-devel.nongnu.org>
List-Unsubscribe: <https://lists.nongnu.org/mailman/options/qemu-devel>,
	<mailto:qemu-devel-request@nongnu.org?subject=unsubscribe>
List-Archive: <http://lists.nongnu.org/archive/html/qemu-devel>
List-Post: <mailto:qemu-devel@nongnu.org>
List-Help: <mailto:qemu-devel-request@nongnu.org?subject=help>
List-Subscribe: <https://lists.nongnu.org/mailman/listinfo/qemu-devel>,
	<mailto:qemu-devel-request@nongnu.org?subject=subscribe>
To: Michael Tokarev <mjt@tls.msk.ru>
Cc: QEMU Trivial <qemu-trivial@nongnu.org>, Peter Maydell <peter.maydell@linaro.org>, qemu-devel <qemu-devel@nongnu.org>, Guenter Roeck <linux@roeck-us.net>


As far as I know, It is a hardware description file. Can convert it to dts
format which is a text file, then can read and edit it, after finish, can
convert it to dtb format again.

dts and dtb can convert with each other without any information lost.
One tool for converting is "scripts/dts/dts" in upstream kernel (after
finish building kernel).

So for me, we can also treat dtb file as open source file. It is integrated
into qemu in 2009 (please "git log -p" to this file for more details).

Thanks.

=B7=A2=D7=D4=CE=D2=B5=C4 iPad

> =D4=DA 2014=C4=EA11=D4=C23=C8=D5=A3=AC=CF=C2=CE=E78:17=A3=ACMichael Tokare=
v <mjt@tls.msk.ru> =D0=B4=B5=C0=A3=BA
>=20
> 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.
>=20
> /me does not know anything about this stuff at all.  But anyway...
>=20
>> diff --git a/pc-bios/petalogix-s3adsp1800.dtb b/pc-bios/petalogix-s3adsp1=
800.dtb
>> index 93c5973fd81244268aace6e5e6006ad6fb4d6199..8ac80f2f2d191a8491b71182b=
e50b3df2989551d 100644
>> GIT binary patch
>> delta 14
>> VcmX@?aM)pkI6GtFW(js}NdPEw1Wf<{
>>=20
>> delta 14
>> VcmX@?aM)pkI6Gs~W(js}NdPE$1Wo_|
>=20
> Is it a binary-only file without source?  Where it come from?
>=20
> (it is not a simple question, eg, on Debian, binary files are
> disallowed (at least in main section)).
>=20
> Thanks,
>=20
> /mjt
>=20

From mboxrd@z Thu Jan  1 00:00:00 1970
Received: from eggs.gnu.org ([2001:4830:134:3::10]:48797)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <mjt@tls.msk.ru>) id 1Xo4gp-0002il-BX
	for qemu-devel@nongnu.org; Tue, 11 Nov 2014 01:12:37 -0500
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <mjt@tls.msk.ru>) id 1Xo4gj-0005q1-7M
	for qemu-devel@nongnu.org; Tue, 11 Nov 2014 01:12:31 -0500
Message-ID: <5461A8C7.5070104@msgid.tls.msk.ru>
Date: Tue, 11 Nov 2014 09:12:23 +0300
From: Michael Tokarev <mjt@tls.msk.ru>
MIME-Version: 1.0
References: <54574A46.3060709@gmail.com>
In-Reply-To: <54574A46.3060709@gmail.com>
Content-Type: text/plain; charset=windows-1252
Content-Transfer-Encoding: 7bit
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'
List-Id: <qemu-devel.nongnu.org>
List-Unsubscribe: <https://lists.nongnu.org/mailman/options/qemu-devel>,
	<mailto:qemu-devel-request@nongnu.org?subject=unsubscribe>
List-Archive: <http://lists.nongnu.org/archive/html/qemu-devel>
List-Post: <mailto:qemu-devel@nongnu.org>
List-Help: <mailto:qemu-devel-request@nongnu.org?subject=help>
List-Subscribe: <https://lists.nongnu.org/mailman/listinfo/qemu-devel>,
	<mailto:qemu-devel-request@nongnu.org?subject=subscribe>
To: Chen Gang <gang.chen.5i5j@gmail.com>, 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>

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.

Thanks,

/mjt

From mboxrd@z Thu Jan  1 00:00:00 1970
Received: from eggs.gnu.org ([2001:4830:134:3::10]:36236)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <gang.chen.5i5j@gmail.com>) id 1Xo6RZ-0004fO-BC
	for qemu-devel@nongnu.org; Tue, 11 Nov 2014 03:05:02 -0500
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <gang.chen.5i5j@gmail.com>) id 1Xo6RP-0000c5-9V
	for qemu-devel@nongnu.org; Tue, 11 Nov 2014 03:04:53 -0500
Message-ID: <5461C48B.5040307@gmail.com>
Date: Tue, 11 Nov 2014 16:10:51 +0800
From: Chen Gang <gang.chen.5i5j@gmail.com>
MIME-Version: 1.0
References: <54574A46.3060709@gmail.com> <5461A8C7.5070104@msgid.tls.msk.ru>
In-Reply-To: <5461A8C7.5070104@msgid.tls.msk.ru>
Content-Type: text/plain; charset=windows-1252
Content-Transfer-Encoding: 7bit
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'
List-Id: <qemu-devel.nongnu.org>
List-Unsubscribe: <https://lists.nongnu.org/mailman/options/qemu-devel>,
	<mailto:qemu-devel-request@nongnu.org?subject=unsubscribe>
List-Archive: <http://lists.nongnu.org/archive/html/qemu-devel>
List-Post: <mailto:qemu-devel@nongnu.org>
List-Help: <mailto:qemu-devel-request@nongnu.org?subject=help>
List-Subscribe: <https://lists.nongnu.org/mailman/listinfo/qemu-devel>,
	<mailto:qemu-devel-request@nongnu.org?subject=subscribe>
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>

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

