12) Back to platform\sx210is\sub\100c\boot.cHere is the hard stuff, unfinished but it compiles, the camera simply restart as expected but nothing else,
I'm just converting the boot sequence from sx200 to the sx210, with some findings and some unresolved items, look at the coments
It is unfished but it someone wants to advance here it is version 0.1 :
http://www.zshare.net/download/79699752e96cf55b/
Also to make it load into the camera, you need to update your
fi2.inc check here:
http://chdk.setepontos.com/index.php/topic,2995.60.html and updated
makefile.inc#PLATFORMID=0x31F6
PLATFORMID=12790
PLATFORMOS=dryos
MEMBASEADDR=0x1900
RESTARTSTART=0x50000
MEMISOSTART=0x152728
ROMBASEADDR=0xFF810000
PLFLAGS=-DMEMBASEADDR=$(MEMBASEADDR) -DMEMISOSTART=$(MEMISOSTART) -DMEMISOSIZE=$(MEMISOSIZE)
PLFLAGS+=-DRESTARTSTART=$(RESTARTSTART)
NEED_ENCODED_DISKBOOT=4
KEYSYS=d4a
-> The change is at this line KEYSYS=d4a
In order to compile, I was unable to generate the new signatures I introduce in boot.c for the file
stubs_auto.S,
I have the primary.bin in the folder, but I keep getting
undefined reference to .... , I partialy solve it including the new references manually to stubs_auto.S, but It rewrites them regularly, and Its a time waster.
Any one knows why I get this error?
If someone need them The signatures until now are:
STUB(FFB5FA88)
STUB(FF813404)
STUB(FF810B20)
STUB(FF815F4C)
STUB(FF815A94)
STUB(FF815B7C)
STUB(FF813BF0)
STUB(FF819C3C)
STUB(FF81167C)
STUB(FF81A244)
STUB(FF834410)
STUB(FF83BF28)
STUB(FF835C04)
STUB(FF83440C)
STUB(FF833AA4)
STUB(FF833C90)
STUB(FF834418)
STUB(FF834414)
STUB(FF83A154)
STUB(FF83A59C)
STUB(FF83A348)
STUB(FF81E83C)
STUB(FF83A2DC)