Received: by 2002:ac0:a591:0:0:0:0:0 with SMTP id m17-v6csp1663301imm; Sun, 8 Jul 2018 08:08:25 -0700 (PDT) X-Google-Smtp-Source: AAOMgpekP3MuvywAaUIAJWOjqZ48mDdxxmrR2PK9mjZF3t7KSqZiYhUmvtMvpkRiW/XL81pr5JKn X-Received: by 2002:a17:902:8ecb:: with SMTP id x11-v6mr17632506plo.308.1531062505890; Sun, 08 Jul 2018 08:08:25 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1531062505; cv=none; d=google.com; s=arc-20160816; b=sR/dyjnJEQuinoJZhKL0lNO/MHIX1sUixWUcENcgJNOALACQK5rWVO9ozrTzFkKUB1 7FRIuwBGPFuhMKOIxfGmTRsdLp6vNrfN4c+PgvrbbA52ZV9juO1QRUaYruvmf9T+j3ST Esnu5RLV18Amxoi2L2n9VzgmClFaEZbKUQW6C13QvG8F5jNE4Zn7+kHfLzWzztRuP9Z3 wAFkaNe9ZTlXXdDWqrodIfG3Hu8lZbn9LPTxVxVD/EPJV2bOmVoIugwdWaTYl+0Oisip v0LS0LiAeV8xMaM/qhObSr93wW8tQZXM2p2p9jj5FdWRTuhANMyoz9ulLp0ntLWxPbAE C1eg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:dkim-signature:message-id:date:subject:cc :to:from:arc-authentication-results; bh=xg289lwT5JS32ZGyJVoi4pZrUBN6AiXrsLJepzYH4w4=; b=Jz2Q8zhA6iYgXwZDoT7Uh5owJx6mmi3lFm53gjyEKQwXJkSAa3rzQScY/gqpKQ3MSx vQjd5H6/pvaJmFm38aZJBYQNLbmPWmpEO5cSUTVIDLpLqTWgbzAT3Tpfbb5U9MObrBRg LCLSMf3FKbGf3iZmpeosQIqAcy+5nTYuAeM9YrVhRGq8PO0kbgricRWBqJdYHld7fVTQ uot7qJBqBMaxf3zc1HTKSaWXWr8wQ+Pce8Ia/3OBy2Tyj54yJQKz5OOCBFsemDhl/kKS 0S3FGwE4RbcC44kJV0R4IWHhQCS6K32Rwk23wqowIAzVbMQIq2qN1Dy4o5sNqvLRCGp7 Kyxg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@crapouillou.net header.s=mail header.b=FchTZBdZ; 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=NONE dis=NONE) header.from=crapouillou.net Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id y23-v6si8678577pgl.132.2018.07.08.08.08.09; Sun, 08 Jul 2018 08:08:25 -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=@crapouillou.net header.s=mail header.b=FchTZBdZ; 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=NONE dis=NONE) header.from=crapouillou.net Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754243AbeGHPHU (ORCPT + 99 others); Sun, 8 Jul 2018 11:07:20 -0400 Received: from outils.crapouillou.net ([89.234.176.41]:41982 "EHLO crapouillou.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754014AbeGHPHT (ORCPT ); Sun, 8 Jul 2018 11:07:19 -0400 From: Paul Cercueil To: Ralf Baechle , Paul Burton , James Hogan Cc: linux-mips@linux-mips.org, linux-kernel@vger.kernel.org, Paul Cercueil Subject: [PATCH] MIPS: jz4740: Bump zload address Date: Sun, 8 Jul 2018 17:07:12 +0200 Message-Id: <20180708150712.7404-1-paul@crapouillou.net> DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=crapouillou.net; s=mail; t=1531062437; bh=xg289lwT5JS32ZGyJVoi4pZrUBN6AiXrsLJepzYH4w4=; h=From:To:Cc:Subject:Date:Message-Id; b=FchTZBdZAoMGuroL57MBahfcWeaQ7gyHos2vZUplGnf5m2TNijX9dlyqmAM69atZ7TZ6I9rR03F+iSvcqHu2qc1yzZaOv1QyK1renZlwQBMtgyWVtW36eXyKCS5oADIq7IK7RD9BtA94Sk2Af6TwU/bbHJJqKu+o3cLd1bYTtXE= Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Having the zload address at 0x8060.0000 means the size of the uncompressed kernel cannot be bigger than around 6 MiB, as it is deflated at address 0x8001.0000. This limit is too small; a kernel with some built-in drivers and things like debugfs enabled will already be over 6 MiB in size, and so will fail to extract properly. To fix this, we bump the zload address from 0x8060.0000 to 0x8100.0000. This is fine, as all the boards featuring Ingenic JZ SoCs have at least 32 MiB of RAM, and use u-boot or compatible bootloaders which won't hardcode the load address but read it from the uImage's header. Signed-off-by: Paul Cercueil --- arch/mips/jz4740/Platform | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/mips/jz4740/Platform b/arch/mips/jz4740/Platform index 28448d358c10..a2a5a85ea1f9 100644 --- a/arch/mips/jz4740/Platform +++ b/arch/mips/jz4740/Platform @@ -1,4 +1,4 @@ platform-$(CONFIG_MACH_INGENIC) += jz4740/ cflags-$(CONFIG_MACH_INGENIC) += -I$(srctree)/arch/mips/include/asm/mach-jz4740 load-$(CONFIG_MACH_INGENIC) += 0xffffffff80010000 -zload-$(CONFIG_MACH_INGENIC) += 0xffffffff80600000 +zload-$(CONFIG_MACH_INGENIC) += 0xffffffff81000000 -- 2.18.0