Introduce emmctools for the sony nwz players.

This tool is specific to the em1/mp200 sony based players. In
deals with raw emmc images (which is possible but hard to get).
This tool is also useful as a documentation of the underlying
emmc format used for a future port.

Change-Id: I66c9b0e47351e5d89f6a404aa62038e00fdc1093
This commit is contained in:
Amaury Pouly 2012-11-03 02:14:04 +01:00
parent b19b250de7
commit 8c1a9f5082
6 changed files with 1004 additions and 0 deletions

View file

@ -0,0 +1,20 @@
DEFINES=
CC=gcc
LD=gcc
CFLAGS=-g -std=c99 -W -Wall $(DEFINES)
LDFLAGS=
BINS=emmctool
all: $(BINS)
%.o: %.c
$(CC) $(CFLAGS) -c -o $@ $<
emmctool: emmctool.o misc.o nvp.o
$(LD) -o $@ $^ $(LDFLAGS)
clean:
rm -fr *.o
veryclean:
rm -rf $(BINS)