Compare commits

...
Sign in to create a new pull request.

2 commits

Author SHA1 Message Date
Tony Breeds
c9c105fe41 And actually make the changelog match the RPM version
Signed-off-by: Tony Breeds <tony@bakeyournoodle.com>
2013-06-12 15:29:19 +10:00
Tony Breeds
fde967690c Increase TFTP Load Buffer to 32MB
Signed-off-by: Tony Breeds <tony@bakeyournoodle.com>
2013-06-12 15:27:50 +10:00
2 changed files with 42 additions and 1 deletions

View file

@ -0,0 +1,34 @@
From f70d675c9b833e57b605fc94702cd66e97c717f5 Mon Sep 17 00:00:00 2001
From: Tony Breeds <tony@bakeyournoodle.com>
Date: Mon, 13 May 2013 14:42:21 +1000
Subject: [PATCH] fs_of: Increase the LOAD_BUFFER_SIZE to 32MB
Okay this is the last time. To go bigger than this we'll almost
certainly break smaller systems, if we haven't already.
Also 32MB is as big as std. TFTP will go. To transfer more than that we
need to support tftp block-size and tftp rollover. Basically we'd
*require* HPA's tftp daemon and we'd need to write a TFTP client in
yaboot. So we'll stay at 32MB for a while I think.
Signed-off-by: Tony Breeds <tony@bakeyournoodle.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 fc88e8e..13f5e2c 100644
--- a/second/fs_of.c
+++ b/second/fs_of.c
@@ -44,7 +44,7 @@
#include "errors.h"
#include "debug.h"
-#define LOAD_BUFFER_SIZE 0x1800000
+#define LOAD_BUFFER_SIZE 0x2000000
static int of_open(struct boot_file_t* file,
struct partition_t* part, struct boot_fspec_t* fspec);
--
1.7.10.4

View file

@ -1,7 +1,7 @@
Summary: Linux bootloader for Power Macintosh "New World" computers.
Name: yaboot
Version: 1.3.17
Release: 6%{?dist}
Release: 7%{?dist}
License: GPLv2+
Group: System Environment/Base
Source: http://yaboot.ozlabs.org/releases/yaboot-%{version}.tar.gz
@ -32,6 +32,7 @@ Patch41: yaboot-1.3.17-no-werror.patch
Patch42: yaboot-1.3.17-fs_swap.patch
Patch43: yaboot-1.3.17-link_with_new_e2fsprogs.patch
Patch44: yaboot-1.3.17-link_with_new_e2fsprogs2.patch
Patch45: yaboot-1.3.17-increase_load_buffer.patch
URL: http://yaboot.ozlabs.org/
BuildRoot: %{_tmppath}/%{name}-root
@ -77,6 +78,7 @@ yaboot can also bootload IBM pSeries machines.
%patch42 -p1
%patch43 -p1
%patch44 -p1
%patch45 -p1
%build
make VERSIONEXTRA='\ (Red Hat %version-%release)' DEBUG=1
@ -117,6 +119,11 @@ rm -rf $RPM_BUILD_ROOT
%ghost %config(noreplace) %{_sysconfdir}/yaboot.conf
%changelog
* Wed Jun 12 2013 Tony Breeds <tony@bakeyournoodle.com> - 1.3.17-7
- Backport f70d675c to increase LOAD_BUFFER to 32MB
- Resolves 973324
- Resolves 973208
* Wed Sep 05 2012 Tony Breeds <tony@bakeyournoodle.com> - 1.3.17-6
- Add patch to link against *even newer* e2fsprogs.