From patchwork Wed Oct 30 18:32:40 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Dinar Valeev X-Patchwork-Id: 287324 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from ozlabs.org (localhost [IPv6:::1]) by ozlabs.org (Postfix) with ESMTP id 2194E2C03BD for ; Thu, 31 Oct 2013 05:33:17 +1100 (EST) Received: from mail-ea0-x231.google.com (mail-ea0-x231.google.com [IPv6:2a00:1450:4013:c01::231]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (not verified)) by ozlabs.org (Postfix) with ESMTPS id 7E86E2C0398 for ; Thu, 31 Oct 2013 05:33:14 +1100 (EST) Received: by mail-ea0-f177.google.com with SMTP id f15so863392eak.22 for ; Wed, 30 Oct 2013 11:33:08 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=sender:from:to:cc:subject:date:message-id; bh=R58vp2zd6mcBY+7j9W4OTSX3wEaduqxXWuSkObBrNWM=; b=w8P/f5SGdEuzDze152D+Z06mRgvYWvLtd2zAOGBUkzuFoV15R8ZJP3+Z/g5xn2TIhh iClJnF1iI1WbL2DEi+J0Ju0p+gbescwoTgna8j4dO627h5CyYcWpERw79jmNFMlaeFIG 6OO7ZBaV7Nw9MTUpPXx4LLDJDj9rYEe1vK1yAjrAINFTyKDLoQCJdmKMzwGU9accgcLy DTk9PhLzFPZbUZcvXnvv1JGcrFJS8xhvAvSLXs6vlc6m7h2yPGgQihfQwPouTIYGqwsw 40B8AMH7KwVoeQCRL/cRWmuj1XtdaQ1qQJW4TZnWclF1PGjWQyAwW4JjZWTSXN3g0OaX hUVw== X-Received: by 10.14.48.14 with SMTP id u14mr3673588eeb.74.1383157988244; Wed, 30 Oct 2013 11:33:08 -0700 (PDT) Received: from localhost.localdomain ([89.233.181.75]) by mx.google.com with ESMTPSA id d7sm86532033eem.8.2013.10.30.11.33.07 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 30 Oct 2013 11:33:07 -0700 (PDT) From: Dinar valeev To: yaboot-devel@lists.ozlabs.org Subject: [PATCH 1/2] Override tftp blocksize set by firmware. Date: Wed, 30 Oct 2013 19:32:40 +0100 Message-Id: <1383157961-9465-1-git-send-email-k0da@opensuse.org> X-Mailer: git-send-email 1.8.1.4 Cc: Dinar Valeev X-BeenThere: yaboot-devel@lists.ozlabs.org X-Mailman-Version: 2.1.16rc2 Precedence: list List-Id: Technical and development discussion regarding yaboot List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Errors-To: yaboot-devel-bounces+incoming=patchwork.ozlabs.org@lists.ozlabs.org Sender: "Yaboot-devel" From: Dinar Valeev Sometimes we need to load files bigger than 32MB, due to bug in pSeries firmware, we can't control it. Set it to 1024, nowadays it seems more reasonable. Signed-off-by: Dinar Valeev --- second/fs_of.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/second/fs_of.c b/second/fs_of.c index 13f5e2c..719d2ac 100644 --- a/second/fs_of.c +++ b/second/fs_of.c @@ -203,7 +203,7 @@ of_net_open(struct boot_file_t* file, strcat(buffer, ","); strcat(buffer, fspec->subnetmask); strcat(buffer, ","); - strcat(buffer, fspec->addl_params); + strcat(buffer, 1024); } else { strcat(buffer, ","); strcat(buffer, filename);