Received: by 2002:a05:6a10:16a7:0:0:0:0 with SMTP id gp39csp720655pxb; Thu, 12 Nov 2020 14:52:57 -0800 (PST) X-Google-Smtp-Source: ABdhPJzuuICJhHLPznPx6avCsVC/H3unSrdXBzlHdQphbjoEwXLomUeM2seSCAMTPf7RlXUeMMe3 X-Received: by 2002:aa7:d1d8:: with SMTP id g24mr2439880edp.324.1605221577007; Thu, 12 Nov 2020 14:52:57 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1605221576; cv=none; d=google.com; s=arc-20160816; b=kH94Ada6hSa8auQlRZkPqN45gaokBWXlBB8sZNLH92pOnOVARSbgjTiEs+xFwZPhPx pGfGxdlsVn272OjFBtdrTyHI4x0I8frvyRcvC6pgObZR0Qd+2Zt4AOEmDSWXTesS0Jo5 W87ap4j88Qv7+rEKOoyM1SPXvIcNpc6wCEPGWuDhQxi5DetPAvbHlAgDKaRyYV+fGE6/ N+Y5oIYazbaA0GnZd7bKQU5uFKxJtJkLslc/vf6esQIvn5qSOayt66KgYFTCBnRCc8di pgoA34CcgsfSfZs6jTrSnVuWUGz1xAaayMfPouCJnzbT2GgkBW2a8KbDenDHBNLaiIGK lUww== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:user-agent:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date; bh=Dpx8B2bKZ1GhWpV8GQHgPNgx2waffuUx8AKNYBS212E=; b=OurwvQKgFjXaxJQI9D0Cg5yDmEMlAM4erx5uC30D5Wdyucmlg7LN41hRpgW49jHqX9 oIxpVGngcuoXlL1KBkWXXI+S59FLs5nWrXgoJH+9WPvL2ofDv63HOs3rtTGHlh+++qGv /MpnSsK8Au2e5M2vfYGnHcq2n3l48BWMaOYliDqhwRF8ZXgFHdZ8zfUlHxBnnkv/npn0 arwKj5f0++6gpt7F0jFS0szvxL6vlHlD2dC52kYhMlz0P7ouV0QmNsrXPC0BTkG0W19j B4UCCzeUDKzjMBBlX2iuZi8dTQdTcjzUayfdcSHLEy/AWlBuM6i7WyTYWmp9EdCOxhkw kyvg== ARC-Authentication-Results: i=1; mx.google.com; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id d22si4333849ejy.208.2020.11.12.14.52.34; Thu, 12 Nov 2020 14:52:56 -0800 (PST) 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; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727916AbgKLWuW (ORCPT + 99 others); Thu, 12 Nov 2020 17:50:22 -0500 Received: from elvis.franken.de ([193.175.24.41]:57148 "EHLO elvis.franken.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726303AbgKLWuU (ORCPT ); Thu, 12 Nov 2020 17:50:20 -0500 Received: from uucp (helo=alpha) by elvis.franken.de with local-bsmtp (Exim 3.36 #1) id 1kdLQ2-0005gc-05; Thu, 12 Nov 2020 23:50:18 +0100 Received: by alpha.franken.de (Postfix, from userid 1000) id 7C26BC4DE1; Thu, 12 Nov 2020 23:49:46 +0100 (CET) Date: Thu, 12 Nov 2020 23:49:46 +0100 From: Thomas Bogendoerfer To: Alexander Lobakin Cc: Greg Kroah-Hartman , Masahiro Yamada , Paul Burton , Paul Cercueil , Huacai Chen , Jiaxun Yang , linux-mips@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH mips-next 0/2] mips: boot: add support for self-extracting FIT images (vmlinuz.itb) Message-ID: <20201112224946.GF19695@alpha.franken.de> References: 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) Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Sun, Nov 01, 2020 at 03:11:07PM +0000, Alexander Lobakin wrote: > Commit c3e2ee657418 ("MIPS: generic: Add support for zboot") added > support for self-extracting images to Generic MIPS. However, the > intended way to boot Generic MIPS kernels is using FIT Images and > UHI boot protocol, but currently there's no way to make self-extracting > FIT Image (only legacy uzImages). > > This set consists of two parts: > 1) various cleanups in arch/mips/boot/compressed/Makefile as a > prerequisite; > 2) a new target named "vmlinuz.itb" for composing self-extracting > FIT Images, which allows to have the advantages of both UHI and > vmlinuz. > > The second part involves some scenarios duplication, but I think it > can be a subject for another series (for constifying and unifying > FIT Images rules across the architectures). > > Alexander Lobakin (2): > mips: boot: clean up self-extracting targets scenarios > mips: boot: add support for self-extracting FIT images (vmlinuz.itb) > > arch/mips/Makefile | 3 +- > arch/mips/boot/.gitignore | 1 + > arch/mips/boot/compressed/Makefile | 96 +++++++++++++++++++++++++----- > 3 files changed, 85 insertions(+), 15 deletions(-) series applied to mips-next. Thomas. -- Crap can work. Given enough thrust pigs will fly, but it's not necessarily a good idea. [ RFC1925, 2.3 ]