From a0728672bf07f626049f8dc0007772794ae95ee1 Mon Sep 17 00:00:00 2001 From: Amaury Pouly Date: Tue, 22 Oct 2013 00:30:43 +0200 Subject: Initial commit for the Creative ZEN and ZEN X-Fi Change-Id: Ibd7b1b0b957ef11c200cb63eff7da53f11774748 --- tools/configure | 41 +++++++++++++++++++++++++++++++++++++++++ tools/scramble.c | 4 ++++ 2 files changed, 45 insertions(+) (limited to 'tools') 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; -- cgit v1.2.3