From patchwork Tue Aug 13 21:32:37 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Julien Grall X-Patchwork-Id: 11092959 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id D919C1510 for ; Tue, 13 Aug 2019 21:34:45 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id C9F2D286A7 for ; Tue, 13 Aug 2019 21:34:45 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id BD4F428737; Tue, 13 Aug 2019 21:34:45 +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=-5.2 required=2.0 tests=BAYES_00,MAILING_LIST_MULTI, RCVD_IN_DNSWL_MED autolearn=ham version=3.3.1 Received: from lists.xenproject.org (lists.xenproject.org [192.237.175.120]) (using TLSv1.2 with cipher AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 361C7286A7 for ; Tue, 13 Aug 2019 21:34:45 +0000 (UTC) Received: from localhost ([127.0.0.1] helo=lists.xenproject.org) by lists.xenproject.org with esmtp (Exim 4.89) (envelope-from ) id 1hxePR-0001IL-ET; Tue, 13 Aug 2019 21:32:49 +0000 Received: from us1-rack-iad1.inumbo.com ([172.99.69.81]) by lists.xenproject.org with esmtp (Exim 4.89) (envelope-from ) id 1hxePQ-0001IG-8n for xen-devel@lists.xenproject.org; Tue, 13 Aug 2019 21:32:48 +0000 X-Inumbo-ID: e3fc3502-be11-11e9-b1ac-7f050af175b0 Received: from foss.arm.com (unknown [217.140.110.172]) by us1-rack-iad1.inumbo.com (Halon) with ESMTP id e3fc3502-be11-11e9-b1ac-7f050af175b0; Tue, 13 Aug 2019 21:32:46 +0000 (UTC) Received: from usa-sjc-imap-foss1.foss.arm.com (unknown [10.121.207.14]) by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id C00B71570; Tue, 13 Aug 2019 14:32:45 -0700 (PDT) Received: from e108454-lin.cambridge.arm.com (e108454-lin.cambridge.arm.com [10.1.196.50]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id F22B13F718; Tue, 13 Aug 2019 14:32:44 -0700 (PDT) From: Julien Grall To: xen-devel@lists.xenproject.org Date: Tue, 13 Aug 2019 22:32:37 +0100 Message-Id: <20190813213237.4819-1-julien.grall@arm.com> X-Mailer: git-send-email 2.11.0 Subject: [Xen-devel] [PATCH] xen/docs: arm: Update dom0less binding and example X-BeenThere: xen-devel@lists.xenproject.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Xen developer discussion List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Cc: viktor_mitin@epam.com, Julien Grall , Stefano Stabellini , Volodymyr Babchuk MIME-Version: 1.0 Errors-To: xen-devel-bounces@lists.xenproject.org Sender: "Xen-devel" X-Virus-Scanned: ClamAV using ClamSMTP The binding for the dom0less module does not match Xen implementation. Any module should contain the compatible "multiboot,module" to be recognized. This was clearly an oversight as other examples with Xen code base provide the compatible "multiboot,module". So fix the binding and the example associated to it. Signed-off-by: Julien Grall Reviewed-by: Stefano Stabellini --- Cc: viktor_mitin@epam.com We probably want to consolidate all the dom0less documentation in one place rather than having to fix documation issues in a multiple places one by one. --- docs/misc/arm/device-tree/booting.txt | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/docs/misc/arm/device-tree/booting.txt b/docs/misc/arm/device-tree/booting.txt index 317a9e962a..0fafa01b5d 100644 --- a/docs/misc/arm/device-tree/booting.txt +++ b/docs/misc/arm/device-tree/booting.txt @@ -160,7 +160,7 @@ The kernel sub-node has the following properties: - compatible - "multiboot,kernel" + "multiboot,kernel", "multiboot,module" - reg @@ -175,7 +175,7 @@ The ramdisk sub-node has the following properties: - compatible - "multiboot,ramdisk" + "multiboot,ramdisk", "multiboot,module" - reg @@ -196,13 +196,13 @@ chosen { vpl011; module@0x4a000000 { - compatible = "multiboot,kernel"; + compatible = "multiboot,kernel", "multiboot,module"; reg = <0x0 0x4a000000 0xffffff>; bootargs = "console=ttyAMA0 init=/bin/sh"; }; module@0x4b000000 { - compatible = "multiboot,ramdisk"; + compatible = "multiboot,ramdisk", "multiboot,module"; reg = <0x0 0x4b000000 0xffffff>; }; }; @@ -215,13 +215,13 @@ chosen { cpus = <1>; module@0x4c000000 { - compatible = "multiboot,kernel"; + compatible = "multiboot,kernel", "multiboot,module"; reg = <0x0 0x4c000000 0xffffff>; bootargs = "console=ttyAMA0 init=/bin/sh"; }; module@0x4d000000 { - compatible = "multiboot,ramdisk"; + compatible = "multiboot,ramdisk", "multiboot,module"; reg = <0x0 0x4d000000 0xffffff>; }; };