summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
Diffstat (limited to 'tools')
-rwxr-xr-xtools/configure20
-rw-r--r--tools/scramble.c4
2 files changed, 22 insertions, 2 deletions
diff --git a/tools/configure b/tools/configure
index 5830f89c6d..fc8a52e058 100755
--- a/tools/configure
+++ b/tools/configure
@@ -410,6 +410,7 @@ appsdir='\$(ROOTDIR)/apps'
echo "12 - iAudio X5"
echo "13 - iPod Color/Photo"
echo "14 - iPod Nano"
+ echo "15 - iPod Video"
getit=`input`;
@@ -659,6 +660,23 @@ appsdir='\$(ROOTDIR)/apps'
toolset=$ipodbitmaptools
;;
+ 15)
+ archos="ipodvideo"
+ target="-DIPOD_VIDEO"
+ memory=32 # 30GB models have 32MB, 60GB have 64MB
+ arm7tdmicc
+ tool="$rootdir/tools/scramble -add=ipvd"
+ output="rockbox.ipod"
+ appextra="recorder:gui"
+ archosrom=""
+ flash=""
+ plugins="yes"
+ codecs="libmad liba52 libffmpegFLAC libTremor libwavpack dumb libmusepack libalac libfaad libm4a"
+ # toolset is the tools within the tools directory that we build for
+ # this particular target.
+ toolset=$ipodbitmaptools
+ ;;
+
*)
echo "Please select an actual target platform!"
exit
@@ -703,7 +721,7 @@ fi
case $option in
[Bb])
case $archos in
- h100|h120|h300|ipodcolor|ipodnano)
+ h100|h120|h300|ipodcolor|ipodnano|ipodvideo)
extradefines="-DBOOTLOADER" # for target makefile symbol EXTRA_DEFINES
appsdir='\$(ROOTDIR)/bootloader'
apps="bootloader"
diff --git a/tools/scramble.c b/tools/scramble.c
index 7d936cf42f..73e4925e48 100644
--- a/tools/scramble.c
+++ b/tools/scramble.c
@@ -68,7 +68,7 @@ void usage(void)
"\t-mm=X Archos Multimedia format (X values: A=JBMM, B=AV1xx, C=AV3xx)\n"
"\t-iriver iRiver format\n"
"\t-add=X Rockbox generic \"add-up\" checksum format\n"
- "\t (X values: h100, h120, h140, h300, ipco, nano)\n"
+ "\t (X values: h100, h120, h140, h300, ipco, nano, ipvd)\n"
"\nNo option results in Archos standard player/recorder format.\n");
exit(1);
@@ -166,6 +166,8 @@ int main (int argc, char** argv)
modelnum = 3;
else if(!strcmp(&argv[1][5], "nano"))
modelnum = 4;
+ else if(!strcmp(&argv[1][5], "ipvd"))
+ modelnum = 5;
else {
fprintf(stderr, "unsupported model: %s\n", &argv[1][5]);
return 2;