nxpimage: how to accept input file on command line instead of config entry

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

nxpimage: how to accept input file on command line instead of config entry

ソリューションへジャンプ
800件の閲覧回数
mastupristi
Senior Contributor I

Hi,

.bd file has the following entry:

sources {
    elfFile = extern(0);
}

doing this nxpimage expects the name of the input file on the command line.
How can I achieve the same behavior using .yaml files?

 

regards

Max

タグ(2)
0 件の賞賛
返信
1 解決策
770件の閲覧回数
nxf93270
NXP Employee
NXP Employee

Hi @mastupristi ,

The nxpimage -> hab application supports both bd files and YAML configuration files. The bd file support is primarily intended as a backward compatibility solution for customers transitioning from elftosb to spsdk. I recommend using YAML configurations, as this is the standard format across all spsdk applications.

Unfortunately, passing the input image via the command line when using YAML configuration is not currently supported.

However, we are exploring the possibility of allowing users to override any configuration parameter across all spsdk applications. If implemented, this would enable you to specify the elfFile as a command line parameter when using a YAML file. Please note that this feature has not yet been developed.

 

Let me know if you need any further adjustments!

元の投稿で解決策を見る

0 件の賞賛
返信
1 返信
771件の閲覧回数
nxf93270
NXP Employee
NXP Employee

Hi @mastupristi ,

The nxpimage -> hab application supports both bd files and YAML configuration files. The bd file support is primarily intended as a backward compatibility solution for customers transitioning from elftosb to spsdk. I recommend using YAML configurations, as this is the standard format across all spsdk applications.

Unfortunately, passing the input image via the command line when using YAML configuration is not currently supported.

However, we are exploring the possibility of allowing users to override any configuration parameter across all spsdk applications. If implemented, this would enable you to specify the elfFile as a command line parameter when using a YAML file. Please note that this feature has not yet been developed.

 

Let me know if you need any further adjustments!

0 件の賞賛
返信