Changeset 1281


Ignore:
Timestamp:
08/07/11 18:37:51 (3 years ago)
Author:
pixeldoc2000
Message:

ixus300_sd4000 EXMEM stuff added

Location:
trunk/platform/ixus300_sd4000/sub/100d
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/platform/ixus300_sd4000/sub/100d/boot.c

    r1196 r1281  
    190190        "MOV     R0, #0x53000\n" 
    191191        "STR     R0, [SP,#4]\n" 
    192  
    193         //"LDR     R0, =0x14B394\n"            // original 
     192#if defined(OPT_CHDK_IN_EXMEM)                 // use original heap offset since CHDK is loaded in high memory 
     193        "LDR     R0, =0x14B394\n"              // original 
     194                                               // ToDo: change address to put chdk into EXMEM 
     195#else                                          // otherwise use patched value 
    194196        "LDR     R0, =new_sa\n"                // + 
    195197        "LDR     R0, [R0]\n"                   // + 
    196  
     198#endif 
    197199        "LDR     R2, =0x379C00\n" 
    198200        "LDR     R1, =0x3724A8\n" 
  • trunk/platform/ixus300_sd4000/sub/100d/makefile.inc

    r1196 r1281  
    88MEMISOSTART=0x14B394    # ROM:FF81014C 
    99ROMBASEADDR=0xFF810000    # 0xFF810000 for S-, SD-, and G- series 
     10 
     11# EXMEM 
     12# http://chdk.setepontos.com/index.php?topic=5980.msg63834#msg63834 
     13# 128MB RAM (0x80000000) 
     14# s: 7bfffe0 e: 7ffffe0 f: 7d08a00 l: 7ff1efc c: 748800 
     15MAXRAMADDR=0x7ffffff    # ROM:FF88A424 0x48000000 - CAM_UNCACHED_BIT 0x40000000 = 0x80000000 - 1 
     16EXMEM_BUFFER_SIZE=0x400000    # Amount of EXMEM memory to allocate for CHDK = 4MB 
     17#EXMEM_BUFFER_SIZE=0x200000    # Amount of EXMEM memory to allocate for CHDK = 2MB 
     18EXMEM_HEAP_SKIP=0x2F7600   # 0x8000000 (RAM) - 0x07D08A00 (Video Buffer Size) ~ 3MB 
    1019 
    1120PLFLAGS=-DMEMBASEADDR=$(MEMBASEADDR) -DMEMISOSTART=$(MEMISOSTART) -DMEMISOSIZE=$(MEMISOSIZE) 
Note: See TracChangeset for help on using the changeset viewer.