Ok, had to fix some issues with my computer, but here's an update.
I'm using the latest code from your repo & the guacamole.patch. When I run make rebuild-stubs I still get // NEED_ENCODED_DISKBOOT = ? Not found, possible new 'dancing bits' entry needed. // Found @ 0xffff399c
in my stubs_entry.S, but I CAN compile the DISKBOOT.BIN with make clean fir. I do see a couple assembler messages, though:
>> Entering to platform/sx510hs/sub/101a
boot.c -> boot.o
/var/folders/pz/yh03kz357m59g900v_m568c80000gp/T//cc5Jsnm9.s: Assembler messages:
/var/folders/pz/yh03kz357m59g900v_m568c80000gp/T//cc5Jsnm9.s:41: Warning: (null)
stubs_min.S -> stubs_min.o
...
/var/folders/pz/yh03kz357m59g900v_m568c80000gp/T//ccgKmTvi.s: Assembler messages:
/var/folders/pz/yh03kz357m59g900v_m568c80000gp/T//ccgKmTvi.s:59: Warning: (null)
blobs.S -> blobs.o
-> main.elf
main.elf -> main.bin
<< Leaving loader/sx510hs
dance -> DISKBOOT.BIN ver 11
**** Firmware creation completed successfully
and I still can't boot the camera with the new DISKBOOT.BIN. Still hangs until I remove & reinsert the battery.