gerrit | 18 Nov 06:28 2014

iPod Classic: fix HW_FREQ_32

commit 794169a18f644eea32de20b26646381137545e2d
Author: Cástor Muñoz <cmvidal <at> gmail.com>
Date:   Tue Nov 18 03:08:31 2014 +0100

    iPod Classic: fix HW_FREQ_32

    Change-Id: I1e1b4e6ceb92eb793affaefc61ab082d5da735b4

diff --git a/firmware/target/arm/s5l8702/pcm-s5l8702.c b/firmware/target/arm/s5l8702/pcm-s5l8702.c
index cbfe6ea..1048354 100644
--- a/firmware/target/arm/s5l8702/pcm-s5l8702.c
+++ b/firmware/target/arm/s5l8702/pcm-s5l8702.c
 <at>  <at>  -145,10 +145,39  <at>  <at>  void pcm_play_dma_pause(bool pause)
 /* set the configured PCM frequency */
 void pcm_dma_apply_settings(void)
 {
+    static uint16_t last_clkcon3l = 0;
+    uint16_t clkcon3l;
+    int fsel;
+
+    /* For unknown reasons, s5l8702 I2S controller does not synchronize
+     * with CS42L55 at 32000 Hz. To fix it, the CODEC is configured with
+     * a sample rate of 48000 Hz and MCLK is decreased 1/3 to 8 Mhz,
+     * obtaining 32 KHz in LRCK controller input and 8 MHz in SCLK input.
+     * OF uses this trick.
+     */
+    if (pcm_fsel == HW_FREQ_32) {
+        fsel = HW_FREQ_48;
+        clkcon3l = 0x3028;  /* PLL2 / 3 / 9 -> 8 MHz */
+    }
(Continue reading)

gerrit | 16 Nov 14:18 2014

iPod Classic: update timer API using 32-bit timers.

commit 57969698ced265492d2007d39e350b337e163ea4
Author: Cástor Muñoz <cmvidal <at> gmail.com>
Date:   Mon Nov 10 02:39:16 2014 +0100

    iPod Classic: update timer API using 32-bit timers.

    Change-Id: I49dab8ae955a339ad0a27402fa21caa411c4ecf6
    Reviewed-on: http://gerrit.rockbox.org/1032
    Reviewed-by: Marcin Bukat <marcin.bukat <at> gmail.com>

diff --git a/firmware/export/s5l8702.h b/firmware/export/s5l8702.h
index 8e1d827..a83fe37 100644
--- a/firmware/export/s5l8702.h
+++ b/firmware/export/s5l8702.h
 <at>  <at>  -28,8 +28,6  <at>  <at> 
 #define REG16_PTR_T volatile uint16_t *
 #define REG32_PTR_T volatile uint32_t *

-#define TIMER_FREQ  54000000
-
 #define CACHEALIGN_BITS (5) /* 2^5 = 32 bytes */

 #define DRAM_ORIG 0x08000000
 <at>  <at>  -65,6 +63,34  <at>  <at> 

 
 /////TIMER/////
+/* 16/32-bit timers:
+ *
+ * - Timers A..D: 16-bit counter, very similar to 16-bit timers described
(Continue reading)

gerrit | 15 Nov 13:01 2014

adfuload: fix argument parsing

commit 229a02a4eebb61332e8180692d4415a7d49303fd
Author: Amaury Pouly <amaury.pouly <at> gmail.com>
Date:   Fri Nov 14 23:20:50 2014 +0100

    adfuload: fix argument parsing

    Change-Id: Ibde77a2f7cb7a73c26235be5b2afed9f0aec3e97
    Reviewed-on: http://gerrit.rockbox.org/1039
    Reviewed-by: Amaury Pouly <amaury.pouly <at> gmail.com>

diff --git a/utils/atj2137/adfuload/adfuload.c b/utils/atj2137/adfuload/adfuload.c
index 2e60c31..82bbc9d 100644
--- a/utils/atj2137/adfuload/adfuload.c
+++ b/utils/atj2137/adfuload/adfuload.c
 <at>  <at>  -318,7 +318,8  <at>  <at>  int main (int argc, char **argv)
                 fprintf(stderr,"Missing argument for USB IDs\n");
                 return -1;
             }
-            char *svid = argv[i + 1];
+            i++;
+            char *svid = argv[i];
             char *spid = strchr(svid, ':');
             if(svid == NULL)
             {
_______________________________________________
rockbox-cvs mailing list
rockbox-cvs <at> cool.haxx.se
http://cool.haxx.se/cgi-bin/mailman/listinfo/rockbox-cvs
gerrit | 15 Nov 13:01 2014

hwstub_shell: add atj target

commit 16dcde4012483ee8354efd3ddea380404cd6f168
Author: Amaury Pouly <amaury.pouly <at> gmail.com>
Date:   Fri Nov 14 23:24:22 2014 +0100

    hwstub_shell: add atj target

    Change-Id: I566694f19dfb110dbf245be7b7f139a4c616e16b
    Reviewed-on: http://gerrit.rockbox.org/1041
    Reviewed-by: Amaury Pouly <amaury.pouly <at> gmail.com>

diff --git a/utils/hwstub/tools/hwstub_shell.cpp b/utils/hwstub/tools/hwstub_shell.cpp
index e5d3a72..b2838eb 100644
--- a/utils/hwstub/tools/hwstub_shell.cpp
+++ b/utils/hwstub/tools/hwstub_shell.cpp
 <at>  <at>  -283,6 +283,8  <at>  <at>  bool my_lua_import_hwstub()
     lua_setfield(g_lua, -2, "PP");
     lua_pushinteger(g_lua, HWSTUB_TARGET_RK27);
     lua_setfield(g_lua, -2, "RK27");
+    lua_pushinteger(g_lua, HWSTUB_TARGET_ATJ);
+    lua_setfield(g_lua, -2, "ATJ");
     lua_setfield(g_lua, -2, "target");

     if(g_hwdev_target.dID == HWSTUB_TARGET_STMP)
diff --git a/utils/hwstub/tools/lua/atj.lua b/utils/hwstub/tools/lua/atj.lua
new file mode 100644
index 0000000..de725f4
--- /dev/null
+++ b/utils/hwstub/tools/lua/atj.lua
 <at>  <at>  -0,0 +1,8  <at>  <at> 
+---
(Continue reading)

gerrit | 13 Nov 23:00 2014

iPod Classic: fix s5l8702 cache line length.

commit edb0c6c92f40db70be778bf9162ff116f5f01e31
Author: Cástor Muñoz <cmvidal <at> gmail.com>
Date:   Mon Nov 10 01:50:19 2014 +0100

    iPod Classic: fix s5l8702 cache line length.

    Use 32 bytes for cache line length (arm926ej-s), this prevents
    misalignments of ATA storage buffer which in some builds could
    cause weird faults.

    Change-Id: I88dc595d251315620ec49b0251ddc039ff47181e
    Reviewed-on: http://gerrit.rockbox.org/1031
    Reviewed-by: Marcin Bukat <marcin.bukat <at> gmail.com>

diff --git a/firmware/export/s5l8702.h b/firmware/export/s5l8702.h
index b7da971..8e1d827 100644
--- a/firmware/export/s5l8702.h
+++ b/firmware/export/s5l8702.h
 <at>  <at>  -30,7 +30,7  <at>  <at> 

 #define TIMER_FREQ  54000000

-#define CACHEALIGN_BITS (4) /* 2^4 = 16 bytes */
+#define CACHEALIGN_BITS (5) /* 2^5 = 32 bytes */

 #define DRAM_ORIG 0x08000000
 #define IRAM_ORIG 0
diff --git a/firmware/target/arm/s5l8702/debug-s5l8702.c b/firmware/target/arm/s5l8702/debug-s5l8702.c
index 27d1ccb..66bfa36 100644
--- a/firmware/target/arm/s5l8702/debug-s5l8702.c
(Continue reading)

gerrit | 10 Nov 21:52 2014

HDD1630/HDD6330/SA9200: Integration of the clicker with the "Keyclick" menu.

commit bcca1114383c2147e60e73825ec68403c90bea40
Author: Szymon Dziok <b0hoon <at> o2.pl>
Date:   Sat Nov 8 21:12:24 2014 +0100

    HDD1630/HDD6330/SA9200: Integration of the clicker with the "Keyclick" menu.

    Change-Id: Ieb26f2252c1f2613cc9bd83c8349f49113f46d87

diff --git a/firmware/SOURCES b/firmware/SOURCES
index 950e4f2..cf8a59b 100644
--- a/firmware/SOURCES
+++ b/firmware/SOURCES
 <at>  <at>  -944,6 +944,7  <at>  <at>  target/arm/sandisk/sansa-view/powermgmt-view.c
 #ifdef PHILIPS_SA9200
 #ifndef BOOTLOADER
 drivers/synaptics-mep.c
+target/arm/philips/piezo.c
 #endif /* BOOTLOADER */
 target/arm/philips/sa9200/backlight-sa9200.c
 target/arm/philips/sa9200/button-sa9200.c
 <at>  <at>  -956,6 +957,7  <at>  <at>  target/arm/philips/sa9200/powermgmt-sa9200.c
 #if defined(PHILIPS_HDD1630) || defined(PHILIPS_HDD6330)
 #ifndef BOOTLOADER
 drivers/synaptics-mep.c
+target/arm/philips/piezo.c
 #endif /* BOOTLOADER */
 target/arm/philips/power-hdd.c
 target/arm/philips/fmradio_i2c-hdd.c
diff --git a/firmware/export/config/gogearhdd1630.h b/firmware/export/config/gogearhdd1630.h
index f365261..e1e0af0 100644
(Continue reading)

gerrit | 10 Nov 20:30 2014

zen: typo

commit 73a780265a25371c0d58d7784fa52946011606cc
Author: Amaury Pouly <amaury.pouly <at> gmail.com>
Date:   Mon Nov 10 20:29:49 2014 +0100

    zen: typo

    Change-Id: I68be3c768c092d7e43df8fa233f3a954e56f4d93

diff --git a/firmware/target/arm/imx233/sdmmc-imx233.c b/firmware/target/arm/imx233/sdmmc-imx233.c
index 87548ae..2c26eb4 100644
--- a/firmware/target/arm/imx233/sdmmc-imx233.c
+++ b/firmware/target/arm/imx233/sdmmc-imx233.c
 <at>  <at>  -143,7 +143,7  <at>  <at>  struct sdmmc_config_t sdmmc_config[] =
     },
     /* The Zen X-Fi uses pin #B0P10 for power*/
     {
-        .name = "microSD",
+        .name = "SD",
         .flags = POWER_PIN | REMOVABLE | DETECT_INVERTED | POWER_DELAY | WP_PIN,
         .power_pin = PIN(0, 10),
         .wp_pin = PIN(0, 11),
_______________________________________________
rockbox-cvs mailing list
rockbox-cvs <at> cool.haxx.se
http://cool.haxx.se/cgi-bin/mailman/listinfo/rockbox-cvs
gerrit | 10 Nov 14:15 2014

Fix remaining errors in Polish translation.

commit b29d31162357ee24dd6f38fd58309e54188fe396
Author: Szymon Dziok <b0hoon <at> o2.pl>
Date:   Mon Nov 10 14:09:11 2014 +0100

    Fix remaining errors in Polish translation.

    Change-Id: I6517e0bcbf57b18f34138019fb54cd3da7728848

diff --git a/apps/lang/polski.lang b/apps/lang/polski.lang
index 673d75e..e9e0669 100644
--- a/apps/lang/polski.lang
+++ b/apps/lang/polski.lang
 <at>  <at>  -147,7 +147,7  <at>  <at> 
     *: "Wczytuję..."
   </dest>
   <voice>
-    *: ""
+    *: "Wczytuję"
   </voice>
 </phrase>
 <phrase>
 <at>  <at>  -263,7 +263,7  <at>  <at> 
   </source>
   <dest>
     *: "PLAY = Tak"
-    covond2*: "MENU lub lewo-góra = Tak"
+    cowond2*: "MENU lub lewo-góra = Tak"
     iriverh100,iriverh120,iriverh300: "NAVI = Tak"

samsungyh*,ipod*,iaudiox5,iaudiom5,gigabeat*,sansae200*,sansac200*,iriverh10,iriverh10_5gb,mrobe100,sansaclip*,sansafuze*,sansaconnect:
(Continue reading)

gerrit | 10 Nov 12:36 2014

Polish translation update.

commit ce88fa2f811fb3c23c81866d713dbfe4642e5d28
Author: Szymon Dziok <b0hoon <at> o2.pl>
Date:   Mon Nov 10 12:34:47 2014 +0100

    Polish translation update.

    Change-Id: Ie1f223a23e2c0b4c4838d0cb146f65ee6b8e5f09

diff --git a/apps/lang/polski.lang b/apps/lang/polski.lang
index fe4bed8..673d75e 100644
--- a/apps/lang/polski.lang
+++ b/apps/lang/polski.lang
 <at>  <at>  -2535,7 +2535,7  <at>  <at> 
   </dest>
   <voice>
     *: none
-    hold_button: "Podświetlenie podczas blokady klawiszy"
+    hold_button: "Podświetlenie podczas blokady przycisków"
   </voice>
 </phrase>
 <phrase>
 <at>  <at>  -3665,13 +3665,13  <at>  <at> 
   </source>
   <dest>
     *: none
-    button_light: "Wygaszanie klawiszy"
-    sansafuze*,sansae200*: "Wygaszanie koła sterującego"
+    button_light: "Podświetlenie przycisków"
+    sansafuze*,sansae200*: "Podświetlenie koła sterującego"
   </dest>
(Continue reading)

gerrit | 6 Nov 10:31 2014

regtools: ATJ213x description file

commit bb5341c4be06237e5da2ec8cf57dac2cebd13eba
Author: Marcin Bukat <marcin.bukat <at> gmail.com>
Date:   Thu Nov 6 10:31:11 2014 +0100

    regtools: ATJ213x description file

    Change-Id: I5b4d29e0808c57e252f5b6c3b9ba26a52c1bd112

diff --git a/utils/regtools/desc/regs-atj213x.xml b/utils/regtools/desc/regs-atj213x.xml
new file mode 100644
index 0000000..dface7e
--- /dev/null
+++ b/utils/regtools/desc/regs-atj213x.xml
 <at>  <at>  -0,0 +1,759  <at>  <at> 
+<?xml version="1.0"?>
+<soc name="atj213x" desc="Actions atj213x">
+  <dev name="ADC" long_name="Analog to Digital Converter" desc="" version="1.0">
+    <addr name="ADC" addr="0xb0110000"/>
+  </dev>
+  <dev name="ATA" long_name="" desc="" version="1.0">
+    <addr name="ATA" addr="0xb0090000"/>
+    <reg name="CONFIG" desc="">
+      <addr name="CONFIG" addr="0x0"/>
+    </reg>
+    <reg name="UDMACTL" desc="">
+      <addr name="UDMACTL" addr="0x4"/>
+    </reg>
+    <reg name="DATA" desc="">
+      <addr name="DATA" addr="0x8"/>
+    </reg>
(Continue reading)

gerrit | 6 Nov 07:56 2014

adfuload: Improve arguments parsing

commit df2ac7428f1ab98ccc2109d4f70521c5f8404c2c
Author: Marcin Bukat <marcin.bukat <at> gmail.com>
Date:   Thu Nov 6 07:56:02 2014 +0100

    adfuload: Improve arguments parsing

    Change-Id: If18975f13d20bb7f7232cafdb4ea87fa516b5750

diff --git a/utils/atj2137/adfuload/adfuload.c b/utils/atj2137/adfuload/adfuload.c
index 5e32a93..2e60c31 100644
--- a/utils/atj2137/adfuload/adfuload.c
+++ b/utils/atj2137/adfuload/adfuload.c
 <at>  <at>  -258,24 +258,29  <at>  <at>  static void adfu_execute(libusb_device_handle *hdev, uint32_t address)

 static void usage(char *name)
 {
-    printf("usage: (sudo) %s [-e] -s1 stage1.bin -s2 stage2.bin\n", name);
-    printf("stage1.bin - binary of the stage1 (ADEC_N63.BIN for example)\n");
-    printf("stage2.bin - binary of the custom user code\n");
+    printf("usage: (sudo) %s [-u vid:pid] [-e] -s1 stage1.bin -s2 stage2.bin\n", name);
+    printf("stage1.bin          Binary of the stage1 (ADEC_N63.BIN for example)\n");
+    printf("stage2.bin          Binary of the custom user code\n");
     printf("\n");
     printf("options:\n");
-    printf("-e - encode stage1 binary as needed by brom adfu mode\n");
+    printf("-u|--usb vid:pid    Override device PID and PID (default 0x%04x:0x%04x)\n",
+           VENDORID, PRODUCTID);
+    printf("-e                  Encode stage1 binary as needed by brom adfu mode\n");
 }

(Continue reading)


Gmane