summaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
authorJens Arnold <amiconn@rockbox.org>2006-03-30 17:29:21 +0000
committerJens Arnold <amiconn@rockbox.org>2006-03-30 17:29:21 +0000
commitd3feb78e4053d287755a4f8404c3a9ce1a491e93 (patch)
treeb68592c039f004e2eabf41e89efece89030cc58b /tools
parent1ccc81bf8f4382e56f0f0ae0779381fb5d4a88c4 (diff)
downloadrockbox-d3feb78e4053d287755a4f8404c3a9ce1a491e93.tar.gz
rockbox-d3feb78e4053d287755a4f8404c3a9ce1a491e93.tar.bz2
rockbox-d3feb78e4053d287755a4f8404c3a9ce1a491e93.zip
Initial support for iPod mini 2G: Rockbox boots, LCD driver is working. No sound, no buttons, and hangs at the boot screen.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9363 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'tools')
-rwxr-xr-xtools/configure24
-rw-r--r--tools/scramble.c2
2 files changed, 24 insertions, 2 deletions
diff --git a/tools/configure b/tools/configure
index c9f7f83c10..17bec94891 100755
--- a/tools/configure
+++ b/tools/configure
@@ -465,9 +465,10 @@ toolsdir='\$(ROOTDIR)/tools'
echo "15 - iPod Video"
echo "16 - iPod 3G"
echo "17 - iPod 4G (Grayscale)"
- echo "18 - iPod Mini (1G/2G)"
+ echo "18 - iPod Mini (1G)"
echo "19 - iriver iFP-790"
echo "20 - Toshiba Gigabeat F"
+ echo "21 - iPod Mini 2G"
target_id=`input`;
@@ -870,6 +871,25 @@ toolsdir='\$(ROOTDIR)/tools'
toolset=$gigabeatbitmaptools
;;
+ 21)
+ archos="ipodmini2g"
+ target="-DIPOD_MINI2G"
+ memory=32 # always
+ arm7tdmicc
+ tool="$rootdir/tools/scramble -add=mn2g"
+ bmp2rb_mono="$rootdir/tools/bmp2rb -f 0"
+ bmp2rb_native="$rootdir/tools/bmp2rb -f 6"
+ output="rockbox.ipod"
+ appextra="recorder:gui"
+ archosrom=""
+ flash=""
+ plugins="yes"
+ codecs="libmad liba52 libffmpegFLAC libTremor libwavpack dumb libmusepack libalac libfaad libm4a"
+ # toolset is the tools within the tools directory that we build for
+ # this particular target.
+ toolset=$ipodbitmaptools
+ ;;
+
*)
echo "Please select an actual target platform!"
exit
@@ -925,7 +945,7 @@ fi
case $option in
[Bb])
case $archos in
- h100|h120|h300|x5|ipodcolor|ipodnano|ipodvideo|ipod3g|ipod4g|ipodmini)
+ h100|h120|h300|x5|ipodcolor|ipodnano|ipodvideo|ipod3g|ipod4g|ipodmini|ipodmini2g)
extradefines="-DBOOTLOADER" # for target makefile symbol EXTRA_DEFINES
appsdir='\$(ROOTDIR)/bootloader'
apps="bootloader"
diff --git a/tools/scramble.c b/tools/scramble.c
index cb3630ea5a..8bab41596a 100644
--- a/tools/scramble.c
+++ b/tools/scramble.c
@@ -183,6 +183,8 @@ int main (int argc, char** argv)
modelnum = 9;
else if(!strcmp(&argv[1][5], "iax5"))
modelnum = 10;
+ else if(!strcmp(&argv[1][5], "mn2g"))
+ modelnum = 11;
else {
fprintf(stderr, "unsupported model: %s\n", &argv[1][5]);
return 2;