| Revision 1258,
1.2 KB
checked in by philmoz, 22 months ago
(diff) |
|
Fixes for SX130is.
- Corrected value for get_flash_params_count
- Fixed modemap
- Remove redundant values from platform_camera.h
- Enable screen erase detect logic for menu redraw
- Updated memory size comment in makefile.inc
|
| Line | |
|---|
| 1 | #SX130IS PID
|
|---|
| 2 | #PLATFORMID=0x3211
|
|---|
| 3 | PLATFORMID=12817
|
|---|
| 4 |
|
|---|
| 5 | PLATFORMOS=dryos
|
|---|
| 6 |
|
|---|
| 7 | # Force EXMEM on for sx130is - not enough heap to work in low memory
|
|---|
| 8 | override OPT_EXMEM_MALLOC=1
|
|---|
| 9 | override OPT_CHDK_IN_EXMEM=1
|
|---|
| 10 |
|
|---|
| 11 | # start of firmware
|
|---|
| 12 | ROMBASEADDR=0xFF810000
|
|---|
| 13 |
|
|---|
| 14 | # highest RAM address
|
|---|
| 15 | MAXRAMADDR=0x03FFFFFF
|
|---|
| 16 |
|
|---|
| 17 | # address where wif or diskboot code will be loaded by camera
|
|---|
| 18 | MEMBASEADDR=0x1900
|
|---|
| 19 |
|
|---|
| 20 | # size of memory region for CHDK
|
|---|
| 21 | RESTARTSTART=0x50000
|
|---|
| 22 |
|
|---|
| 23 | # Set up size variables for EXMEM
|
|---|
| 24 | EXMEM_HEAP_SKIP=0x2F7600 #(0x44000000-0x43D08A00) from sub_FF8885CC = size of video buffers in EXMEM area
|
|---|
| 25 | EXMEM_BUFFER_SIZE=0x200000 # Amount of EXMEM memory to allocate for CHDK = 2MB
|
|---|
| 26 |
|
|---|
| 27 | # points to the start of the memory pool used by the firmware
|
|---|
| 28 | ifdef OPT_CHDK_IN_EXMEM
|
|---|
| 29 | MEMISOSTART=0x3b089e0 # MAXRAMADDR+1 - EXMEM_HEAP_SKIP - EXMEM_BUFFER_SIZE - 32 (exmem allocates 64 bytes extra, 32 before and 32 after block allocated)
|
|---|
| 30 | else
|
|---|
| 31 | #MEMISOSTART=0x166210
|
|---|
| 32 | MEMISOSTART=0xF00000
|
|---|
| 33 | endif
|
|---|
| 34 |
|
|---|
| 35 | PLFLAGS=-DMEMBASEADDR=$(MEMBASEADDR) -DMEMISOSTART=$(MEMISOSTART) -DMEMISOSIZE=$(MEMISOSIZE)
|
|---|
| 36 | PLFLAGS+=-DRESTARTSTART=$(RESTARTSTART)
|
|---|
| 37 |
|
|---|
| 38 | NEED_ENCODED_DISKBOOT=5
|
|---|
| 39 | KEYSYS=d4b
|
|---|
| 40 |
|
|---|
| 41 | #firmware 1.01C
|
|---|
| 42 | #d4b key address 0x7E3618
|
|---|
| 43 | #d4b IV key address 0x3EDA0C
|
|---|
| 44 | #16 byte long starting from that point
|
|---|
Note: See
TracBrowser
for help on using the repository browser.