Send commitlog mailing list submissions to
        [email protected]

To subscribe or unsubscribe via the World Wide Web, visit
        http://lists.openmoko.org/mailman/listinfo/commitlog
or, via email, send a message with subject or body 'help' to
        [EMAIL PROTECTED]

You can reach the person managing the list at
        [EMAIL PROTECTED]

When replying, please edit your Subject line so it is more specific
than "Re: Contents of commitlog digest..."
Today's Topics:

   1. r1322 - trunk/oe/packages/openmoko-apps
      ([EMAIL PROTECTED])
   2. r1323 - trunk/src/target/u-boot/patches ([EMAIL PROTECTED])
--- Begin Message ---
Author: laforge
Date: 2007-03-12 10:00:26 +0100 (Mon, 12 Mar 2007)
New Revision: 1322

Modified:
   trunk/oe/packages/openmoko-apps/openmoko-simplemediaplayer_svn.bb
Log:
add datadir/applications and datadir/images on request of Ken Zhao.


Modified: trunk/oe/packages/openmoko-apps/openmoko-simplemediaplayer_svn.bb
===================================================================
--- trunk/oe/packages/openmoko-apps/openmoko-simplemediaplayer_svn.bb   
2007-03-10 23:44:11 UTC (rev 1321)
+++ trunk/oe/packages/openmoko-apps/openmoko-simplemediaplayer_svn.bb   
2007-03-12 09:00:26 UTC (rev 1322)
@@ -5,3 +5,8 @@
 
 inherit openmoko
 
+FILES_${PN} = "${bindir}/* \
+              ${libdir}/* \
+              ${datadir}/applications \
+              ${datadir}/images \
+             "




--- End Message ---
--- Begin Message ---
Author: werner
Date: 2007-03-12 10:56:20 +0100 (Mon, 12 Mar 2007)
New Revision: 1323

Added:
   trunk/src/target/u-boot/patches/early-powerdown.patch
Log:
board/neo1973/neo1973.c (board_init): power down immediately if we haven't been 
  woken up by the power button or the RTC. This can be overridden by pressing 
  AUX, i.e., to allow resets to succeed.

Experimental ! Note that this change means that the phone has to be powered up 
manually in order to fast-charge when a charger is connected.



Added: trunk/src/target/u-boot/patches/early-powerdown.patch
===================================================================
--- trunk/src/target/u-boot/patches/early-powerdown.patch       2007-03-12 
09:00:26 UTC (rev 1322)
+++ trunk/src/target/u-boot/patches/early-powerdown.patch       2007-03-12 
09:56:20 UTC (rev 1323)
@@ -0,0 +1,40 @@
+Index: u-boot/board/neo1973/neo1973.c
+===================================================================
+--- u-boot.orig/board/neo1973/neo1973.c
++++ u-boot/board/neo1973/neo1973.c
+@@ -68,8 +68,12 @@ DECLARE_GLOBAL_DATA_PTR;
+ #define U_M_PDIV      0x2
+ #define U_M_SDIV      0x3
+ 
++#define VALID_WAKEUP_REASONS (PCF50606_INT1_ONKEYF | PCF50606_INT1_ALARM)
++
+ unsigned int neo1973_wakeup_cause;
+ extern int nobootdelay;
++static unsigned char int1;
++
+ 
+ static inline void delay (unsigned long loops)
+ {
+@@ -179,6 +183,13 @@ int board_init (void)
+ #error Please define GTA01 version
+ #endif
+ 
++      i2c_init(CFG_I2C_SPEED, CFG_I2C_SLAVE);
++      int1 = pcf50606_reg_read(PCF50606_REG_INT1);
++      if (!(int1 & VALID_WAKEUP_REASONS) && !neo1973_aux_key_pressed()) {
++              pcf50606_reg_write(PCF50606_REG_OOCC1, PCF50606_OOCC1_GOSTDBY);
++              while (1);
++      }
++
+       /* arch number of SMDK2410-Board */
+       gd->bd->bi_arch_number = MACH_TYPE_NEO1973;
+ 
+@@ -200,7 +211,7 @@ int board_late_init(void)
+       pcf50606_init();
+ 
+       /* obtain wake-up reason, save INT1 in environment */
+-      tmp = pcf50606_reg_read(PCF50606_REG_INT1);
++      tmp = int1; //pcf50606_reg_read(PCF50606_REG_INT1);
+       sprintf(buf, "0x%02x", tmp);
+       setenv("pcf50606_int1", buf);
+ 




--- End Message ---
_______________________________________________
commitlog mailing list
[email protected]
http://lists.openmoko.org/mailman/listinfo/commitlog

Reply via email to