From patchwork Tue Oct 7 13:38:23 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ian Campbell X-Patchwork-Id: 38403 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-ee0-f70.google.com (mail-ee0-f70.google.com [74.125.83.70]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id 119242057C for ; Tue, 7 Oct 2014 13:44:05 +0000 (UTC) Received: by mail-ee0-f70.google.com with SMTP id c13sf4209854eek.1 for ; Tue, 07 Oct 2014 06:44:05 -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 :mime-version:cc:subject:precedence:list-id:list-unsubscribe :list-archive:list-post:list-help:list-subscribe:sender:errors-to :x-original-sender:x-original-authentication-results:mailing-list :content-type:content-transfer-encoding; bh=uLEoOc9Aeg/y4c8/vwBjjEk5IUXxQTA68N1jFw2gCOg=; b=Qzy7fAXGVKcgGnIL5MVvgCKKR7WqgqMrhi5r+WdQGrPS/rWXGqyXQSHKxSfDedtOER mLHI4Qn8dS8z9tjywUJ8I+33dZMjdRkCDdC1UtIPpp1PcJhoywI6mFP6B0WWtGwNP6Ad 9OouvVbW5UJT0BbKXfPImUq5NrydQ/oWR4UJluspbz0obkNWkuM+2GnjY3mqsNxS/YAw BaAug4MfzGmQfDxTucBjORHKrZM4ay739kvD4VnFoszvnXo15KYcqvf+VLn5IIVb/YK1 ObsNLTcGZTQhM5yS+3vgPsjh6RhcC7TIoZD+x0VQGpJsn6P6K8PblGoHOBhYYWmLwMc2 VvyQ== X-Gm-Message-State: ALoCoQkR3gdIq+uc8iOIQHSNtRKBEX0dJ65E0ghBuc7BdYbkl+3MTn7/xIprNmiqDURK3EzDg2nN X-Received: by 10.112.168.225 with SMTP id zz1mr532933lbb.8.1412689445189; Tue, 07 Oct 2014 06:44:05 -0700 (PDT) X-BeenThere: patchwork-forward@linaro.org Received: by 10.152.27.201 with SMTP id v9ls701376lag.40.gmail; Tue, 07 Oct 2014 06:44:05 -0700 (PDT) X-Received: by 10.152.6.228 with SMTP id e4mr4457049laa.12.1412689445010; Tue, 07 Oct 2014 06:44:05 -0700 (PDT) Received: from mail-lb0-f181.google.com (mail-lb0-f181.google.com [209.85.217.181]) by mx.google.com with ESMTPS id v2si28665339lal.134.2014.10.07.06.44.04 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Tue, 07 Oct 2014 06:44:04 -0700 (PDT) Received-SPF: pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.217.181 as permitted sender) client-ip=209.85.217.181; Received: by mail-lb0-f181.google.com with SMTP id l4so6037846lbv.26 for ; Tue, 07 Oct 2014 06:44:04 -0700 (PDT) X-Received: by 10.153.6.36 with SMTP id cr4mr4343002lad.40.1412689444838; Tue, 07 Oct 2014 06:44:04 -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.130.169 with SMTP id of9csp352776lbb; Tue, 7 Oct 2014 06:44:04 -0700 (PDT) X-Received: by 10.194.89.225 with SMTP id br1mr4963576wjb.51.1412689444270; Tue, 07 Oct 2014 06:44:04 -0700 (PDT) Received: from theia.denx.de (theia.denx.de. [85.214.87.163]) by mx.google.com with ESMTP id ei1si10587119wib.71.2014.10.07.06.44.03 for ; Tue, 07 Oct 2014 06:44:04 -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 C450D4B658; Tue, 7 Oct 2014 15:44:02 +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 3vkkkkPqMEYE; Tue, 7 Oct 2014 15:44:02 +0200 (CEST) Received: from theia.denx.de (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id 34C434B639; Tue, 7 Oct 2014 15:44:02 +0200 (CEST) Received: from localhost (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id 6BDE24B638 for ; Tue, 7 Oct 2014 15:43:57 +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 kOi0WsONKmFf for ; Tue, 7 Oct 2014 15:43:57 +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 SMTP.CITRIX.COM (smtp.citrix.com [66.165.176.89]) by theia.denx.de (Postfix) with ESMTPS id 5514E4B635 for ; Tue, 7 Oct 2014 15:43:53 +0200 (CEST) X-IronPort-AV: E=Sophos;i="5.04,670,1406592000"; d="scan'208";a="178964502" Received: from ukmail1.uk.xensource.com (10.80.16.128) by smtprelay.citrix.com (10.13.107.80) with Microsoft SMTP Server id 14.3.181.6; Tue, 7 Oct 2014 09:43:45 -0400 Received: from kazak.uk.xensource.com ([10.80.2.80] helo=zakaz.uk.xensource.com) by ukmail1.uk.xensource.com with smtp (Exim 4.69) (envelope-from ) id 1XbUy7-0001ni-2i; Tue, 07 Oct 2014 14:38:24 +0100 Received: by zakaz.uk.xensource.com (sSMTP sendmail emulation); Tue, 07 Oct 2014 14:38:23 +0100 From: Ian Campbell To: , Minkyu Kang Date: Tue, 7 Oct 2014 14:38:23 +0100 Message-ID: <1412689103-1528-1-git-send-email-ijc@hellion.org.uk> X-Mailer: git-send-email 2.1.0 MIME-Version: 1.0 X-DLP: MIA2 Cc: Ian Campbell Subject: [U-Boot] [PATCH] sunxi: Increase command line buffer size (CONFIG_SYS_CBSIZE) 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: , 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: ijc@hellion.org.uk 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.181 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 From: Ian Campbell I was running into this limit with a not overly long PXE append line. Since the PXE code wants to print the resulting command line increase CONFIG_SYS_PBSIZE too. Signed-off-by: Ian Campbell --- include/configs/sunxi-common.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/include/configs/sunxi-common.h b/include/configs/sunxi-common.h index 1d947d7..d4419a2 100644 --- a/include/configs/sunxi-common.h +++ b/include/configs/sunxi-common.h @@ -92,8 +92,8 @@ * Miscellaneous configurable options */ #define CONFIG_CMD_ECHO -#define CONFIG_SYS_CBSIZE 256 /* Console I/O Buffer Size */ -#define CONFIG_SYS_PBSIZE 384 /* Print Buffer Size */ +#define CONFIG_SYS_CBSIZE 1024 /* Console I/O Buffer Size */ +#define CONFIG_SYS_PBSIZE 1024 /* Print Buffer Size */ #define CONFIG_SYS_MAXARGS 16 /* max number of command args */ #define CONFIG_SYS_GENERIC_BOARD