From patchwork Fri Feb 19 20:40:33 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Alistair Francis X-Patchwork-Id: 8363871 Return-Path: X-Original-To: patchwork-qemu-devel@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork1.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.136]) by patchwork1.web.kernel.org (Postfix) with ESMTP id 151CB9F2F0 for ; Fri, 19 Feb 2016 20:43:42 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 773E7204DE for ; Fri, 19 Feb 2016 20:43:41 +0000 (UTC) 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.kernel.org (Postfix) with ESMTPS id C7ACE204D8 for ; Fri, 19 Feb 2016 20:43:40 +0000 (UTC) Received: from localhost ([::1]:55228 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aWrts-0003EZ-6k for patchwork-qemu-devel@patchwork.kernel.org; Fri, 19 Feb 2016 15:43:40 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:46651) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aWrtd-00036B-6T for qemu-devel@nongnu.org; Fri, 19 Feb 2016 15:43:28 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aWrtZ-0008RB-SX for qemu-devel@nongnu.org; Fri, 19 Feb 2016 15:43:25 -0500 Received: from mail-bl2nam02on0065.outbound.protection.outlook.com ([104.47.38.65]:15478 helo=NAM02-BL2-obe.outbound.protection.outlook.com) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aWrtZ-0008Qx-Om for qemu-devel@nongnu.org; Fri, 19 Feb 2016 15:43:21 -0500 Received: from BL2NAM02FT063.eop-nam02.prod.protection.outlook.com (10.152.76.53) by BL2NAM02HT025.eop-nam02.prod.protection.outlook.com (10.152.77.42) with Microsoft SMTP Server (TLS) id 15.1.415.6; Fri, 19 Feb 2016 20:43:20 +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 20:43:17 +0000 Received: from 172-16-1-203.xilinx.com ([172.16.1.203]:37115 helo=xsj-tvapsmtp02.xilinx.com) by xsj-tvapsmtpgw01 with esmtp (Exim 4.63) (envelope-from ) id 1aWrtU-0004sk-CQ; Fri, 19 Feb 2016 12:43:16 -0800 Received: from [127.0.0.1] (port=58985 helo=tsj-smtp-dlp1.xlnx.xilinx.com) by xsj-tvapsmtp02.xilinx.com with esmtp (Exim 4.63) (envelope-from ) id 1aWrtU-0007j5-7D; Fri, 19 Feb 2016 12:43:16 -0800 Received: from xsj-tvapsmtp02 (xsj-tvapsmtp02.xilinx.com [172.16.1.203]) by tsj-smtp-dlp1.xlnx.xilinx.com (8.13.8/8.13.1) with ESMTP id u1JKbW8S007298; Fri, 19 Feb 2016 12:37:32 -0800 Received: from [172.19.74.182] (port=33304 helo=xsjalistai50.xlnx.xilinx.com) by xsj-tvapsmtp02 with esmtp (Exim 4.63) (envelope-from ) id 1aWrtT-0007j2-AC; Fri, 19 Feb 2016 12:43:15 -0800 From: Alistair Francis To: Date: Fri, 19 Feb 2016 12:40:33 -0800 Message-ID: <114f6c40eefdd9784a91c01d62565eabbc2b77e0.1455913505.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-22140.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)(1096002)(5003940100001)(5008740100001)(110136002)(64026002)(71366001)(50226001)(76176999)(50466002)(6806005)(2950100001)(47776003)(105606002)(5001960100002)(106466001)(2906002)(19580405001)(50986999)(189998001)(92566002)(2351001)(229853001)(5003600100002)(586003)(85426001)(4326007)(36756003)(48376002)(1220700001)(118296001)(11100500001)(86362001)(77096005)(33646002)(87936001)(19580395003)(41533002)(107986001); DIR:OUT; SFP:1101; SCL:1; SRVR:BL2NAM02HT025; H:xsj-tvapsmtpgw01; FPR:; SPF:Fail; MLV:sfv; A:1; MX:1; LANG:en; MIME-Version: 1.0 X-MS-Office365-Filtering-Correlation-Id: b5afd76b-3c51-4e5c-f384-08d3396d4d5e X-Microsoft-Antispam: UriScan:;BCL:0;PCL:0;RULEID:;SRVR:BL2NAM02HT025; X-Microsoft-Antispam-PRVS: <8659c75d56b04b8d8515a23fa895a688@BL2NAM02HT025.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)(13024025)(8121501046)(5005006)(13017025)(13015025)(13023025)(13018025)(10201501046)(3002001); SRVR:BL2NAM02HT025; BCL:0; PCL:0; RULEID:; SRVR:BL2NAM02HT025; X-Forefront-PRVS: 08572BD77F X-OriginatorOrg: xilinx.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 19 Feb 2016 20:43:17.5455 (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: BL2NAM02HT025 X-detected-operating-system: by eggs.gnu.org: Windows 7 or 8 [fuzzy] X-Received-From: 104.47.38.65 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 v3 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+patchwork-qemu-devel=patchwork.kernel.org@nongnu.org Sender: qemu-devel-bounces+patchwork-qemu-devel=patchwork.kernel.org@nongnu.org X-Spam-Status: No, score=-6.9 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_HI, UNPARSEABLE_RELAY autolearn=unavailable version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP 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