Received: by 2002:a05:6a10:22f:0:0:0:0 with SMTP id 15csp2763474pxk; Sun, 6 Sep 2020 12:32:49 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxlZZ5o1zgWw0Yvdaba42Amgv2rNBeANVPEnKpGyuCW0aAd4k937/+zb4SiHZ34/diQoIXT X-Received: by 2002:aa7:d747:: with SMTP id a7mr11279586eds.304.1599420769309; Sun, 06 Sep 2020 12:32:49 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1599420769; cv=none; d=google.com; s=arc-20160816; b=kqi+LIiSSxbWtvATSuuyTVLXJSBw0bE4933pFLnNGdoIemZdT8ez2AbLx8SJHNgRZp z/Lyvxl+dviMFi6YxQilkiaRl+VLqr+O/dVkM/YW87P1Ua9RwZhTSLfsQsgyxY6jYjRQ LUxgsopF9l+6iIgLFkzMSkh7ZOP9qVwLql95k0a5K8iTpBSUwxgOAgB/1Zqs0q+PXE4z RwkhdFE49LOzHR5X+RjyTR1GWNSLpVdODU8Ld1CiPWPkxVJ3LarnY19AvZbSP4os09jj 6roulXKk8TVkgM0fegM36F0yoE5IgINTwfqmaFBlQpIl9e4rYK+KJ2xO5KzBINanRxOi 462Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=viIORF8Kv7UoWDBGuWiALFFOnDG7m8sFSAbvGMqgqT8=; b=Nc+O//S1uGAAEBh2uvhtxwFBRvi/e7JauATvmEOovGHNhlAdHivd7gc1nMFTM+Cqqu oUIqBDa8ttB4UJToTLP02pYYtAx5LrzpFct6L+KHQgUM9RJWDtGS0VffNBch+m6JhbId ZqeDpFVxbPPRUH+bVUM+m1VTBptrZ3N4vwCSCLOzBmlfgoNlUF+HdiRIgpeP9ShrVTrV 9Ia4C/xU3Ly7nAAaioIL7aOpR+YZqE8jMmltAxYxUSSpDsgJ5T1G62H6dSo+BGJvYuUv reNGwFdbE9Zt3tw7rG0jnDLMQvqnB8972ieuu0lPB+ey3ioGHw3DDZJtftTUplk4xGi/ 9j5A== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@crapouillou.net header.s=mail header.b=dSXFxICY; 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=crapouillou.net Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id j16si9857714edj.408.2020.09.06.12.32.27; Sun, 06 Sep 2020 12:32:49 -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 header.i=@crapouillou.net header.s=mail header.b=dSXFxICY; 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=crapouillou.net Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726694AbgIFTbL (ORCPT + 99 others); Sun, 6 Sep 2020 15:31:11 -0400 Received: from crapouillou.net ([89.234.176.41]:35962 "EHLO crapouillou.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726623AbgIFTbJ (ORCPT ); Sun, 6 Sep 2020 15:31:09 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=crapouillou.net; s=mail; t=1599420593; h=from:from:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=viIORF8Kv7UoWDBGuWiALFFOnDG7m8sFSAbvGMqgqT8=; b=dSXFxICYtoq+t8Gh7ldBNfgw8i7V1+ehxMA9uLcczy18249r4k0FFBTMOHyP5UTXCNdhMj kdHsm1hy0uqTOoQu4u7P/yWth5Kl3ZycYRrZ8Ia2J5WfOBmlrhNG+TsiU4ShMT5F7LL/ZU TzpW0TA6ucCyFkl1hODAQa6qm3k8jBg= From: Paul Cercueil To: Thomas Bogendoerfer Cc: "Maciej W . Rozycki" , Paul Burton , Zhou Yanjie , od@zcrc.me, linux-kernel@vger.kernel.org, linux-mips@vger.kernel.org, Paul Cercueil Subject: [PATCH v3 09/15] MIPS: generic: Add support for zboot Date: Sun, 6 Sep 2020 21:29:29 +0200 Message-Id: <20200906192935.107086-10-paul@crapouillou.net> In-Reply-To: <20200906192935.107086-1-paul@crapouillou.net> References: <20200906192935.107086-1-paul@crapouillou.net> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org There is no reason we can't create compressed kernels here, so select the option SYS_SUPPORTS_ZBOOT. Signed-off-by: Paul Cercueil --- Notes: v2-v3: No change arch/mips/Kconfig | 1 + arch/mips/generic/Platform | 1 + 2 files changed, 2 insertions(+) diff --git a/arch/mips/Kconfig b/arch/mips/Kconfig index 0c9270ee9081..795b33ad4e64 100644 --- a/arch/mips/Kconfig +++ b/arch/mips/Kconfig @@ -141,6 +141,7 @@ config MIPS_GENERIC_KERNEL select SYS_SUPPORTS_MULTITHREADING select SYS_SUPPORTS_RELOCATABLE select SYS_SUPPORTS_SMARTMIPS + select SYS_SUPPORTS_ZBOOT select UHI_BOOT select USB_EHCI_BIG_ENDIAN_DESC if CPU_BIG_ENDIAN select USB_EHCI_BIG_ENDIAN_MMIO if CPU_BIG_ENDIAN diff --git a/arch/mips/generic/Platform b/arch/mips/generic/Platform index 53c33cb72974..4cefecf7d14b 100644 --- a/arch/mips/generic/Platform +++ b/arch/mips/generic/Platform @@ -10,6 +10,7 @@ cflags-$(CONFIG_MIPS_GENERIC) += -I$(srctree)/arch/mips/include/asm/mach-generic load-$(CONFIG_MIPS_GENERIC) += 0xffffffff80100000 +zload-$(CONFIG_MIPS_GENERIC) += 0xffffffff81000000 all-$(CONFIG_MIPS_GENERIC) := vmlinux.gz.itb its-y := vmlinux.its.S -- 2.28.0