1
0
Fork 0
forked from len0rd/rockbox

Turns out you can boot the main build by copying apps/rockbox.bin to /rockbox.mrboot. Something is wrong with the rockbox bootloader, but at least now we can work with the main build. Added in a warning for the core_sleep function

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15162 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
Karl Kurbjun 2007-10-17 05:19:20 +00:00
parent c3584c0d63
commit f6bc19158e
3 changed files with 4 additions and 3 deletions

View file

@ -212,7 +212,7 @@ void main(void)
printf("Loading firmware");
loadbuffer = (unsigned char*) 0x00900000;
buffer_size = (unsigned char*)0x04900000 - loadbuffer;
buffer_size = (unsigned char*)0x01900000 - loadbuffer;
rc = load_firmware(loadbuffer, BOOTFILE, buffer_size);
if(rc < 0)

View file

@ -31,7 +31,7 @@
#define GIO_TS_ENABLE (1<<2)
#define GIO_RTC_ENABLE (1<<12)
struct mutex spi_lock;
struct spinlock spi_lock;
struct SPI_info {
volatile unsigned short *setreg;

View file

@ -608,7 +608,8 @@ static inline void core_sleep(struct thread_entry **waking)
#else
static inline void core_sleep(struct thread_entry **waking)
{
(void) waking;
#warning core_sleep not implemented, battery life will be decreased
}
#endif /* CONFIG_CPU == */