From patchwork Tue May 28 17:21:26 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Paul Burton X-Patchwork-Id: 10965589 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 AD72376 for ; Tue, 28 May 2019 17:21:30 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 87BCC28837 for ; Tue, 28 May 2019 17:21:30 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 85D8128844; Tue, 28 May 2019 17:21:30 +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=-7.9 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,MAILING_LIST_MULTI,RCVD_IN_DNSWL_HI autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 19DDE28897 for ; Tue, 28 May 2019 17:21:29 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726481AbfE1RV3 (ORCPT ); Tue, 28 May 2019 13:21:29 -0400 Received: from mail-eopbgr760093.outbound.protection.outlook.com ([40.107.76.93]:30413 "EHLO NAM02-CY1-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1726236AbfE1RV3 (ORCPT ); Tue, 28 May 2019 13:21:29 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=wavesemi.onmicrosoft.com; s=selector1-wavesemi-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=jREHrBi4ue6x7A8F8FbrwYEPGd+JT0ytdNHyMQo2hqA=; b=A5rKkwFExu99Ki3JeCB6LR5UqDXE2eTGUUBSSj3lBx6oBkMYPknw1LUrIoqHMRu09IoehCy2nVqoHYPVFzPWchj/KtEVvKz/AjfRzjV27Nq1LT/lD+4qDDmB8Dspm33aq70N2JbzE79fHDzS0lf83RIgWGQ6ARPoXszEdiMhfFg= Received: from MWHPR2201MB1277.namprd22.prod.outlook.com (10.174.162.17) by MWHPR2201MB1439.namprd22.prod.outlook.com (10.174.169.166) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.1922.23; Tue, 28 May 2019 17:21:26 +0000 Received: from MWHPR2201MB1277.namprd22.prod.outlook.com ([fe80::90ff:8d19:8459:834b]) by MWHPR2201MB1277.namprd22.prod.outlook.com ([fe80::90ff:8d19:8459:834b%7]) with mapi id 15.20.1922.021; Tue, 28 May 2019 17:21:26 +0000 From: Paul Burton To: "linux-mips@vger.kernel.org" CC: Paul Burton , Kevin Hilman , "stable@vger.kernel.org" Subject: [PATCH] MIPS: pistachio: Build uImage.gz by default Thread-Topic: [PATCH] MIPS: pistachio: Build uImage.gz by default Thread-Index: AQHVFXnH89+CQ67b4kKYpTCf9/D2IA== Date: Tue, 28 May 2019 17:21:26 +0000 Message-ID: <20190528172111.3843-1-paul.burton@mips.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-clientproxiedby: BY5PR04CA0009.namprd04.prod.outlook.com (2603:10b6:a03:1d0::19) To MWHPR2201MB1277.namprd22.prod.outlook.com (2603:10b6:301:24::17) authentication-results: spf=none (sender IP is ) smtp.mailfrom=pburton@wavecomp.com; x-ms-exchange-messagesentrepresentingtype: 1 x-mailer: git-send-email 2.21.0 x-originating-ip: [12.94.197.246] x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: 3f11b1c5-1d68-4134-86b0-08d6e390ea15 x-microsoft-antispam: BCL:0;PCL:0;RULEID:(2390118)(7020095)(4652040)(8989299)(4534185)(4627221)(201703031133081)(201702281549075)(8990200)(5600148)(711020)(4605104)(1401327)(2017052603328)(7193020);SRVR:MWHPR2201MB1439; x-ms-traffictypediagnostic: MWHPR2201MB1439: x-ms-exchange-purlcount: 1 x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:7219; x-forefront-prvs: 00514A2FE6 x-forefront-antispam-report: SFV:NSPM;SFS:(10019020)(39830400003)(396003)(376002)(366004)(346002)(136003)(199004)(189003)(386003)(478600001)(26005)(99286004)(2616005)(476003)(52116002)(73956011)(6506007)(50226002)(64756008)(54906003)(66446008)(8936002)(66946007)(71200400001)(2906002)(71190400001)(66556008)(102836004)(44832011)(68736007)(66476007)(81156014)(4326008)(81166006)(25786009)(6916009)(2351001)(186003)(486006)(6486002)(5660300002)(8676002)(256004)(305945005)(36756003)(3846002)(1076003)(6512007)(6116002)(316002)(42882007)(14454004)(7736002)(53936002)(66066001)(2501003)(6306002)(6436002)(5640700003)(966005);DIR:OUT;SFP:1102;SCL:1;SRVR:MWHPR2201MB1439;H:MWHPR2201MB1277.namprd22.prod.outlook.com;FPR:;SPF:None;LANG:en;PTR:InfoNoRecords;A:1;MX:1; received-spf: None (protection.outlook.com: wavecomp.com does not designate permitted sender hosts) x-ms-exchange-senderadcheck: 1 x-microsoft-antispam-message-info: CMPD4+2sdU8P6uude5O34VIZOBYOpztRQGZWhNe9PjMoLj1blb3gih8L631NlcAZOWkPnjd/VJOS1OlSif5sFhbHt49qW36ooekRelHqwrHxsavibgAwAYtFK0bAGvzVJBtvpR3fzWiHW0Cm3STBfDDI/iTg2qX+J3aP85qQ2w9GxXlwFeiJiKXBzzXNFn260ap7j06c5JXGkwUKEDDlBVeF7iqbxhA1YjDydpwr0YIH0Ehh2fz/IHyiCs25Xc1Js8NU66YZXkQ8FU4vARs5SLBnxWGuqNY6P7I0hJiOBNOTlvUL/j4YAv2hdb5CFL8RgEj/mr6G9sq/dV+CrJ09jJJUVk0/FMWCK0K7lik9o8irdlfPhaSKb3OCZEalw3y7b72b08+JrA1mWQe5DxHb0mDtwnu08s2Bly86E2niLrA= MIME-Version: 1.0 X-OriginatorOrg: mips.com X-MS-Exchange-CrossTenant-Network-Message-Id: 3f11b1c5-1d68-4134-86b0-08d6e390ea15 X-MS-Exchange-CrossTenant-originalarrivaltime: 28 May 2019 17:21:26.5382 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 463607d3-1db3-40a0-8a29-970c56230104 X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: pburton@wavecomp.com X-MS-Exchange-Transport-CrossTenantHeadersStamped: MWHPR2201MB1439 Sender: linux-mips-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-mips@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP The pistachio platform uses the U-Boot bootloader & generally boots a kernel in the uImage format. As such it's useful to build one when building the kernel, but to do so currently requires the user to manually specify a uImage target on the make command line. Make uImage.gz the pistachio platform's default build target, so that the default is to build a kernel image that we can actually boot on a board such as the MIPS Creator Ci40. Marked for stable backport as far as v4.1 where pistachio support was introduced. This is primarily useful for CI systems such as kernelci.org which will benefit from us building a suitable image which can then be booted as part of automated testing, extending our test coverage to the affected stable branches. Signed-off-by: Paul Burton Reviewed-by: Kevin Hilman Tested-by: Kevin Hilman URL: https://groups.io/g/kernelci/message/388 Cc: stable@vger.kernel.org # v4.1+ Reviewed-by: Philippe Mathieu-Daudé --- arch/mips/pistachio/Platform | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/mips/pistachio/Platform b/arch/mips/pistachio/Platform index d80cd612df1f..c3592b374ad2 100644 --- a/arch/mips/pistachio/Platform +++ b/arch/mips/pistachio/Platform @@ -6,3 +6,4 @@ cflags-$(CONFIG_MACH_PISTACHIO) += \ -I$(srctree)/arch/mips/include/asm/mach-pistachio load-$(CONFIG_MACH_PISTACHIO) += 0xffffffff80400000 zload-$(CONFIG_MACH_PISTACHIO) += 0xffffffff81000000 +all-$(CONFIG_MACH_PISTACHIO) := uImage.gz