Rockbox Ports are now being developed for various digital audio players!
The sendfirm utility is used to upgrade the firmware in an MTP device. It can be found in the utils/MTP directory in the Rockbox source tree; the Linux version requires both libusb and libmtp (and their development packages) to compile and use. This utility can be used from Linux and Windows.For Linux: to compile, just type make in the utils/MTP directory.For Windows: make sure you have MingW installed and type make sendfirm.exe in the utils/MTP directory (or download the binary here).
gcc $(EXTRA_CFLAGS) $(CFLAGS) $(LIBS) -o $(OUTPUT) sendfirm.c
gcc $(EXTRA_CFLAGS) $(CFLAGS) -o $(OUTPUT) sendfirm.c $(LIBS)
Many thanks Pamaury !~/rockbox/utils/MTP$ makegcc -Wall -o sendfirm sendfirm.c -lmtpsendfirm.c: In function ‘sendfile_function’:sendfirm.c:78:9: warning: implicit declaration of function ‘exit’ [-Wimplicit-function-declaration] exit(1); ^sendfirm.c:78:9: warning: incompatible implicit declaration of built-in function ‘exit’ [enabled by default]sendfirm.c: In function ‘main’:sendfirm.c:142:5: warning: incompatible implicit declaration of built-in function ‘exit’ [enabled by default] exit(0); ^
#include <stdlib.h>
Page created in 0.083 seconds with 21 queries.