summaryrefslogtreecommitdiffstats
path: root/oncology/dpfhack_display/fw/fulldump.py
diff options
context:
space:
mode:
authorEUcancER <root@euer.krebsco.de>2011-08-31 12:52:15 +0200
committerEUcancER <root@euer.krebsco.de>2011-08-31 12:52:15 +0200
commita2e4ac21444fd9af436039ba921e809cfca59ea2 (patch)
treee12c692527bc9b2b373cf0a4956f0ff458045cd7 /oncology/dpfhack_display/fw/fulldump.py
parentefe72ae286caa4ecf88edcbcb619fb0ceb886ca8 (diff)
parentcf46dbc53b36772fb0461b9451337c118e705c55 (diff)
Gigantor Merge!
Conflicts: cholerab/news/Candidate - add Ante scriptum cholerab/shirts/bestellliste - merged as theirs oncology/dpfhack_display - now a submodule add bug-fixing for adv_graphgen, as well as a Makefile
Diffstat (limited to 'oncology/dpfhack_display/fw/fulldump.py')
-rwxr-xr-xoncology/dpfhack_display/fw/fulldump.py29
1 files changed, 0 insertions, 29 deletions
diff --git a/oncology/dpfhack_display/fw/fulldump.py b/oncology/dpfhack_display/fw/fulldump.py
deleted file mode 100755
index 28c0ad2c..00000000
--- a/oncology/dpfhack_display/fw/fulldump.py
+++ /dev/null
@@ -1,29 +0,0 @@
-# Script to extract flash
-#
-# <hackfin@section5.ch>
-#
-# Argument is either:
-#
-# /dev/sgX : scsi device (unhacked mode)
-# usb0 : developer mode (already hacked)
-
-import sys
-sys.path.append("./Debug")
-import dpf
-
-import detect
-
-d = dpf.open(sys.argv[1])
-
-size = detect.detect_flash(d)
-
-# Offset, size
-print "Reading %x bytes..." % size
-buf = d.readFlash(0x00, size)
-
-f = open("full.bin", "wb")
-f.write(buf)
-f.close()
-
-d.close()
-