Received: by 2002:ac0:bc90:0:0:0:0:0 with SMTP id a16csp696563img; Thu, 21 Mar 2019 07:09:11 -0700 (PDT) X-Google-Smtp-Source: APXvYqzQB3XjZRxzt+fnlUBbjc4B2iFErQ/QaAqDW0JNOfCQHHJGwdXdAPvvoKsGGAg+Eqb2b9+t X-Received: by 2002:a17:902:8ec1:: with SMTP id x1mr3872477plo.52.1553177350929; Thu, 21 Mar 2019 07:09:10 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1553177350; cv=none; d=google.com; s=arc-20160816; b=L5eq142J56+e8DrBFx8ydQ5zeE1O7ktzgaU8gBCPj28XgmUYgNh6rN9+RC4E2VUoe4 QqH8GfEGL6RiptgpBzbH2bcVuuYhhSACQIl+QqafhX/E8Yax6qJTdBP2Bmv4apQ3/5t/ qJ8OfxpZqU4MiMqR/hRluvPCysSkXhi/W7s9kgD//t30RVX8445sBynzHsZi95DGDX/k wBN/moCtu5xGlNT13qgdoNSb0VG0jovqMA0s6H1VNW/+b/ul+mQhiupMbTwvB5BLDKPZ BuKKh8R01y2uMnLZK1ZtYfLYMupBNoTooQdusmbeB/pKGJHPq20qYNPHsjPRc2AZ0DaE CxiA== 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 :message-id:date:subject:cc:to:from:dkim-signature; bh=9bmNiIiYSXpSlnRBJipd8bRpL/IMsEPjbQrVWRlU9SA=; b=DTxib0qR7KCBAobKwgzxEeaEPLzaSSXahGDVH7hQzPt8nEvzznd54PXDyY54PHSCRH tRPxKBfiVNbO8jjtyDf5id/kN/4lTRQ4F1hQNb/Wxggm0de0UkcyR+1LfM0cVsoi6Mvc WVLmGd5CU6yRB5gcjn1KKF1dvT35ivUDoJMpv1CdulnReoXKXDt/4wEo9cwDNwTiavC+ hekmol/H56yOhig9lF8Gpb2BXcQdhh43B4rNSJpgCk80zgLG+YrjgxRHV9yeanx348Dg AhvMc7DBH+N3+mRuslYHfkgKlxnyDeBeIr7CdMt/S29jfDAlGg7RZKk8QArB0pg8/h0b RbrA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b="Y01//rTP"; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id l6si4187924pgq.305.2019.03.21.07.08.55; Thu, 21 Mar 2019 07:09:10 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b="Y01//rTP"; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728095AbfCUOIH (ORCPT + 99 others); Thu, 21 Mar 2019 10:08:07 -0400 Received: from mail-it1-f193.google.com ([209.85.166.193]:36157 "EHLO mail-it1-f193.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726787AbfCUOIH (ORCPT ); Thu, 21 Mar 2019 10:08:07 -0400 Received: by mail-it1-f193.google.com with SMTP id h9so4262662itl.1 for ; Thu, 21 Mar 2019 07:08:06 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=9bmNiIiYSXpSlnRBJipd8bRpL/IMsEPjbQrVWRlU9SA=; b=Y01//rTPbngFSq90gH9Jj3dsTnZ7npVWDfSa5XJqB1jqgDIVW/ma+/9HIqe1Jq0yVQ 1ChUKezanZFgLrRhGcAAfNchmtSwQhSHIPeaXrjBc14jVj9AeTZILmbl/ayhBZPCTeNt vJoiVs8+/qg4Me+L/z1EKZdjf6+0RT4YNO6C598ryFMX/+iuDl+letV6BkYe/gOmaM+6 na4NjbJc7gQetfRz8iug8ldX+G5nG42u0rv8s4dxbRBzBtYYuNkXEguGcYPAZxcX7I0y 7LUuZECxDw44/E8g1MnAuJ+7M5dVEdrkE2Nul9yiVhCgKWfPN+C5T0EYnl0211+MjGxe xapw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=9bmNiIiYSXpSlnRBJipd8bRpL/IMsEPjbQrVWRlU9SA=; b=MVYEsdZMkO1W5UQuFz7Y6lqlQkXezeZKG/KdhSrJ35k8BMmzf/RZE28ImSxEoXwfQh TAvk4LpKZjkvzeBJmC2NvoS0dCPfdkuRFcbv4o1kWr55w70JTJe9FgfGMJ6sCKNoO6xQ rsjUny81hGQeZdKn+EY64cn+LPuYTyxF9akhitXklJQGSk4RIVmxC8fKdZqj6yzN0uJI W2+BhAoDLaoL4y/oyzND9eDwgWOE2gypjAzvo2RCiZzUSuyq7aD0mR02IUbPPmWGWjjA YCRybBApwofBKVEgHf/G4to5cN9D/EV2WjEqCLx99zCcCp1vOtQxOzaxcEKtReMMxKCk Q4mw== X-Gm-Message-State: APjAAAULl5LkXTQSr3D2KJ2ehSGw2/xslk5G6Ts5k7sz5elSVAOW+sNd OU9dLfGSY9EPxddtDT5TSy4= X-Received: by 2002:a24:b501:: with SMTP id v1mr2835950ite.174.1553177286009; Thu, 21 Mar 2019 07:08:06 -0700 (PDT) Received: from localhost.localdomain (c-73-242-244-99.hsd1.nm.comcast.net. [73.242.244.99]) by smtp.gmail.com with ESMTPSA id l19sm2101442iob.46.2019.03.21.07.08.04 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 21 Mar 2019 07:08:05 -0700 (PDT) From: George Hilliard To: Paul Burton Cc: linux-mips@linux-mips.org, linux-kernel@vger.kernel.org, George Hilliard Subject: [PATCH] mips: ralink: allow zboot Date: Thu, 21 Mar 2019 08:07:47 -0600 Message-Id: <20190321140747.10927-1-thirtythreeforty@gmail.com> X-Mailer: git-send-email 2.21.0 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 Architecturally, there's nothing preventing compressed images from working. Bootloaders built with support for the various compression methods can decompress and run the kernel. In practice, many bootloaders do not support compressed images, but kernels for those boards should just not be compressed. Tested on an MT7688 with U-Boot doing LZMA decompression of uImage. Signed-off-by: George Hilliard --- arch/mips/Kconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/mips/Kconfig b/arch/mips/Kconfig index 4a5f5b0ee9a9..b286fbbd9699 100644 --- a/arch/mips/Kconfig +++ b/arch/mips/Kconfig @@ -619,6 +619,7 @@ config RALINK select SYS_SUPPORTS_32BIT_KERNEL select SYS_SUPPORTS_LITTLE_ENDIAN select SYS_SUPPORTS_MIPS16 + select SYS_SUPPORTS_ZBOOT select SYS_HAS_EARLY_PRINTK select CLKDEV_LOOKUP select ARCH_HAS_RESET_CONTROLLER -- 2.21.0