allow to specify the ROM version explicitly #5
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Based on: https://github.com/benavrhm/kobs-ng-patches
This patch to kobs-ng allows you to specify the ROM version explicitly using a
command line parameter. For example "kobs-ng -r mx28 init ...".
Using this patch allows you to avoid the broken heuristic on /proc/cpuinfo
in src/plat_boot_config.c:discover_boot_rom_version() that results in the
lame message:
"Couldn't find Boot ROM version
We can not find the right ROM version!"
There is in fact no connection between the content of /proc/cpuinfo and the
SoC ROM version, except in some particular versions of the kernel that were
distributed by Freescale some time ago.
This patch was made for version kobs-ng-3.0.35-4.0.0 that is used in
buildroot-2013.11.
I place this patch in the public domain in the hope that it will be useful,
but there is no warranty. You use this patch at your own risk.
Jonathan Ben-Avraham [email protected]