1
0
Fork 0
forked from len0rd/rockbox

Add Clipv2 to the configure script and tools/scramble to reserve a target id

Attempting a real build it will fail, but this let us use this id in mkamsboot
The Clipv2 bootloader code from FS#10047 will be merged into as3525 architecture (which will become as35xx) in a near future

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21116 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
Rafaël Carré 2009-05-28 16:22:08 +00:00
parent 5f20e5aefc
commit 8b8741fe7c
2 changed files with 42 additions and 18 deletions

56
tools/configure vendored
View file

@ -739,22 +739,22 @@ cat <<EOF
==Cowon/iAudio== 40) Gigabeat F ==Cowon/iAudio== 40) Gigabeat F
30) X5/X5V/X5L 41) Gigabeat S ==SanDisk== 30) X5/X5V/X5L 41) Gigabeat S ==SanDisk==
31) M5/M5L 50) Sansa e200 31) M5/M5L 50) Sansa e200
32) 7 ==Tatung== 51) Sansa e200R 32) 7 ==Olympus= 51) Sansa e200R
33) D2 60) Elio TPJ-1022 52) Sansa c200 33) D2 70) M:Robe 500 52) Sansa c200
34) M3/M3L 53) Sansa m200 34) M3/M3L 71) M:Robe 100 53) Sansa m200
==Olympus== 54) Sansa c100 54) Sansa c100
==Creative== 70) M:Robe 500 55) Sansa Clip ==Creative== ==Philips== 55) Sansa Clip
90) Zen Vision:M 30GB 71) M:Robe 100 56) Sansa e200v2 90) Zen Vision:M 30GB 100) GoGear SA9200 56) Sansa e200v2
91) Zen Vision:M 60GB 57) Sansa m200v4 91) Zen Vision:M 60GB 101) GoGear HDD1630/ 57) Sansa m200v4
92) Zen Vision ==Philips== 58) Sansa Fuze 92) Zen Vision HDD1830 58) Sansa Fuze
100) GoGear SA9200 59) Sansa c200v2 59) Sansa c200v2
==Onda== 101) GoGear HDD1630/ ==Onda== ==Meizu== 60) Sansa Clipv2
120) VX747 HDD1830 ==Logik== 120) VX747 110) M6SL
121) VX767 80) DAX 1GB MP3/DAB 121) VX767 111) M6SP ==Logik==
122) VX747+ ==Meizu== 122) VX747+ 112) M3 80) DAX 1GB MP3/DAB
110) M6SL ==Lyre project==
==Samsung== 111) M6SP 130) Lyre proto 1 ==Samsung== ==Tatung== ==Lyre project==
140) YH-820 112) M3 140) YH-820 150) Elio TPJ-1022 130) Lyre proto 1
141) YH-920 141) YH-920
142) YH-925 142) YH-925
EOF EOF
@ -1824,7 +1824,29 @@ fi
t_model="sansa-c200v2" t_model="sansa-c200v2"
;; ;;
60|tpj1022) 60|Clipv2|clipv2)
echo "Sansa Clipv2 is not yet supported !"
exit 1
target_id=60
modelname="clipv2"
target="-DSANSA_CLIPV2"
memory=8
arm926ejscc
bmp2rb_mono="$rootdir/tools/bmp2rb -f 0"
bmp2rb_native="$bmp2rb_mono"
tool="$rootdir/tools/scramble -add=clv2"
output="rockbox.sansa"
bootoutput="bootloader-clipv2.sansa"
appextra="recorder:gui"
plugins="yes"
swcodec="yes"
toolset=$scramblebitmaptools
t_cpu="arm"
t_manufacturer="as3525"
t_model="sansa-clipv2"
;;
150|tpj1022)
target_id=25 target_id=25
modelname="tpj1022" modelname="tpj1022"
target="-DELIO_TPJ1022" target="-DELIO_TPJ1022"

View file

@ -123,7 +123,7 @@ void usage(void)
"\t ip3g, ip4g, mini, iax5, iam5, iam3, h10, h10_5gb,\n" "\t ip3g, ip4g, mini, iax5, iam5, iam3, h10, h10_5gb,\n"
"\t tpj2, c200, e200, giga, gigs, m100, m500, d2,\n"); "\t tpj2, c200, e200, giga, gigs, m100, m500, d2,\n");
printf("\t 9200, 1630, ldax, m200, clip, e2v2, m2v4, fuze,\n" printf("\t 9200, 1630, ldax, m200, clip, e2v2, m2v4, fuze,\n"
"\t c2v2, y820, y920, y925)\n"); "\t c2v2, clv2, y820, y920, y925)\n");
printf("\nNo option results in Archos standard player/recorder format.\n"); printf("\nNo option results in Archos standard player/recorder format.\n");
exit(1); exit(1);
@ -304,6 +304,8 @@ int main (int argc, char** argv)
modelnum = 58; modelnum = 58;
else if (!strcmp(&argv[1][5], "y925")) /* Samsung YH-925 */ else if (!strcmp(&argv[1][5], "y925")) /* Samsung YH-925 */
modelnum = 59; modelnum = 59;
else if (!strcmp(&argv[1][5], "clv2")) /* Sansa Clipv2 */
modelnum = 60;
else { else {
fprintf(stderr, "unsupported model: %s\n", &argv[1][5]); fprintf(stderr, "unsupported model: %s\n", &argv[1][5]);
return 2; return 2;