diff options
Diffstat (limited to 'tools')
-rw-r--r-- | tools/bmp2rb.c | 6 | ||||
-rwxr-xr-x | tools/buildzip.pl | 3 | ||||
-rwxr-xr-x | tools/configure | 75 |
3 files changed, 8 insertions, 76 deletions
diff --git a/tools/bmp2rb.c b/tools/bmp2rb.c index 478badefd7..aa23d45830 100644 --- a/tools/bmp2rb.c +++ b/tools/bmp2rb.c | |||
@@ -290,7 +290,7 @@ int transform_bitmap(const struct RGBQUAD *src, int width, int height, | |||
290 | 290 | ||
291 | switch (format) | 291 | switch (format) |
292 | { | 292 | { |
293 | case 0: /* Archos recorders, Ondio, Gmini 120/SP, Iriver H1x0 monochrome */ | 293 | case 0: /* Archos recorders, Ondio, Iriver H1x0 monochrome */ |
294 | dst_w = width; | 294 | dst_w = width; |
295 | dst_h = (height + 7) / 8; | 295 | dst_h = (height + 7) / 8; |
296 | dst_d = 8; | 296 | dst_d = 8; |
@@ -351,7 +351,7 @@ int transform_bitmap(const struct RGBQUAD *src, int width, int height, | |||
351 | 351 | ||
352 | switch (format) | 352 | switch (format) |
353 | { | 353 | { |
354 | case 0: /* Archos recorders, Ondio, Gmini 120/SP, Iriver H1x0 b&w */ | 354 | case 0: /* Archos recorders, Ondio, Iriver H1x0 b&w */ |
355 | for (row = 0; row < height; row++) | 355 | for (row = 0; row < height; row++) |
356 | for (col = 0; col < width; col++) | 356 | for (col = 0; col < width; col++) |
357 | { | 357 | { |
@@ -528,7 +528,7 @@ void print_usage(void) | |||
528 | "\t-h <dir> Create header file in <dir>/<id>.h\n" | 528 | "\t-h <dir> Create header file in <dir>/<id>.h\n" |
529 | "\t-a Show ascii picture of bitmap\n" | 529 | "\t-a Show ascii picture of bitmap\n" |
530 | "\t-f <n> Generate destination format n, default = 0\n" | 530 | "\t-f <n> Generate destination format n, default = 0\n" |
531 | "\t 0 Archos recorder, Ondio, Gmini 120/SP, Iriver H1x0 mono\n" | 531 | "\t 0 Archos recorder, Ondio, Iriver H1x0 mono\n" |
532 | "\t 1 Archos player graphics library\n" | 532 | "\t 1 Archos player graphics library\n" |
533 | "\t 2 Iriver H1x0 4-grey\n" | 533 | "\t 2 Iriver H1x0 4-grey\n" |
534 | "\t 3 Canonical 8-bit greyscale\n" | 534 | "\t 3 Canonical 8-bit greyscale\n" |
diff --git a/tools/buildzip.pl b/tools/buildzip.pl index e9bd9e7487..a30eb28e67 100755 --- a/tools/buildzip.pl +++ b/tools/buildzip.pl | |||
@@ -289,9 +289,6 @@ if(!$exe) { | |||
289 | elsif($target =~ /iriver/i) { | 289 | elsif($target =~ /iriver/i) { |
290 | $exe = "rockbox.iriver"; | 290 | $exe = "rockbox.iriver"; |
291 | } | 291 | } |
292 | elsif($target =~ /gmini/i) { | ||
293 | $exe = "rockbox.gmini"; | ||
294 | } | ||
295 | else { | 292 | else { |
296 | $exe = "archos.mod"; | 293 | $exe = "archos.mod"; |
297 | } | 294 | } |
diff --git a/tools/configure b/tools/configure index 2b7b55fbed..06fe30d91d 100755 --- a/tools/configure +++ b/tools/configure | |||
@@ -242,28 +242,6 @@ arm9tdmicc () { | |||
242 | endian="little" | 242 | endian="little" |
243 | } | 243 | } |
244 | 244 | ||
245 | whichaddr () { | ||
246 | case $archos in | ||
247 | gmini120|gminisp) | ||
248 | echo "" | ||
249 | echo "Where do you want the firmware to be flashed?" | ||
250 | echo "WARNING: Do not answer this question lightly," | ||
251 | echo "unless you don't plan to flash your gmini." | ||
252 | echo "In this case, reply '0x10000' (no quotes) and " | ||
253 | echo "re-configure when you know better." | ||
254 | loadaddress=`input` | ||
255 | |||
256 | if [ "0$loadaddress" = "0" ]; then | ||
257 | #default | ||
258 | loadaddress="0x10000"; | ||
259 | fi | ||
260 | echo "You selected $loadaddress" | ||
261 | ;; | ||
262 | *) | ||
263 | ;; | ||
264 | esac | ||
265 | } | ||
266 | |||
267 | whichdevel () { | 245 | whichdevel () { |
268 | ################################################################## | 246 | ################################################################## |
269 | # Prompt for specific developer options | 247 | # Prompt for specific developer options |
@@ -595,10 +573,9 @@ cat <<EOF | |||
595 | 1) Recorder 11) H320/H340 21) Nano | 573 | 1) Recorder 11) H320/H340 21) Nano |
596 | 2) FM Recorder 12) iHP-100/110/115 22) Video | 574 | 2) FM Recorder 12) iHP-100/110/115 22) Video |
597 | 3) Recorder v2 13) iFP-790 23) 3G | 575 | 3) Recorder v2 13) iFP-790 23) 3G |
598 | 4) Gmini 120 14) H10 20Gb 24) 4G Grayscale | 576 | 4) Ondio SP 14) H10 20Gb 24) 4G Grayscale |
599 | 5) Gmini SP 15) H10 5/6Gb 25) Mini 1G | 577 | 5) Ondio FM 15) H10 5/6Gb 25) Mini 1G |
600 | 6) Ondio SP 26) Mini 2G | 578 | 26) Mini 2G |
601 | 7) Ondio FM | ||
602 | 579 | ||
603 | ==iAudio== ==Toshiba== ==SanDisk== | 580 | ==iAudio== ==Toshiba== ==SanDisk== |
604 | 30) X5/X5V/X5L 40) Gigabeat F 50) Sansa e200 | 581 | 30) X5/X5V/X5L 40) Gigabeat F 50) Sansa e200 |
@@ -737,47 +714,7 @@ EOF | |||
737 | toolset=$archosbitmaptools | 714 | toolset=$archosbitmaptools |
738 | ;; | 715 | ;; |
739 | 716 | ||
740 | 4|gmini120) | 717 | 4|ondiosp) |
741 | target_id=5 | ||
742 | archos="gmini120" | ||
743 | target="-DARCHOS_GMINI120" | ||
744 | memory=16 # fixed size (16 is a guess, remove comment when checked) | ||
745 | calmrisccc | ||
746 | tool="cp" # might work for now! | ||
747 | bmp2rb_mono="$rootdir/tools/bmp2rb -f 0" | ||
748 | bmp2rb_native="$rootdir/tools/bmp2rb -f 0" | ||
749 | output="rockbox.gmini" | ||
750 | appextra="recorder:gui" | ||
751 | archosrom="" | ||
752 | flash="" | ||
753 | plugins="" # disabled for now, enable later on | ||
754 | codecs="libmad" | ||
755 | # toolset is the tools within the tools directory that we build for | ||
756 | # this particular target. | ||
757 | toolset="$toolset bmp2rb codepages" | ||
758 | ;; | ||
759 | |||
760 | 5|gminisp) | ||
761 | target_id=6 | ||
762 | archos="gminisp" | ||
763 | target="-DARCHOS_GMINISP" | ||
764 | memory=16 # fixed size (16 is a guess, remove comment when checked) | ||
765 | calmrisccc | ||
766 | tool="cp" # might work for now! | ||
767 | bmp2rb_mono="$rootdir/tools/bmp2rb -f 0" | ||
768 | bmp2rb_native="$rootdir/tools/bmp2rb -f 0" | ||
769 | output="rockbox.gmini" | ||
770 | appextra="recorder:gui" | ||
771 | archosrom="" | ||
772 | flash="" | ||
773 | plugins="" # disabled for now, enable later on | ||
774 | codecs="libmad" | ||
775 | # toolset is the tools within the tools directory that we build for | ||
776 | # this particular target. | ||
777 | toolset="$toolset bmp2rb codepages" | ||
778 | ;; | ||
779 | |||
780 | 6|ondiosp) | ||
781 | target_id=7 | 718 | target_id=7 |
782 | archos="ondiosp" | 719 | archos="ondiosp" |
783 | target="-DARCHOS_ONDIOSP" | 720 | target="-DARCHOS_ONDIOSP" |
@@ -796,7 +733,7 @@ EOF | |||
796 | toolset=$archosbitmaptools | 733 | toolset=$archosbitmaptools |
797 | ;; | 734 | ;; |
798 | 735 | ||
799 | 7|ondiofm) | 736 | 5|ondiofm) |
800 | target_id=8 | 737 | target_id=8 |
801 | archos="ondiofm" | 738 | archos="ondiofm" |
802 | target="-DARCHOS_ONDIOFM" | 739 | target="-DARCHOS_ONDIOFM" |
@@ -1387,8 +1324,6 @@ if [ -z "$debug" ]; then | |||
1387 | GCCOPTS="$GCCOPTS $GCCOPTIMIZE" | 1324 | GCCOPTS="$GCCOPTS $GCCOPTIMIZE" |
1388 | fi | 1325 | fi |
1389 | 1326 | ||
1390 | whichaddr | ||
1391 | |||
1392 | echo "Using source code root directory: $rootdir" | 1327 | echo "Using source code root directory: $rootdir" |
1393 | 1328 | ||
1394 | # this was once possible to change at build-time, but no more: | 1329 | # this was once possible to change at build-time, but no more: |