Received: by 2002:a05:6a10:a0d1:0:0:0:0 with SMTP id j17csp62404pxa; Tue, 11 Aug 2020 17:23:01 -0700 (PDT) X-Google-Smtp-Source: ABdhPJy2sFYucnCOIfCUZOG+tJ74qxRPlq6rX0nh7to5UeEjcQcPWp29j4xkXuYz5n+opZFjUvmA X-Received: by 2002:a17:906:e50:: with SMTP id q16mr30464223eji.155.1597191781608; Tue, 11 Aug 2020 17:23:01 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1597191781; cv=none; d=google.com; s=arc-20160816; b=hkLwzEXMs+oFpyQWbqIkvBGlzVUINDH3sq7eoEuvQUWxbZu7H573ZDql0bDgZdWrpr KU8rlSDt1wVTh3EnVATELb81Xf58x1sbARRoW2LyicP+nvE+PGyeh1j5QT7Mrvf1mXsa oVjI32CZU01aErNkhbNxCKFWfpFpFd9jhfpHuF0UEMAVksxbz3xuOsQ9iH2utdx2Lihz gYAxx/4c/VKOBhFAJcJucgb96dfAd7icaU7CvfIt/oos3wKa8D2fkzLyy6UGGiPgz5fF IMUIi9mii2v/bQn4S7ERhDTuQA8giySpkQGSQWX0hcNg94NLhyLx5ikyR6+z72YPe9TD uF8Q== 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=l+vEdC4uCRSwNRUFYb6IumQw28h7rCH+9F900SUVN6E=; b=OmiKhduUznjfSkcXeOxezJyifo3TS2837qdUcWR3onJ4AslQqwQsGctTE9qCgebP2n mZpJ/d1NjbEz9a+jj/Y+JZGCnfzZnHMSJwKV4XwcM+iimNZbI9zGJhRMmyJF5bkgl61f F5vNNgLSTDgONtKt4Ve9WostMBNNvRpRQ0sjZQ06Q5rZoYcnjDaaDtauXyDnkC9BoPHh YEUXA015++kp/CEI5vzeARr4Ph32i/MEdnx+ebabLvwvJRk44bDuzmj/vkBoJlGJ397V 36O9Wrqx1gMnqCott/21Sz7c8XHl58cI9P06rE04PlxCvB9B22+ywuRknv5buJ11KVIU ugJA== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@crapouillou.net header.s=mail header.b=CHPATabq; 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 sd25si111640ejb.341.2020.08.11.17.22.38; Tue, 11 Aug 2020 17:23:01 -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=CHPATabq; 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 S1726761AbgHLAQS (ORCPT + 99 others); Tue, 11 Aug 2020 20:16:18 -0400 Received: from crapouillou.net ([89.234.176.41]:52172 "EHLO crapouillou.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726143AbgHLAQQ (ORCPT ); Tue, 11 Aug 2020 20:16:16 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=crapouillou.net; s=mail; t=1597191326; 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=l+vEdC4uCRSwNRUFYb6IumQw28h7rCH+9F900SUVN6E=; b=CHPATabqGG/iEqaPD5Bb1DwrrmAOohBjiO8U2R6v+IDfyjf5tf7PNK7U8CBV/Teq/Sw3ws ktoHlW0k5jkvHN+j87S7HqkE0TL4rOucvOzauioZWMOvPmIX12O/M6rCecpNzS4uGvlQ15 haA2FXHMUwiHJ6Jy5/7L36BRaiLsXG8= From: Paul Cercueil To: Thomas Bogendoerfer Cc: Paul Burton , Krzysztof Kozlowski , =?UTF-8?q?=E5=91=A8=E7=90=B0=E6=9D=B0?= , od@zcrc.me, linux-kernel@vger.kernel.org, linux-mips@vger.kernel.org, Paul Cercueil Subject: [PATCH v2 08/13] MIPS: generic: Add support for zboot Date: Wed, 12 Aug 2020 02:15:05 +0200 Message-Id: <20200812001510.460382-9-paul@crapouillou.net> In-Reply-To: <20200812001510.460382-1-paul@crapouillou.net> References: <20200812001510.460382-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: 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 8d146794de1e..4d57f46cd936 100644 --- a/arch/mips/Kconfig +++ b/arch/mips/Kconfig @@ -142,6 +142,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