summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xtools/configure56
-rw-r--r--tools/scramble.c4
2 files changed, 42 insertions, 18 deletions
diff --git a/tools/configure b/tools/configure
index d8eef9f0af..3814d7583a 100755
--- a/tools/configure
+++ b/tools/configure
@@ -739,22 +739,22 @@ cat <<EOF
739 ==Cowon/iAudio== 40) Gigabeat F 739 ==Cowon/iAudio== 40) Gigabeat F
740 30) X5/X5V/X5L 41) Gigabeat S ==SanDisk== 740 30) X5/X5V/X5L 41) Gigabeat S ==SanDisk==
741 31) M5/M5L 50) Sansa e200 741 31) M5/M5L 50) Sansa e200
742 32) 7 ==Tatung== 51) Sansa e200R 742 32) 7 ==Olympus= 51) Sansa e200R
743 33) D2 60) Elio TPJ-1022 52) Sansa c200 743 33) D2 70) M:Robe 500 52) Sansa c200
744 34) M3/M3L 53) Sansa m200 744 34) M3/M3L 71) M:Robe 100 53) Sansa m200
745 ==Olympus== 54) Sansa c100 745 54) Sansa c100
746 ==Creative== 70) M:Robe 500 55) Sansa Clip 746 ==Creative== ==Philips== 55) Sansa Clip
747 90) Zen Vision:M 30GB 71) M:Robe 100 56) Sansa e200v2 747 90) Zen Vision:M 30GB 100) GoGear SA9200 56) Sansa e200v2
748 91) Zen Vision:M 60GB 57) Sansa m200v4 748 91) Zen Vision:M 60GB 101) GoGear HDD1630/ 57) Sansa m200v4
749 92) Zen Vision ==Philips== 58) Sansa Fuze 749 92) Zen Vision HDD1830 58) Sansa Fuze
750 100) GoGear SA9200 59) Sansa c200v2 750 59) Sansa c200v2
751 ==Onda== 101) GoGear HDD1630/ 751 ==Onda== ==Meizu== 60) Sansa Clipv2
752 120) VX747 HDD1830 ==Logik== 752 120) VX747 110) M6SL
753 121) VX767 80) DAX 1GB MP3/DAB 753 121) VX767 111) M6SP ==Logik==
754 122) VX747+ ==Meizu== 754 122) VX747+ 112) M3 80) DAX 1GB MP3/DAB
755 110) M6SL ==Lyre project== 755
756 ==Samsung== 111) M6SP 130) Lyre proto 1 756 ==Samsung== ==Tatung== ==Lyre project==
757 140) YH-820 112) M3 757 140) YH-820 150) Elio TPJ-1022 130) Lyre proto 1
758 141) YH-920 758 141) YH-920
759 142) YH-925 759 142) YH-925
760EOF 760EOF
@@ -1824,7 +1824,29 @@ fi
1824 t_model="sansa-c200v2" 1824 t_model="sansa-c200v2"
1825 ;; 1825 ;;
1826 1826
1827 60|tpj1022) 1827 60|Clipv2|clipv2)
1828 echo "Sansa Clipv2 is not yet supported !"
1829 exit 1
1830 target_id=60
1831 modelname="clipv2"
1832 target="-DSANSA_CLIPV2"
1833 memory=8
1834 arm926ejscc
1835 bmp2rb_mono="$rootdir/tools/bmp2rb -f 0"
1836 bmp2rb_native="$bmp2rb_mono"
1837 tool="$rootdir/tools/scramble -add=clv2"
1838 output="rockbox.sansa"
1839 bootoutput="bootloader-clipv2.sansa"
1840 appextra="recorder:gui"
1841 plugins="yes"
1842 swcodec="yes"
1843 toolset=$scramblebitmaptools
1844 t_cpu="arm"
1845 t_manufacturer="as3525"
1846 t_model="sansa-clipv2"
1847 ;;
1848
1849 150|tpj1022)
1828 target_id=25 1850 target_id=25
1829 modelname="tpj1022" 1851 modelname="tpj1022"
1830 target="-DELIO_TPJ1022" 1852 target="-DELIO_TPJ1022"
diff --git a/tools/scramble.c b/tools/scramble.c
index 861095451e..ffb568b75e 100644
--- a/tools/scramble.c
+++ b/tools/scramble.c
@@ -123,7 +123,7 @@ void usage(void)
123 "\t ip3g, ip4g, mini, iax5, iam5, iam3, h10, h10_5gb,\n" 123 "\t ip3g, ip4g, mini, iax5, iam5, iam3, h10, h10_5gb,\n"
124 "\t tpj2, c200, e200, giga, gigs, m100, m500, d2,\n"); 124 "\t tpj2, c200, e200, giga, gigs, m100, m500, d2,\n");
125 printf("\t 9200, 1630, ldax, m200, clip, e2v2, m2v4, fuze,\n" 125 printf("\t 9200, 1630, ldax, m200, clip, e2v2, m2v4, fuze,\n"
126 "\t c2v2, y820, y920, y925)\n"); 126 "\t c2v2, clv2, y820, y920, y925)\n");
127 printf("\nNo option results in Archos standard player/recorder format.\n"); 127 printf("\nNo option results in Archos standard player/recorder format.\n");
128 128
129 exit(1); 129 exit(1);
@@ -304,6 +304,8 @@ int main (int argc, char** argv)
304 modelnum = 58; 304 modelnum = 58;
305 else if (!strcmp(&argv[1][5], "y925")) /* Samsung YH-925 */ 305 else if (!strcmp(&argv[1][5], "y925")) /* Samsung YH-925 */
306 modelnum = 59; 306 modelnum = 59;
307 else if (!strcmp(&argv[1][5], "clv2")) /* Sansa Clipv2 */
308 modelnum = 60;
307 else { 309 else {
308 fprintf(stderr, "unsupported model: %s\n", &argv[1][5]); 310 fprintf(stderr, "unsupported model: %s\n", &argv[1][5]);
309 return 2; 311 return 2;