I managed to dump the rom (0xFF000000 -> 0xFFFFFFFF) from the old camera using the LED, checking every 4096 bytes with crc32 to be sure there where no transmission errors.
Comparing the rom on the new board with that of the old, this is how many bytes differ at which addresses:
Is there a function for copying data from memory to rom? I know of the one used by setbootdisk which only writes one byte of a time, which I guess should work.
Edit: Found erase_rom_section(adr) at 0xff1e94d4 and write_to_rom(to_adr, from_adr, length) at 0xff1e93c0. I guess I'll test them at an empty area of the nvram first and see.
Comparing the rom on the new board with that of the old, this is how many bytes differ at which addresses:
Code Select
0xff000000 - 00020
0xffa10000 - 00648
0xffa20000 - 10286
0xffa30000 - 01694
0xffa50000 - 00472
0xffa90000 - 00306
0xffb10000 - 43062
0xffb20000 - 64175
0xffb30000 - 64128
0xffb40000 - 64353
0xffb50000 - 36824
0xffb60000 - 33834
0xffb70000 - 16917
0xffbf0000 - 24136
0xffc00000 - 35853
0xffc10000 - 35824
0xffc20000 - 35656
0xffc30000 - 35684
0xffc40000 - 20717
0xffc50000 - 00010
0xffc60000 - 25037
0xffc70000 - 40493
0xffc80000 - 64618
0xffc90000 - 64606
0xffca0000 - 56450
0xffcf0000 - 48082
0xffea0000 - 59049
0xffeb0000 - 65416
Is there a function for copying data from memory to rom? I know of the one used by setbootdisk which only writes one byte of a time, which I guess should work.
Edit: Found erase_rom_section(adr) at 0xff1e94d4 and write_to_rom(to_adr, from_adr, length) at 0xff1e93c0. I guess I'll test them at an empty area of the nvram first and see.