Is kobs-ng extract command correct?

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

Is kobs-ng extract command correct?

950 Views
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.

Tags (1)
0 Kudos
3 Replies

770 Views
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 Kudos

770 Views
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 Kudos

770 Views
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 Kudos