summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorMark Arigo <markarigo@gmail.com>2008-01-09 07:24:43 +0000
committerMark Arigo <markarigo@gmail.com>2008-01-09 07:24:43 +0000
commite66ddd754fba4171e3fd99c5a1b911ed3f9faa3f (patch)
tree918000a401ae36817091cc4561573a5578f87ba5 /tools
parentf59a327f674c36487ed04e6cf36369a622da7f40 (diff)
downloadrockbox-e66ddd754fba4171e3fd99c5a1b911ed3f9faa3f.tar.gz
rockbox-e66ddd754fba4171e3fd99c5a1b911ed3f9faa3f.zip
Initial commit for the Olympus m:robe 100 port (PP5020). The LCD driver works. The ADC driver was copied from the H10 port (they can probably be combined later), but the battery readings aren't right and it shuts down. The touch pad buttons do not work. Install the bootloader and rockbox the H10 way. Still lots of work to do.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16030 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'tools')
-rwxr-xr-xtools/configure29
-rw-r--r--tools/scramble.c4
2 files changed, 32 insertions, 1 deletions
diff --git a/tools/configure b/tools/configure
index c2c9dca845..5055a0f465 100755
--- a/tools/configure
+++ b/tools/configure
@@ -603,6 +603,7 @@ cat <<EOF
603 603
604 ==Tatung== ==Olympus== ==Logik== 604 ==Tatung== ==Olympus== ==Logik==
605 60) Elio TPJ-1022 70) M:Robe 500 80) DAX 1GB MP3/DAB 605 60) Elio TPJ-1022 70) M:Robe 500 80) DAX 1GB MP3/DAB
606 71) M:Robe 100
606EOF 607EOF
607 608
608 buildfor=`input`; 609 buildfor=`input`;
@@ -1292,6 +1293,34 @@ EOF
1292 t_model="mrobe-500" 1293 t_model="mrobe-500"
1293 ;; 1294 ;;
1294 1295
1296 71|mrobe100)
1297 target_id=31
1298 archos="mrobe100"
1299 target="-DMROBE_100"
1300 memory=32 # always
1301 arm7tdmicc
1302 tool="$rootdir/tools/scramble -mi4v2 -model=m100 -type=RBOS"
1303 bmp2rb_mono="$rootdir/tools/bmp2rb -f 0"
1304 bmp2rb_native="$rootdir/tools/bmp2rb -f 0"
1305 bmp2rb_remotemono="$rootdir/tools/bmp2rb -f 0"
1306 bmp2rb_remotenative="$rootdir/tools/bmp2rb -f 0"
1307 output="rockbox.mi4"
1308 appextra="recorder:gui"
1309 archosrom=""
1310 flash=""
1311 plugins=""
1312 swcodec="yes"
1313 boottool="$rootdir/tools/scramble -mi4v2 -model=m100 -type=RBBL"
1314 bootoutput="pp5020.mi4"
1315 # toolset is the tools within the tools directory that we build for
1316 # this particular target.
1317 toolset="$genericbitmaptools scramble"
1318 # architecture, manufacturer and model for the target-tree build
1319 t_cpu="arm"
1320 t_manufacturer="olympus"
1321 t_model="mrobe-100"
1322 ;;
1323
1295 80|logikdax) 1324 80|logikdax)
1296 target_id=31 1325 target_id=31
1297 archos="logikdax" 1326 archos="logikdax"
diff --git a/tools/scramble.c b/tools/scramble.c
index ba0eda338a..b5aba3fbaa 100644
--- a/tools/scramble.c
+++ b/tools/scramble.c
@@ -107,7 +107,7 @@ void usage(void)
107 "\t-add=X Rockbox generic \"add-up\" checksum format\n" 107 "\t-add=X Rockbox generic \"add-up\" checksum format\n"
108 "\t (X values: h100, h120, h140, h300, ipco, nano, ipvd, mn2g\n" 108 "\t (X values: h100, h120, h140, h300, ipco, nano, ipvd, mn2g\n"
109 "\t ip3g, ip4g, mini, iax5, h10, h10_5gb, tpj2,\n" 109 "\t ip3g, ip4g, mini, iax5, h10, h10_5gb, tpj2,\n"
110 "\t c200, e200, giga, m500)\n" 110 "\t c200, e200, giga, m100, m500)\n"
111 "\nNo option results in Archos standard player/recorder format.\n"); 111 "\nNo option results in Archos standard player/recorder format.\n");
112 112
113 exit(1); 113 exit(1);
@@ -253,6 +253,8 @@ int main (int argc, char** argv)
253 modelnum = 21; 253 modelnum = 21;
254 else if(!strcmp(&argv[1][5], "m500")) 254 else if(!strcmp(&argv[1][5], "m500"))
255 modelnum = 22; 255 modelnum = 22;
256 else if(!strcmp(&argv[1][5], "m100"))
257 modelnum = 23;
256 else { 258 else {
257 fprintf(stderr, "unsupported model: %s\n", &argv[1][5]); 259 fprintf(stderr, "unsupported model: %s\n", &argv[1][5]);
258 return 2; 260 return 2;