| Revision 1281,
1.2 KB
checked in by pixeldoc2000, 22 months ago
(diff) |
|
ixus300_sd4000 EXMEM stuff added
|
| Line | |
|---|
| 1 | #0x31F7 |
|---|
| 2 | PLATFORMID=12791 |
|---|
| 3 | |
|---|
| 4 | PLATFORMOS=dryos |
|---|
| 5 | |
|---|
| 6 | MEMBASEADDR=0x1900 # address where wif or diskboot code will be loaded by camera, ROM:FF810134 |
|---|
| 7 | RESTARTSTART=0x50000 # size of memory region for CHDK |
|---|
| 8 | MEMISOSTART=0x14B394 # ROM:FF81014C |
|---|
| 9 | ROMBASEADDR=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 |
|---|
| 15 | MAXRAMADDR=0x7ffffff # ROM:FF88A424 0x48000000 - CAM_UNCACHED_BIT 0x40000000 = 0x80000000 - 1 |
|---|
| 16 | EXMEM_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 |
|---|
| 18 | EXMEM_HEAP_SKIP=0x2F7600 # 0x8000000 (RAM) - 0x07D08A00 (Video Buffer Size) ~ 3MB |
|---|
| 19 | |
|---|
| 20 | PLFLAGS=-DMEMBASEADDR=$(MEMBASEADDR) -DMEMISOSTART=$(MEMISOSTART) -DMEMISOSIZE=$(MEMISOSIZE) |
|---|
| 21 | PLFLAGS+=-DRESTARTSTART=$(RESTARTSTART) |
|---|
| 22 | |
|---|
| 23 | # type of diskboot encoding: undefined = none; 1 = original; 2 = sx200, d10; 3 = ixus200... |
|---|
| 24 | # Dancing Bits |
|---|
| 25 | NEED_ENCODED_DISKBOOT=4 |
|---|
| 26 | |
|---|
| 27 | # FIR (requires correct keys in platform/fi2.inc) |
|---|
| 28 | # FI2KEY: ROM:FFFF366C , Offset: 0x7E366C |
|---|
| 29 | # FI2IV: ROM:FFC15130 , Offset: 0x405130 |
|---|
| 30 | KEYSYS=d4a |
|---|
Note: See
TracBrowser
for help on using the repository browser.