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
This commit is contained in:
Amaury Pouly 2012-06-19 22:52:18 +02:00
parent 7151111228
commit 906963ae76
6 changed files with 780 additions and 24 deletions

View file

@ -10,7 +10,7 @@ all: $(BINS)
%.o: %.c
$(CC) $(CFLAGS) -c -o $@ $<
rkboottool: rkboottool.o misc.o
rkboottool: rkboottool.o misc.o elf.o
$(LD) -o $@ $^ $(LDFLAGS)
clean: