Received: by 2002:a05:6a10:9848:0:0:0:0 with SMTP id x8csp861503pxf; Wed, 7 Apr 2021 13:32:16 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxOxsWdB/77pvdHoiZi2o8Ji/rUYNZ/i/ibC9WGudjaF92dwdukiC3CxWc3LyO4f8ri8qOg X-Received: by 2002:aa7:da46:: with SMTP id w6mr7020974eds.30.1617827536480; Wed, 07 Apr 2021 13:32:16 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1617827536; cv=none; d=google.com; s=arc-20160816; b=ws5ovKgG4qDbUdWM58UMoMsAi32bbJRf6smCYkg7MycAxVcVC+XBL6ppqyMJWZZkCX H/XWdrHJRINJxRD4Gl1mQREvB0anDwjvDyVc5/YzV3txyDreexLjddt5Ht9SEObX/Yr8 x5Y32BQt9SENZytBy1qvXQM/YTAfu7EOiN7eqfEdMFwaGpQ+ijZBDRHUZvfBlDxY9TLG /n1xcgYO10LYVFs1TyU1dDmiPmH8T6IiYZBExyIY2emw9tUcBcYpSbVbuWyZrXQdxxjD QpJEJ1l9QHWEmZc5hbIR/Picf7SdiXOCtR4dJjSX8Ol8an+OAzJB9KVk6On9kPiIrxHr 12mw== 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=FtILCfoLF0UZixMuOcOcD/m4x0f7qbhL078nTs2OvLw=; b=NPhxQpedlV/Y/UNgLRBIQE+fXRML7yGA24alHNCjzl2gRQsX4n5jLFthst7c3sXPL2 BjrLWb+JI9GXrVFaJRmuQBEMJ7dqt5jWjnoajg5Yz3zyHYN1TSRxtXclipqzZuJDja0a AEVR62QnYsiO8CAt06qs02I3RzfAx1QHSkVeJYqdhrPSRCobRyE3tbC1qb1wQ3/BPbmd 4j1LsMC7DkPJ9PmMrG8A3NVQuIjOH6M9dIGSdB7GQs8Fabk+S6ZgZEUVGMbVc5Gc/1Ws HX7WdGj1h4GtZmz+Rrn5rmIBbBKN7UmiaofV2AwvLrVWYaJvVv9Y5t8kBdlau7N5r4DB q1iw== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail (test mode) header.i=@armlinux.org.uk header.s=pandora-2019 header.b=EHgAM7D6; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=armlinux.org.uk Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id ds7si22825616ejc.534.2021.04.07.13.31.51; Wed, 07 Apr 2021 13:32:16 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=fail (test mode) header.i=@armlinux.org.uk header.s=pandora-2019 header.b=EHgAM7D6; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=armlinux.org.uk Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S236038AbhDGIDk (ORCPT + 99 others); Wed, 7 Apr 2021 04:03:40 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:47122 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S236637AbhDGIDO (ORCPT ); Wed, 7 Apr 2021 04:03:14 -0400 Received: from pandora.armlinux.org.uk (pandora.armlinux.org.uk [IPv6:2001:4d48:ad52:32c8:5054:ff:fe00:142]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 5CC6CC06174A; Wed, 7 Apr 2021 01:03:03 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=armlinux.org.uk; s=pandora-2019; h=Sender:In-Reply-To:Content-Type: MIME-Version:References:Message-ID:Subject:Cc:To:From:Date:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Id: List-Help:List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=FtILCfoLF0UZixMuOcOcD/m4x0f7qbhL078nTs2OvLw=; b=EHgAM7D64tJ5H2T06ysAWOqVK ninH/ePokltqElSHFbDu9UwzCvmp7Zh4jCgUfj7Ygaycln8L/EXZ53vln1bjKFjPXOZv2YKawkXYD rs9/n1F8stzy1PiyMOc2+4W/5x3LiOJPRTxkbEgAOPIk9jUgALEtuAtfNHywGmPzHSkkOn/8/V9I0 WL13yhvt++ZgV2V6a0n6acN6RDqsWDWoxaUwP+1jvTV9t148y+t4D0XKhPZNAYj9W7ayVl0STnke6 nodUqLpZxCKUnqyY9bCBzcnCREbt37ECXEh7ktE08QgdzpCvJtEY/BOTvfC1V6bgVRlGPv5gxNYBR Ep4xwzCmQ==; Received: from shell.armlinux.org.uk ([fd8f:7570:feb6:1:5054:ff:fe00:4ec]:52176) by pandora.armlinux.org.uk with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1lU395-00083f-Sl; Wed, 07 Apr 2021 09:02:39 +0100 Received: from linux by shell.armlinux.org.uk with local (Exim 4.92) (envelope-from ) id 1lU38v-0001or-Cw; Wed, 07 Apr 2021 09:02:29 +0100 Date: Wed, 7 Apr 2021 09:02:29 +0100 From: Russell King - ARM Linux admin To: Greg Kroah-Hartman Cc: Geert Uytterhoeven , Masahiro Yamada , Michal Marek , linux-kbuild , Linux-Arch , Linux Kernel Mailing List , "David S. Miller" , "James E.J. Bottomley" , Albert Ou , Borislav Petkov , Catalin Marinas , Christian Borntraeger , Greentime Hu , Heiko Carstens , Helge Deller , Ingo Molnar , Ley Foon Tan , Michael Ellerman , Nick Hu , Palmer Dabbelt , Paul Walmsley , Rich Felker , Thomas Gleixner , Vasily Gorbik , Vincent Chen , Will Deacon , Yoshinori Sato , the arch/x86 maintainers Subject: Re: [PATCH 00/20] kbuild: unify the install.sh script usage Message-ID: <20210407080229.GF1463@shell.armlinux.org.uk> References: <20210407053419.449796-1-gregkh@linuxfoundation.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.10.1 (2018-07-13) Sender: Russell King - ARM Linux admin Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Apr 07, 2021 at 09:46:18AM +0200, Greg Kroah-Hartman wrote: > On Wed, Apr 07, 2021 at 09:18:11AM +0200, Geert Uytterhoeven wrote: > > Hi Greg, > > > > Thanks for your series! > > > > On Wed, Apr 7, 2021 at 7:34 AM Greg Kroah-Hartman > > wrote: > > > Almost every architecture has copied the "install.sh" script that > > > originally came with i386, and modified it in very tiny ways. This > > > patch series unifies all of these scripts into one single script to > > > allow people to understand how to correctly install a kernel, and fixes > > > up some issues regarding trying to install a kernel to a path with > > > spaces in it. > > > > > > Note that not all architectures actually seem to have any type of way to > > > install a kernel, they must rely on external scripts or tools which > > > feels odd as everything should be included here in the main repository. > > > I'll work on trying to figure out the missing architecture issues > > > afterward. > > > > I'll bite ;-) > > > > Does anyone actually use these scripts (outside of x86)? Yes, every time I build a kernel. My kernel build system involves typing "kbuild " and the kernel gets built in ../build/. When the build completes, it gets installed into ~/systems/, tar'd up, and copied to the destination machines, unpacked, installed as appropriate, and the machine rebooted if requested. The installation step is done via the ~/bin/installkernel script. > > I assume the architectures that have them, only have them because they > > were copied from x86 while doing the initial ports ("oh, a file I don't > > have to modify at all."). > > But installing the kernel can be very platform-specific. > > Do you need the vmlinux, vmlinux.gz, Image, zImage, uImage, ...? > > With separate or appended DTB? My scripts deal with all that. However, I haven't been able to review the changes that are being made because I have no visibility of the common "scripts" version. Provided it offers exactly the same functionality as the arm32 version, I'm happy. If it doesn't, it may cause a regression, and I will be reporting that. -- RMK's Patch system: https://www.armlinux.org.uk/developer/patches/ FTTP is here! 40Mbps down 10Mbps up. Decent connectivity at last!