Thanks for the input everyone. Discussion was very useful and here <https://github.com/apache/nuttx-apps/pull/3068> is the PR that followed, and did not result in the exposure of the nxboot struct to the kernel

On 05/05/2025 18:53, Alin Jerpelea wrote:
On Tue, Apr 29, 2025 at 7:49 PM Tim Hardisty<timhardist...@gmail.com>
wrote:

I am adding enhancements to my custom image booting software (that
copies the image from flash to internal SDRAM).

As part of that I would like, via PR, to expose /struct
nxboot_img_header/ and it's associated /struct nxboot_hdr_version/ and
/struct nxboot_img_version/ via a public header file
(apps/include/nxboot/nxboot.h).

It will allow me to get the actual image size for copying rather than
the entire "slot" size, as well as to be able to extract the image
version information for use by my app.

Can anyone see any problems with this?

Reply via email to