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)

gerrit | 13 Jul 13:53 2014

libopus: asm C_MUL for coldfire

commit 888e05ec12f573cfbef0d331888e68808763a84b
Author: Nils Wallménius <nils <at> rockbox.org>
Date:   Sun Jul 13 11:49:34 2014 +0200

    libopus: asm C_MUL for coldfire

    The recent merge of upstream changed the fft to use C_MUL which
    wasn't implemented in asm for coldfire.

    Speeds up decoding 64 kbps test file by 2.68 MHz and 128 kbps
    test file by 2.80 MHz on H300.

    Change-Id: I8b61fc0f9568d6350431e311a12e44fe4f60f72e

diff --git a/lib/rbcodec/codecs/libopus/celt/cf/kiss_fft_cf.h b/lib/rbcodec/codecs/libopus/celt/cf/kiss_fft_cf.h
index fe0fe2f..74f14fb 100644
--- a/lib/rbcodec/codecs/libopus/celt/cf/kiss_fft_cf.h
+++ b/lib/rbcodec/codecs/libopus/celt/cf/kiss_fft_cf.h
 <at>  <at>  -32,6 +32,27  <at>  <at> 

 #ifdef FIXED_POINT

+#undef C_MUL
+#define C_MUL(m,a,b) \
+    { \
+      asm volatile("move.l (%[bp]), %%d2;" \
+                   "clr.l %%d3;" \
+                   "move.w %%d2, %%d3;" \
+                   "swap %%d3;" \
+                   "clr.w %%d2;" \
(Continue reading)

gerrit | 13 Jul 13:17 2014

Sync to upstream libopus

commit 9b7ec42403073ee887efc531c153e6b1b6c15bab
Author: Nils Wallménius <nils <at> rockbox.org>
Date:   Sun Jan 19 16:31:59 2014 +0100

    Sync to upstream libopus
    
    Sync to commit bb4b6885a139644cf3ac14e7deda9f633ec2d93c
    
    This brings in a bunch of optimizations to decode speed
    and memory usage. Allocations are switched from using
    the pseudostack to using the real stack. Enabled hacks
    to reduce stack usage.
    
    This should fix crashes on sansa clip, although some
    files will not play due to failing allocations in the
    codec buffer.
    
    Speeds up decoding of the following test files:
    
                     H300 (cf)   C200 (arm7tdmi)  ipod classic (arm9e)
    16 kbps (silk)   14.28 MHz   4.00 MHz         2.61 MHz
    64 kbps (celt)   4.09 MHz    8.08 MHz         6.24 MHz
    128 kbps (celt)  1.93 MHz    8.83 MHz         6.53 MHz
    
    Change-Id: I851733a8a5824b61feb363a173091bc7e6629b58

diff --git a/lib/rbcodec/codecs/libopus/celt/_kiss_fft_guts.h b/lib/rbcodec/codecs/libopus/celt/_kiss_fft_guts.h
index cc52f37..8ddb9ad 100644
--- a/lib/rbcodec/codecs/libopus/celt/_kiss_fft_guts.h
+++ b/lib/rbcodec/codecs/libopus/celt/_kiss_fft_guts.h
(Continue reading)

gerrit | 7 Jul 12:54 2014

crc-mi4: use const lookup table for crc

commit e557951c94c1efa769900257e466900f0ffeb53b
Author: Marcin Bukat <marcin.bukat <at> gmail.com>
Date:   Fri Jul 4 08:39:56 2014 +0200

    crc-mi4: use const lookup table for crc

    This doesn't touch external tools as I see no need for.

    Change-Id: Ia69248c4b6a033c3772916525257e3540bddcffa
    Reviewed-on: http://gerrit.rockbox.org/891
    Tested: Sebastian Leonhardt <sebastian.leonhardt <at> web.de>
    Reviewed-by: Marcin Bukat <marcin.bukat <at> gmail.com>

diff --git a/bootloader/main-e200r-installer.c b/bootloader/main-e200r-installer.c
index 178a03b..dca34ec 100644
--- a/bootloader/main-e200r-installer.c
+++ b/bootloader/main-e200r-installer.c
 <at>  <at>  -94,8 +94,6  <at>  <at>  void* main(void)
     char sector[512];
     struct partinfo* pinfo;

-    chksum_crc32gentab ();
-
     system_init();
     kernel_init();
     lcd_init();
diff --git a/bootloader/main-pp.c b/bootloader/main-pp.c
index 7caf397..cb629a7 100644
--- a/bootloader/main-pp.c
+++ b/bootloader/main-pp.c
(Continue reading)

gerrit | 2 Jul 15:36 2014

Finished SVG Image for Sansa Clip Zip.

commit d188661d4c69443523f994eb2d5b96e188086d3d
Author: Szymon Dziok <b0hoon <at> o2.pl>
Date:   Wed Jul 2 15:26:43 2014 +0200

    Finished SVG Image for Sansa Clip Zip.
    
    Added labels and power button.
    
    Original author: Marko Pahlke, FS#12602
    
    Change-Id: I17cfa245fcd36755162a3c527de6ba768568a376

diff --git a/manual/rockbox_interface/images/sansaclipzip-front.pdf b/manual/rockbox_interface/images/sansaclipzip-front.pdf
new file mode 100644
index 0000000..b662bc8
Binary files /dev/null and b/manual/rockbox_interface/images/sansaclipzip-front.pdf differ
diff --git a/manual/rockbox_interface/images/sansaclipzip-front.png b/manual/rockbox_interface/images/sansaclipzip-front.png
index ecdb29b..8a598ac 100644
Binary files a/manual/rockbox_interface/images/sansaclipzip-front.png and b/manual/rockbox_interface/images/sansaclipzip-front.png differ
diff --git a/manual/rockbox_interface/images/sansaclipzip-front.svg b/manual/rockbox_interface/images/sansaclipzip-front.svg
new file mode 100644
index 0000000..144c6bc
--- /dev/null
+++ b/manual/rockbox_interface/images/sansaclipzip-front.svg
 <at>  <at>  -0,0 +1,830  <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/"
(Continue reading)

gerrit | 2 Jul 10:57 2014

SVG image of the Sony NWZ-E360 and other formats for the manual.

commit a731780471fc9532f62357a8aa043143032bd44f
Author: Szymon Dziok <b0hoon <at> o2.pl>
Date:   Wed Jul 2 10:20:16 2014 +0200

    SVG image of the Sony NWZ-E360 and other formats for the manual.
    
    Change-Id: I2783dd39a773d952997e4a6d28916290e0dd5f65
    Reviewed-on: http://gerrit.rockbox.org/889
    Reviewed-by: Amaury Pouly <amaury.pouly <at> gmail.com>

diff --git a/manual/rockbox_interface/images/nwze360-front.pdf b/manual/rockbox_interface/images/nwze360-front.pdf
new file mode 100644
index 0000000..1d76724
Binary files /dev/null and b/manual/rockbox_interface/images/nwze360-front.pdf differ
diff --git a/manual/rockbox_interface/images/nwze360-front.png b/manual/rockbox_interface/images/nwze360-front.png
new file mode 100644
index 0000000..1cf019d
Binary files /dev/null and b/manual/rockbox_interface/images/nwze360-front.png differ
diff --git a/manual/rockbox_interface/images/nwze360-front.svg b/manual/rockbox_interface/images/nwze360-front.svg
new file mode 100644
index 0000000..9545655
--- /dev/null
+++ b/manual/rockbox_interface/images/nwze360-front.svg
 <at>  <at>  -0,0 +1,3665  <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)


Gmane