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,452 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
1,303 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
1,304 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
1,281 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,418 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,442 Views
MaximeGPwrx
Contributor II

I just add that I use the S32DS 3.6.5 RFP.

0 Kudos
Reply
%3CLINGO-SUB%20id%3D%22lingo-sub-2331377%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3EHow%20to%20generate%20the%20boot%20loader%20in%20cli%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2331377%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EThis%20is%20my%20command%20%3A%3CBR%20%2F%3E%3CBR%20%2F%3Eubuntu%40maxime-NucBox-K10%3A%2Fusr%2Flocal%2FNXP%2FS32DS%2Feclipse%24%20.%2Fs32ds%20%5C%3C%2FP%3E%3CP%3E-noSplash%20%5C%3C%2FP%3E%3CP%3E-configuration%20%2Fhome%2Fubuntu%2Fhts%2Foutput%2Fnxp%2Fbsp%2Fs32ds%2Fconfiguration%20%5C%3C%2FP%3E%3CP%3E-data%20%2Fhome%2Fubuntu%2Fhts%2Foutput%2Fnxp%2Fbsp%2Fs32ds%2Fworkspace%20%5C%3C%2FP%3E%3CP%3E-application%20com.nxp.swtools.framework.application%20%5C%3C%2FP%3E%3CP%3E--launcher.ini%20%2Fusr%2Flocal%2FNXP%2FS32DS%2Feclipse%2Fs32ds.ini%20%5C%3C%2FP%3E%3CP%3E-HeadlessTool%20IVT%20%5C%3C%2FP%3E%3CP%3E-raw_binary%20%2Fhome%2Fubuntu%2Fhts%2Foutput%2Fgenerated%2Fapp_qspi.bin%20%5C%3C%2FP%3E%3CP%3E-start_pointer_addr%200x34000000%20%5C%3C%2FP%3E%3CP%3E-entry_pointer_addr%200x34500400%20%5C%3C%2FP%3E%3CP%3E-ExportAB%20%2Fhome%2Fubuntu%2Fhts%2Foutput%2Fgenerated%2Fbootloader_qspi.bin%20%5C%3C%2FP%3E%3CP%3E-SDKVersion%20PlatformSDK_S32XX_4_0_0%20%5C%3C%2FP%3E%3CP%3E-MCU%20S32G274A_Rev2%3CBR%20%2F%3E%3CBR%20%2F%3EI%20know%20that%20the%20blob%20command%20come%20after.%20Yet%2C%20I%20just%20want%20to%20create%20the%20boot%20loader%20app%3CBR%20%2F%3E%3CBR%20%2F%3E%3CBR%20%2F%3EI%20don't%20understand%20what%20is%20wrong%20in%20my%20command.%3CBR%20%2F%3EEvery%20folder%2Ffile%20exist.%3CBR%20%2F%3E%3CBR%20%2F%3EThis%20is%20my%20last%20log%20%3A%3CBR%20%2F%3E%3CBR%20%2F%3EMar%2012%2C%202026%2010%3A43%3A25%20AM%20com.nxp.swtools.utils.scripting.internal.ScriptApi%20logInfo%3CBR%20%2F%3EINFO%3A%20%5BCODEGEN%5D%20Duration%20for%20%22I2c_Ip_CfgDefines.h%22%3A%2021.871747ms%3CBR%20%2F%3EMar%2012%2C%202026%2010%3A43%3A25%20AM%20com.nxp.swtools.utils.scripting.internal.ScriptApi%20logInfo%3CBR%20%2F%3EINFO%3A%20%5BCODEGEN%5D%20Generating%20file%20%22Siul2_Dio_Ip_Cfg.h%22%3CBR%20%2F%3EMar%2012%2C%202026%2010%3A43%3A25%20AM%20com.nxp.swtools.utils.scripting.internal.ScriptApi%20logInfo%3CBR%20%2F%3EINFO%3A%20%5BCODEGEN%5D%20Duration%20for%20%22Siul2_Dio_Ip_Cfg.h%22%3A%207.381366ms%3CBR%20%2F%3EMar%2012%2C%202026%2010%3A43%3A25%20AM%20com.nxp.swtools.utils.ConfigurationUtils%20getEclipseProject%3CBR%20%2F%3ESEVERE%3A%20Cannot%20get%20container%20for%20IPath%20%2Fhome%2Fubuntu%2Fhts%2Fbsp-hts.mex%3CBR%20%2F%3ESEVERE%3A%20ERROR%20-%20Export%20AB%20file%3A%20The%20imported%20image%20is%20not%20complete.%20%5BIVTCmdApplication.exportApplicationBootloaderImage%5D%3CBR%20%2F%3ESEVERE%3A%20%5BTOOL%5D%20Application%20Bootloader%20Image%20Export%20failed.%20%5BIVTCmdApplication.logResult%5D%3CBR%20%2F%3EWARNING%3A%20%5BDATA%5D%20Dependency%20source%20(from%20javascript)%20contains%20.%20as%20separator%20instead%20of%20%3A%20Pins.BOARD_InitPins%20%5BScriptDependencyHelper.addDependency%5D%3CBR%20%2F%3EWARNING%3A%20%5BDATA%5D%20Dependency%20source%20(from%20javascript)%20contains%20.%20as%20separator%20instead%20of%20%3A%20Pins.BOARD_InitPins%20%5BScriptDependencyHelper.addDependency%5D%3CBR%20%2F%3EWARNING%3A%20%5BDATA%5D%20Dependency%20source%20(from%20javascript)%20contains%20.%20as%20separator%20instead%20of%20%3A%20Pins.BOARD_InitPins%20%5BScriptDependencyHelper.addDependency%5D%3CBR%20%2F%3EWARNING%3A%20%5BDATA%5D%20Dependency%20source%20(from%20javascript)%20contains%20.%20as%20separator%20instead%20of%20%3A%20Pins.BOARD_InitPins%20%5BScriptDependencyHelper.addDependency%5D%3CBR%20%2F%3EWARNING%3A%20%5BDATA%5D%20Dependency%20source%20(from%20javascript)%20contains%20.%20as%20separator%20instead%20of%20%3A%20Pins.BOARD_InitPins%20%5BScriptDependencyHelper.addDependency%5D%3CBR%20%2F%3EWARNING%3A%20%5BDATA%5D%20Dependency%20source%20(from%20javascript)%20contains%20.%20as%20separator%20instead%20of%20%3A%20Pins.BOARD_InitPins%20%5BScriptDependencyHelper.addDependency%5D%3CBR%20%2F%3EWARNING%3A%20%5BDATA%5D%20Dependency%20source%20(from%20javascript)%20contains%20.%20as%20separator%20instead%20of%20%3A%20Pins.BOARD_InitPins%20%5BScriptDependencyHelper.addDependency%5D%3CBR%20%2F%3E%3CBR%20%2F%3EIt%20never%20create%20my%20file.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2331872%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%20translate%3D%22no%22%3ERe%3A%20How%20to%20generate%20the%20boot%20loader%20in%20cli%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2331872%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EHello%26nbsp%3B%3CA%20href%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F260641%22%20target%3D%22_blank%22%3E%40MaximeGPwrx%3C%2FA%3E%2C%3C%2FP%3E%0A%3CP%3EThanks%20for%20reaching%20out%20to%20us.%20I%20will%20try%20to%20copy%20your%20setup%20to%20test%20on%20my%20side%2C%20for%20that%2C%20please%20share%20the%20following%3A%3C%2FP%3E%0A%3CUL%3E%0A%3CLI%3ERTD%20version%3C%2FLI%3E%0A%3CLI%3EUbuntu%20version%3C%2FLI%3E%0A%3CLI%3EGeneral%20file%20structure%20of%20your%20project%20and%20workspace%3C%2FLI%3E%0A%3CLI%3EAny%20other%20relevant%20information%20of%20your%20generation%2Fbuild%20process.%3C%2FLI%3E%0A%3C%2FUL%3E%0A%3CP%3EThanks%20in%20advance.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2331389%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%20translate%3D%22no%22%3ERe%3A%20How%20to%20generate%20the%20boot%20loader%20in%20cli%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2331389%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EI%20just%20add%20that%20I%20use%20the%20S32DS%203.6.5%20RFP.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2333706%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%20translate%3D%22no%22%3ERe%3A%20How%20to%20generate%20the%20boot%20loader%20in%20cli%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2333706%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EThe%20problem%20was%20coming%20from%20the%20order%20of%20the%20option.%20It%20should%20be%20that%20way%20%3A%3C%2FP%3E%3CBR%20%2F%3E%3CP%3E-SDKVersion%20PlatformSDK_S32XX_4_0_0%20%5C%3C%2FP%3E%3CP%3E-MCU%20S32G274A_Rev2%3C%2FP%3E%3CP%3E-ExportAB%20%2Fhome%2Fubuntu%2Fhts%2Foutput%2Fgenerated%2Fbootloader_qspi.bin%20%5C%3C%2FP%3E%3CP%3E-raw_binary%20%2Fhome%2Fubuntu%2Fhts%2Foutput%2Fgenerated%2Fapp_qspi.bin%20%5C%3C%2FP%3E%3CP%3E-start_pointer_addr%200x34000000%20%5C%3C%2FP%3E%3CP%3E-entry_pointer_addr%200x34500400%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2334206%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%20translate%3D%22no%22%3ERe%3A%20How%20to%20generate%20the%20boot%20loader%20in%20cli%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2334206%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EHello%26nbsp%3B%3CA%20href%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F260641%22%20target%3D%22_blank%22%3E%40MaximeGPwrx%3C%2FA%3E%2C%3C%2FP%3E%0A%3CP%3EThanks%20for%20letting%20me%20know%20you%20were%26nbsp%3B%20able%20to%20solve%20your%20issue.%3C%2FP%3E%0A%3CP%3EIf%20you%20have%20any%20other%20problem%20in%20the%20future%20please%20create%20a%20new%20post%20an%20me%20or%20one%20of%20my%20colleagues%20will%20support%20you.%26nbsp%3B%3C%2FP%3E%0A%3CBR%20%2F%3E%0A%3CP%3EThanks.%3C%2FP%3E%3C%2FLINGO-BODY%3E