diff options
| author | Dave Chapman <dave@dchapman.com> | 2007-10-28 11:08:10 +0000 |
|---|---|---|
| committer | Dave Chapman <dave@dchapman.com> | 2007-10-28 11:08:10 +0000 |
| commit | 28f6ae49ec1b1d3464add2941eb015bab56f8016 (patch) | |
| tree | 6d4cddba129663340cf2f30212a516acdd16a4eb /tools/configure | |
| parent | d3e101bd1184e5c1f474ff0978f65ac7e8e2dbfb (diff) | |
| download | rockbox-28f6ae49ec1b1d3464add2941eb015bab56f8016.zip rockbox-28f6ae49ec1b1d3464add2941eb015bab56f8016.tar.gz rockbox-28f6ae49ec1b1d3464add2941eb015bab56f8016.tar.bz2 rockbox-28f6ae49ec1b1d3464add2941eb015bab56f8016.tar.xz | |
Initial work on a port to the Logik DAX 1GB MP3/DAB player. The bootloader build compiles and runs (but only displays some debugging info), and the LCD and ADC drivers are working. Two different bootloader builds are possible: 1) The default build is just a test application for uploading to the device via tcctool; 2) Adding -DTCCBOOT to EXTRA_DEFINES in the build directory Makefile will compile the bootloader so that it can be appended to the end of the original firmware and installed on the device, dual-booting. This commit also includes some work by Hein-Pieter van Braam on a port to the iAudio 7, but that doesn't build yet. A large part of these ports will be generic to all TCC77x devices - see the TelechipsInfo wiki page for some other devices with this CPU. NOTE: Compiling these builds requires an arm-elf-gcc with armv5 support - the current version of rockboxdev.sh compiles such a gcc.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15339 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'tools/configure')
| -rwxr-xr-x | tools/configure | 66 |
1 files changed, 63 insertions, 3 deletions
diff --git a/tools/configure b/tools/configure index 1cc7e62..3971bcb 100755 --- a/tools/configure +++ b/tools/configure @@ -212,6 +212,13 @@ arm9tdmicc () { endian="little" } +arm946cc () { + prefixtools arm-elf- + GCCOPTS="$CCOPTS -mcpu=arm9e -mlong-calls" + GCCOPTIMIZE="-fomit-frame-pointer" + endian="little" +} + whichadvanced () { ################################################################## # Prompt for specific developer options @@ -619,10 +626,10 @@ cat <<EOF ==iAudio== ==Toshiba== ==SanDisk== 30) X5/X5V/X5L 40) Gigabeat F 50) Sansa e200 31) M5/M5L 41) Gigabeat S 51) Sansa e200R - 52) Sansa c200 + 32) 7 52) Sansa c200 - ==Tatung== ==Olympus== - 60) Elio TPJ-1022 70) M:Robe 500 + ==Tatung== ==Olympus== ==Logik== + 60) Elio TPJ-1022 70) M:Robe 500 80) DAX 1GB MP3/DAB EOF buildfor=`input`; @@ -636,6 +643,7 @@ EOF iaudiobitmaptools="$toolset scramble descramble mkboot bmp2rb" ipodbitmaptools="$toolset scramble ipod_fw bmp2rb" gigabeatbitmaptools="$toolset scramble descramble bmp2rb" + tccbitmaptools="$toolset scramble mktccboot bmp2rb" # generic is used by IFP, H10, Sansa-e200 genericbitmaptools="$toolset bmp2rb" @@ -1310,6 +1318,32 @@ EOF t_model="mrobe-500" ;; + 80|logikdax) + target_id=31 + archos="logikdax" + target="-DLOGIK_DAX" + memory=2 # always + arm946cc + tool="$rootdir/tools/scramble -add=ldax" + boottool="$rootdir/tools/scramble -tcc=crc" + bootoutput="player.rom" + bmp2rb_mono="$rootdir/tools/bmp2rb -f 0" + bmp2rb_native="$rootdir/tools/bmp2rb -f 0" + output="rockbox.logik" + appextra="recorder:gui" + archosrom="" + flash="" + plugins="no" + swcodec="yes" + # toolset is the tools within the tools directory that we build for + # this particular target. + toolset=$tccbitmaptools + # architecture, manufacturer and model for the target-tree build + t_cpu="arm" + t_manufacturer="tcc77x" + t_model="logikdax" + ;; + 50|e200) target_id=23 archos="e200" @@ -1416,6 +1450,32 @@ EOF t_manufacturer="tatung" t_model="tpj1022" ;; + + 32|iaudio7) + target_id=32 + archos="iaudio7" + target="-DIAUDIO_7" + memory=16 # always + arm946cc + tool="$rootdir/tools/scramble -add i7" + boottool="$rootdir/tools/scramble -tcc=crc" + bmp2rb_mono="$rootdir/tools/bmp2rb -f 0" + bmp2rb_native="$rootdir/tools/bmp2rb -f 5" + output="rockbox.iaudio" + appextra="recorder:gui" + archosrom="" + flash="" + plugins="yes" + swcodec="yes" + bootoutput="I7_FW.BIN" + # toolset is the tools within the tools directory that we build for + # this particular target. + toolset="$tccbitmaptools" + # architecture, manufacturer and model for the target-tree build + t_cpu="arm" + t_manufacturer="tcc77x" + t_model="iaudio7" + ;; *) echo "Please select a supported target platform!" |