summaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
authorAmaury Pouly <amaury.pouly@gmail.com>2013-10-22 00:30:43 +0200
committerAmaury Pouly <amaury.pouly@gmail.com>2013-10-22 00:34:45 +0200
commita0728672bf07f626049f8dc0007772794ae95ee1 (patch)
treebb8ca610c9d0c8fb441a99ccf33102964cafd003 /tools
parentd3bc64833c76adca4d6300e5b5880ee8ea63de02 (diff)
downloadrockbox-a0728672bf07f626049f8dc0007772794ae95ee1.tar.gz
rockbox-a0728672bf07f626049f8dc0007772794ae95ee1.zip
Initial commit for the Creative ZEN and ZEN X-Fi
Change-Id: Ibd7b1b0b957ef11c200cb63eff7da53f11774748
Diffstat (limited to 'tools')
-rwxr-xr-xtools/configure41
-rw-r--r--tools/scramble.c4
2 files changed, 45 insertions, 0 deletions
diff --git a/tools/configure b/tools/configure
index 7746044396..aaed8a4029 100755
--- a/tools/configure
+++ b/tools/configure
@@ -2280,6 +2280,26 @@ fi
arm926ejscc
;;
+ 96|creativezenxfi)
+ target_id=86
+ modelname="creativezenxfi"
+ target="CREATIVE_ZENXFI"
+ memory=64
+ bmp2rb_mono="$rootdir/tools/bmp2rb -f 0"
+ bmp2rb_native="$rootdir/tools/bmp2rb -f 4"
+ tool="$rootdir/tools/scramble -add=zxfi"
+ output="rockbox.creative"
+ bootoutput="bootloader-zenxfi.creative"
+ appextra="gui:recorder:radio"
+ plugins=""
+ swcodec="yes"
+ toolset=$scramblebitmaptools
+ t_cpu="arm"
+ t_manufacturer="imx233"
+ t_model="creative-zen"
+ arm926ejscc
+ ;;
+
97|creativezenmozaic)
target_id=87
modelname="creativezenmozaic"
@@ -2300,6 +2320,27 @@ fi
arm926ejscc
;;
+ 98|creativezen)
+ target_id=90
+ modelname="creativezen"
+ target="CREATIVE_ZEN"
+ memory=32
+ bmp2rb_mono="$rootdir/tools/bmp2rb -f 0"
+ bmp2rb_native="$rootdir/tools/bmp2rb -f 4"
+ tool="$rootdir/tools/scramble -add=zen"
+ output="rockbox.creative"
+ bootoutput="bootloader-zen.creative"
+ appextra="gui:recorder:radio"
+ plugins=""
+ swcodec="yes"
+ toolset=$scramblebitmaptools
+ t_cpu="arm"
+ t_manufacturer="imx233"
+ t_model="creative-zen"
+ arm926ejscc
+ ;;
+
+
50|sansae200)
target_id=23
modelname="sansae200"
diff --git a/tools/scramble.c b/tools/scramble.c
index e37bec8195..520cf932ae 100644
--- a/tools/scramble.c
+++ b/tools/scramble.c
@@ -365,12 +365,16 @@ int main (int argc, char** argv)
modelnum = 82;
else if (!strcmp(&argv[1][5], "zxf3")) /* Creative Zen X-Fi3 */
modelnum = 83;
+ else if (!strcmp(&argv[1][5], "zxfi")) /* Creative ZEN X-Fi */
+ modelnum = 86;
else if (!strcmp(&argv[1][5], "zmoz")) /* Creative ZEN Mozaic*/
modelnum = 87;
else if (!strcmp(&argv[1][5], "e370")) /* Sony NWZ-E370 series */
modelnum = 88;
else if (!strcmp(&argv[1][5], "e360")) /* Sony NWZ-E360 series */
modelnum = 89;
+ else if (!strcmp(&argv[1][5], "zen")) /* Creative ZEN */
+ modelnum = 90;
else {
fprintf(stderr, "unsupported model: %s\n", &argv[1][5]);
return 2;