@fe50 - I don't pretend to understand how this would occur but I'll tell you what I found.
The stubs_entry.S that you generated for the
sd780 seems to have a consistent offset in their location.
The 4th digit is always off by 1. So for AllocateMemory 0xffa3df5c is correct but the file has 0xffa4df5c....
I think it's because I included some padding in the front of the firmware dump....My padding is exactly the size of the offset.
I have attached the working stubs_entry.S
Harpo
Mine:
// !!! THIS FILE IS GENERATED. DO NOT EDIT. !!!
#include "stubs_asm.h"
NSTUB(AllocateMemory, 0xffa3df5c)
NSTUB(AllocateUncacheableMemory, 0xff82744π
NSTUB(Close, 0xff823c9π
NSTUB(CreateTask, 0xff81afac)
NSTUB(DeleteFile_Fut, 0xff823544)
// ERROR: EnterToCompensationEVF is not found!
NSTUB(ExecuteEventProcedure, 0xff86a590)
// ERROR: ExitFromCompensationEVF is not found!
// Best match: 57%
NSTUB(ExitTask, 0xff81b23c)
NSTUB(Fclose_Fut, 0xff8236c0)
NSTUB(Feof_Fut, 0xff8238ac)
NSTUB(Fflush_Fut, 0xff8238eπ
NSTUB(Fgets_Fut, 0xff823814)
NSTUB(Fopen_Fut, 0xff823680)
NSTUB(Fread_Fut, 0xff82376c)
NSTUB(FreeMemory, 0xffa3df54)
Yours
NSTUB(AllocateMemory, 0xffa4df5c)
NSTUB(AllocateUncacheableMemory, 0xff83744π
NSTUB(Close, 0xff833c9π
NSTUB(CreateTask, 0xff82afac)
NSTUB(DeleteFile_Fut, 0xff833544)
// ERROR: EnterToCompensationEVF is not found!
NSTUB(ExecuteEventProcedure, 0xff87a590)
// ERROR: ExitFromCompensationEVF is not found!
// Best match: 57%
NSTUB(ExitTask, 0xff82b23c)
NSTUB(Fclose_Fut, 0xff8336c0)
NSTUB(Feof_Fut, 0xff8338ac)
NSTUB(Fflush_Fut, 0xff8338eπ
NSTUB(Fgets_Fut, 0xff833814)
NSTUB(Fopen_Fut, 0xff833680)
NSTUB(Fread_Fut, 0xff83376c)
NSTUB(FreeMemory, 0xffa4df54)