rknanoutils: much more sensible format guess
commit906963ae7667ae06951e12c0f02032184a4e23fd
authorAmaury Pouly <amaury.pouly@gmail.com>
Tue, 19 Jun 2012 20:52:18 +0000 (19 22:52 +0200)
committerAmaury Pouly <amaury.pouly@gmail.com>
Tue, 19 Jun 2012 20:54:41 +0000 (19 22:54 +0200)
tree105b9ded4736810f9d62512f7f966abf6ba91799
parent715111122837440d3a1463d0d6932c469418dcbb
rknanoutils: much more sensible format guess

I finally found a sensible format for the executable files.
The tool now can output the loading entry to elf files. Some
disassembly and analysis suggest the phys/virt addresses are
correct. However the entries are somehow linked and it is
still unclear how (are there "calls" to the code ? when ?).

Change-Id: Ied38b5bb297176c5755b5ecb3309f4a259c18cd4
utils/rknanoutils/rkboottool/Makefile
utils/rknanoutils/rkboottool/elf.c [new file with mode: 0644]
utils/rknanoutils/rkboottool/elf.h [new file with mode: 0644]
utils/rknanoutils/rkboottool/misc.c
utils/rknanoutils/rkboottool/misc.h
utils/rknanoutils/rkboottool/rkboottool.c