Hi Kristijan,
Not sure quite what your after, but here is a new, not tested yet (would
have to dig up the tablet), firmware extractor.
It uses just readelf, objcopy and dd. Quick and dirty "python for shell"
implementation.
Hopefully this should help.
Joe
On 01/10/14 10:00, Kristijan Vrban wrote:
Hello,
attached is a gslX680.ko module from a Q88 A23 based tablet (the cheap
USD 32 devices) I just started to extract the firmware to use gsl1680
IC with the touch panels that are used in this Q88 devices.
I think "GSL1680_K70_FW" should be the one. from this module.
Attached is also a small PCB design made in eagle to make test
connection between that touch panels and I2C interface. Maybe it
is useful for someone.
Kristijan
--
You received this message because you are subscribed to a topic in the
Google Groups "linux-sunxi" group.
To unsubscribe from this topic, visit
https://groups.google.com/d/topic/linux-sunxi/SZGxiTQcFyY/unsubscribe.
To unsubscribe from this group and all its topics, send an email to
[email protected]
<mailto:[email protected]>.
For more options, visit https://groups.google.com/d/optout.
--
You received this message because you are subscribed to the Google Groups
"linux-sunxi" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/d/optout.
#! /usr/bin/python
from subprocess import *
import sys
import os
if len(sys.argv) != 2:
print "Firware extractor.\n"
print "Requires elf file (driver) argument"
sys.exit(1)
filename = sys.argv[1]
call(['objcopy','-I','elf32-little','-j','.rodata','-O','binary',filename,'temp.bin'])
p = Popen(['/bin/sh', '-c', 'readelf -s '+ filename +' | grep FW'], stdout=PIPE)
for line in p.stdout:
args = line.split()
print "Found", args[7], "offset", int(args[1],16), "count", args[2]
call(['dd','if=temp.bin','bs=1','count='+args[2], 'skip='+str(int(args[1],16)),'of='+args[7] + ".fw"])
os.unlink('temp.bin')