From patchwork Sun Aug 29 19:39:13 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Oleksandr Suvorov X-Patchwork-Id: 1522014 X-Patchwork-Delegate: sbabic@denx.de Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=lists.denx.de (client-ip=85.214.62.61; helo=phobos.denx.de; envelope-from=u-boot-bounces@lists.denx.de; receiver=) Authentication-Results: ozlabs.org; dkim=pass (2048-bit key; unprotected) header.d=foundries.io header.i=@foundries.io header.a=rsa-sha256 header.s=google header.b=ZG1mH1zu; dkim-atps=neutral Received: from phobos.denx.de (phobos.denx.de [85.214.62.61]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 4GyP1Z6zJrz9sRf for ; Mon, 30 Aug 2021 05:40:18 +1000 (AEST) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 8554F8332C; Sun, 29 Aug 2021 21:40:13 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=none (p=none dis=none) header.from=foundries.io Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de Authentication-Results: phobos.denx.de; dkim=pass (2048-bit key; unprotected) header.d=foundries.io header.i=@foundries.io header.b="ZG1mH1zu"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 9D58483328; Sun, 29 Aug 2021 21:40:05 +0200 (CEST) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on phobos.denx.de X-Spam-Level: X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,SPF_HELO_NONE,SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.2 Received: from mail-lf1-x12b.google.com (mail-lf1-x12b.google.com [IPv6:2a00:1450:4864:20::12b]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits)) (No client certificate requested) by phobos.denx.de (Postfix) with ESMTPS id 8DC928332C for ; Sun, 29 Aug 2021 21:39:56 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=none (p=none dis=none) header.from=foundries.io Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=oleksandr.suvorov@foundries.io Received: by mail-lf1-x12b.google.com with SMTP id x27so26833924lfu.5 for ; Sun, 29 Aug 2021 12:39:56 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=foundries.io; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=YP5OSPkfLPSsYsNR2Q1NHdIQ8c/tFSB6TP2tiuJyfbI=; b=ZG1mH1zu58D6s/73hoAR+epwB1YXLN+qbu0a42mUuJsE+zrUEbBy0nZaEty+w0iqlZ avH8mdORzAQXuxqTiSN6HjjF7/FZuXmCfPWDjAKqD82lQDu/xFxkWzi3qqY4GCwD/Yrg zF5e8yXg8UnmXMYqfyNY1cJbPJlqmC4XxREAcXjTQ7P7ipIxBh7ewAull32hnJoBUqwR MtHxa5XGmGdaAoSP7+W1+XrEgPRwntNwL3zu5XMo2Pgsh1fbDgeIVa/PUD9QU1JiPZdu AwE4GXeBpUvLzCNgeJ9VNnNdl5pmugomZMJZJZ4noWvoV1QsF8xIshoNZssOZtfwPH6a NLIw== 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:in-reply-to :references:mime-version:content-transfer-encoding; bh=YP5OSPkfLPSsYsNR2Q1NHdIQ8c/tFSB6TP2tiuJyfbI=; b=VCJe4RMmccIWF8VAro8WukkxglNEUsf+quRnYyLfR/EzxJ3L1cHUKZaut+JGy5UFA9 i9prLXOoO5T6i8SXtS7uY4fjHpLNfU/M+bOZ/akngNpxvJfuLIZTXw7YHhGeNzfB9qnK cXvnabcOWiiAyTl4cfg3+kWqNum8StYDwztCHO7IXtsHFNueP1iiD+a1Z8DGxEQ/Gqb5 LOitNApKrd2IYpeOsfqEOV4D+JZcr3ipwfOFaE4PAZviCMbxwr/u162Up48hsJT3ctRD 8+ZXGqy7K4lR/H3KpmnFr+ZF7Yo++J11t+QnJM0OVWMquY0Rk/8p+aly9m+6PcDJjOLD OdrQ== X-Gm-Message-State: AOAM531OfE+QdCAbzXrlIDXLj1YqkjXMBs9Mvaf5QfDM1JODxs2/67GC 6qBPfSAgmafCEims51yCDIJy0oZ+iLZeuTl6 X-Google-Smtp-Source: ABdhPJw4TGhrf3JZjq1EHRCdSyMhN5Rmc2avg3oMFExQtQvnFE4Qlqc2DA7dSrj+HVAYyiD00hV7yQ== X-Received: by 2002:a05:6512:c0f:: with SMTP id z15mr3205177lfu.256.1630265995685; Sun, 29 Aug 2021 12:39:55 -0700 (PDT) Received: from localhost.localdomain ([82.193.109.226]) by smtp.gmail.com with ESMTPSA id n15sm1158081lfq.270.2021.08.29.12.39.54 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 29 Aug 2021 12:39:55 -0700 (PDT) From: Oleksandr Suvorov To: u-boot@lists.denx.de Cc: Peng Fan , Oleksandr Suvorov , Fabio Estevam , Marek Vasut , Oliver Graute Subject: [PATCH 3/3] imx8qm_mek: Increase CONFIG_SYS_BOOTM_LEN to 64MB Date: Sun, 29 Aug 2021 22:39:13 +0300 Message-Id: <20210829193913.124217-3-oleksandr.suvorov@foundries.io> X-Mailer: git-send-email 2.31.1 In-Reply-To: <20210829193913.124217-2-oleksandr.suvorov@foundries.io> References: <20210829193913.124217-1-oleksandr.suvorov@foundries.io> <20210829193913.124217-2-oleksandr.suvorov@foundries.io> MIME-Version: 1.0 X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.34 Precedence: list List-Id: U-Boot discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: u-boot-bounces@lists.denx.de Sender: "U-Boot" X-Virus-Scanned: clamav-milter 0.103.2 at phobos.denx.de X-Virus-Status: Clean The BSP platform LmP supports the board NXP iMX8QM MEK. The kernel size in LmP exceeds 32Mb. Increase the maximum size of an uncompressed kernel to fix the following error: Uncompressing Kernel Image Error: inflate() returned -5 Image too large: increase CONFIG_SYS_BOOTM_LEN Must RESET board to recover Signed-off-by: Oleksandr Suvorov --- include/configs/imx8qm_mek.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/include/configs/imx8qm_mek.h b/include/configs/imx8qm_mek.h index 99e73a9446..03fa51168a 100644 --- a/include/configs/imx8qm_mek.h +++ b/include/configs/imx8qm_mek.h @@ -10,6 +10,8 @@ #include #include +#define CONFIG_SYS_BOOTM_LEN (64 * SZ_1M) + #ifdef CONFIG_SPL_BUILD #define CONFIG_SPL_MAX_SIZE (124 * 1024) #define CONFIG_SYS_MONITOR_LEN (1024 * 1024)