I want to search through my .appimage file to find an update struct before I flash the .appimage to the QSPI. Is there a way to make sure that the struct is stored at a certain offset or something similar in the .appimage?
Thanks
This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
I want to search through my .appimage file to find an update struct before I flash the .appimage to the QSPI. Is there a way to make sure that the struct is stored at a certain offset or something similar in the .appimage?
Thanks
Hi Jett Ptacek,
To parse out the structure in an app image is very very difficult. Let me go through this and get back to you on this.
Best Regards,
Aakash
Hi Jett Ptacek,
A few questions -
1. Is the structure part of data section or the bss section ?
This is because .appimage only stores the load sections. So if the structure is part of noload sections like bss will be a problem.
2. If it is part of data section, then could you try to put it in some separate "isolated" section.
If this happens, it will be very easy to identify the structure from the RPRC.
Best Regards,
Aakash
It is a part of the data section.
I can find it in the app image, but I was wondering if I can force it into a certain location in the app image. As it takes too much time to find it.
Hi Jett Ptacek,
I have analyzed the possibility but app image is an post build step and you cannot use the sections in your build-time to be used as a part of post build. Even if you move it to a specific section, you cannot make sure it remains at constant offset in an App Image.
Best Regards,
Aakash