Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp10659472imu; Thu, 6 Dec 2018 04:54:17 -0800 (PST) X-Google-Smtp-Source: AFSGD/UGzjrEsDiEpanVn42mw7Jh/QxeSO2hTmg0p59Or+S0qxDnlcgkpuh0/3rcWRUf93FuJ+vf X-Received: by 2002:a63:d818:: with SMTP id b24mr23466834pgh.174.1544100857556; Thu, 06 Dec 2018 04:54:17 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1544100857; cv=none; d=google.com; s=arc-20160816; b=WebxJnm9yIRjNXX2okoGpIETQ6y7aMM02k2BrczOSm6roXPispqISj//H08igctitx nnr91AHhopqjATrUPbGK1QQvYZBY9pnJ1WsaIto/Lo9IQOYCEWFmj+gBicf6CkPtzHhF Pu7Cix3ypUWknlrwmqzsLlPmhzry25rYWERvC6wqGwhKDf4SnlyyCb9I/plvR+DzX9BR Jna+jEClXOZR+Qrgm7TVJQ+W+8vfew6UaQ/nwugphTXY+OWz9ArT/ekjmU59E2RHlnb2 /qUAhuHGv8K4Tt7w5S02N8j6VAfXZzBQlCEiCfEoV7hrBTW/E6rhwkCWXRunu2tiT+Of FxOw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:in-reply-to:mime-version:user-agent:date :message-id:autocrypt:openpgp:from:references:cc:to:subject:reply-to :dkim-signature; bh=0V9j8FBjlIv/o4np8uDO/+zWj9v7ppn4cjjieNMYW/s=; b=ggb3vtTwBVmpQRgPiWEmo4+s8Slxg49PylVR01uRAxfsH3O+eF1KDHCHilxjhLFHhW /IZByH6O4bzmEov0xdoITe6h2d7uWDrz7FVhnnnz/v8FaUE40hJhPioGE2tOeLs1Vvbg fSFAhdS85vMwYenDmgp6RotZv9IzdSoQwEfvXr9BJBRlgoT4Qfy78mKvZRALSFJOjGfV t+Cz9SkNwZqbqAaYplK/Mob5/s7GWk1QFaJhRvtZHmmmsI3zcQMddM0NITaE1gl8Opm3 9yh7osOGVy5CMQsVltu200rhbaRzbOqmvGD6ZCym5WZ6JzBB6l1qnofK+58IYX6sDkTH CMUw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@monstr-eu.20150623.gappssmtp.com header.s=20150623 header.b=RxyVmOyX; 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 y6si212530pgb.516.2018.12.06.04.53.57; Thu, 06 Dec 2018 04:54:17 -0800 (PST) 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=@monstr-eu.20150623.gappssmtp.com header.s=20150623 header.b=RxyVmOyX; 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 S1729596AbeLFMxE (ORCPT + 99 others); Thu, 6 Dec 2018 07:53:04 -0500 Received: from mail-wr1-f67.google.com ([209.85.221.67]:40975 "EHLO mail-wr1-f67.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728482AbeLFMxD (ORCPT ); Thu, 6 Dec 2018 07:53:03 -0500 Received: by mail-wr1-f67.google.com with SMTP id x10so364363wrs.8 for ; Thu, 06 Dec 2018 04:53:01 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=monstr-eu.20150623.gappssmtp.com; s=20150623; h=reply-to:subject:to:cc:references:from:openpgp:autocrypt:message-id :date:user-agent:mime-version:in-reply-to; bh=0V9j8FBjlIv/o4np8uDO/+zWj9v7ppn4cjjieNMYW/s=; b=RxyVmOyXSLEZs4/FhRN1TobJeaosXRImSP3FD5dTT0BC9MjoQ24czt9Z73B6SXBFTS /DvmZfwtFaaEv+MejSuNzJ/Z3/WWfuDKeiQ3cuD/xoSU4hwt9Ey6KwPQ4fhRGEVSpRSh 9qHgLChbUE1pfAVZzsqABgMHPWWHNJv3sX8pfFBL3ANGEswNgW0tP4OHXbmVmm1IXZr5 WSMunWcQUnBp2+6s4uP1X2JA4RF98D1KJzxJqgczBc5lae79GcVMuu/l4kiZfxE4oRRA iNCessqMhlmfH5tTzZTyLCxQdo2D7jskVSLc7SO/99aE4KxqCbfZvK60i7olor3It70M 8m3A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:reply-to:subject:to:cc:references:from:openpgp :autocrypt:message-id:date:user-agent:mime-version:in-reply-to; bh=0V9j8FBjlIv/o4np8uDO/+zWj9v7ppn4cjjieNMYW/s=; b=Xh9CldSKJCaE72P2mD1XHi8Fgb4hMsBZrrbhEPYqfSM3w7FqzshS5CzvZQH0+hLpAM emg99MHUz9mta5NsO/sGUi1nQXD/vKoNdX6Od1lvP6RyM/Jo28GPMJ4kbwx3/QSFjwvx qOu5GL5gJsd3IJYXMi4arWAVU0yG0vC5OikNMiDXqHIYTlzW4URBad7XJsFgDnLqODIV QKfE/DZ9upLvKOUF9FofKDn+k0Vef/VRka84xLxG7F3JkeBsvppqzKpKIuruxB+2gBlh wX4vzqcIb47nGzn3W2xKmwiRnxOoiijzkFMvlWhVXsMcrNXTsZ3OBp5Q1d5VjwoJBWto LmAw== X-Gm-Message-State: AA+aEWZNkK3qbX/M+U/OZ7UIZ+J8Vf6GljtpJ/W7bJysrvLoJWY9dcsd NigUL8vU8bQk8IvlGxPmZXsWPNUk5LC9lA== X-Received: by 2002:a5d:6710:: with SMTP id o16mr25728563wru.152.1544100780887; Thu, 06 Dec 2018 04:53:00 -0800 (PST) Received: from [173.194.76.109] ([149.199.62.130]) by smtp.gmail.com with ESMTPSA id y8sm1085466wmg.13.2018.12.06.04.52.56 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 06 Dec 2018 04:52:59 -0800 (PST) Reply-To: monstr@monstr.eu Subject: Re: [PATCH 2/7] microblaze: adjust the help to the real behavior To: Masahiro Yamada Cc: Linux Kbuild mailing list , Linux Kernel Mailing List , Michal Simek References: <1543823457-32478-1-git-send-email-yamada.masahiro@socionext.com> <1543823457-32478-3-git-send-email-yamada.masahiro@socionext.com> <80bf0f6e-8f1f-314e-b22d-6e786cf15e45@monstr.eu> From: Michal Simek Openpgp: preference=signencrypt Autocrypt: addr=monstr@monstr.eu; prefer-encrypt=mutual; keydata= xsFNBFFuvDEBEAC9Amu3nk79+J+4xBOuM5XmDmljuukOc6mKB5bBYOa4SrWJZTjeGRf52VMc howHe8Y9nSbG92obZMqsdt+d/hmRu3fgwRYiiU97YJjUkCN5paHXyBb+3IdrLNGt8I7C9RMy svSoH4WcApYNqvB3rcMtJIna+HUhx8xOk+XCfyKJDnrSuKgx0Svj446qgM5fe7RyFOlGX/wF Ae63Hs0RkFo3I/+hLLJP6kwPnOEo3lkvzm3FMMy0D9VxT9e6Y3afe1UTQuhkg8PbABxhowzj SEnl0ICoqpBqqROV/w1fOlPrm4WSNlZJunYV4gTEustZf8j9FWncn3QzRhnQOSuzTPFbsbH5 WVxwDvgHLRTmBuMw1sqvCc7CofjsD1XM9bP3HOBwCxKaTyOxbPJh3D4AdD1u+cF/lj9Fj255 Es9aATHPvoDQmOzyyRNTQzupN8UtZ+/tB4mhgxWzorpbdItaSXWgdDPDtssJIC+d5+hskys8 B3jbv86lyM+4jh2URpnL1gqOPwnaf1zm/7sqoN3r64cml94q68jfY4lNTwjA/SnaS1DE9XXa XQlkhHgjSLyRjjsMsz+2A4otRLrBbumEUtSMlPfhTi8xUsj9ZfPIUz3fji8vmxZG/Da6jx/c a0UQdFFCL4Ay/EMSoGbQouzhC69OQLWNH3rMQbBvrRbiMJbEZwARAQABzR9NaWNoYWwgU2lt ZWsg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+LueDVQ5P/Gwp5V1 9e6oMggSVn53IRVPB4MzTXVm/Q03c5YXPqgP4bPIF624HAPRnUxCWY1yrZuE4zNPG5dfY0PN RmzhqoTJlA== Message-ID: Date: Thu, 6 Dec 2018 13:52:49 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.2.1 MIME-Version: 1.0 In-Reply-To: Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="XhLnlO5rQel1C0IKrmcNm3vvWto4s6IIa" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --XhLnlO5rQel1C0IKrmcNm3vvWto4s6IIa Content-Type: multipart/mixed; boundary="4s1YDqlLOFzzUUEdBjGQo53mcbR8Op90C"; protected-headers="v1" From: Michal Simek Reply-To: monstr@monstr.eu To: Masahiro Yamada Cc: Linux Kbuild mailing list , Linux Kernel Mailing List , Michal Simek Message-ID: Subject: Re: [PATCH 2/7] microblaze: adjust the help to the real behavior References: <1543823457-32478-1-git-send-email-yamada.masahiro@socionext.com> <1543823457-32478-3-git-send-email-yamada.masahiro@socionext.com> <80bf0f6e-8f1f-314e-b22d-6e786cf15e45@monstr.eu> In-Reply-To: --4s1YDqlLOFzzUUEdBjGQo53mcbR8Op90C Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: quoted-printable On 06. 12. 18 6:27, Masahiro Yamada wrote: > Hi Michal, >=20 > On Thu, Dec 6, 2018 at 12:41 AM Michal Simek wrote: >> >> On 03. 12. 18 8:50, Masahiro Yamada wrote: >>> "make ARCH=3Dmicroblaze help" mentions simpleImage.
.unstrip, >>> but it never works because Makefile assumes "system.unstrip" is >>> the name of DT. >>> >>> $ make ARCH=3Dmicroblaze CROSS_COMPILE=3Dmicroblaze-linux- simpleImag= e.system.unstrip >>> [ snip ] >>> make[1]: *** No rule to make target 'arch/microblaze/boot/dts/system.= unstrip.dtb', needed by 'arch/microblaze/boot/dts/system.dtb'. Stop. >>> make: *** [Makefile;1060: arch/microblaze/boot/dts] Error 2 >>> make: *** Waiting for unfinished jobs.... >>> >>> Rip off the never-working target. >>> >>> In my understanding, simpleImage.
works like a phony target that >>> generates multiple images. Reflect the behavior to the help message. >>> >>> Signed-off-by: Masahiro Yamada >>> --- >>> >>> arch/microblaze/Makefile | 4 +--- >>> 1 file changed, 1 insertion(+), 3 deletions(-) >>> >>> diff --git a/arch/microblaze/Makefile b/arch/microblaze/Makefile >>> index 0823d29..97e1384 100644 >>> --- a/arch/microblaze/Makefile >>> +++ b/arch/microblaze/Makefile >>> @@ -89,9 +89,7 @@ define archhelp >>> echo '* linux.bin - Create raw binary' >>> echo ' linux.bin.gz - Create compressed raw binary' >>> echo ' linux.bin.ub - Create U-Boot wrapped raw binary' >>> - echo ' simpleImage.
- ELF image with $(arch)/boot/dts/
.dt= s linked in' >>> - echo ' - stripped elf with fdt blob' >>> - echo ' simpleImage.
.unstrip - full ELF image with fdt blob' >>> + echo ' simpleImage.
- Create images with $(arch)/boot/dts/.dts linked in' >>> echo ' *_defconfig - Select default config from arch/microbl= aze/configs' >>> echo '' >>> echo ' Targets with
embed a device tree blob inside the imag= e' >>> >> >> I understand what you are trying to say but I would still like to keep= >> information about unstrip file. >> It is correct that it is not build target. It is just generated file a= nd >> message above was used for description what it is. >> Definitely agree that this should be the part of targets but it should= >> be in description. >> The same is for missing description for simpleImage.
.strip and >> simpleImage.
.ub files. >> >> Thanks, >> Michal >> >=20 > If we want to be precise to the current behavior, > we could describe more. > (Is it too much?) >=20 >=20 > Architecture specific targets (microblaze): > * linux.bin - Create raw binary > linux.bin.gz - Create compressed raw binary > linux.bin.ub - Create U-Boot wrapped raw binary > simpleImage.
- Create the following images with > arch/macroblaze/boot/dts/
.dts linked in type - microblaze maybe here. > simpleImage.
: raw image > simpleImage.
.ub : raw image with U-Boot he= ader > simpleImage.
.unstrip: ELF (identical to vmlinu= x) > simpleImage.
.strip : stripped ELF > *_defconfig - Select default config from arch/microblaze/configs= >=20 >=20 >=20 >=20 > If you want to modify as you like, > I will not touch it though. what you have above is fine for me. >=20 >=20 >=20 >=20 >=20 > BTW, "make ARCH=3Dmicroblaze help" looks like follows: >=20 > * linux.bin - Create raw binary > linux.bin.gz - Create compressed raw binary > linux.bin.ub - Create U-Boot wrapped raw binary > simpleImage.
- ELF image with /boot/dts/
.dts linked in > - stripped elf with fdt blob > simpleImage.
.unstrip - full ELF image with fdt blob > *_defconfig - Select default config from arch/microblaze/configs= >=20 >=20 >=20 >=20 > Since "arch" is not set anywhere, $(arch) is empty, > "ELF image with /boot/dts/
.dts linked in" looks strange. As I said good to fix it in a way you have above. Thanks, Michal --=20 Michal Simek, Ing. (M.Eng), OpenPGP -> KeyID: FE3D1F91 w: www.monstr.eu p: +42-0-721842854 Maintainer of Linux kernel - Xilinx Microblaze Maintainer of Linux kernel - Xilinx Zynq ARM and ZynqMP ARM64 SoCs U-Boot custodian - Xilinx Microblaze/Zynq/ZynqMP/Versal SoCs --4s1YDqlLOFzzUUEdBjGQo53mcbR8Op90C-- --XhLnlO5rQel1C0IKrmcNm3vvWto4s6IIa Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.22 (GNU/Linux) iEYEARECAAYFAlwJG6UACgkQykllyylKDCFG0wCdFaOySdaGtiKgunnsBtCKqcRa 4twAn17bVP52XUKPS4xARzOsfE25hF8+ =NNt/ -----END PGP SIGNATURE----- --XhLnlO5rQel1C0IKrmcNm3vvWto4s6IIa--