diff options
author | Dave Chapman <dave@dchapman.com> | 2006-08-31 19:19:35 +0000 |
---|---|---|
committer | Dave Chapman <dave@dchapman.com> | 2006-08-31 19:19:35 +0000 |
commit | 657dcb5165e80b3363b89ca3108356878d4c048e (patch) | |
tree | 1f7af6e22ee866dcce37f9d1fa310c26a8bb44b4 /tools | |
parent | 20332bce1d49d7285109564d2e29ee18b0acd54e (diff) | |
download | rockbox-657dcb5165e80b3363b89ca3108356878d4c048e.tar.gz rockbox-657dcb5165e80b3363b89ca3108356878d4c048e.zip |
Initial commit of work for port to the Tatung Elio TPJ-1022 - yet another PortalPlayer PP5020 target.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10828 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'tools')
-rwxr-xr-x | tools/configure | 29 | ||||
-rw-r--r-- | tools/scramble.c | 2 |
2 files changed, 31 insertions, 0 deletions
diff --git a/tools/configure b/tools/configure index 697abceb00..b4c2fd8b21 100755 --- a/tools/configure +++ b/tools/configure @@ -442,6 +442,9 @@ cat <<EOF ==iAudio== ==Toshiba== ==SanDisk== 30) X5/X5V/X5L 40) Gigabeat F 50) Sansa e200 + + ==Tatung== + 60) Elio TPJ-1022 EOF buildfor=`input`; @@ -1018,6 +1021,32 @@ EOF t_model="h10" ;; + 60|tpj1022) + target_id=23 + archos="tpj1022" + target="-DELIO_TPJ1022" + memory=32 # always + arm7tdmicc + tool="$rootdir/tools/scramble -add tpj2" + bmp2rb_mono="$rootdir/tools/bmp2rb -f 0" + bmp2rb_native="$rootdir/tools/bmp2rb -f 5" + output="rockbox.elio" + appextra="recorder:gui" + archosrom="" + flash="" + plugins="yes" + codecs="libmad liba52 libffmpegFLAC libTremor libwavpack dumb libmusepack libalac libfaad libm4a" + boottool="$rootdir/tools/scramble -mi4v2" + bootoutput="pp5020.mi4" + # toolset is the tools within the tools directory that we build for + # this particular target. + toolset="$genericbitmaptools scramble" + # architecture, manufacturer and model for the target-tree build + t_cpu="arm" + t_manufacturer="tatung" + t_model="tpj1022" + ;; + *) echo "Please select a supported target platform!" exit diff --git a/tools/scramble.c b/tools/scramble.c index 50d745b388..30d4ea9edb 100644 --- a/tools/scramble.c +++ b/tools/scramble.c @@ -205,6 +205,8 @@ int main (int argc, char** argv) modelnum = 13; else if(!strcmp(&argv[1][5], "h10_5gb")) modelnum = 14; + else if(!strcmp(&argv[1][5], "tpj2")) + modelnum = 15; else { fprintf(stderr, "unsupported model: %s\n", &argv[1][5]); return 2; |