From patchwork Tue Feb 23 13:49:47 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Michal Simek X-Patchwork-Id: 1443494 X-Patchwork-Delegate: monstr@monstr.eu 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=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=monstr-eu.20150623.gappssmtp.com header.i=@monstr-eu.20150623.gappssmtp.com header.a=rsa-sha256 header.s=20150623 header.b=Grphd7Ye; 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 4DlL5c30FSz9sSC for ; Wed, 24 Feb 2021 00:49:56 +1100 (AEDT) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 0697A8288E; Tue, 23 Feb 2021 14:49:53 +0100 (CET) Authentication-Results: phobos.denx.de; dmarc=fail (p=none dis=none) header.from=xilinx.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de Authentication-Results: phobos.denx.de; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=monstr-eu.20150623.gappssmtp.com header.i=@monstr-eu.20150623.gappssmtp.com header.b="Grphd7Ye"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id D38308289D; Tue, 23 Feb 2021 14:49:51 +0100 (CET) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on phobos.denx.de X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,RCVD_IN_DNSWL_BLOCKED,SPF_HELO_NONE autolearn=ham autolearn_force=no version=3.4.2 Received: from mail-ed1-x529.google.com (mail-ed1-x529.google.com [IPv6:2a00:1450:4864:20::529]) (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 20476827BE for ; Tue, 23 Feb 2021 14:49:49 +0100 (CET) Authentication-Results: phobos.denx.de; dmarc=fail (p=none dis=none) header.from=xilinx.com Authentication-Results: phobos.denx.de; spf=none smtp.mailfrom=monstr@monstr.eu Received: by mail-ed1-x529.google.com with SMTP id j9so26009088edp.1 for ; Tue, 23 Feb 2021 05:49:49 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=monstr-eu.20150623.gappssmtp.com; s=20150623; h=sender:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=UdQ29+ulv/X7v4a67J5SJMURNAgU9X9/V0uCiBX4P+U=; b=Grphd7YeeHtnCekdp2kR9WBkaGm/T/thmWZDQufaFprJ68w3+ms4J9g9+a3tFzKOoi f8GFloeGtNRW6gj8ucGfVBx6SjMAQyp2ZZLdm55DU0dp2pgNuTcOuMO0spVoMd86WFdP ixBH/sHhDICgh9i24Ylvcqz7LWqzjD1FTHOY9lPnd7QLUo5EzVyb0JV8NtW1Ve2yqLiN XCcsUM6ygLSrSsVwMwUm5nlLXIKWsEUVKHsCeZgANnaKesUamMUUW79ldiY03h5jE9IB LP7TPLZJ/XYhb6Q8Q0eyZqjHhuuG1FosQnqAAJYWKr2ZUt6eoXlHwkp/CTShSjRTMhG/ wxfQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:from:to:cc:subject:date:message-id :mime-version:content-transfer-encoding; bh=UdQ29+ulv/X7v4a67J5SJMURNAgU9X9/V0uCiBX4P+U=; b=QRURiMtip3HnP+x08Qi6+AG8IRJZfk1yHpBNbsuFwflv7KIbuS7UBVf/hYvDcEtvMf YPeZKCuJn6C4dISxPmgb9T2gdYMV1S5zrC8tXyOq/WDnc9wAi8uFY0yq8awSxDm0qaz3 XjHaqXpqpz5tEDt09bpD4fr24dgczZePqgOxIIQV57ZAjltHUu2onef1zd4Kbm8ZuRlu g2gdpJ7nL6CLg0e1I1gkeLsEXMvGWmYQ8W+mtfNr7hTiUPoPyg4igZ6WjM4fd1ii0hjA NXskqH3nN/ToWwX0fUozQcK4qJbc2842JsieyrQbGcYMBHYJWdpKqUsXcJuDe9PLvWs5 gi+w== X-Gm-Message-State: AOAM533DGS6vGJKbq9TolfMqmihwDOtk0bqv/AtTVf5X+ykSptmEhjOK L7xi6kufzMIeBOnMcGg/15CRyEATBkEAXt8M X-Google-Smtp-Source: ABdhPJzrnWTQcktZt1qgxVlBj+sf7RPZo1IpIiIrZW0t2gwGaJZzcgTCjERNQM9Alfh8/tr/ZhmsbA== X-Received: by 2002:aa7:ca4b:: with SMTP id j11mr26953972edt.232.1614088188645; Tue, 23 Feb 2021 05:49:48 -0800 (PST) Received: from localhost (nat-35.starnet.cz. [178.255.168.35]) by smtp.gmail.com with ESMTPSA id b4sm16452253edh.40.2021.02.23.05.49.48 (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Tue, 23 Feb 2021 05:49:48 -0800 (PST) From: Michal Simek To: u-boot@lists.denx.de, git@xilinx.com Cc: Ashok Reddy Soma Subject: [PATCH] arm64: zynqmp: Increase size of malloc pool Date: Tue, 23 Feb 2021 14:49:47 +0100 Message-Id: X-Mailer: git-send-email 2.30.0 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.102.3 at phobos.denx.de X-Virus-Status: Clean From: Ashok Reddy Soma size of malloc() pool for use before relocation is not sufficient for ZynqMP mini u-boot with emmc configuration. Increase it to 4K. Signed-off-by: Ashok Reddy Soma Signed-off-by: Michal Simek --- configs/xilinx_zynqmp_mini_emmc0_defconfig | 2 ++ configs/xilinx_zynqmp_mini_emmc1_defconfig | 2 ++ 2 files changed, 4 insertions(+) diff --git a/configs/xilinx_zynqmp_mini_emmc0_defconfig b/configs/xilinx_zynqmp_mini_emmc0_defconfig index 35eb5f1fe805..4594f8096d39 100644 --- a/configs/xilinx_zynqmp_mini_emmc0_defconfig +++ b/configs/xilinx_zynqmp_mini_emmc0_defconfig @@ -3,8 +3,10 @@ CONFIG_SYS_CONFIG_NAME="xilinx_zynqmp_mini_emmc" CONFIG_SYS_ICACHE_OFF=y CONFIG_ARCH_ZYNQMP=y CONFIG_SYS_TEXT_BASE=0x10000 +CONFIG_SYS_MALLOC_F_LEN=0x1000 CONFIG_NR_DRAM_BANKS=1 CONFIG_ENV_SIZE=0x80 +CONFIG_SPL_SYS_MALLOC_F_LEN=0x600 CONFIG_SPL=y # CONFIG_CMD_ZYNQMP is not set CONFIG_DEFAULT_DEVICE_TREE="zynqmp-mini-emmc0" diff --git a/configs/xilinx_zynqmp_mini_emmc1_defconfig b/configs/xilinx_zynqmp_mini_emmc1_defconfig index eaec137adaf8..d7c64b9da535 100644 --- a/configs/xilinx_zynqmp_mini_emmc1_defconfig +++ b/configs/xilinx_zynqmp_mini_emmc1_defconfig @@ -3,8 +3,10 @@ CONFIG_SYS_CONFIG_NAME="xilinx_zynqmp_mini_emmc" CONFIG_SYS_ICACHE_OFF=y CONFIG_ARCH_ZYNQMP=y CONFIG_SYS_TEXT_BASE=0x10000 +CONFIG_SYS_MALLOC_F_LEN=0x1000 CONFIG_NR_DRAM_BANKS=1 CONFIG_ENV_SIZE=0x80 +CONFIG_SPL_SYS_MALLOC_F_LEN=0x600 CONFIG_SPL=y # CONFIG_CMD_ZYNQMP is not set CONFIG_DEFAULT_DEVICE_TREE="zynqmp-mini-emmc1"