From patchwork Wed Sep 28 22:45:47 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Alistair Francis X-Patchwork-Id: 9355091 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id BC2256077B for ; Wed, 28 Sep 2016 22:47:44 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id ACDB5296C1 for ; Wed, 28 Sep 2016 22:47:44 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 9F805296C8; Wed, 28 Sep 2016 22:47:44 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-6.8 required=2.0 tests=BAD_ENC_HEADER,BAYES_00, DKIM_SIGNED, RCVD_IN_DNSWL_HI, T_DKIM_INVALID autolearn=ham version=3.3.1 Received: from lists.gnu.org (lists.gnu.org [208.118.235.17]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id E211E296C1 for ; Wed, 28 Sep 2016 22:47:43 +0000 (UTC) Received: from localhost ([::1]:33649 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bpNdf-0007Jn-43 for patchwork-qemu-devel@patchwork.kernel.org; Wed, 28 Sep 2016 18:47:43 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:38824) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bpNd8-00075d-IM for qemu-devel@nongnu.org; Wed, 28 Sep 2016 18:47:13 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bpNd4-0003BC-7o for qemu-devel@nongnu.org; Wed, 28 Sep 2016 18:47:09 -0400 Received: from mail-dm3nam03on0066.outbound.protection.outlook.com ([104.47.41.66]:10368 helo=NAM03-DM3-obe.outbound.protection.outlook.com) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bpNd4-0003Ay-1F for qemu-devel@nongnu.org; Wed, 28 Sep 2016 18:47:06 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=xilinx.onmicrosoft.com; s=selector1-xilinx-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version; bh=sRKfX3HpGaiMUDLi+9D4jSTxD0Ho0CoQCOrvvYSlfto=; b=vwAhaItO5LElMRDweKLe09Pkcw0J2azSSIMnb4zO8nMQnD862WXhsmqbHSV7obWdbugTcqzeO7CrPk6H6eRQffJGT/+gMtX3TGvTt8RbMG/BtYZjkVf/KNcpyfFmRQAa/tszK79+p8QIs4yAM5JkpsHAOkSbZmGvvipO+ML6wkY= Received: from CY4PR02CA0044.namprd02.prod.outlook.com (10.175.57.158) by DM5PR02MB2889.namprd02.prod.outlook.com (10.175.86.144) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P384) id 15.1.639.5; Wed, 28 Sep 2016 22:47:04 +0000 Received: from CY1NAM02FT055.eop-nam02.prod.protection.outlook.com (2a01:111:f400:7e45::202) by CY4PR02CA0044.outlook.office365.com (2603:10b6:903:117::30) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P384) id 15.1.639.5 via Frontend Transport; Wed, 28 Sep 2016 22:47:03 +0000 Authentication-Results: spf=fail (sender IP is 149.199.60.96) smtp.mailfrom=xilinx.com; redhat.com; dkim=none (message not signed) header.d=none; redhat.com; dmarc=none action=none header.from=xilinx.com; Received-SPF: Fail (protection.outlook.com: domain of xilinx.com does not designate 149.199.60.96 as permitted sender) receiver=protection.outlook.com; client-ip=149.199.60.96; helo=xsj-tvapsmtpgw01; Received: from xsj-tvapsmtpgw01 (149.199.60.96) by CY1NAM02FT055.mail.protection.outlook.com (10.152.74.80) with Microsoft SMTP Server (version=TLS1_0, cipher=TLS_RSA_WITH_AES_256_CBC_SHA) id 15.1.629.5 via Frontend Transport; Wed, 28 Sep 2016 22:47:01 +0000 Received: from 172-16-1-203.xilinx.com ([172.16.1.203]:38604 helo=xsj-tvapsmtp02.xilinx.com) by xsj-tvapsmtpgw01 with esmtp (Exim 4.63) (envelope-from ) id 1bpNcy-0006Fq-Aa; Wed, 28 Sep 2016 15:47:00 -0700 Received: from [127.0.0.1] (port=35431 helo=tsj-smtp-dlp1.xlnx.xilinx.com) by xsj-tvapsmtp02.xilinx.com with esmtp (Exim 4.63) (envelope-from ) id 1bpNcy-0000qJ-6U; Wed, 28 Sep 2016 15:47:00 -0700 Received: from xsj-tvapsmtp02 (smtptest.xilinx.com [172.16.1.203]) by tsj-smtp-dlp1.xlnx.xilinx.com (8.13.8/8.13.1) with ESMTP id u8SMdnbQ014952; Wed, 28 Sep 2016 15:39:50 -0700 Received: from [172.19.74.182] (port=47890 helo=xsjalistai50.xilinx.com) by xsj-tvapsmtp02 with esmtp (Exim 4.63) (envelope-from ) id 1bpNcx-0000pj-DJ; Wed, 28 Sep 2016 15:46:59 -0700 From: Alistair Francis To: , Date: Wed, 28 Sep 2016 15:45:47 -0700 Message-ID: <0c4600f5c922569a57f4e9a9f1b6b4b5469b2a4c.1475102513.git.alistair.francis@xilinx.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: References: X-RCIS-Action: ALLOW X-TM-AS-MML: disable X-TM-AS-Product-Ver: IMSS-7.1.0.1679-8.0.0.1202-22604.005 X-TM-AS-Result: No--12.390-7.0-31-10 X-imss-scan-details: No--12.390-7.0-31-10 X-TMASE-MatchedRID: zobQjTbTK2E1q9FqrlFgYJY9D0/NRxoqvtVce6w5+K8bk1a5Asxcj7Zu s9PbYFMYxOdqqwQEYeuMb1GZ4s/DHEdKOOEsFcbS7IO+KGapOnwBmf/gD11vZLuqk4cq52pzEW4 +DfKR/mEqegugNzsJfcWDu5tI+hS7KUxKcmS9d16EwZM25BMds/NYQxCOihTNN1kwvmT/10ovde H8wIZynVNtlBwEjTNCctEQSoOABqTzm/ciiIjcjBuZoNKc6pl+GbQ3lnmFAkq5ZjHyzYrpGli5r +TKtIsrm/3MR/qmGzAXeMr+M2fH4CUhLCVrsmAhsyw+ZJnFumSl9VzHf0qr7o1Oeo4wEgnhTE2K 4ApYlGdqu7Sk3kWJmgIY8qmwXOJXh0+iBHb6zS3kKCFOKwAEzJsqkCVjbLpJEB/Asc4oaYF8yt0 Pc0hS+676mt5I40xzxWi1dFMAWy+R9GF2J2xqMxRFJJyf5BJe3QfwsVk0UbtuRXh7bFKB7vkZDg nYnVkkdv8hTEMmJiP4rReHrH8eDOtotcXOdMBhHIV02d1rpG8= X-EOPAttributedMessage: 0 X-MS-Office365-Filtering-HT: Tenant X-Forefront-Antispam-Report: CIP:149.199.60.96; IPV:NLI; CTRY:US; EFV:NLI; SFV:NSPM; SFS:(10009020)(6009001)(7916002)(2980300002)(1109001)(1110001)(339900001)(189002)(199003)(5003940100001)(77096005)(33646002)(9786002)(5660300001)(305945005)(106466001)(86362001)(36756003)(105606002)(7846002)(47776003)(50986999)(356003)(76176999)(189998001)(50466002)(19580395003)(19580405001)(48376002)(50226002)(85426001)(81166006)(4326007)(87936001)(64026002)(5001770100001)(92566002)(8936002)(8676002)(81156014)(586003)(229853001)(2906002)(118296001)(626004)(11100500001)(2950100002)(71366001)(6666003)(41533002)(107986001); DIR:OUT; SFP:1101; SCL:1; SRVR:DM5PR02MB2889; H:xsj-tvapsmtpgw01; FPR:; SPF:Fail; PTR:unknown-60-96.xilinx.com; MX:1; A:1; LANG:en; X-Microsoft-Exchange-Diagnostics: 1; CY1NAM02FT055; 1:WyBsvW1IFJsLBxGIeN/UNnAhoTVfYaI5UWr3gGfe+GeP2Dw6BXwmRAvO9zEvxYJkLKMTI4WtXPexRTUPiAjl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Kw= X-Microsoft-Antispam: UriScan:;BCL:0;PCL:0;RULEID:;SRVR:DM5PR02MB2889; X-Microsoft-Exchange-Diagnostics: 1; DM5PR02MB2889; 25:Ny/vFaZypk8p4zSjcOwB/WXV63faPYI38Cwyg5+tC2gLek7CMsFHbvqBXGpt3eAcH+d77jeF1uDp+1wKbHnSEM19W0b6sfNx41YHl3eGlQeuF3nQ+HbTDbfaudmJ8mBgGMbiYHS7dWz9RUobDNc1Uo/gyX++Lp1RmI/c99TFCxP3waQXcL+BY1BL6RSHSHePZ+2UJdKFdwGy5m9xZEuhpyWDYc8d/kUDPqm9mGx1O08bT6Ze1EDL3SnR9Iqg93Cpqs1NPdpxyh62jI5CjoEUJs0vyvEJsuZnA8aZT7Gylz4hapvO1hv46hZWWhOpV6kv0Nur1yww/FAI0vtrOLocvzCFX23NK7USt3WW7UpS1kx7y0kzAg+DV/K4H2TUN65TWwvtjqN2sPJwjVe6AJp7QezRBL1mOMBLsV0uxga81CrPXCg2YQByvKvD/BnR01C0FdjxLnuInPUzi70ycT+qCbfISx06SMi/kNQsCZ7vm6wz61tzKofTOK7l3kSfgZ/j5KQowQRl5oXUz9x8tEm6K52A5Hj7GU8IXZDuOBvuR4/IwrHbow10zuR8WDcQvZ3Zd4cLoxbMpzH6AOwxaaAD9wRRwH1h6XFeQT7TjxCz4UVw08tf/YXLVqBS33hf2AtwzroyaxpJBOo7RFczjcR90tosRrQLL/vDqE3UBR/T6kN2XvcC0XoBa04DgziPT8Mhl913FI60MAgmg8+PevKhQynbLjhlyTD2fJHeLZgkciedQNHa5FK3b5MkSLaF1eGJtaOgMnST16RsLjs24gNwvaA0iLH3TDwAT4oNBSlBRKg= X-Microsoft-Exchange-Diagnostics: 1; DM5PR02MB2889; 31:cGn9novqDwh93QNGzMStw4EdWZ0JNmXoh8LyxcCTzLZNo22zIaeM44oCzcAjnO3jBC8C36A2W8SFGug+FaxRmOwJaKTOvba7OwRItYF+/SyUWNnOv789dngDf6fzYgwP+VWW6+evBBEni1RE5l3vCKK+ko4jN4DuybpmgbDX5hF5aF0IxmCWonI9Hb6wm47lbqfF6K6fHbBWxXWkYdIc12pLrdcPr87R9EBbINnbqmo=; 20:5IJEtln8D97ihihW7qtge1M0VMUBNfuKPvyk2iuwO6Tx4tx9i0T/acKkClain+PUSRyMeJM5LKh64FlSDXJxH5uUd2L2fa9hKax1U8cbh5DEsfprQT70q8SLSYEp2feSA1YIm3aOorDpMyDA4pUqOKU7ttxu7eN3suGumbhZpmdFiTCF6rNXjM9LEmtpLtfYjsbqPu3FkbpieUkLOJVhMt1Gws4xmRoRQFBU4piI018EedwtluJm8USzESgNIwy+SCjuc3AMdfu/fWyUpB9eG/QGfK8g/7oxGgczqoRJFV9s51d7HTQ+xTphsqNl1k4Jen9/29nay76YsKkJfjY2rlA0ANYnVydsElZb5CDfK96jfC3U+ogJTx2bOkieXSvERJV+M9pQLQFYBMQseR4mf+UTlhJCgb3o/LJD4kz9biTdX8Ib6MfqPNORzlIceXeaPZ3Nzeqp+pWG0+J/+mdClMeknRyT/3uz6J+LChl4iHyar1NSbyVw11I+1nn+muu8 X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:(192813158149592); X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(6040176)(601004)(2401047)(13024025)(5005006)(8121501046)(13018025)(13023025)(13017025)(13015025)(10201501046)(3002001)(6055026); SRVR:DM5PR02MB2889; BCL:0; PCL:0; RULEID:; SRVR:DM5PR02MB2889; X-Microsoft-Exchange-Diagnostics: 1; DM5PR02MB2889; 4:Hd2lnDaLeTTALHAHNfombH/9FHq+kOlYergKTByTrxGd4OsraNWBC7x/U5DK6LzehinW4HIB/+iQql9429QetZHc02aDRC8Si5GUPP5I6qLSsp4aq9Ezl2mWdBF+OWq2c/xKukn8jE5scMGUfbT9BWb/7oczgE8nDStkJ0kZHnhhSfL5y1VXlQWHPe1oazif1Hfo2rg/iAUESMTEectM2UciNMaeo33OhgjZmfvnz6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ojBM5H9F6CBs2JITUZTCxMsFNFGxCPWkD2GGjD9F/XnqJBvjwlcc8UcIl7wIZRgcndZXrrdICqRIMP6KChhCt36a4AMP8TcdB6UAU4QiAlS6iDS3jmn6Ahtg==; 5:GuYQT9hBLTh3eZ2n1OAtRx9sy7sp/7/yfP1H5fPMCaN+9eVx/fqr2JnbXbVtp/mNzsqLi5lNPvCC9go+sIvWL9JUvZOUM+I0+46t9OFc+K4riF7mj4tAKcEtZTJIZesTSlEfFTLBzoh/zCECwUqg3g==; 24:dKJmTscJukKRjPZvG25Y4JTOVx9YaXzOYJ9QRuDBxbK0nuNAeU/1mLnSnDnMywJHp2D0Lk36Nk7wBPSUoZMoxd5W+2UvuJsjDrcQghqsR5g=; 7:iXD1eMIoY/XFI3dHw2rbhhPH372n3EuuPB6WmhggI2MKFiwjmk3j+lu+4tpP9dqIpJtUxd1Jy36Ac7Tcv0x5cvk1XkV0LVLvBEpFaDxeoGHEw0N5RUypPvqep4ES8aG4mjT5cSWLfYANV6GWxn5z2BfsJW5qdxnWeZRVVhxwRF2oNoEF+5fkpcJ3PArTTZUfUFxBawgM2mitbCA/8zMOI+TtghGg03A4+zFgN2/vlo3c1TfndI4gjfMJuW5oYPAPC4XXveN+tpswB9Aw5A7znVVa0zYmgWh/CCiuwYS8ttfk/LuTVOEnBcSjI3luFTSP SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-OriginatorOrg: xilinx.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 28 Sep 2016 22:47:01.2637 (UTC) X-MS-Exchange-CrossTenant-Id: 657af505-d5df-48d0-8300-c31994686c5c X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=657af505-d5df-48d0-8300-c31994686c5c; Ip=[149.199.60.96]; Helo=[xsj-tvapsmtpgw01] X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: DM5PR02MB2889 X-detected-operating-system: by eggs.gnu.org: Windows 7 or 8 [fuzzy] X-Received-From: 104.47.41.66 Subject: [Qemu-devel] [PATCH v12 2/2] docs: Add a generic loader explanation document X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: cov@codeaurora.org, crosthwaitepeter@gmail.com, pbonzini@redhat.com, armbru@redhat.com, alistair.francis@xilinx.com Errors-To: qemu-devel-bounces+patchwork-qemu-devel=patchwork.kernel.org@nongnu.org Sender: "Qemu-devel" X-Virus-Scanned: ClamAV using ClamSMTP Signed-off-by: Alistair Francis Reviewed-by: Peter Maydell --- V11: - Fix corrections V10: - Split the data loading and PC setting V9: - Clarify the image loading options V8: - Improve documentation V6: - Fixup documentation V4: - Re-write to be more comprehensive docs/generic-loader.txt | 81 +++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 81 insertions(+) create mode 100644 docs/generic-loader.txt diff --git a/docs/generic-loader.txt b/docs/generic-loader.txt new file mode 100644 index 0000000..d1f8ce3 --- /dev/null +++ b/docs/generic-loader.txt @@ -0,0 +1,81 @@ +Copyright (c) 2016 Xilinx Inc. + +This work is licensed under the terms of the GNU GPL, version 2 or later. See +the COPYING file in the top-level directory. + + +The 'loader' device allows the user to load multiple images or values into +QEMU at startup. + +Loading Data into Memory Values +--------------------- +The loader device allows memory values to be set from the command line. This +can be done by following the syntax below: + + -device loader,addr=,data=,data-len= + [,data-be=][,cpu-num=] + + - The address to store the data in. + - The value to be written to the address. The maximum size of + the data is 8 bytes. + - The length of the data in bytes. This argument must be + included if the data argument is. + - Set to true if the data to be stored on the guest should be + written as big endian data. The default is to write little + endian data. + - The number of the CPU's address space where the data should + be loaded. If not specified the address space of the first + CPU is used. + +For all values both hex and decimal values are allowed. By default the values +will be parsed as decimal. To use hex values the user should prefix the number +with a '0x'. + +An example of loading value 0x8000000e to address 0xfd1a0104 is: + -device loader,addr=0xfd1a0104,data=0x8000000e,data-len=4 + +Setting a CPU's Program Counter +--------------------- +The loader device allows the CPU's PC to be set from the command line. This +can be done by following the syntax below: + + -device loader,addr=,cpu-num= + + - The value to use as the CPU's PC. + - The number of the CPU whose PC should be set to the + specified value. + +For all values both hex and decimal values are allowed. By default the values +will be parsed as decimal. To use hex values the user should prefix the number +with a '0x'. + +An example of setting CPU 0's PC to 0x8000 is: + -device loader,addr=0x8000,cpu-num=0 + +Loading Files +--------------------- +The loader device also allows files to be loaded into memory. This can be done +similarly to setting memory values. The syntax is shown below: + + -device loader,file=[,addr=][,cpu-num=][,force-raw=] + + - A file to be loaded into memory + - The addr in memory that the file should be loaded. This is + ignored if you are using an ELF (unless force-raw is true). + This is required if you aren't loading an ELF. + - This specifies the CPU that should be used. This is an + optional argument and will cause the CPU's PC to be set to + where the image is stored or in the case of an ELF file to + the value in the header. This option should only be used + for the boot image. + This will also cause the image to be written to the specified + CPU's address space. If not specified, the default is CPU 0. + - Forces the file to be treated as a raw image. This can be + used to specify the load address of ELF files. + +For all values both hex and decimal values are allowed. By default the values +will be parsed as decimal. To use hex values the user should prefix the number +with a '0x'. + +An example of loading an ELF file which CPU0 will boot is shown below: + -device loader,file=./images/boot.elf,cpu-num=0