cvs | 1 Oct 08:05 2004
Picon

linus: firmware/drivers adc.c,1.11,1.12

Update of /cvsroot/rockbox/firmware/drivers
In directory labb.contactor.se:/var/tmp/cvs-serv15881/firmware/drivers

Modified Files:
	adc.c 
Log Message:
We must sleep 2 ticks to be really sure that all A/D channels have been converted at least once before
returning from adc_init()

Index: adc.c
===================================================================
RCS file: /cvsroot/rockbox/firmware/drivers/adc.c,v
retrieving revision 1.11
retrieving revision 1.12
diff -u -b -r1.11 -r1.12
--- adc.c	24 Sep 2004 22:26:16 -0000	1.11
+++ adc.c	1 Oct 2004 06:05:22 -0000	1.12
 <at>  <at>  -102,5 +102,5  <at>  <at> 

     tick_add_task(adc_tick);

-    sleep(1);    /* Ensure valid readings when adc_init returns */
+    sleep(2);    /* Ensure valid readings when adc_init returns */
 }

_______________________________________________
http://cool.haxx.se/mailman/listinfo/rockbox-cvs

cvs | 1 Oct 09:36 2004
Picon

hohensoh: firmware/export config-ondiofm.h, 1.12, 1.13 config-ondiosp.h, 1.14, 1.15

Update of /cvsroot/rockbox/firmware/export
In directory labb.contactor.se:/var/tmp/cvs-serv11344/firmware/export

Modified Files:
	config-ondiofm.h config-ondiosp.h 
Log Message:
Ondio config cleanup, SIBI support

Index: config-ondiofm.h
===================================================================
RCS file: /cvsroot/rockbox/firmware/export/config-ondiofm.h,v
retrieving revision 1.12
retrieving revision 1.13
diff -u -b -r1.12 -r1.13
--- config-ondiofm.h	28 Sep 2004 22:13:26 -0000	1.12
+++ config-ondiofm.h	1 Oct 2004 07:36:25 -0000	1.13
 <at>  <at>  -19,15 +19,6  <at>  <at> 
 /* Define this if you have a MAS3587F */
 #define CONFIG_HWCODEC MAS3587F

-/* Define this if you have a LiIon battery */
-/* #define HAVE_LIION */
-
-/* Define this if you need to power on ATA */
-/* #define NEEDS_ATA_POWER_ON */
-
-/* Define this if battery voltage can only be measured with ATA powered */
-/* #define NEED_ATA_POWER_BATT_MEASURE */
-
 /* Define this to the CPU frequency */
(Continue reading)

cvs | 1 Oct 09:36 2004
Picon

hohensoh: firmware mp3_playback.c,1.23,1.24

Update of /cvsroot/rockbox/firmware
In directory labb.contactor.se:/var/tmp/cvs-serv11344/firmware

Modified Files:
	mp3_playback.c 
Log Message:
Ondio config cleanup, SIBI support

Index: mp3_playback.c
===================================================================
RCS file: /cvsroot/rockbox/firmware/mp3_playback.c,v
retrieving revision 1.23
retrieving revision 1.24
diff -u -b -r1.23 -r1.24
--- mp3_playback.c	29 Sep 2004 19:51:41 -0000	1.23
+++ mp3_playback.c	1 Oct 2004 07:36:25 -0000	1.24
 <at>  <at>  -937,6 +937,11  <at>  <at> 

     setup_sci0();

+#ifdef HAVE_MAS_SIBI_CONTROL
+    and_b(~0x01, &PBDRH); /* drive SIBI low */
+    and_b(~0x01, &PBIORH); /* output for PB8 */
+#endif
+
 #if CONFIG_HWCODEC == MAS3587F
     or_b(0x08, &PAIORH); /* output for /PR */
     init_playback();

_______________________________________________
(Continue reading)

cvs | 1 Oct 09:39 2004
Picon

linus: apps wps.c,1.222,1.223

Update of /cvsroot/rockbox/apps
In directory labb.contactor.se:/var/tmp/cvs-serv11639/apps

Modified Files:
	wps.c 
Log Message:
Patch #1038325 by Markus Braun, prevents WPS from setting the volume higher than 100

Index: wps.c
===================================================================
RCS file: /cvsroot/rockbox/apps/wps.c,v
retrieving revision 1.222
retrieving revision 1.223
diff -u -b -r1.222 -r1.223
--- wps.c	28 Sep 2004 22:13:26 -0000	1.222
+++ wps.c	1 Oct 2004 07:39:34 -0000	1.223
 <at>  <at>  -128,6 +128,8  <at>  <at> 
 {
     if (global_settings.volume < mpeg_sound_min(SOUND_VOLUME))
         global_settings.volume = mpeg_sound_min(SOUND_VOLUME);
+    if (global_settings.volume > mpeg_sound_max(SOUND_VOLUME))
+        global_settings.volume = mpeg_sound_max(SOUND_VOLUME);
     mpeg_sound_set(SOUND_VOLUME, global_settings.volume);
     status_draw(false);
     wps_refresh(id3, nid3, 0, WPS_REFRESH_NON_STATIC);

_______________________________________________
http://cool.haxx.se/mailman/listinfo/rockbox-cvs

(Continue reading)

cvs | 1 Oct 18:57 2004
Picon

hohensoh: firmware/drivers ata_mmc.c,1.10,1.11

Update of /cvsroot/rockbox/firmware/drivers
In directory labb.contactor.se:/var/tmp/cvs-serv18069/firmware/drivers

Modified Files:
	ata_mmc.c 
Log Message:
Ondio PACR inits for cold start

Index: ata_mmc.c
===================================================================
RCS file: /cvsroot/rockbox/firmware/drivers/ata_mmc.c,v
retrieving revision 1.10
retrieving revision 1.11
diff -u -b -r1.10 -r1.11
--- ata_mmc.c	29 Sep 2004 22:44:02 -0000	1.10
+++ ata_mmc.c	1 Oct 2004 16:57:54 -0000	1.11
 <at>  <at>  -585,6 +585,7  <at>  <at> 
 void ata_enable(bool on)
 {
     PBCR1 &= ~0x0CF0; /* PB13, PB11 and PB10 become GPIOs, if not modified below */
+    PACR2 &= ~0x4000; /* use PA7 (bridge reset) as GPIO */
     if (on)
     {
         PBCR1 |= 0x08A0;    /* as SCK1, TxD1, RxD1 */
 <at>  <at>  -607,6 +608,8  <at>  <at> 
     led(false);

     /* Port setup */
+    PACR1 &= ~0x0F00; /* GPIO function for PA12, /IRQ1 for PA13 */
+    PACR1 |= 0x0400;
(Continue reading)

cvs | 1 Oct 19:01 2004
Picon

amiconn: firmware/drivers ata_mmc.c,1.11,1.12

Update of /cvsroot/rockbox/firmware/drivers
In directory labb.contactor.se:/var/tmp/cvs-serv25447/firmware/drivers

Modified Files:
	ata_mmc.c 
Log Message:
Fix: card initialization on card_select()

Index: ata_mmc.c
===================================================================
RCS file: /cvsroot/rockbox/firmware/drivers/ata_mmc.c,v
retrieving revision 1.11
retrieving revision 1.12
diff -u -b -r1.11 -r1.12
--- ata_mmc.c	1 Oct 2004 16:57:54 -0000	1.11
+++ ata_mmc.c	1 Oct 2004 17:01:40 -0000	1.12
 <at>  <at>  -137,6 +137,11  <at>  <at> 

 static int select_card(int card_no)
 {
+    if (card_no == 0)             /* internal */
+        or_b(0x10, &PADRH);       /* set clock gate PA12  CHECKME: mask? */
+    else                          /* external */
+        and_b(~0x10, &PADRH);     /* clear clock gate PA12  CHECKME: mask?*/
+
     if (!card_info[card_no].initialized)
     {
         setup_sci1(7); /* Initial rate: 375 kbps (need <= 400 per mmc specs) */
 <at>  <at>  -144,16 +149,10  <at>  <at> 
         while (!(SSR1 & SCI_TEND));
(Continue reading)

cvs | 1 Oct 19:26 2004
Picon

hohensoh: firmware usb.c,1.40,1.41

Update of /cvsroot/rockbox/firmware
In directory labb.contactor.se:/var/tmp/cvs-serv1263/firmware

Modified Files:
	usb.c 
Log Message:
Ondio PACR inits for cold start

Index: usb.c
===================================================================
RCS file: /cvsroot/rockbox/firmware/usb.c,v
retrieving revision 1.40
retrieving revision 1.41
diff -u -b -r1.40 -r1.41
--- usb.c	19 Sep 2004 21:58:37 -0000	1.40
+++ usb.c	1 Oct 2004 17:26:48 -0000	1.41
 <at>  <at>  -83,7 +83,7  <at>  <at> 
         and_b(~0x20, &PADRL); /* disable USB */
         or_b(0x08, &PADRL); /* deassert card detect */
     }
-    PACR2 &= ~0x00C0; /* use PA3 as GPIO */
+    PACR2 &= ~0x04C0; /* use PA3, PA5 as GPIO */
     or_b(0x28, &PAIORL); /* output for USB enable and card detect */
 #else /* standard HD Jukebox */
 #ifdef HAVE_LCD_BITMAP

_______________________________________________
http://cool.haxx.se/mailman/listinfo/rockbox-cvs

(Continue reading)

cvs | 1 Oct 20:47 2004
Picon

amiconn: firmware mp3_playback.c,1.24,1.25

Update of /cvsroot/rockbox/firmware
In directory labb.contactor.se:/var/tmp/cvs-serv27517/firmware

Modified Files:
	mp3_playback.c 
Log Message:
Fixed a typo which lead to non-initialized MAS on Ondio SP

Index: mp3_playback.c
===================================================================
RCS file: /cvsroot/rockbox/firmware/mp3_playback.c,v
retrieving revision 1.24
retrieving revision 1.25
diff -u -b -r1.24 -r1.25
--- mp3_playback.c	1 Oct 2004 07:36:25 -0000	1.24
+++ mp3_playback.c	1 Oct 2004 18:47:19 -0000	1.25
 <at>  <at>  -950,7 +950,7  <at>  <at> 
     DEBUGF("MAS3587 derivate %d, version %c%d\n",
            (mas_version_code & 0xf000) >> 12,
            'A' + ((mas_version_code & 0x0f00) >> 8), mas_version_code & 0xff);
-#elif CONFIG_HW_CODEC == MAS3539F
+#elif CONFIG_HWCODEC == MAS3539F
     or_b(0x08, &PAIORH); /* output for /PR */
     init_playback();

_______________________________________________
http://cool.haxx.se/mailman/listinfo/rockbox-cvs

cvs | 1 Oct 21:19 2004
Picon

hohensoh: firmware/test/fat ata-sim.c,1.10,1.11 main.c,1.22,1.23

Update of /cvsroot/rockbox/firmware/test/fat
In directory labb.contactor.se:/var/tmp/cvs-serv19205/firmware/test/fat

Modified Files:
	ata-sim.c main.c 
Log Message:
test code portable now

Index: ata-sim.c
===================================================================
RCS file: /cvsroot/rockbox/firmware/test/fat/ata-sim.c,v
retrieving revision 1.10
retrieving revision 1.11
diff -u -b -r1.10 -r1.11
--- ata-sim.c	3 Dec 2002 14:00:33 -0000	1.10
+++ ata-sim.c	1 Oct 2004 19:19:09 -0000	1.11
 <at>  <at>  -56,7 +56,7  <at>  <at> 
     if (!filename)
         filename = "disk.img";
     /* check disk size */
-    file=fopen(filename,"r+");
+    file=fopen(filename,"rb+");
     if(!file) {
         fprintf(stderr, "read_disk() - Could not find \"%s\"\n",filename);
         return -1;

Index: main.c
===================================================================
RCS file: /cvsroot/rockbox/firmware/test/fat/main.c,v
retrieving revision 1.22
(Continue reading)

cvs | 1 Oct 21:44 2004
Picon

hohensoh: firmware/export disk.h,1.2,1.3

Update of /cvsroot/rockbox/firmware/export
In directory labb.contactor.se:/var/tmp/cvs-serv8709/firmware/export

Modified Files:
	disk.h 
Log Message:
test code portable now

Index: disk.h
===================================================================
RCS file: /cvsroot/rockbox/firmware/export/disk.h,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -b -r1.2 -r1.3
--- disk.h	7 Feb 2003 10:07:48 -0000	1.2
+++ disk.h	1 Oct 2004 19:44:54 -0000	1.3
 <at>  <at>  -27,6 +27,7  <at>  <at> 

 #define PARTITION_TYPE_FAT32     0x0b
 #define PARTITION_TYPE_FAT32_LBA 0x0c
+#define PARTITION_TYPE_FAT16     0x06

 /* returns a pointer to an array of 8 partinfo structs */
 struct partinfo* disk_init(void);

_______________________________________________
http://cool.haxx.se/mailman/listinfo/rockbox-cvs


Gmane