Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp339706imu; Fri, 7 Dec 2018 01:52:18 -0800 (PST) X-Google-Smtp-Source: AFSGD/UIWTYVW+CHkNfYH2U0PljHNIcZ2QHRqoJCkh0ZU20DuPvgsAdoHQdDhGTazj2MAAN080P7 X-Received: by 2002:a63:f111:: with SMTP id f17mr1353968pgi.236.1544176338004; Fri, 07 Dec 2018 01:52:18 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1544176337; cv=none; d=google.com; s=arc-20160816; b=U+qht4nCOqKp00MV1CsYIpoJ3asFuaJtCD8TcJeyXX13hyPp55UpdOu8bRXvGxcYsM DxtnX3F7cSJ6urQMXd+2uqDnMfe0ftMTdLvN8R8QLXxiFFXGT+KntNtBrwnSac0T+sGS /7LV7xghLlko4MvlOx1a7SYvzn/X4g7pm3EvYxFUGT2mEIEPp746bE3yMHdTahrJ7pV2 btZROI/z5snwKt9ykU60dvGm+OapHOWZz/oMHJFb6njnRUlnnuuVN+3CkLonxJ/ASzCX ROCaehcaTS7W65d9BK4OF1DG+Zq7el0ZXpo85PYVAKhv1Zzo3HXFGSg53FbfFSOv5Tea QHyQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:dkim-signature:dkim-filter; bh=tC4pLKXe7cYPj56m/gRdJtE80wxKsTy9wYda3oxXOVk=; b=D8aSfZNz1z/Br/5/XHWWv3S7gOrCgOhijBJVVbCXVspyVa/VaRGMq6LpU9rATB3gon kTIEh6nBCvt3SrAVyETNhq2CPrtnDRddZQt/1eYaIxEpTYdUGr6bsZKVWEnby4b4+G3K AWz3Nxn8lP4g/zjYAzNDTw0uAdhrruv2jynwfUGiFkXfYQ1Y9ww9xFYSpWp1AaJWEPrx e2CX418NKi03i0JwkfRt7j+XTVWVJeG77vZYN/jzj6uhAZ4eFDZtRGyL3SajBaB9R0H2 kuqGOtOvPnXn53eAPaSapi/mWLh8ZB1lWHkPU17vg6rlICmigkBpF9IF/T5IaC6lnXH5 jDAw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@nifty.com header.s=dec2015msa header.b=WwJgDjVA; 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 b24si2509221pgg.288.2018.12.07.01.52.02; Fri, 07 Dec 2018 01:52: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=@nifty.com header.s=dec2015msa header.b=WwJgDjVA; 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 S1726074AbeLGJvM (ORCPT + 99 others); Fri, 7 Dec 2018 04:51:12 -0500 Received: from conssluserg-05.nifty.com ([210.131.2.90]:41839 "EHLO conssluserg-05.nifty.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725986AbeLGJvM (ORCPT ); Fri, 7 Dec 2018 04:51:12 -0500 Received: from mail-vs1-f54.google.com (mail-vs1-f54.google.com [209.85.217.54]) (authenticated) by conssluserg-05.nifty.com with ESMTP id wB79p6Q4021671; Fri, 7 Dec 2018 18:51:06 +0900 DKIM-Filter: OpenDKIM Filter v2.10.3 conssluserg-05.nifty.com wB79p6Q4021671 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nifty.com; s=dec2015msa; t=1544176267; bh=tC4pLKXe7cYPj56m/gRdJtE80wxKsTy9wYda3oxXOVk=; h=References:In-Reply-To:From:Date:Subject:To:Cc:From; b=WwJgDjVAhjxaP+i0AZXPedwS6A0wkDuLbR1392L5elHvpT5RRNUKhQQa0VQufemWk 2pWPvMCx+pEcDfbIOYe1S57IQca3uY8tqf5lPHcRIeXycZttwlUabGH18iwkJmvDpf VY+Dq7DMKsKL2/nFTYl2Iz0TCmxG1aZ+sfCTiYAaox65kHH3IkVO4XukrcbBezwXga r60eG0lWoaJx+Zll7AJOzXBJfeTuTbweh3spujmc4by//gpUyaih8ps/60gQHZM/IB PpU0czUU07yKy/DXT5fDT1gcn24qCV8EXVEqknqz8PO3BoZm4StuyVVWH4qWLA2lPQ dkSXbLbI1+26w== X-Nifty-SrcIP: [209.85.217.54] Received: by mail-vs1-f54.google.com with SMTP id g68so2076624vsd.11; Fri, 07 Dec 2018 01:51:06 -0800 (PST) X-Gm-Message-State: AA+aEWYA+y8P8BgzeBXb3sWmfiix51ArBsiaggM/W3YShuVHC/a98jAb RYEWp1QteanGPwxwr5l+2Adi1NvhWGtocvJ4LFk= X-Received: by 2002:a67:f1d6:: with SMTP id v22mr578485vsm.181.1544176265715; Fri, 07 Dec 2018 01:51:05 -0800 (PST) MIME-Version: 1.0 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: From: Masahiro Yamada Date: Fri, 7 Dec 2018 18:50:29 +0900 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [PATCH 2/7] microblaze: adjust the help to the real behavior To: Michal Simek Cc: Linux Kbuild mailing list , Linux Kernel Mailing List , Michal Simek Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, Dec 6, 2018 at 9:54 PM Michal Simek wrote: > > On 06. 12. 18 6:27, Masahiro Yamada wrote: > > Hi Michal, > > > > On Thu, Dec 6, 2018 at 12:41 AM Michal Simek wrote: > >> > >> On 03. 12. 18 8:50, Masahiro Yamada wrote: > >>> "make ARCH=microblaze help" mentions simpleImage.
.unstrip, > >>> but it never works because Makefile assumes "system.unstrip" is > >>> the name of DT. > >>> > >>> $ make ARCH=microblaze CROSS_COMPILE=microblaze-linux- simpleImage.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/
.dts 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/microblaze/configs' > >>> echo '' > >>> echo ' Targets with
embed a device tree blob inside the image' > >>> > >> > >> 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 and > >> 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 > >> > > > > If we want to be precise to the current behavior, > > we could describe more. > > (Is it too much?) > > > > > > 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 header > > simpleImage.
.unstrip: ELF (identical to vmlinux) > > simpleImage.
.strip : stripped ELF > > *_defconfig - Select default config from arch/microblaze/configs > > > > > > > > > > If you want to modify as you like, > > I will not touch it though. > > what you have above is fine for me. OK, I will send v2 with the typo fixed. Thanks. -- Best Regards Masahiro Yamada