ROM Map

Started by nanomad, April 16, 2013, 10:26:17 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

nanomad

Unless I got everything backwards, I'm not quite sure that the FW check we have in reboot-all.c and reboot.c is gonna work with DigicV(+) cameras.

Today I discovered that checksumming from FF010000 on the 650D leads to false positives. Two cameras had a signature that was slightly different but that could run ML without issues.  Moreover, the automatic firmware dumps seems to be completely useless (ROM0 and ROM1 contain mostly 0xFF or 0x00)

Isn't all this related to the fact that the ROM base address is different?

650D.101/Makefile:ROMBASEADDR = 0xFF0C0000
6D.113/Makefile:ROMBASEADDR = 0xFF0C0000
5D3.113/Makefile:ROMBASEADDR = 0xFF0C0000
EOSM.106/Makefile:ROMBASEADDR = 0xFF0C0000
6D.112/Makefile:ROMBASEADDR = 0xFF0C0000
EOS 1100D | EOS 650 (No, I didn't forget the D) | Ye Olde Canon EF Lenses ('87): 50 f/1.8 - 28 f/2.8 - 70-210 f/4 | EF-S 18-55 f/3.5-5.6 | Metz 36 AF-5

1%

What about fw signature .c?

This works on 6D:


f = FIO_CreateFileEx(CARD_DRIVE "ML/LOGS/ROM0.BIN");
    if (f != (void*) -1)
    {
        bmp_printf(FONT_LARGE, 0, 60, "Writing ROM0");
        //~ FIO_WriteFile(f, (void*) 0xF0000000, 0x01000000);
        FIO_WriteFile(f, (void*) 0xf0800000, 0x007FE000);
        FIO_CloseFile(f);
    }
    msleep(200);

    f = FIO_CreateFileEx(CARD_DRIVE "ML/LOGS/ROM1.BIN");
    if (f != (void*) -1)
    {
        bmp_printf(FONT_LARGE, 0, 60, "Writing ROM1");
        //~ FIO_WriteFile(f, (void*) 0xF8000000, 0x01000000);
        FIO_WriteFile(f, (void*) 0xF8000000, 0x00ffffff);
        FIO_CloseFile(f);
    }

a1ex

Quote
F0000000 - F0FFFFFF: eos.rom0
F1000000 - F1FFFFFF: eos.rom0_mirror_F1
F2000000 - F2FFFFFF: eos.rom0_mirror_F2
F3000000 - F3FFFFFF: eos.rom0_mirror_F3
F4000000 - F4FFFFFF: eos.rom0_mirror_F4
F5000000 - F5FFFFFF: eos.rom0_mirror_F5
F6000000 - F6FFFFFF: eos.rom0_mirror_F6
F7000000 - F7FFFFFF: eos.rom0_mirror_F7
F8000000 - F8FFFFFF: eos.rom1
F9000000 - F9FFFFFF: eos.rom1_mirror_F9
FA000000 - FAFFFFFF: eos.rom1_mirror_FA
FB000000 - FBFFFFFF: eos.rom1_mirror_FB
FC000000 - FCFFFFFF: eos.rom1_mirror_FC
FD000000 - FDFFFFFF: eos.rom1_mirror_FD
FE000000 - FEFFFFFF: eos.rom1_mirror_FE
FF000000 - FFFFFFFF: eos.rom1_mirror_FF
C0000000 - CFFFFFFF: eos.iomem

nanomad

EOS 1100D | EOS 650 (No, I didn't forget the D) | Ye Olde Canon EF Lenses ('87): 50 f/1.8 - 28 f/2.8 - 70-210 f/4 | EF-S 18-55 f/3.5-5.6 | Metz 36 AF-5

1%

fw-signature.h

I'm having boot up problems on 113... ti loads, draws battery icon and then freezes screen.

Would restartrestart change for new versions?

nanomad

Quote from: 1% on April 16, 2013, 11:13:59 PM
fw-signature.h

The signature in the header file is correct for my camera but wrong for another. Both camears run ML just fine and the ROM code  starting from FF0C is the same
EOS 1100D | EOS 650 (No, I didn't forget the D) | Ye Olde Canon EF Lenses ('87): 50 f/1.8 - 28 f/2.8 - 70-210 f/4 | EF-S 18-55 f/3.5-5.6 | Metz 36 AF-5