Received: by 2002:a05:6a10:16a7:0:0:0:0 with SMTP id gp39csp1306684pxb; Wed, 4 Nov 2020 05:41:54 -0800 (PST) X-Google-Smtp-Source: ABdhPJwfERPW1Doh3n7qjzJl/mDGCA58EcyZbmDVIM+AR6OUUh+jSCrXIiOw7Nka0z1onFKW+wVr X-Received: by 2002:a17:906:3413:: with SMTP id c19mr24252469ejb.421.1604497314347; Wed, 04 Nov 2020 05:41:54 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1604497314; cv=none; d=google.com; s=arc-20160816; b=upIhMUmitX5hgQWWjPtp5Q2F/OhFZujUeAi0I56w9O1+SwhcCSZW7q36mTEFvxiSW+ azYrprDel0NaHG2mdBYIOru4zpROmsU/Ky8N99mtYxNuu6y/m0glOy6esyOXGNuksIAm lM8b42DerOT1BZyp60FtgoAMcgw6oovsDco/bnpUVwGTsr700rG4RmZVBo7ygneW2Hu8 v5xjdPeRQVszYFj70rBtDSDMsoWXBmDomjtg2eASyvpjlujMzWFR6T9JcjQ2mtDc3v7j sg5qJ5MzeFHZSd49ra6haLetJXcXiJ25F8r42j90uur06kTvievaia9LmrYKrHglUbQl oDPg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:subject:reply-to:cc:from:to :dkim-signature:date; bh=WdLBXEtTB5n+fQsb0z3+UyBitWtDwfM7q0BL1uG5J+4=; b=i/2GQliWRl9wEmdK6fYaUhHkwt7scb+Q7WNWIIX34h+yc5QRdHIYkcVHUcc56J5lBw kTMpc/ZQIkBFOb6CpMG+zcCfZJYcG6+7K1gMg5Yk3VlOzgTbOdlARU88hqFEmLpqxXVY zzMb3pF6P5AFUxGtP4xN96Osfb4sWKdeCBJTtoiXxMuy+QpG9ay5MsPgjeHhE2t7VIhU +Ly3UNarvj42y/HZhqzDjocYmJ5euFbS2t0DXDQIUoPs75jM9lTowOSgIEJRUw2yIAD5 GodafzeoPKjEPM0LNy0xa1QZd0XsFIhJS2phfLXInVR16yToslXR7QIo0ALMVGF3hY0j Ez+A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@pm.me header.s=protonmail header.b=fdNyEqnO; 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=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=pm.me Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id d12si1537698ejj.595.2020.11.04.05.41.31; Wed, 04 Nov 2020 05:41:54 -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; dkim=pass header.i=@pm.me header.s=protonmail header.b=fdNyEqnO; 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=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=pm.me Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729794AbgKDNj4 (ORCPT + 99 others); Wed, 4 Nov 2020 08:39:56 -0500 Received: from mail1.protonmail.ch ([185.70.40.18]:42398 "EHLO mail1.protonmail.ch" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726527AbgKDNjz (ORCPT ); Wed, 4 Nov 2020 08:39:55 -0500 Date: Wed, 04 Nov 2020 13:39:50 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=pm.me; s=protonmail; t=1604497192; bh=WdLBXEtTB5n+fQsb0z3+UyBitWtDwfM7q0BL1uG5J+4=; h=Date:To:From:Cc:Reply-To:Subject:In-Reply-To:References:From; b=fdNyEqnONVsoXGG9bpasjovquWUEtyw3bjAP49H6fTMBFJA6Y55fCeh316i7tPguh g3oJV0oltLhOhgaDGTWiazuisjbwI2gkRVuCcZovJYyFWdH6O5pHnpcZdMN/wiRU8W gNv3ul9dSOB90b3loNPij/nnh1Fy+4iAXNVMtrId4sJWRkHV6ByJpbOC6vGqaf0D80 orzGe/oPhKkoRPE9VAq0MI8zIO4ZOFjtslL+lsOGimpkLDtJlulvv5JyPrdGIt+cf9 Xxs+R6eZWhYX3tR0pA9zRRMu3U+t4zmpKckxvPFakL1R2PpaVR3w4CPI33RnFtNay4 uhEotKIfwJStg== To: Paul Cercueil From: Alexander Lobakin Cc: Alexander Lobakin , Thomas Bogendoerfer , Greg Kroah-Hartman , Masahiro Yamada , Paul Burton , Huacai Chen , Jiaxun Yang , linux-mips@vger.kernel.org, linux-kernel@vger.kernel.org Reply-To: Alexander Lobakin Subject: Re: [PATCH mips-next 0/2] mips: boot: add support for self-extracting FIT images (vmlinuz.itb) Message-ID: In-Reply-To: References: MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Status: No, score=0.8 required=10.0 tests=ALL_TRUSTED,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,PDS_OTHER_BAD_TLD shortcircuit=no autolearn=disabled version=3.4.4 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on mailout.protonmail.ch Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Paul Cercueil Date: Wed, 04 Nov 2020 11:26:09 +0000 > Hi Alexander, Hi Paul! > Le dim. 1 nov. 2020 =EF=BF=BD 15:11, Alexander Lobakin a > =C3=A9crit : >> 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) > > It doesn't break anything on my end, so: > > Acked-by: Paul Cercueil > > for the series. Thanks! > Why vmlinuz.itb and not vmlinuz.fit or vmlinuz.uhi? Is the .itb suffix > already a thing? As far as I know -- yes, ITB stands for Image Tree Blob (reference to Device Tree Blob) and it's a standartized extension for FIT Images (you can see that all variants for MIPS have ".itb" at the bottom of arch/mips/boot/Makefile). > Cheers, > -Paul Al >> arch/mips/Makefile | 3 +- >> arch/mips/boot/.gitignore | 1 + >> arch/mips/boot/compressed/Makefile | 96 >> +++++++++++++++++++++++++----- >> 3 files changed, 85 insertions(+), 15 deletions(-) >> >> -- >> 2.29.2