Add a simple EC image extractor

update
Hamish Coleman 8 years ago
parent a4f00201d1
commit 92fe4b9ee0

4
.gitignore vendored

@ -1,3 +1,5 @@
# We download these, and they are large. So, dont think about committing them
# ignore the files that we do not have clear permission to distribute
*.iso
*.img

@ -18,3 +18,9 @@ install.radare.projects:
sha1sum -c $<
touch $@
#
# If we have an extractor for this image, use it
%.img: %.extract %.img.sum
./$< > $@
sha1sum -c $@.sum

@ -0,0 +1,10 @@
#!/bin/bash
#
# Quick and dirty extracter to get the EC image out of the iso file
#
# TODO:
# - a tool that is portable to Windows
# - should output dependancy information
dd if=8duj27us.iso bs=$[0x005e2a00] skip=1 | dd bs=196608 count=1

@ -0,0 +1 @@
d3c3db9352f8e3b5decc69abe08e725958f2284f x220.8DHT34WW.img
Loading…
Cancel
Save