Skip to content

[HELP] Make nxboot img_header public? #3066

@TimJTi

Description

@TimJTi

Description

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 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).

As an aside, these should be appended with _s but aren't currently, along with many others, I think?

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?

Verification

  • I have verified before submitting the report.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions