From patchwork Fri Oct 24 19:11:35 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Michael Scott X-Patchwork-Id: 39532 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-la0-f69.google.com (mail-la0-f69.google.com [209.85.215.69]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id 281A024026 for ; Sun, 26 Oct 2014 15:19:52 +0000 (UTC) Received: by mail-la0-f69.google.com with SMTP id q1sf452182lam.0 for ; Sun, 26 Oct 2014 08:19:51 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:delivered-to:from:to:date:message-id:cc:subject :precedence:list-id:list-unsubscribe:list-archive:list-post :list-help:list-subscribe:mime-version:sender:errors-to :x-original-sender:x-original-authentication-results:mailing-list :content-type:content-transfer-encoding; bh=/naM07uTfLAxleNv6d8G+Z3GqmiVDoOyaRxjc0HJTlE=; b=DO9P81tXBrGOeyQI1x41pkmU/QZJEGuFggOtQ7OkvneoJbquzvSS8Ef5uib9nXq5IE rb+9coV0T4X3LSLYSKCpLHsSDEAop1BHK0vN3Z6RHXFEq9Em74u8tqVPo2aoxAqFx/Zk yIAP66cdDvs0Ub9CBcgHv251W4TYeL6KyRt/0zSdYEH7M+PFW8z+QQJ66Dskd5gokhEK bar8shBulCjaAv10SHi+aHnVY4azxHRgdMSTwz7y9aegFJ/YuVqGVfCL4sLwv3Cp/69H Od7oVtE7/JhDf1pzCK77fcWe2JObfgcyJ2VkcjV3IMSQJEO3q16SU8H8DiIKfMMcUmmC 00bg== X-Gm-Message-State: ALoCoQl9Bdpw8T0tpldFfO9lbgc5HHRnz/KbdMwdAS8o1Yin0AHWSmqyAANJpFeOrNl4gi2J+NwW X-Received: by 10.180.90.115 with SMTP id bv19mr2935459wib.1.1414336790961; Sun, 26 Oct 2014 08:19:50 -0700 (PDT) X-BeenThere: patchwork-forward@linaro.org Received: by 10.152.9.168 with SMTP id a8ls584852lab.55.gmail; Sun, 26 Oct 2014 08:19:50 -0700 (PDT) X-Received: by 10.112.137.39 with SMTP id qf7mr17323329lbb.47.1414336790805; Sun, 26 Oct 2014 08:19:50 -0700 (PDT) Received: from mail-lb0-f180.google.com (mail-lb0-f180.google.com. [209.85.217.180]) by mx.google.com with ESMTPS id wt3si15968748lbb.44.2014.10.26.08.19.50 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Sun, 26 Oct 2014 08:19:50 -0700 (PDT) Received-SPF: pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.217.180 as permitted sender) client-ip=209.85.217.180; Received: by mail-lb0-f180.google.com with SMTP id z12so1090541lbi.25 for ; Sun, 26 Oct 2014 08:19:50 -0700 (PDT) X-Received: by 10.152.120.199 with SMTP id le7mr17231352lab.67.1414336790536; Sun, 26 Oct 2014 08:19:50 -0700 (PDT) X-Forwarded-To: patchwork-forward@linaro.org X-Forwarded-For: patch@linaro.org patchwork-forward@linaro.org Delivered-To: patch@linaro.org Received: by 10.112.84.229 with SMTP id c5csp166851lbz; Sun, 26 Oct 2014 08:19:50 -0700 (PDT) X-Received: by 10.180.206.173 with SMTP id lp13mr15512128wic.78.1414336789986; Sun, 26 Oct 2014 08:19:49 -0700 (PDT) Received: from theia.denx.de (theia.denx.de. [85.214.87.163]) by mx.google.com with ESMTP id ej1si7681538wib.72.2014.10.26.08.19.48 for ; Sun, 26 Oct 2014 08:19:49 -0700 (PDT) Received-SPF: none (google.com: u-boot-bounces@lists.denx.de does not designate permitted sender hosts) client-ip=85.214.87.163; Received: from localhost (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id 7CAF6A7874; Sun, 26 Oct 2014 16:16:30 +0100 (CET) Received: from theia.denx.de ([127.0.0.1]) by localhost (theia.denx.de [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 04uqBuTo5fzr; Sun, 26 Oct 2014 16:16:30 +0100 (CET) Received: from theia.denx.de (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id 15EFCA787C; Sun, 26 Oct 2014 16:12:22 +0100 (CET) Received: from localhost (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id D9E4BA73E9 for ; Fri, 24 Oct 2014 21:14:34 +0200 (CEST) Received: from theia.denx.de ([127.0.0.1]) by localhost (theia.denx.de [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id ytJY3lQz2qod for ; Fri, 24 Oct 2014 21:14:34 +0200 (CEST) X-policyd-weight: NOT_IN_SBL_XBL_SPAMHAUS=-1.5 NOT_IN_SPAMCOP=-1.5 NOT_IN_BL_NJABL=-1.5 (only DNSBL check requested) Received: from mail-ob0-f171.google.com (mail-ob0-f171.google.com [209.85.214.171]) by theia.denx.de (Postfix) with ESMTPS id 7A782A73E7 for ; Fri, 24 Oct 2014 21:14:30 +0200 (CEST) Received: by mail-ob0-f171.google.com with SMTP id wp18so827418obc.30 for ; Fri, 24 Oct 2014 12:14:29 -0700 (PDT) X-Received: by 10.60.74.137 with SMTP id t9mr3775988oev.34.1414178069252; Fri, 24 Oct 2014 12:14:29 -0700 (PDT) Received: from localhost.localdomain (172-2-231-169.lightspeed.irvnca.sbcglobal.net. [172.2.231.169]) by mx.google.com with ESMTPSA id fs20sm2123882oeb.3.2014.10.24.12.14.28 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Fri, 24 Oct 2014 12:14:28 -0700 (PDT) From: Michael Scott To: u-boot@lists.denx.de Date: Fri, 24 Oct 2014 12:11:35 -0700 Message-Id: <1414177895-17347-1-git-send-email-michael.scott@linaro.org> X-Mailer: git-send-email 1.9.1 Cc: Stephen Warren , Tom Warren , Michael Scott Subject: [U-Boot] [PATCH] arm: tegra: raise CONFIG_SYS_MALLOC_LEN to 32mb X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.13 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: , List-Help: , List-Subscribe: , MIME-Version: 1.0 Sender: u-boot-bounces@lists.denx.de Errors-To: u-boot-bounces@lists.denx.de X-Removed-Original-Auth: Dkim didn't pass. X-Original-Sender: michael.scott@linaro.org X-Original-Authentication-Results: mx.google.com; spf=pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.217.180 as permitted sender) smtp.mail=patch+caf_=patchwork-forward=linaro.org@linaro.org Mailing-list: list patchwork-forward@linaro.org; contact patchwork-forward+owners@linaro.org X-Google-Group-Id: 836684582541 Due to a new fastboot use case and an 8mb DFU test being added, the sys malloc limit of 4mb should be raised. Fastboot flash of a sparse filesystem images requires large DMA aligned allocations in the tegra_mmc driver. When I ran fastboot flash tests on Jetson-TK1, the largest allocation I encounted was ~26mb using a sparsed system.img test file. Choosing 32mb as a "safe" new limit. Signed-off-by: Michael Scott Cc: Tom Warren Cc: Stephen Warren --- include/configs/tegra-common.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/configs/tegra-common.h b/include/configs/tegra-common.h index 5d2b12a..88f6c94 100644 --- a/include/configs/tegra-common.h +++ b/include/configs/tegra-common.h @@ -45,7 +45,7 @@ /* * Size of malloc() pool */ -#define CONFIG_SYS_MALLOC_LEN (4 << 20) /* 4MB */ +#define CONFIG_SYS_MALLOC_LEN (32 << 20) /* 32MB */ #define CONFIG_SYS_MALLOC_F_LEN (1 << 10) /*