gerrit | 30 Jul 14:29 2014

Make crosstool-ng build with gnu make 4.0

commit 78f4f7b621d50ab63cd80b93e55aca5cc6ac910d
Author: Frank Gevaerts <frank <at> gevaerts.be>
Date:   Wed Jul 30 14:29:11 2014 +0200

    Make crosstool-ng build with gnu make 4.0

    Change-Id: Id3a5a310e6fa53e690c92f420994875cb1bfff43

diff --git a/tools/rockboxdev.sh b/tools/rockboxdev.sh
index 4ddd34e..34ecfce 100755
--- a/tools/rockboxdev.sh
+++ b/tools/rockboxdev.sh
 <at>  <at>  -114,7 +114,7  <at>  <at>  build() {
             url="$GNU_MIRROR/binutils"
             ;;

-        ctng)
+        crosstool-ng)
             file="crosstool-ng-$version.tar.bz2"
             url="http://crosstool-ng.org/download/crosstool-ng"
             ;;
 <at>  <at>  -205,7 +205,7  <at>  <at>  build() {

     echo "ROCKBOXDEV: $toolname/configure"
     case $toolname in
-        ctng) # ct-ng doesnt support out-of-tree build and the src folder is named differently
+        crosstool-ng) # ct-ng doesnt support out-of-tree build and the src folder is named differently
             toolname="crosstool-ng"
             cp -r ../$toolname-$version/* ../$toolname-$version/.version .
             ./configure --prefix=$prefix $configure_params
(Continue reading)

gerrit | 28 Jul 22:13 2014

Support for remote on Samsung YH920/YH925.

commit 86fa139eac0493893e08769a82e3a0eb6ed7bc90
Author: Szymon Dziok <b0hoon <at> o2.pl>
Date:   Mon Jul 28 22:02:53 2014 +0200

    Support for remote on Samsung YH920/YH925.

    Remote buttons are bound to the standard buttons in button-target.h, but they can
    have a separate buttonmap, if someone wants.

    Change-Id: Id8c78a3dfec0005bf588dc16416870b4c7c56836

diff --git a/firmware/target/arm/pp/system-pp502x.c b/firmware/target/arm/pp/system-pp502x.c
index 697b52c..99b536e 100644
--- a/firmware/target/arm/pp/system-pp502x.c
+++ b/firmware/target/arm/pp/system-pp502x.c
 <at>  <at>  -154,6 +154,10  <at>  <at>  void __attribute__((interrupt("IRQ"))) irq_handler(void)
         else if (CPU_HI_INT_STAT & GPIO0_MASK) {
             if (GPIOD_INT_STAT & 0x10)
                 usb_insert_int();
+#if !defined(SAMSUNG_YH820)
+            if (GPIOD_INT_STAT & 0x01)
+                remote_int();
+#endif
         }
 /* end SAMSUNG_YHxxx */
 #elif defined(PBELL_VIBE500)
diff --git a/firmware/target/arm/samsung/adc-target.h b/firmware/target/arm/samsung/adc-target.h
index 1f6a9dc..9cca223 100644
--- a/firmware/target/arm/samsung/adc-target.h
+++ b/firmware/target/arm/samsung/adc-target.h
(Continue reading)

gerrit | 27 Jul 18:31 2014

Slovak language update

commit eaaff2680bd8bca029fe4cd041655ecf071fa744
Author: Peter Lecký <lecky_lists <at> nextra.sk>
Date:   Sun Jul 27 18:28:59 2014 +0200

    Slovak language update

    Change-Id: I3150dd77b3f5ce85d324ce3e9b6931c659dbde58
    Signed-off-by: Bertrik Sikken <bertrik <at> sikken.nl>

diff --git a/apps/lang/slovak.lang b/apps/lang/slovak.lang
index 882f85b..481733f 100644
--- a/apps/lang/slovak.lang
+++ b/apps/lang/slovak.lang
 <at>  <at>  -12265,15 +12265,15  <at>  <at> 
   user: core
   <source>
     *: none
-    gigabeats: "Band %d Gain"
+    gigabeats,samsungypr1: "Band %d Gain"
   </source>
   <dest>
     *: none
-    gigabeats: "Šírka Pásma %d"
+    gigabeats,samsungypr1: "Hlasitosť Pásma %d"
   </dest>
   <voice>
     *: none
-    gigabeats: "Šírka pásma"
+    gigabeats,samsungypr1: "Hlasitosť Pásma"
   </voice>
(Continue reading)

gerrit | 27 Jul 12:09 2014

Samsung YH-820: enable battery monitoring

commit 7e778c5f49eee3a3e12722e1fe68a19cc3818b59
Author: Sebastian Leonhardt <sebastian.leonhardt <at> web.de>
Date:   Tue May 27 18:07:07 2014 +0200

    Samsung YH-820: enable battery monitoring

    The "percent_to_volt_charge" values are quite arbitrary
    and may need some more tweaking.

    Change-Id: I9f177d46681030d615fe2c2e78cf9bd2dde026af
    Reviewed-on: http://gerrit.rockbox.org/824
    Reviewed-by: Szymon Dziok <b0hoon <at> o2.pl>
    Tested: Szymon Dziok <b0hoon <at> o2.pl>

diff --git a/firmware/export/config/samsungyh820.h b/firmware/export/config/samsungyh820.h
index 516b010..08bba1a 100644
--- a/firmware/export/config/samsungyh820.h
+++ b/firmware/export/config/samsungyh820.h
 <at>  <at>  -125,9 +125,9  <at>  <at> 

 #define AB_REPEAT_ENABLE

-#define BATTERY_CAPACITY_DEFAULT 1550 /* default battery capacity */
-#define BATTERY_CAPACITY_MIN 1500  /* min. capacity selectable */
-#define BATTERY_CAPACITY_MAX 3200 /* max. capacity selectable */
+#define BATTERY_CAPACITY_DEFAULT 650 /* default battery capacity */
+#define BATTERY_CAPACITY_MIN 500  /* min. capacity selectable */
+#define BATTERY_CAPACITY_MAX 800 /* max. capacity selectable */
 #define BATTERY_CAPACITY_INC 50   /* capacity increment */
 #define BATTERY_TYPES_COUNT  1    /* only one type */
(Continue reading)

gerrit | 26 Jul 15:47 2014

SA9200: Implement clicker.

commit 6bbfb35560d440e21bdd73728d43a75b6b4de6fd
Author: Szymon Dziok <b0hoon <at> o2.pl>
Date:   Sat Jul 26 15:38:49 2014 +0000

    SA9200: Implement clicker.

    It's not integrated with key click option for now.

    Change-Id: Ib0769b02bfebe7c55eca7b7ea61df5d6dd83cdd3

diff --git a/firmware/target/arm/philips/sa9200/button-sa9200.c b/firmware/target/arm/philips/sa9200/button-sa9200.c
index bef5be7..c02d108 100644
--- a/firmware/target/arm/philips/sa9200/button-sa9200.c
+++ b/firmware/target/arm/philips/sa9200/button-sa9200.c
 <at>  <at>  -29,6 +29,19  <at>  <at> 

 static int int_btn = BUTTON_NONE;

+/*
+ * Generate a click sound from the player (not in headphones yet)
+ * TODO: integrate this with the "key click" option
+ */
+static void button_click(void)
+{
+    GPIOF_ENABLE     |=  0x08;
+    GPIOF_OUTPUT_VAL |=  0x08;
+    GPIOF_OUTPUT_EN  |=  0x08;
+    udelay(1000);
+    GPIOF_OUTPUT_VAL &= ~0x08;
+}
(Continue reading)

gerrit | 23 Jul 22:12 2014

rk27load: stage1 dram config fix #2

commit 345841aa5657aa2899dd9a72547fcb0cfeaf8e80
Author: Marcin Bukat <marcin.bukat <at> gmail.com>
Date:   Wed Jul 23 22:08:24 2014 +0200

    rk27load: stage1 dram config fix #2

    Change-Id: I5c4cf3dedab26e4cae05496bcae3a2d235d12e2f

diff --git a/utils/rk27utils/rk27load/stage1/main.S b/utils/rk27utils/rk27load/stage1/main.S
index 2564ad3..e2cf2e5 100644
--- a/utils/rk27utils/rk27load/stage1/main.S
+++ b/utils/rk27utils/rk27load/stage1/main.S
 <at>  <at>  -70,18 +70,16  <at>  <at>  row_loop:
     str     r7, [r0, #0x108] /* MCSDR_ADDCFG */

     add     r7, r5, #11      /* row_num_bits */
-    mov     r7, r3, lsl r7   /* 1<<row_num_bits */
-    mla     lr, r7, r6, r6   /* (1<<row_num_bits)*(1<<col_num_bits) + 
-                              * (1<<col_num_bits)  (row1, col1 mem cell)
-                              */
+    mov     lr, r3, lsl r7   /* 1<<row_num_bits */
+    mul     lr, lr, r6       /* (1<<row_num_bits)*(1<<col_num_bits) */

     mov     r7, #0
     str     r7, [r2]         /* *(0x60000000) = 0 */   
-    str     r2, [r2, lr]     /* store test pattern */
+    str     r1, [r2, lr]     /* store test pattern */
     ldr     r7, [r2]
     cmp     r7, #0           /* check if beginning of dram is not touched */
-    ldreq   lr, [r2, lr]     /* readback row1,col1 addr */
(Continue reading)

gerrit | 23 Jul 12:32 2014

rk27load: fix stage1 dram config bug

commit dcd8172f4f3de41f163a0a0fdc79565074a32c44
Author: Marcin Bukat <marcin.bukat <at> gmail.com>
Date:   Wed Jul 23 12:32:16 2014 +0200

    rk27load: fix stage1 dram config bug

    Change-Id: I03d44dbd05fcd5dfc0e508020fae7006d8a97505

diff --git a/utils/rk27utils/rk27load/stage1/main.S b/utils/rk27utils/rk27load/stage1/main.S
index 6e2770b..2564ad3 100644
--- a/utils/rk27utils/rk27load/stage1/main.S
+++ b/utils/rk27utils/rk27load/stage1/main.S
 <at>  <at>  -52,11 +52,11  <at>  <at>  col_loop:
     add     r5, r4, #8       /* col_num_bits */
     mov     r6, r3, lsl r5   /* offset to the col1 (1<<col_num_bits) */
     mov     r7, #0
-    str     r7, [r1]         /* *(0x60000000) = 0 */
-    str     r1, [r1, r6]     /* store test pattern in col1 addr */
-    ldr     r7, [r1]
+    str     r7, [r2]         /* *(0x60000000) = 0 */
+    str     r1, [r2, r6]     /* store test pattern in col1 addr */
+    ldr     r7, [r2]
     cmp     r7, #0           /* check if beginning of dram is not touched */
-    ldreq   r7, [r1, r6]     /* readback col1 addr */
+    ldreq   r7, [r2, r6]     /* readback col1 addr */
     cmpeq   r7, r1           /* check if test pattern is valid */
     beq     row_loop_setup   /* quit column loop */
     subs    r4, #1
 <at>  <at>  -76,12 +76,12  <at>  <at>  row_loop:
                               */
(Continue reading)

gerrit | 21 Jul 04:54 2014

add supports for x,y value in percentage to several tags.

commit 9fb65294fb8bd9cfcf3e830f82bf01c3afdbbcce
Author: Chiwen Chang <rock1104.tw <at> yahoo.com.tw>
Date:   Mon Jul 21 12:31:01 2014 +1000

    add supports for x,y value in percentage to several tags.

    including
    BAR_PARAMS, %xl, %dr, %T,%St, %xl and %Cl

    Change-Id: I0811ebfff5f83085481dcbf08f97b7223f677bfe
    Reviewed-on: http://gerrit.rockbox.org/900
    Reviewed-by: Jonathan Gordon <rockbox <at> jdgordon.info>

diff --git a/apps/gui/skin_engine/skin_parser.c b/apps/gui/skin_engine/skin_parser.c
index 0e7150c..63f3f81 100644
--- a/apps/gui/skin_engine/skin_parser.c
+++ b/apps/gui/skin_engine/skin_parser.c
 <at>  <at>  -398,8 +398,15  <at>  <at>  static int parse_image_load(struct skin_element *element,
         subimages = get_param(element, 2)->data.number;
     else if (element->params_count > 3)
     {
-        x = get_param(element, 2)->data.number;
-        y = get_param(element, 3)->data.number;
+        if (get_param(element, 2)->type == PERCENT)
+            x = get_param(element, 2)->data.number * curr_vp->vp.width / 1000;
+        else
+            x = get_param(element, 2)->data.number;
+        if (get_param(element, 3)->type == PERCENT)
+            y = get_param(element, 3)->data.number * curr_vp->vp.height / 1000;
+        else
(Continue reading)

gerrit | 17 Jul 18:03 2014

SVG image of the Creative Zen Mozaic and other formats for the manual.

commit 78478076a3e5ce1bde54e9085f2910284fd8bacd
Author: Szymon Dziok <b0hoon <at> o2.pl>
Date:   Thu Jul 17 16:31:49 2014 +0200

    SVG image of the Creative Zen Mozaic and other formats for the manual.
    
    Change-Id: I594afa62b5c5a3cef1dcf4d4249a13688e425267
    Reviewed-on: http://gerrit.rockbox.org/895
    Reviewed-by: Amaury Pouly <amaury.pouly <at> gmail.com>

diff --git a/manual/rockbox_interface/images/zenmozaic-front.pdf b/manual/rockbox_interface/images/zenmozaic-front.pdf
new file mode 100644
index 0000000..bb00f0b
Binary files /dev/null and b/manual/rockbox_interface/images/zenmozaic-front.pdf differ
diff --git a/manual/rockbox_interface/images/zenmozaic-front.png b/manual/rockbox_interface/images/zenmozaic-front.png
new file mode 100644
index 0000000..36e5fcd
Binary files /dev/null and b/manual/rockbox_interface/images/zenmozaic-front.png differ
diff --git a/manual/rockbox_interface/images/zenmozaic-front.svg b/manual/rockbox_interface/images/zenmozaic-front.svg
new file mode 100644
index 0000000..c174dd7
--- /dev/null
+++ b/manual/rockbox_interface/images/zenmozaic-front.svg
 <at>  <at>  -0,0 +1,2854  <at>  <at> 
+<?xml version="1.0" encoding="UTF-8" standalone="no"?>
+<!-- Created with Inkscape (http://www.inkscape.org/) -->
+
+<svg
+   xmlns:dc="http://purl.org/dc/elements/1.1/"
+   xmlns:cc="http://creativecommons.org/ns#"
(Continue reading)

gerrit | 17 Jul 10:43 2014

zen/zenxfi/zenxfistyle/zenmozaic: implement plugin keymaps and enable plugins

commit e08331eef4555a17145d2fd2af1d5a9b5ce6d624
Author: Amaury Pouly <amaury.pouly <at> gmail.com>
Date:   Thu Jul 17 10:40:17 2014 +0200

    zen/zenxfi/zenxfistyle/zenmozaic: implement plugin keymaps and enable plugins

    Plugins on the ZEN/ZEN X-Fi require to increase the plugin buffer size.

    Change-Id: If4651c87b402060faa24530985c6e871379c8ea1

diff --git a/apps/plugins/battery_bench.c b/apps/plugins/battery_bench.c
index 7ab094d..930d56f 100644
--- a/apps/plugins/battery_bench.c
+++ b/apps/plugins/battery_bench.c
 <at>  <at>  -126,7 +126,8  <at>  <at> 
 #define BATTERY_OFF_TXT "POWER"

 #elif CONFIG_KEYPAD == GIGABEAT_S_PAD \
-   || CONFIG_KEYPAD == SAMSUNG_YPR0_PAD
+   || CONFIG_KEYPAD == SAMSUNG_YPR0_PAD \
+   || CONFIG_KEYPAD == CREATIVE_ZEN_PAD

 #define BATTERY_ON  BUTTON_SELECT
 #define BATTERY_OFF BUTTON_BACK
diff --git a/apps/plugins/blackjack.c b/apps/plugins/blackjack.c
index 206d4dc..2211f88 100644
--- a/apps/plugins/blackjack.c
+++ b/apps/plugins/blackjack.c
 <at>  <at>  -527,6 +527,20  <at>  <at>  enum {
 #define BJACK_QUIT_NAME     "Back"
(Continue reading)

gerrit | 13 Jul 16:19 2014

libopus: use iram for more constants

commit 8e8671a73efe117bd34815e3f4c16f3178143774
Author: Nils Wallménius <nils <at> rockbox.org>
Date:   Sun Jul 13 14:16:32 2014 +0200

    libopus: use iram for more constants

    Speeds up decoding of the 64 kbps test file by 2.59 MHz and the
    128 kbps test file by 4.31 MHz on H300 (cf). Decoding the same
    files on c200 is sped up by 0.33 MHz and 0.55 MHz respectively.

    Change-Id: I0f9f9ef6a7293581cf45e3201b33c65504c95c81

diff --git a/lib/rbcodec/codecs/libopus/celt/cwrs.c b/lib/rbcodec/codecs/libopus/celt/cwrs.c
index 921100f..031a875 100644
--- a/lib/rbcodec/codecs/libopus/celt/cwrs.c
+++ b/lib/rbcodec/codecs/libopus/celt/cwrs.c
 <at>  <at>  -418,7 +418,7  <at>  <at>  static const opus_uint32 *const CELT_PVQ_U_ROW[15]={
   CELT_PVQ_U_DATA+1464,CELT_PVQ_U_DATA+1470,CELT_PVQ_U_DATA+1473
 };
 #else
-static const opus_uint32 *const CELT_PVQ_U_ROW[15]={
+static const opus_uint32 *const CELT_PVQ_U_ROW[15] ICONST_ATTR ={
   CELT_PVQ_U_DATA+   0,CELT_PVQ_U_DATA+ 176,CELT_PVQ_U_DATA+ 351,
   CELT_PVQ_U_DATA+ 525,CELT_PVQ_U_DATA+ 698,CELT_PVQ_U_DATA+ 870,
   CELT_PVQ_U_DATA+1041,CELT_PVQ_U_DATA+1131,CELT_PVQ_U_DATA+1178,
diff --git a/lib/rbcodec/codecs/libopus/celt/static_modes_fixed.h b/lib/rbcodec/codecs/libopus/celt/static_modes_fixed.h
index 0396ce3..1f13497 100644
--- a/lib/rbcodec/codecs/libopus/celt/static_modes_fixed.h
+++ b/lib/rbcodec/codecs/libopus/celt/static_modes_fixed.h
 <at>  <at>  -36,13 +36,13  <at>  <at>  static const opus_val16 window120[120] ICONST_ATTR = {
(Continue reading)


Gmane