Hi,
I am experiencing some problems with nxpimage. It seems that it cannot retrieve the entry point from the elf or srec files.
Note that both files (are attached) contains entry point:


my configuration file is this:
# =========================================== HAB converted configuration ============================================
# ======================================================================================================================
# == General Options ==
# ======================================================================================================================
# ------------------------------------------===== HAB Options [Required] =====------------------------------------------
# Description: An options block contains zero or more name/value pairs and the option settings that assign values to
# global options used by the nxpimage to control the generation of the output file.
options:
# -----------------------------------===== HAB flags [Conditionally required] =====-----------------------------------
# Description: HAB flags. 0x0 for unsigned, 0x08 signed, 0x0C encrypted.
flags: 0
# ------------------------------===== Image start address [Conditionally required] =====------------------------------
# Description: First address of the bootable image in the target memory.
startAddress: 0x30000000
# ----------------------------------===== IVT Offset [Conditionally required] =====-----------------------------------
# Description: Offset of IVT table(beginning of HAB container) from startAddress. This option can be omitted if family
# and bootDevice are specified.
ivtOffset: 4096
# -------------------------------===== Initial Load size [Conditionally required] =====-------------------------------
# Description: Size of the segments(such as IVT, BDT, DCD, XMCD) placed before the actual application image. The value
# is specific per boot device type. This option can be omitted if family and bootDevice are specified.
initialLoadSize: 8192
# -------------------------------------===== Entry Point address [Optional] =====-------------------------------------
# Description: Reset vector of the application. If not specified, the vector will be automatically detected from the
# input image.
entryPointAddress: 0x30002101
# ======================================================================================================================
# == HAB Input ==
# ======================================================================================================================
# ------------------------------------===== Plain application image [Required] =====------------------------------------
# Description: The input application image in plain BIN, S-REC or ELF.
inputImageFile: ./Rt117xDemo-v0.0.1-alpha.0+d9a7f7f.srec
# ======================================================================================================================
# == CSF Sections ==
# ======================================================================================================================
# -----------------------------------------===== CSF Sections [Optional] =====------------------------------------------
# Description: CSF Sections.
sections: []
the command I run is:
nxpimage hab export -c ./test.yaml -o ./out.bin
the out.bin file correctly contains the entrypoint in the IVT:

But I read this in one comment:

so I can omit the entry point of the .yaml file (i comment it), because nxpimage will be able to retrieve it from elf or srec, right?
By doing this, though, the binary file does not contain the entry point in the IVT:

Where am I going wrong?
I have attached all the files so that you can try.
regards
Max