From patchwork Fri Jun 28 16:43:53 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: =?utf-8?q?=C5=81ukasz_Majewski?= X-Patchwork-Id: 255474 X-Patchwork-Delegate: promsoft@gmail.com Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from theia.denx.de (theia.denx.de [85.214.87.163]) by ozlabs.org (Postfix) with ESMTP id 8EDD72C0097 for ; Sat, 29 Jun 2013 02:44:31 +1000 (EST) Received: from localhost (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id 8B8724A027; Fri, 28 Jun 2013 18:44:29 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at theia.denx.de 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 8siukk2Sy5kX; Fri, 28 Jun 2013 18:44:29 +0200 (CEST) Received: from theia.denx.de (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id A6D624A01E; Fri, 28 Jun 2013 18:44:27 +0200 (CEST) Received: from localhost (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id C6D834A01E for ; Fri, 28 Jun 2013 18:44:19 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at theia.denx.de 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 TPycYatHTxSj for ; Fri, 28 Jun 2013 18:44:07 +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 mailout4.samsung.com (mailout4.samsung.com [203.254.224.34]) by theia.denx.de (Postfix) with ESMTP id 3418F4A01C for ; Fri, 28 Jun 2013 18:44:05 +0200 (CEST) Received: from epcpsbgm1.samsung.com (epcpsbgm1 [203.254.230.26]) by mailout4.samsung.com (Oracle Communications Messaging Server 7u4-24.01(7.0.4.24.0) 64bit (built Nov 17 2011)) with ESMTP id <0MP4008JQ3TEFTP0@mailout4.samsung.com> for u-boot@lists.denx.de; Sat, 29 Jun 2013 01:44:03 +0900 (KST) X-AuditID: cbfee61a-b7f3b6d000006edd-b3-51cdbd52d762 Received: from epmmp1.local.host ( [203.254.227.16]) by epcpsbgm1.samsung.com (EPCPMTA) with SMTP id 6C.E0.28381.25DBDC15; Sat, 29 Jun 2013 01:44:03 +0900 (KST) Received: from mcdsrvbld02.digital.local ([106.116.37.23]) by mmp1.samsung.com (Oracle Communications Messaging Server 7u4-24.01 (7.0.4.24.0) 64bit (built Nov 17 2011)) with ESMTPA id <0MP400M4K3T7NK80@mmp1.samsung.com>; Sat, 29 Jun 2013 01:44:02 +0900 (KST) From: Lukasz Majewski To: u-boot@lists.denx.de Date: Fri, 28 Jun 2013 18:43:53 +0200 Message-id: <1372437833-24217-1-git-send-email-l.majewski@samsung.com> X-Mailer: git-send-email 1.7.10 X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFrrJJMWRmVeSWpSXmKPExsVy+t9jAd3gvWcDDU58ZLR483Azo0XHkRZG i7d7O9kdmD3O3tnB6NG3ZRVjAFMUl01Kak5mWWqRvl0CV0bL5w2sBfvZK/7+ucrawDibrYuR k0NCwERi/ZaPrBC2mMSFe+uB4lwcQgKLGCU2zj7EAuF0MUn8fLCKEaSKTUBP4vPdp0wgtoiA hMSv/qtgcWaBAIkTk5YANXBwCAv4SbQfDAIJswioSszc8wGshFfATeLjs/2MEMvkJZ7e72Ob wMi9gJFhFaNoakFyQXFSeq6hXnFibnFpXrpecn7uJkawh59J7WBc2WBxiFGAg1GJh/fF3LOB QqyJZcWVuYcYJTiYlUR4uecBhXhTEiurUovy44tKc1KLDzFKc7AoifMeaLUOFBJITyxJzU5N LUgtgskycXBKNTCyP/K7eDz32CLD6k2Tp6ever/tsav68S/rll+9fOF6U0Zh4oOsp9nBHheW a0ZM3iYsM49LLUL/FWt+RjVDyn+NKxrfLNun90evUmo7wFbpM6fJLvicecnCuWdmamuUaiR5 +CdyPqkPXbvLlXH+etFYO16mt86HLAR6usuYts48Lf5SUrYw5oQSS3FGoqEWc1FxIgBd/ayV 7AEAAA== Subject: [U-Boot] [PATCH] arm:trats: Increase malloc pool size (for DFU ext4 transfers) X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.11 Precedence: list List-Id: U-Boot discussion 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 Commit: dfu: make data buffer size configurable SHA1: 89a72b2e0e141042c9109185e02d39b2107ffc62 replaced statically allocated buffers with one allocated with memalign. Malloc pool size of 1MiB was too small, since we needed bigger buffer to transfer for example uImage. Signed-off-by: Lukasz Majewski Cc: Minkyu Kang --- include/configs/trats.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/configs/trats.h b/include/configs/trats.h index 53fcf79..90562c4 100644 --- a/include/configs/trats.h +++ b/include/configs/trats.h @@ -66,7 +66,7 @@ #define CONFIG_MACH_TYPE MACH_TYPE_TRATS /* Size of malloc() pool */ -#define CONFIG_SYS_MALLOC_LEN (CONFIG_ENV_SIZE + (1 << 20)) +#define CONFIG_SYS_MALLOC_LEN (CONFIG_ENV_SIZE + (16 << 20)) /* select serial console configuration */ #define CONFIG_SERIAL2 /* use SERIAL 2 */