Is kobs-ng extract command correct?

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

Is kobs-ng extract command correct?

959件の閲覧回数
andreamarson
Contributor II

Hi all

If I understand correctly the code, I think that the function mtd_load_all_boot_structures is incorrect:

imx-kobs/mtd.c at 228dbb9b1a202892d884bd01985dd3522ad49d59 · NXPmicro/imx-kobs · GitHub 

It assumes that the NCB data structures are always used, no matter which SOC knobs-ng is running on.

I think this function should detect the SOC and behave accordingly instead, as the data structures used by the bootrom have changed over time.

Am I right?

Thanks in advance.

タグ(1)
0 件の賞賛
3 返答(返信)

779件の閲覧回数
gusarambula
NXP TechSupport
NXP TechSupport

Hello Andreamarson,

I will check with the maintainers of this code. It’s true that it seems that the code does not check for the SOC in this step, probably assuming you will provide the right parameters.


Regards,

0 件の賞賛

779件の閲覧回数
gusarambula
NXP TechSupport
NXP TechSupport

Hello Andreamarson,

Just as an update, since this is not an official NXP release the best alternative would be adding a comment or opening an issue directly on the repository.


Regards,

0 件の賞賛

779件の閲覧回数
andreamarson
Contributor II

Hi gusarambula,
thank you for your feedback.

Does NXP provide an official version of kobs-ng supporting all the different versions of i.MX SOC/bootroms?

0 件の賞賛