summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoshua Kinard <kumba@gentoo.org>2005-10-14 17:32:26 +0000
committerJoshua Kinard <kumba@gentoo.org>2005-10-14 17:32:26 +0000
commit4e021031a8d764dc6aa659f1eb94efb93525a7c6 (patch)
treed8f8965756617027eaaaa514e5c7f506b1a62f72 /sys-boot
parentKeyworded ~sparc (diff)
downloadhistorical-4e021031a8d764dc6aa659f1eb94efb93525a7c6.tar.gz
historical-4e021031a8d764dc6aa659f1eb94efb93525a7c6.tar.bz2
historical-4e021031a8d764dc6aa659f1eb94efb93525a7c6.zip
Tweaks to arcload; add an identifier to loader/detect.c for R14K cpus, and make detectbaud() return a default of 9600bps in loader/detect.c
Package-Manager: portage-2.0.53_rc5
Diffstat (limited to 'sys-boot')
-rw-r--r--sys-boot/arcload/ChangeLog10
-rw-r--r--sys-boot/arcload/Manifest9
-rw-r--r--sys-boot/arcload/arcload-0.43-r1.ebuild (renamed from sys-boot/arcload/arcload-0.43.ebuild)11
-rw-r--r--sys-boot/arcload/files/arcload-0.43-tweaks1.patch20
-rw-r--r--sys-boot/arcload/files/digest-arcload-0.43-r1 (renamed from sys-boot/arcload/files/digest-arcload-0.43)0
5 files changed, 44 insertions, 6 deletions
diff --git a/sys-boot/arcload/ChangeLog b/sys-boot/arcload/ChangeLog
index c3a16743ad50..c2a8d60a3019 100644
--- a/sys-boot/arcload/ChangeLog
+++ b/sys-boot/arcload/ChangeLog
@@ -1,6 +1,14 @@
# ChangeLog for sys-boot/arcload
# Copyright 1999-2005 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sys-boot/arcload/ChangeLog,v 1.2 2005/09/11 01:58:09 kumba Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-boot/arcload/ChangeLog,v 1.3 2005/10/14 17:32:26 kumba Exp $
+
+*arcload-0.43-r1 (15 Oct 2005)
+
+ 15 Oct 2005; Joshua Kinard <kumba@gentoo.org>
+ +files/arcload-0.43-tweaks1.patch, +arcload-0.43-r1.ebuild,
+ -arcload-0.43.ebuild:
+ Tweaks to arcload; add an identifier to loader/detect.c for R14K cpus, and
+ make detectbaud() return a default of 9600bps in loader/detect.c
*arcload-0.43 (11 Sep 2005)
diff --git a/sys-boot/arcload/Manifest b/sys-boot/arcload/Manifest
index 15e352fe3d45..c4aa29f4e5a5 100644
--- a/sys-boot/arcload/Manifest
+++ b/sys-boot/arcload/Manifest
@@ -1,6 +1,7 @@
+MD5 2099113b095a00c9a20025673f2077b3 ChangeLog 956
MD5 fb6f9d40d2ded3c067ac1eefaf219a55 arcload-0.41.ebuild 2191
-MD5 58a9ae7662a7e557b27a74c70106c08d metadata.xml 366
-MD5 95d0a3b86aadfed04ba818b7f6072462 ChangeLog 645
-MD5 7281132ec00607d4eb227d4e61fb4573 arcload-0.43.ebuild 2284
+MD5 9d8d85571a65719bdd086f5312774b23 arcload-0.43-r1.ebuild 2507
+MD5 4c218c8e9298938004593523435f45b6 files/arcload-0.43-tweaks1.patch 615
MD5 15044a63205fe66a9f42ccf799b328fe files/digest-arcload-0.41 64
-MD5 a95a426a82a8a6ad6249e843a4fcedff files/digest-arcload-0.43 64
+MD5 a95a426a82a8a6ad6249e843a4fcedff files/digest-arcload-0.43-r1 64
+MD5 58a9ae7662a7e557b27a74c70106c08d metadata.xml 366
diff --git a/sys-boot/arcload/arcload-0.43.ebuild b/sys-boot/arcload/arcload-0.43-r1.ebuild
index 3b1d26c7f4c6..904f101ee0e8 100644
--- a/sys-boot/arcload/arcload-0.43.ebuild
+++ b/sys-boot/arcload/arcload-0.43-r1.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2005 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-boot/arcload/arcload-0.43.ebuild,v 1.1 2005/09/11 01:58:09 kumba Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-boot/arcload/arcload-0.43-r1.ebuild,v 1.1 2005/10/14 17:32:26 kumba Exp $
inherit eutils toolchain-funcs
@@ -26,6 +26,15 @@ pkg_setup() {
fi
}
+src_unpack() {
+ unpack ${A}
+
+ # Adds in detection support for the R14000, and
+ # tweaks detectbaud() in loader/detect.c to return
+ # a default of 9600bps when the function fails
+ epatch ${FILESDIR}/${P}-tweaks1.patch
+}
+
src_compile() {
echo -e ""
einfo ">>> Building 32-bit version (sashARCS) for IP22/IP32 ..."
diff --git a/sys-boot/arcload/files/arcload-0.43-tweaks1.patch b/sys-boot/arcload/files/arcload-0.43-tweaks1.patch
new file mode 100644
index 000000000000..143cbb151312
--- /dev/null
+++ b/sys-boot/arcload/files/arcload-0.43-tweaks1.patch
@@ -0,0 +1,20 @@
+diff -Naurp arcload-0.43.orig/loader/detect.c arcload-0.43/loader/detect.c
+--- arcload-0.43.orig/loader/detect.c 2005-09-05 13:32:44 -0400
++++ arcload-0.43/loader/detect.c 2005-10-14 00:36:46 -0400
+@@ -30,6 +30,7 @@ static struct {
+ {0x0004, "r4000"},
+ {0x0009, "r10000"},
+ {0x000e, "r12000"},
++ {0x000f, "r14000"},
+ {0x0020, "r4600"},
+ {0x0021, "r4700"},
+ {0x0023, "r5000"},
+@@ -194,7 +195,7 @@ static char *detectbaud(void)
+ if(var && var[0]=='d') {
+ var=ArcGetEnvironmentVariable("dbaud");
+ if(!var)
+- return NULL;
++ return "baud=9600";
+ sprintf(baudrate,"baud=%s",var);
+ return baudrate;
+ }
diff --git a/sys-boot/arcload/files/digest-arcload-0.43 b/sys-boot/arcload/files/digest-arcload-0.43-r1
index 3856b419b4a9..3856b419b4a9 100644
--- a/sys-boot/arcload/files/digest-arcload-0.43
+++ b/sys-boot/arcload/files/digest-arcload-0.43-r1