Changeset 1441

Show
Ignore:
Timestamp:
12/01/11 03:09:27 (6 months ago)
Author:
philmoz
Message:

Fix for dump_memory function, plus inclusion of A410 BETA in the autobuild for firmware 1.00e and 1.00f (from srsa_4c).
 http://chdk.setepontos.com/index.php?topic=650.msg76988#msg76988

Location:
trunk
Files:
5 modified

Legend:

Unmodified
Added
Removed
  • trunk/camera_list.csv

    r1439 r1441  
    55a3000,100c,BETA,, 
    66a3000,100d,BETA,, 
     7a410,100f,BETA,100e, 
    78a430,100b,BETA,,SKIP_AUTOBUILD 
    89a450,100d,,, 
  • trunk/core/main.c

    r1352 r1441  
    3636    fd = open(fn, O_WRONLY|O_CREAT, 0777); 
    3737    if (fd) { 
    38 #ifdef CAMERA_ixus65_sd630    // Zero is not readable on ixus65! 
    39         write(fd, (int*)0xFFFF0000, 4); 
    40         write(fd, (int*)4, 0x1900-4); 
    41 #else 
    42         write(fd, (void*)0, 0x1900); 
    43 #endif 
    44         // TODO actual memory size is larger than 32 MB on many cameras! 
    45         write(fd, (void*)0x1900, 32*1024*1024-0x1900); 
     38        long val0 = *((long*)(0|CAM_UNCACHED_BIT)); 
     39        write(fd, &val0, 4); 
     40        write(fd, (void*)4, MAXRAMADDR-3);   // MAXRAMADDR is last valid RAM location 
    4641        close(fd); 
    4742    } 
  • trunk/makefile.inc

    r1367 r1441  
    2323PLFLAGS+=-DMAXRAMADDR=$(MAXRAMADDR) 
    2424else 
    25 PLFLAGS+=-DMAXRAMADDR=0x2000000 
     25PLFLAGS+=-DMAXRAMADDR=0x1FFFFFF 
    2626endif 
    2727ifdef ROMBASEADDR 
  • trunk/platform/a410/sub/100f/makefile.inc

    r1226 r1441  
    44PLATFORMOS=vxworks 
    55 
     6MAXRAMADDR=0xffffff 
    67MEMBASEADDR=0x1900 
    78RESTARTSTART=0x50000 
  • trunk/platform/a430/sub/100b/makefile.inc

    r1376 r1441  
    44PLATFORMOS=vxworks 
    55 
     6MAXRAMADDR=0xffffff 
    67MEMBASEADDR=0x1900 
    78RESTARTSTART=0x50000