summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobin H. Johnson <robbat2@gentoo.org>2015-08-08 13:49:04 -0700
committerRobin H. Johnson <robbat2@gentoo.org>2015-08-08 17:38:18 -0700
commit56bd759df1d0c750a065b8c845e93d5dfa6b549d (patch)
tree3f91093cdb475e565ae857f1c5a7fd339e2d781e /dev-embedded/jtag
downloadgentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.tar.gz
gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.tar.bz2
gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.zip
proj/gentoo: Initial commit
This commit represents a new era for Gentoo: Storing the gentoo-x86 tree in Git, as converted from CVS. This commit is the start of the NEW history. Any historical data is intended to be grafted onto this point. Creation process: 1. Take final CVS checkout snapshot 2. Remove ALL ChangeLog* files 3. Transform all Manifests to thin 4. Remove empty Manifests 5. Convert all stale $Header$/$Id$ CVS keywords to non-expanded Git $Id$ 5.1. Do not touch files with -kb/-ko keyword flags. Signed-off-by: Robin H. Johnson <robbat2@gentoo.org> X-Thanks: Alec Warner <antarus@gentoo.org> - did the GSoC 2006 migration tests X-Thanks: Robin H. Johnson <robbat2@gentoo.org> - infra guy, herding this project X-Thanks: Nguyen Thai Ngoc Duy <pclouds@gentoo.org> - Former Gentoo developer, wrote Git features for the migration X-Thanks: Brian Harring <ferringb@gentoo.org> - wrote much python to improve cvs2svn X-Thanks: Rich Freeman <rich0@gentoo.org> - validation scripts X-Thanks: Patrick Lauer <patrick@gentoo.org> - Gentoo dev, running new 2014 work in migration X-Thanks: Michał Górny <mgorny@gentoo.org> - scripts, QA, nagging X-Thanks: All of other Gentoo developers - many ideas and lots of paint on the bikeshed
Diffstat (limited to 'dev-embedded/jtag')
-rw-r--r--dev-embedded/jtag/Manifest1
-rw-r--r--dev-embedded/jtag/files/jtag-0.5.1-no-erase-overshoot.diff34
-rw-r--r--dev-embedded/jtag/jtag-0.5.1-r1.ebuild24
-rw-r--r--dev-embedded/jtag/metadata.xml8
4 files changed, 67 insertions, 0 deletions
diff --git a/dev-embedded/jtag/Manifest b/dev-embedded/jtag/Manifest
new file mode 100644
index 000000000000..ee84005ac978
--- /dev/null
+++ b/dev-embedded/jtag/Manifest
@@ -0,0 +1 @@
+DIST jtag-0.5.1.tar.bz2 314857 SHA256 4036f97ef693e9cbe6f99137ad6920b2679ba97d58cf5e78442a4d60308563b6 SHA512 f8c6000595929f9b3e20dd08a7c665b3c960dfa8b1c4d7f1c591692621ffaffceb5e844b3eb75a60dcfa870a38411604fe07564dc2ec48d6a5df0dbba6e960b6 WHIRLPOOL 8c1b718dc6b7670dfb60e47be6935a47707840da5b39c3334361e79a1f2ec920cc330ee7b478be1083ebb8da09e4c67fafb95c83672f3179f968cea20ded4fdc
diff --git a/dev-embedded/jtag/files/jtag-0.5.1-no-erase-overshoot.diff b/dev-embedded/jtag/files/jtag-0.5.1-no-erase-overshoot.diff
new file mode 100644
index 000000000000..a79450d2bf58
--- /dev/null
+++ b/dev-embedded/jtag/files/jtag-0.5.1-no-erase-overshoot.diff
@@ -0,0 +1,34 @@
+*** jtag-0.5.1/src/flash.c.orig Wed Jun 23 14:02:44 2004
+--- jtag-0.5.1/src/flash.c Wed Jun 23 14:03:39 2004
+***************
+*** 293,306 ****
+ int bc = 0, bn = 0;
+ int block_no = find_block( cfi, adr );
+
+! if (!erased[block_no]) {
+ flash_driver->unlock_block( cfi_array, adr );
+ printf( _("\nblock %d unlocked\n"), block_no );
+ printf( _("erasing block %d: %d\n"), block_no, flash_driver->erase_block( cfi_array, adr ) );
+ erased[block_no] = 1;
+ }
+
+- bn = fread( b, 1, BSIZE, f );
+ for (bc = 0; bc < bn; bc += flash_driver->bus_width) {
+ int j;
+ printf( _("addr: 0x%08X"), adr );
+--- 293,307 ----
+ int bc = 0, bn = 0;
+ int block_no = find_block( cfi, adr );
+
+! bn = fread( b, 1, BSIZE, f );
+!
+! if (bn && !erased[block_no]) {
+ flash_driver->unlock_block( cfi_array, adr );
+ printf( _("\nblock %d unlocked\n"), block_no );
+ printf( _("erasing block %d: %d\n"), block_no, flash_driver->erase_block( cfi_array, adr ) );
+ erased[block_no] = 1;
+ }
+
+ for (bc = 0; bc < bn; bc += flash_driver->bus_width) {
+ int j;
+ printf( _("addr: 0x%08X"), adr );
diff --git a/dev-embedded/jtag/jtag-0.5.1-r1.ebuild b/dev-embedded/jtag/jtag-0.5.1-r1.ebuild
new file mode 100644
index 000000000000..5ef0514e6eb7
--- /dev/null
+++ b/dev-embedded/jtag/jtag-0.5.1-r1.ebuild
@@ -0,0 +1,24 @@
+# Copyright 1999-2013 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI="4"
+
+inherit eutils
+
+DESCRIPTION="Software for working with JTAG-aware (IEEE 1149.1) devices (parts) and boards through JTAG adapter"
+HOMEPAGE="http://openwince.sourceforge.net/jtag/"
+SRC_URI="mirror://sourceforge/openwince/${P}.tar.bz2"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="x86 sparc ~ppc"
+IUSE=""
+
+DEPEND="dev-embedded/include"
+RDEPEND="${DEPEND}
+ !dev-embedded/urjtag"
+
+src_prepare() {
+ epatch "${FILESDIR}"/${P}-no-erase-overshoot.diff
+}
diff --git a/dev-embedded/jtag/metadata.xml b/dev-embedded/jtag/metadata.xml
new file mode 100644
index 000000000000..4e6d8fe4e4b9
--- /dev/null
+++ b/dev-embedded/jtag/metadata.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <herd>dev-embedded</herd>
+ <upstream>
+ <remote-id type="sourceforge">openwince</remote-id>
+ </upstream>
+</pkgmetadata>