=== modified file 'firmware/target/arm/ipod/power-ipod.c' --- firmware/target/arm/ipod/power-ipod.c 2010-03-24 23:43:47 +0000 +++ firmware/target/arm/ipod/power-ipod.c 2010-03-28 21:25:29 +0000 @@ -29,9 +29,6 @@ #include "usb.h" #include "lcd.h" #include "string.h" -#if CONFIG_CPU == PP5022 || CONFIG_CPU == PP5020 -#include "rtc.h" -#endif void power_init(void) { @@ -167,26 +164,17 @@ #endif #ifndef BOOTLOADER -#if CONFIG_CPU == PP5022 || CONFIG_CPU == PP5020 - /* When shut down by OF, wakeup via alarm is enabled. This resets the - alarm time so an unintended wakeup does not occur. */ - if (!(pcf50605_wakeup_flags & 0x10)) - rtc_enable_alarm(false); -#endif -#if defined(IPOD_1G2G) +#ifdef IPOD_1G2G /* we cannot turn off the 1st gen/ 2nd gen yet. Need to figure out sleep mode. */ system_reboot(); -#elif CONFIG_CPU == PP5022 - /* The OF in flash assumes boot failed because the battery is low. - If there is no charger connected, this leads to a shutdown. - */ - memcpy((void *)(0x4001ff00+8), "booting!", 8); - system_reboot(); +#else + /* We don't turn off the ipod, we put it in a deep sleep */ + /* Clear latter part of iram to ensure OF behaves properly on boot */ +#if CONFIG_CPU == PP5022 + memset((void*)0x4000c000, 0, 0x14000); #elif CONFIG_CPU == PP5020 - memcpy((void *)(0x40017f00+8), "booting!", 8); - system_reboot(); -#else - /* We don't turn off the ipod, we put it in a deep sleep */ + memset((void*)0x4000c000, 0, 0xc000); +#endif pcf50605_standby_mode(); #endif #endif === modified file 'manual/rockbox_interface/main.tex' --- manual/rockbox_interface/main.tex 2010-03-20 15:35:12 +0000 +++ manual/rockbox_interface/main.tex 2010-03-24 23:47:45 +0000 @@ -495,12 +495,6 @@ \label{ref:Safeshutdown}On shutdown, Rockbox automatically saves its settings. -\opt{ipod4g,ipodcolor,ipodvideo,ipodnano,ipodmini}{% - A low-battery symbol may appear briefly on the screen during shutdown. This - is a side effect of the shutdown process and does not mean the battery is - actually low. -}% - \opt{IRIVER_H100_PAD,IRIVER_H300_PAD,IAUDIO_X5_PAD,SANSA_E200_PAD% ,SANSA_C200_PAD,IRIVER_H10_PAD,IPOD_4G_PAD,GIGABEAT_PAD}{% If you have problems with your settings, such as accidentally having