Is kobs-ng extract command correct?

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

Is kobs-ng extract command correct?

1,260 次查看
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 回复数

1,080 次查看
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 项奖励
回复

1,080 次查看
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 项奖励
回复

1,080 次查看
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 项奖励
回复