[PATCH 1/2] Override tftp blocksize set by firmware.

Dinar valeev k0da at opensuse.org
Thu Oct 31 03:47:32 EST 2013


From: Dinar Valeev <dvaleev at suse.com>

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 <dvaleev at suse.com>
---
 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);
-- 
1.8.1.4



More information about the Yaboot-devel mailing list