How to generate the boot loader in cli

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

How to generate the boot loader in cli

Jump to solution
1,098 Views
MaximeGPwrx
Contributor II

This is my command :

ubuntu@maxime-NucBox-K10:/usr/local/NXP/S32DS/eclipse$ ./s32ds \

-noSplash \

-configuration /home/ubuntu/hts/output/nxp/bsp/s32ds/configuration \

-data /home/ubuntu/hts/output/nxp/bsp/s32ds/workspace \

-application com.nxp.swtools.framework.application \

--launcher.ini /usr/local/NXP/S32DS/eclipse/s32ds.ini \

-HeadlessTool IVT \

-raw_binary /home/ubuntu/hts/output/generated/app_qspi.bin \

-start_pointer_addr 0x34000000 \

-entry_pointer_addr 0x34500400 \

-ExportAB /home/ubuntu/hts/output/generated/bootloader_qspi.bin \

-SDKVersion PlatformSDK_S32XX_4_0_0 \

-MCU S32G274A_Rev2

I know that the blob command come after. Yet, I just want to create the boot loader app


I don't understand what is wrong in my command.
Every folder/file exist.

This is my last log :

Mar 12, 2026 10:43:25 AM com.nxp.swtools.utils.scripting.internal.ScriptApi logInfo
INFO: [CODEGEN] Duration for "I2c_Ip_CfgDefines.h": 21.871747ms
Mar 12, 2026 10:43:25 AM com.nxp.swtools.utils.scripting.internal.ScriptApi logInfo
INFO: [CODEGEN] Generating file "Siul2_Dio_Ip_Cfg.h"
Mar 12, 2026 10:43:25 AM com.nxp.swtools.utils.scripting.internal.ScriptApi logInfo
INFO: [CODEGEN] Duration for "Siul2_Dio_Ip_Cfg.h": 7.381366ms
Mar 12, 2026 10:43:25 AM com.nxp.swtools.utils.ConfigurationUtils getEclipseProject
SEVERE: Cannot get container for IPath /home/ubuntu/hts/bsp-hts.mex
SEVERE: ERROR - Export AB file: The imported image is not complete. [IVTCmdApplication.exportApplicationBootloaderImage]
SEVERE: [TOOL] Application Bootloader Image Export failed. [IVTCmdApplication.logResult]
WARNING: [DATA] Dependency source (from javascript) contains . as separator instead of : Pins.BOARD_InitPins [ScriptDependencyHelper.addDependency]
WARNING: [DATA] Dependency source (from javascript) contains . as separator instead of : Pins.BOARD_InitPins [ScriptDependencyHelper.addDependency]
WARNING: [DATA] Dependency source (from javascript) contains . as separator instead of : Pins.BOARD_InitPins [ScriptDependencyHelper.addDependency]
WARNING: [DATA] Dependency source (from javascript) contains . as separator instead of : Pins.BOARD_InitPins [ScriptDependencyHelper.addDependency]
WARNING: [DATA] Dependency source (from javascript) contains . as separator instead of : Pins.BOARD_InitPins [ScriptDependencyHelper.addDependency]
WARNING: [DATA] Dependency source (from javascript) contains . as separator instead of : Pins.BOARD_InitPins [ScriptDependencyHelper.addDependency]
WARNING: [DATA] Dependency source (from javascript) contains . as separator instead of : Pins.BOARD_InitPins [ScriptDependencyHelper.addDependency]

It never create my file.

0 Kudos
Reply
1 Solution
949 Views
MaximeGPwrx
Contributor II

The problem was coming from the order of the option. It should be that way :

 

-SDKVersion PlatformSDK_S32XX_4_0_0 \

-MCU S32G274A_Rev2

-ExportAB /home/ubuntu/hts/output/generated/bootloader_qspi.bin \

-raw_binary /home/ubuntu/hts/output/generated/app_qspi.bin \

-start_pointer_addr 0x34000000 \

-entry_pointer_addr 0x34500400

View solution in original post

0 Kudos
Reply
4 Replies
950 Views
MaximeGPwrx
Contributor II

The problem was coming from the order of the option. It should be that way :

 

-SDKVersion PlatformSDK_S32XX_4_0_0 \

-MCU S32G274A_Rev2

-ExportAB /home/ubuntu/hts/output/generated/bootloader_qspi.bin \

-raw_binary /home/ubuntu/hts/output/generated/app_qspi.bin \

-start_pointer_addr 0x34000000 \

-entry_pointer_addr 0x34500400

0 Kudos
Reply
927 Views
alejandro_e
NXP TechSupport
NXP TechSupport

Hello @MaximeGPwrx,

Thanks for letting me know you were  able to solve your issue.

If you have any other problem in the future please create a new post an me or one of my colleagues will support you. 

 

Thanks.

0 Kudos
Reply
1,064 Views
alejandro_e
NXP TechSupport
NXP TechSupport

Hello @MaximeGPwrx,

Thanks for reaching out to us. I will try to copy your setup to test on my side, for that, please share the following:

  • RTD version
  • Ubuntu version
  • General file structure of your project and workspace
  • Any other relevant information of your generation/build process.

Thanks in advance.

0 Kudos
Reply
1,088 Views
MaximeGPwrx
Contributor II

I just add that I use the S32DS 3.6.5 RFP.

0 Kudos
Reply