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.
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,
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,
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?