From patchwork Fri Feb 19 01:16:19 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Alistair Francis X-Patchwork-Id: 584987 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from lists.gnu.org (lists.gnu.org [IPv6:2001:4830:134:3::11]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 1886214030C for ; Fri, 19 Feb 2016 12:19:34 +1100 (AEDT) Received: from localhost ([::1]:47159 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aWZjI-0007EH-49 for incoming@patchwork.ozlabs.org; Thu, 18 Feb 2016 20:19:32 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:56545) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aWZit-0006YB-9Z for qemu-devel@nongnu.org; Thu, 18 Feb 2016 20:19:08 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aWZiq-0006lj-37 for qemu-devel@nongnu.org; Thu, 18 Feb 2016 20:19:07 -0500 Received: from mail-sn1nam02on0056.outbound.protection.outlook.com ([104.47.36.56]:36192 helo=NAM02-SN1-obe.outbound.protection.outlook.com) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aWZip-0006lb-Pz for qemu-devel@nongnu.org; Thu, 18 Feb 2016 20:19:04 -0500 Received: from BL2NAM02FT063.eop-nam02.prod.protection.outlook.com (10.152.76.56) by BL2NAM02HT041.eop-nam02.prod.protection.outlook.com (10.152.76.235) with Microsoft SMTP Server (TLS) id 15.1.415.6; Fri, 19 Feb 2016 01:19:02 +0000 Authentication-Results: spf=fail (sender IP is 149.199.60.96) smtp.mailfrom=xilinx.com; suse.de; dkim=none (message not signed) header.d=none; suse.de; 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 BL2NAM02FT063.mail.protection.outlook.com (10.152.77.121) with Microsoft SMTP Server (TLS) id 15.1.415.6 via Frontend Transport; Fri, 19 Feb 2016 01:19:01 +0000 Received: from 172-16-1-203.xilinx.com ([172.16.1.203]:41606 helo=xsj-tvapsmtp02.xilinx.com) by xsj-tvapsmtpgw01 with esmtp (Exim 4.63) (envelope-from ) id 1aWZin-0003wS-5V; Thu, 18 Feb 2016 17:19:01 -0800 Received: from [127.0.0.1] (port=35243 helo=tsj-smtp-dlp1.xlnx.xilinx.com) by xsj-tvapsmtp02.xilinx.com with esmtp (Exim 4.63) (envelope-from ) id 1aWZin-00019l-0W; Thu, 18 Feb 2016 17:19:01 -0800 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 u1J1DH8U009944; Thu, 18 Feb 2016 17:13:17 -0800 Received: from [172.19.74.182] (port=54254 helo=xsjalistai50.xlnx.xilinx.com) by xsj-tvapsmtp02 with esmtp (Exim 4.63) (envelope-from ) id 1aWZil-00019i-U8; Thu, 18 Feb 2016 17:18:59 -0800 From: Alistair Francis To: Date: Thu, 18 Feb 2016 17:16:19 -0800 Message-ID: <445c20253f4ce5f0d03962098bcbfd0080a44b31.1455844294.git.alistair.francis@xilinx.com> X-Mailer: git-send-email 2.5.0 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-22138.006 X-TM-AS-Result: No--1.978-7.0-31-10 X-imss-scan-details: No--1.978-7.0-31-10 X-TMASE-MatchedRID: zJvVDzAD19+2tOiYIIrtlSZm6wdY+F8KWjWsWQUWzVoaK6XhXABo92b6 PphVtfZgwRfaXnkziMelHQcSjW0xysqbkPm3qhPxtw+xHnsmQjN0vtIjqvX0hL/FQgGhXj1WYeK /8Aj84WT9nVNVuX1BuUOyWDabK1yFRFuZfuhIqrWiAZ3zAhQYgtiK7AdEh6lNn7i+WzWicG+jxY yRBa/qJcFwgTvxipFajoczmuoPCq1iJ7IcwsfMFwBbQwCg54QclxBU/aBK5+aiuRcEINQzB/6CM VkwyRkkO9uzhOdxcdL3erRKFDtzFxwlLDCwokE0fyFtlEEJQJsdJuEZuYbKVcUkrvIudlEZl07d DrsiYvyCLhFTP3QRDAbYwClu/qh3 X-EOPAttributedMessage: 0 X-Forefront-Antispam-Report: CIP:149.199.60.96; CTRY:US; IPV:NLI; EFV:NLI; SFV:NSPM; SFS:(10009020)(6009001)(2980300002)(1110001)(1109001)(339900001)(199003)(189002)(76176999)(33646002)(50466002)(106466001)(2351001)(105606002)(48376002)(87936001)(5001960100002)(1096002)(110136002)(189998001)(229853001)(19580405001)(19580395003)(6806005)(118296001)(71366001)(86362001)(1220700001)(11100500001)(47776003)(64026002)(5008740100001)(50986999)(92566002)(4326007)(2906002)(77096005)(2950100001)(85426001)(50226001)(36756003)(5003940100001)(586003)(5003600100002)(41533002)(107986001); DIR:OUT; SFP:1101; SCL:1; SRVR:BL2NAM02HT041; H:xsj-tvapsmtpgw01; FPR:; SPF:Fail; MLV:sfv; A:1; MX:1; LANG:en; MIME-Version: 1.0 X-MS-Office365-Filtering-Correlation-Id: f9202e25-4cab-4633-de7c-08d338caa6bc X-Microsoft-Antispam: UriScan:;BCL:0;PCL:0;RULEID:;SRVR:BL2NAM02HT041; X-Microsoft-Antispam-PRVS: <137a7e1de0c3443f90d06c168f359107@BL2NAM02HT041.eop-nam02.prod.protection.outlook.com> X-Exchange-Antispam-Report-Test: UriScan:(192813158149592); X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(601004)(2401047)(13015025)(13024025)(13017025)(13023025)(13018025)(5005006)(8121501046)(3002001)(10201501046); SRVR:BL2NAM02HT041; BCL:0; PCL:0; RULEID:; SRVR:BL2NAM02HT041; X-Forefront-PRVS: 08572BD77F X-OriginatorOrg: xilinx.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 19 Feb 2016 01:19:01.9597 (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: BL2NAM02HT041 X-detected-operating-system: by eggs.gnu.org: Windows 7 or 8 [fuzzy] X-Received-From: 104.47.36.56 Cc: peter.maydell@linaro.org, armbru@redhat.com, alistair.francis@xilinx.com, crosthwaitepeter@gmail.com, cov@codeaurora.org, pbonzini@redhat.com, afaerber@suse.de Subject: [Qemu-devel] [PATCH v2 2/2] docs: Add a generic loader explanation document X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org Sender: qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org Signed-off-by: Alistair Francis --- docs/generic-loader.txt | 21 +++++++++++++++++++++ 1 file changed, 21 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..69e262d --- /dev/null +++ b/docs/generic-loader.txt @@ -0,0 +1,21 @@ +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. + + +This loader allows the user to load multiple images or values into QEMU at startup. + +Loading Memory Values +--------------------------- +Memory values can be loaded like this: + -device loader,addr=0xfd1a0104,data=0x8000000e,data-len=4 + +Loading Images +--------------------------- +Images can be loaded like this: + -device loader,file=./images/boot.elf,cpu=0 + +The limiation for arch is based off settting the ELF_ARCH macro. + +At the moment only the ARM arhitectures are supported