mailer | 1 Jun 2007 03:05
Favicon

jethead71: r13531 - in trunk/firmware/target/arm: . sandisk/sansa-e200

Date: 2007-06-01 03:05:57 +0200 (Fri, 01 Jun 2007)
New Revision: 13531

Log Message:
e200: Use clocking set up by loader and skip setting the values for now. Change a DMA related register value
and leave another alone. Seems to stop the melting screen and gives a speedup especially to video and
graphics. If the former isn't quite fixed, the latter definitely works. Please don't enable frequency
scaling for now as that will clobber the register values.

Modified:
   trunk/firmware/target/arm/sandisk/sansa-e200/ata-e200.c
   trunk/firmware/target/arm/system-pp502x.c

Modified: trunk/firmware/target/arm/sandisk/sansa-e200/ata-e200.c
===================================================================
--- trunk/firmware/target/arm/sandisk/sansa-e200/ata-e200.c	2007-05-31 18:07:11 UTC (rev 13530)
+++ trunk/firmware/target/arm/sandisk/sansa-e200/ata-e200.c	2007-06-01 01:05:57 UTC (rev 13531)
 <at>  <at>  -363,8 +363,6  <at>  <at> 
     DEV_EN |= DEV_ATA; /* Enable controller */
     DEV_RS |= DEV_ATA; /* Reset controller */
     DEV_RS &=~DEV_ATA; /* Clear Reset */
-    outl(0, 0x6000b000);
-    outl(0, 0x6000a000); /* Init DMA controller? */

 /* Init NAND */
     REG_11 |= (1 << 15);

Modified: trunk/firmware/target/arm/system-pp502x.c
===================================================================
--- trunk/firmware/target/arm/system-pp502x.c	2007-05-31 18:07:11 UTC (rev 13530)
(Continue reading)

mailer | 1 Jun 2007 10:42
Favicon

nls: r13532 - in trunk/manual: platform plugins

Date: 2007-06-01 10:42:40 +0200 (Fri, 01 Jun 2007)
New Revision: 13532

Log Message:
First attempt at an MPEG player section in the manual, mostly copied from the wiki. Add HAVE_LCD_COLOR
option to the gigabeatf platform file to enable color specific options

Added:
   trunk/manual/plugins/mpegplayer.tex
Modified:
   trunk/manual/platform/gigabeatf.tex
   trunk/manual/plugins/main.tex

Modified: trunk/manual/platform/gigabeatf.tex
===================================================================
--- trunk/manual/platform/gigabeatf.tex	2007-06-01 01:05:57 UTC (rev 13531)
+++ trunk/manual/platform/gigabeatf.tex	2007-06-01 08:42:40 UTC (rev 13532)
 <at>  <at>  -5,6 +5,7  <at>  <at> 
 \edef\UseOption{\UseOption,SWCODEC}
 \edef\UseOption{\UseOption,CONFIG_RTC}
 \edef\UseOption{\UseOption,GIGABEAT_PAD}
+\edef\UseOption{\UseOption,HAVE_LCD_COLOR}
 \edef\UseOption{\UseOption,gigabeat}

 \newcommand{\playerman}{Toshiba}

Modified: trunk/manual/plugins/main.tex
===================================================================
--- trunk/manual/plugins/main.tex	2007-06-01 01:05:57 UTC (rev 13531)
+++ trunk/manual/plugins/main.tex	2007-06-01 08:42:40 UTC (rev 13532)
(Continue reading)

mailer | 1 Jun 2007 12:46
Favicon

pondlife: r13533 - trunk/firmware/common

Date: 2007-06-01 12:46:52 +0200 (Fri, 01 Jun 2007)
New Revision: 13533

Log Message:
Tiny fix for an unlikely error path.

Modified:
   trunk/firmware/common/dircache.c

Modified: trunk/firmware/common/dircache.c
===================================================================
--- trunk/firmware/common/dircache.c	2007-06-01 08:42:40 UTC (rev 13532)
+++ trunk/firmware/common/dircache.c	2007-06-01 10:46:52 UTC (rev 13533)
 <at>  <at>  -536,6 +536,7  <at>  <at> 
     if (pdir == NULL)
     {
         logf("Failed to open rootdir");
+        dircache_initializing = false;
         return -3;
     }
 #else

_______________________________________________
rockbox-cvs mailing list
rockbox-cvs <at> cool.haxx.se
http://cool.haxx.se/cgi-bin/mailman/listinfo/rockbox-cvs

mailer | 1 Jun 2007 23:21
Favicon

amiconn: r13534 - trunk/apps

Date: 2007-06-01 23:21:27 +0200 (Fri, 01 Jun 2007)
New Revision: 13534

Log Message:
Fixed bug in the WAV metadata parser: A long has 4 bytes...

Modified:
   trunk/apps/metadata.c

Modified: trunk/apps/metadata.c
===================================================================
--- trunk/apps/metadata.c	2007-06-01 10:46:52 UTC (rev 13533)
+++ trunk/apps/metadata.c	2007-06-01 21:21:27 UTC (rev 13534)
 <at>  <at>  -1046,10 +1046,10  <at>  <at> 
             if (i >= 4)
             {
                 /* get rest of chunk */
-                if ((read_bytes = read(fd, buf, 2)) < 2)
+                if ((read_bytes = read(fd, buf, 4)) < 4)
                     return false;

-                i -= 2;
+                i -= 4;
                 totalsamples = get_long_le(buf);
             }
         }

_______________________________________________
rockbox-cvs mailing list
rockbox-cvs <at> cool.haxx.se
(Continue reading)

mailer | 1 Jun 2007 23:29
Favicon

nls: r13535 - trunk/apps/plugins

Date: 2007-06-01 23:29:53 +0200 (Fri, 01 Jun 2007)
New Revision: 13535

Log Message:
Correct butoon help text for ipods, fixes FS#7243

Modified:
   trunk/apps/plugins/bubbles.c

Modified: trunk/apps/plugins/bubbles.c
===================================================================
--- trunk/apps/plugins/bubbles.c	2007-06-01 21:21:27 UTC (rev 13534)
+++ trunk/apps/plugins/bubbles.c	2007-06-01 21:29:53 UTC (rev 13535)
 <at>  <at>  -2459,8 +2459,8  <at>  <at> 
             rb->lcd_puts(0, 8, "UP/DOWN to change level");
 #elif (CONFIG_KEYPAD == IPOD_3G_PAD) || (CONFIG_KEYPAD == IPOD_4G_PAD)
             rb->lcd_puts(0, 2, "PLAY to start/pause");
-            rb->lcd_puts(0, 3, "LEFT+RIGHT to save/resume");
-            rb->lcd_puts(0, 4, "MENU to exit");
+            rb->lcd_puts(0, 3, "MENU to save/resume");
+            rb->lcd_puts(0, 4, "MENU+SELECT to exit");
             rb->lcd_puts(0, 5, "SELECT to fire");
             rb->lcd_puts(0, 6, " and show high scores");
             rb->lcd_puts(0, 7, "SCROLL to aim");

_______________________________________________
rockbox-cvs mailing list
rockbox-cvs <at> cool.haxx.se
http://cool.haxx.se/cgi-bin/mailman/listinfo/rockbox-cvs

(Continue reading)

mailer | 2 Jun 2007 12:10
Favicon

dave: r13536 - trunk/rbutil/ipodpatcher

Date: 2007-06-02 12:10:31 +0200 (Sat, 02 Jun 2007)
New Revision: 13536

Log Message:
Add --write-embedded (-we) option.  This replaces the Apple firmware with the bootloader embedded in
ipodpatcher (equivalent to -wf bootloader-ipodxxx.ipod when using an external bootloader).

Modified:
   trunk/rbutil/ipodpatcher/ipodpatcher.c
   trunk/rbutil/ipodpatcher/main.c

Modified: trunk/rbutil/ipodpatcher/ipodpatcher.c
===================================================================
--- trunk/rbutil/ipodpatcher/ipodpatcher.c	2007-06-01 21:29:53 UTC (rev 13535)
+++ trunk/rbutil/ipodpatcher/ipodpatcher.c	2007-06-02 10:10:31 UTC (rev 13536)
 <at>  <at>  -765,34 +765,45  <at>  <at> 
     unsigned long filechksum=0;
     unsigned char header[8];  /* Header for .ipod file */

-    /* First check that the input file is the correct type for this ipod. */
-    infile=open(filename,O_RDONLY);
-    if (infile < 0) {
-        fprintf(stderr,"[ERR]  Couldn't open input file %s\n",filename);
-        return -1;
-    }
-
-    if (type==FILETYPE_DOT_IPOD) {
-        n = read(infile,header,8);
-        if (n < 8) {
-            fprintf(stderr,"[ERR]  Failed to read header from %s\n",filename);
(Continue reading)

mailer | 3 Jun 2007 06:06
Favicon

jdgordon: r13537 - trunk/apps/gui

Date: 2007-06-03 06:06:58 +0200 (Sun, 03 Jun 2007)
New Revision: 13537

Log Message:
Move the old api out of the core and into the plugin lib.
ew plugins shuold use the new api and not this one.

Modified:
   trunk/apps/gui/list.c

Modified: trunk/apps/gui/list.c
===================================================================
--- trunk/apps/gui/list.c	2007-06-02 10:10:31 UTC (rev 13536)
+++ trunk/apps/gui/list.c	2007-06-03 04:06:58 UTC (rev 13537)
 <at>  <at>  -186,6 +186,10  <at>  <at> 
             list_end = gui_list->nb_items;
         gui_list->start_item = list_end - nb_lines;
     }
+    else if (gui_list->nb_items-gui_list->selected_item < nb_lines)
+    {
+        gui_list->start_item = gui_list->nb_items - nb_lines;
+    }
     else
     {
         int list_start = gui_list->selected_item - SCROLL_LIMIT - 1;

_______________________________________________
rockbox-cvs mailing list
rockbox-cvs <at> cool.haxx.se
http://cool.haxx.se/cgi-bin/mailman/listinfo/rockbox-cvs
(Continue reading)

mailer | 3 Jun 2007 16:31
Favicon

jethead71: r13538 - in trunk/firmware: export target/arm target/arm/sandisk/sansa-e200

Date: 2007-06-03 16:31:42 +0200 (Sun, 03 Jun 2007)
New Revision: 13538

Log Message:
e200: Finally use GPIO IRQs for the buttons...it's IRQ enable bit 33 afterall and verified independently.
There shouldn't now be a need to add tick tasks to monitor GPIO level status in other code.

Modified:
   trunk/firmware/export/pp5024.h
   trunk/firmware/target/arm/sandisk/sansa-e200/button-e200.c
   trunk/firmware/target/arm/system-pp502x.c

Modified: trunk/firmware/export/pp5024.h
===================================================================
--- trunk/firmware/export/pp5024.h	2007-06-03 04:06:58 UTC (rev 13537)
+++ trunk/firmware/export/pp5024.h	2007-06-03 14:31:42 UTC (rev 13538)
 <at>  <at>  -20,11 +20,11  <at>  <at> 
  ****************************************************************************/

 /* We believe is this quite similar to the 5020 and for how we just use that
-   completely */
+   completely and redifine any minor differences */
 #include "pp5020.h"

 #undef GPIO_IRQ
-#define GPIO_IRQ    (32+6)
+#define GPIO_IRQ    (32+1)

 #undef GPIO_MASK
 #define GPIO_MASK   (1 << (GPIO_IRQ-32))
(Continue reading)

mailer | 3 Jun 2007 17:17
Favicon

jethead71: r13539 - trunk/firmware/target/arm/sandisk/sansa-e200

Date: 2007-06-03 17:17:01 +0200 (Sun, 03 Jun 2007)
New Revision: 13539

Log Message:
e200: Update the button init code to be more correct for using GPIO IRQs.

Modified:
   trunk/firmware/target/arm/sandisk/sansa-e200/button-e200.c

Modified: trunk/firmware/target/arm/sandisk/sansa-e200/button-e200.c
===================================================================
--- trunk/firmware/target/arm/sandisk/sansa-e200/button-e200.c	2007-06-03 14:31:42 UTC (rev 13538)
+++ trunk/firmware/target/arm/sandisk/sansa-e200/button-e200.c	2007-06-03 15:17:01 UTC (rev 13539)
 <at>  <at>  -45,6 +45,8  <at>  <at> 
 #endif /* BOOTLOADER */
 static int  int_btn         = BUTTON_NONE;

+void button_int(void);
+
 void button_init_device(void)
 {
     /* Enable all buttons */
 <at>  <at>  -56,6 +58,11  <at>  <at> 
     GPIOG_ENABLE = 0x80;

 #ifndef BOOTLOADER
+    /* Mask these before performing init ... because init has possibly
+       occurred before */
+    GPIOF_INT_EN &= ~0xff;
+    GPIOH_INT_EN &= ~0xc0;
(Continue reading)

mailer | 3 Jun 2007 17:50
Favicon

jethead71: r13540 - in trunk/apps: keymaps lang

Date: 2007-06-03 17:50:51 +0200 (Sun, 03 Jun 2007)
New Revision: 13540

Log Message:
e200: Better keymap for time screen. Use left and right to switch fields, Menu to revert and fix the
scrollwheel direction in button_context_settings.

Modified:
   trunk/apps/keymaps/keymap-e200.c
   trunk/apps/lang/english.lang

Modified: trunk/apps/keymaps/keymap-e200.c
===================================================================
--- trunk/apps/keymaps/keymap-e200.c	2007-06-03 15:17:01 UTC (rev 13539)
+++ trunk/apps/keymaps/keymap-e200.c	2007-06-03 15:50:51 UTC (rev 13540)
 <at>  <at>  -85,10 +85,10  <at>  <at> 

 static const struct button_mapping button_context_settings[] = {
     { ACTION_STD_CANCEL,        BUTTON_POWER,                     BUTTON_NONE },
-    { ACTION_SETTINGS_INC,      BUTTON_SCROLL_UP,                 BUTTON_NONE },
-    { ACTION_SETTINGS_INCREPEAT,BUTTON_SCROLL_UP|BUTTON_REPEAT,   BUTTON_NONE },
-    { ACTION_SETTINGS_DEC,      BUTTON_SCROLL_DOWN,               BUTTON_NONE },
-    { ACTION_SETTINGS_DECREPEAT,BUTTON_SCROLL_DOWN|BUTTON_REPEAT, BUTTON_NONE },
+    { ACTION_SETTINGS_INC,      BUTTON_SCROLL_DOWN,               BUTTON_NONE },
+    { ACTION_SETTINGS_INCREPEAT,BUTTON_SCROLL_DOWN|BUTTON_REPEAT, BUTTON_NONE },
+    { ACTION_SETTINGS_DEC,      BUTTON_SCROLL_UP,                 BUTTON_NONE },
+    { ACTION_SETTINGS_DECREPEAT,BUTTON_SCROLL_UP|BUTTON_REPEAT,   BUTTON_NONE },

     { ACTION_STD_PREV,          BUTTON_LEFT,                      BUTTON_NONE },
     { ACTION_STD_PREVREPEAT,    BUTTON_LEFT|BUTTON_REPEAT,        BUTTON_NONE },
(Continue reading)


Gmane