From patchwork Wed Oct 30 16:47:32 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Dinar Valeev X-Patchwork-Id: 287291 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 6A5A02C03B9 for ; Thu, 31 Oct 2013 03:48:20 +1100 (EST) Received: from mail-ee0-x233.google.com (mail-ee0-x233.google.com [IPv6:2a00:1450:4013:c00::233]) (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 F2D722C0367 for ; Thu, 31 Oct 2013 03:48:16 +1100 (EST) Received: by mail-ee0-f51.google.com with SMTP id d41so777599eek.24 for ; Wed, 30 Oct 2013 09:48:11 -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:in-reply-to:references; bh=VjORN06MlTnb9hy7nyiAoMSiL+FErFqahwnxxJczi8M=; b=vUr/WBukLwknbsgAluHMTFWZmQpCNc/AuBNVAWOKrzpzWXKSoHqEZndB/cChkuT3Kn HAmOUC1aptNUgux7sonkyHmonj/j96EIjEshvhqYIa9/SgMky2BcI0CE+uHyw419XxT9 izjWhJlzuUgJx1PvpJ5kyFLtTrWcLbYrGUE1wLTlJITiw8cQ973RAYmOK3AP0MOtrgWQ qy69bnmIhE12KbmSorcoGXe/LdNdL39/PlkICfiphq+YZjsHL+EXV2CbSSV+cPobFvNW EcJ5RjLyFJdROe5wHBHW/BG0q8q0Fjofnr+bVNH5jwBgUagWLGunCsoUsVFETdoQ+2W0 MzEQ== X-Received: by 10.14.7.71 with SMTP id 47mr547042eeo.122.1383151691114; Wed, 30 Oct 2013 09:48:11 -0700 (PDT) Received: from petersburg.suse.cz (nat.scz.novell.com. [213.151.88.252]) by mx.google.com with ESMTPSA id a6sm85520598eei.10.2013.10.30.09.48.09 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 30 Oct 2013 09:48:10 -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 17:47:32 +0100 Message-Id: <1383151653-7494-1-git-send-email-k0da@opensuse.org> X-Mailer: git-send-email 1.8.1.4 In-Reply-To: References: 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..699c0ba 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, "0.0.0.0,1024"); } else { strcat(buffer, ","); strcat(buffer, filename);