Index: apps/plugins/plugin.lds =================================================================== --- apps/plugins/plugin.lds (revision 17471) +++ apps/plugins/plugin.lds (working copy) @@ -53,10 +53,16 @@ #define DRAMORIG 0x31000000 #define IRAMORIG 0x10010000 #define IRAMSIZE 0x10000 +#elif (defined(PP5022) || defined(PP5024)) +/* PP5022/24 have 128KB of IRAM */ +#define DRAMORIG 0x00000000 +#define IRAMORIG 0x40010000 +#define IRAMSIZE 0x10000 #elif defined(CPU_PP) +/* all other PP's have 96KB of IRAM */ #define DRAMORIG 0x00000000 #define IRAMORIG 0x4000c000 -#define IRAMSIZE 0xc000 +#define IRAMSIZE 0x0c000 #elif CONFIG_CPU == PNX0101 #define DRAMORIG 0xc00000 + STUBOFFSET #define IRAMORIG 0x407000 Index: firmware/target/arm/ipod/app.lds =================================================================== --- firmware/target/arm/ipod/app.lds (revision 17471) +++ firmware/target/arm/ipod/app.lds (working copy) @@ -19,7 +19,13 @@ #define DRAMORIG 0x00000000 + STUBOFFSET #define IRAMORIG 0x40000000 -#define IRAMSIZE 0xc000 +#if (defined(PP5022) || defined(PP5024)) +/* PP5022/24 have 128KB of IRAM */ +#define IRAMSIZE 0x10000 +#else +/* all other PP's have 96KB of IRAM */ +#define IRAMSIZE 0x0c000 +#endif #ifdef CPU_PP502x #define NOCACHE_BASE 0x10000000 Index: firmware/target/arm/sandisk/app.lds =================================================================== --- firmware/target/arm/sandisk/app.lds (revision 17471) +++ firmware/target/arm/sandisk/app.lds (working copy) @@ -19,7 +19,13 @@ #define DRAMORIG 0x00000000 + STUBOFFSET #define IRAMORIG 0x40000000 -#define IRAMSIZE 0xc000 +#if (defined(PP5022) || defined(PP5024)) +/* PP5022/24 have 128KB of IRAM */ +#define IRAMSIZE 0x10000 +#else +/* all other PP's have 96KB of IRAM */ +#define IRAMSIZE 0x0c000 +#endif #ifdef CPU_PP502x #define NOCACHE_BASE 0x10000000