Received: by 2002:a25:4158:0:0:0:0:0 with SMTP id o85csp2955720yba; Mon, 6 May 2019 14:31:00 -0700 (PDT) X-Google-Smtp-Source: APXvYqw8BQFQ4cD7zFlZ07ApEstIIQq/8LIvUOYc7GJww543y4HLL8/MeNa36MWpd5X/IY1xQYNx X-Received: by 2002:a63:3746:: with SMTP id g6mr35169362pgn.422.1557178143403; Mon, 06 May 2019 14:29:03 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1557178143; cv=none; d=google.com; s=arc-20160816; b=gPJlHfH9OFVqphB3TW2424MBAGidw3FuCHr5HLttJes0A5WfDMC72YtsSN+o/dAfqe VUUUc0DiHL5e9nmi5YxZJRZ9kSTklE0gQumK7QpKCw0ARumFxBjhdHoz8qo0fuPUbj1M LkfOMy7LWllzjpcIKPz8AsNkCT11VaHeU3vXkbWOCjhKPb9GAQmUBTB7qK7K/HMvA3zV Vi6p5R4xSA0f8CsxNdfJYulCRu1BJ491bC8lYPHFnEm6RDcTjYy9fG9XgYR7hqKEYpKl e22xPLgEObeEdRhiq7zxNisCH7lfLoLumrTYmf+tCGAMzpBkubdIA6JhNnLGF/RaZvaq fC0g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature; bh=2IPjvXS9ovmHMp9QDNvfJjrdnqj8PLY/VSE8ERdo3T0=; b=ok1PXARKcbaHjyqOowggONUpVBLghyAuRHrBFO9z/ufqiJLrrZOF0BY/cx3zU08dGr sbomY/VQ6MshFDBwnMPbMJetHjs+sk1qgPuWzeRaTnB4s5nmHhiYsSRlNg5748z/fDNf jSS3fLtjgouA9Sv7RdPDIFglUCg1pqDU9o8d3a7Gv+j4Q4bah4xaw4k68lb8PUprAtXr l+GA8WbtiZYIc3vxoMF5fqj82MJTEgTf9RF1tFFi61avWe6iTyQAvJBGrkL8aqNuEPt1 3OFg5ZeYNlajdEWCyKbYI3RFOzm/zV+5hvf45+JMdWsL5+wFa/M3AQJ2TDcKr/tVNfhn mHeQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@konsulko.com header.s=google header.b=dKpZCWP9; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id 33si16525819pld.265.2019.05.06.14.28.48; Mon, 06 May 2019 14:29:03 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@konsulko.com header.s=google header.b=dKpZCWP9; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727100AbfEFV1X (ORCPT + 99 others); Mon, 6 May 2019 17:27:23 -0400 Received: from mail-wr1-f66.google.com ([209.85.221.66]:40563 "EHLO mail-wr1-f66.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726579AbfEFV1V (ORCPT ); Mon, 6 May 2019 17:27:21 -0400 Received: by mail-wr1-f66.google.com with SMTP id h4so19201728wre.7 for ; Mon, 06 May 2019 14:27:19 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=konsulko.com; s=google; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to:user-agent; bh=2IPjvXS9ovmHMp9QDNvfJjrdnqj8PLY/VSE8ERdo3T0=; b=dKpZCWP9myNRHzdWXZ6L33Bb73ivM+YgfGeA+BpqzEeVQa3KbVgnpyyVHRTymnmIa6 6W+nlMthTqFhKi3/9zP/3qY5BeWB0mLQA/H+v/PPkf4DOaxCj+bJUKaRc15R4PkfiaQG bHp0hSwK/M7MOQW8PKMv+/PBTVdsrPcAO2yY4= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to:user-agent; bh=2IPjvXS9ovmHMp9QDNvfJjrdnqj8PLY/VSE8ERdo3T0=; b=GCP+WDVCnmt23qvvT44yV3mPrX527HjIS/GKtyCfibV/c4wQppMxLsytH8DxFLKlg7 9RXQlfFzL64RHe+FpCZVNoU6qUREVW2S9pYH2in7GPcvz1KEg580g5HJNTn0e7AcB5ii sNvrhHXph3JS25s5sRElGDhdGbUKJ6VtQjlKzenz+14KJ6A++tmfZcAc0kQucRj9Y3aw jIj6i3UHh97K+vsRTXqb2nY58Th+hFBTvYBZ0go8dcy7oW+WpLGNrJBFZ4HOieuFOGie 3tXQnwhooJKs/UNQ4/WIpfaXTT6lvnqrRkEvux9IRPB5B24CnKa7gI/WYT9E6RnFDXjg wb/A== X-Gm-Message-State: APjAAAUpwRXEVD1nklHr5ZJGpVnqI3WbiXhjjhnuZdZQO2OemyTReI0m ENxzL7rDVngLKNXL/iriCF4hsw== X-Received: by 2002:adf:db0b:: with SMTP id s11mr12592644wri.180.1557178038670; Mon, 06 May 2019 14:27:18 -0700 (PDT) Received: from bill-the-cat (cpe-65-184-141-147.ec.res.rr.com. [65.184.141.147]) by smtp.gmail.com with ESMTPSA id a22sm9808162wmb.47.2019.05.06.14.27.12 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 06 May 2019 14:27:14 -0700 (PDT) Date: Mon, 6 May 2019 17:27:09 -0400 From: Tom Rini To: Heinrich Schuchardt Cc: Karsten Merker , Atish Patra , linux-kernel@vger.kernel.org, Alexander Graf , Anup Patel , Bin Meng , Boris Brezillon , Joe Hershberger , Lukas Auer , Marek Vasut , Michal Simek , Rick Chen , Simon Glass , u-boot@lists.denx.de Subject: Re: [U-Boot] [v4 PATCH] RISCV: image: Add booti support Message-ID: <20190506212709.GD31207@bill-the-cat> References: <20190506181134.9575-1-atish.patra@wdc.com> <251ea152-6407-02e2-076c-7ee377f6181d@gmx.de> <20190506203956.ty6gkmhm4dlylld4@excalibur.cnev.de> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="8MGw1ILlV46eIqUv" Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.24 (2015-08-30) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org --8MGw1ILlV46eIqUv Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Mon, May 06, 2019 at 11:10:57PM +0200, Heinrich Schuchardt wrote: > On 5/6/19 10:39 PM, Karsten Merker wrote: > >On Mon, May 06, 2019 at 10:06:39PM +0200, Heinrich Schuchardt wrote: > >>On 5/6/19 8:11 PM, Atish Patra wrote: > >>>This patch adds booti support for RISC-V Linux kernel. The existing > >>>bootm method will also continue to work as it is. > >[...] > >>>+ "boot arm64/riscv Linux Image image from memory", booti_help_text > >> > >>%s/Image image/image/ > >> > >>"arm64/riscv" is distracting. If I am on RISC-V I cannot boot an ARM64 > >>image here. Remove the reference to the architecture, please. > > > >Hello, > > > >I'm not sure about the last point - ISTR (please correct me if my > >memory betrays me here) that an arm64 U-Boot can in principle be > >used to boot either an arm64 or an armv7 kernel, but the commands > >are different in those cases (booti for an arm64 "Image" format > >kernel and bootz for an armv7 "zImage" format kernel), so having > >the information which kernel format is supported by the > >respective commands appears useful to me. If the arm64 kernel > >image format would have a distinctive name (like "zImage" on > >armv7 or "bzImage" on x86) that would be less problematic, but > >with the confusion potential of "boot a Linux Image" (as in the > >arm64/riscv-specific "Image" format) vs "boot a Linux image" (as > >in generally some form of kernel image), I think explicitly > >mentioning the supported architectures makes sense. >=20 > In this case you have to ensure that only the *supported* architectures > are mentioned. RISC-V is not supported on ARM64. The help should be re-worded to be both architecture agnostic and clear that it is for the Linux Kernel 'Image' format images. --=20 Tom --8MGw1ILlV46eIqUv Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 iQIcBAEBAgAGBQJc0KatAAoJEIf59jXTHXZS06wQAMJiT+a5vv3S5ScRWpC2NcYp Zr1k+ddMgy31YS8htCujzgmgKJkxK3ZjdLMiDbzeRC/4r6FZ/E2r8jeU8wRo+39c wdiC60MqLuQ2Z33KpZyox1JRniBra0nmVZwdItoUG1SXFcC50DWryhGH8pTBMja4 5moE9rBAo2W/cTQ+rCnYK32IRfTu17hhhJxu3ufv/aNkS4ofvnad/fw7nz38vE+4 HxQeNSvo0O411C2ZUlFo/i97Okv7BFwf1I2orfQhKusfpNZxOFl0QPayhDf1/BRV RpYf3U742omDpH4nX07WFRP6wsa8hTY+n6rHPagAP0/M3aj4/LqxowMuWlV+2rp7 YFx9cwuxO8OxgBpF5YFdUMed/79OXwIZmvCTxYoY7dLetsMXmj7yBV7gXSRthzFt TMgPIQDMfGhSk+Xn6EWMvID41okr4aeseIcWs5OGVYZJcVfuDGxiNwU7OKqE1wco WGbLKuL8e4wlH/JBI6ZHlTPxIDgOUyHODE+FFejLfRmaF4AvmQOw6RT/Tuc6Qzqm DYFaALNELpL4CUr6/yV8TqCJ6YyBSjT3W9VSwrWh/e3HH7/sjtp6fGcWI3puQa18 M70ZdZZrhl05LqPsyLS4Qv/gFpcGiqa3bBU195fKOjK6pghsZ+5MXG+vtOCgHw6n fUu6+6tNKfSw1n6iEJfz =cbu5 -----END PGP SIGNATURE----- --8MGw1ILlV46eIqUv--