User Tools

Site Tools


kernel_modules

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
kernel_modules [2026-11-23 00:51 UTC (5 days ago)] – add list of crypto modules, link to the IMX tree on github that init built on, qkbkernel_modules [2026-11-23 00:54 UTC (5 days ago)] (current) – clarity on dirty suffixes, and more accurate reference to INIT's configs applied qkb
Line 1: Line 1:
 ====== Kernel Modules ====== ====== Kernel Modules ======
  
-The unit runs ''%%4.9.166-fsl-imx-INIT-004%%'', built from [[https://github.com/nxp-imx/linux-imx|NXP's linux-imx tree]] at tag ''%%v4.9.166%%'', with INIT's patches on top. The running config is ''%%/proc/config.gz%%''. The stock build used OSELAS.Toolchain-2018.12.0 (gcc 8.2.1), per ''%%/proc/version%%''.+The unit runs ''%%4.9.166-fsl-imx-INIT-004%%'', built from [[https://github.com/nxp-imx/linux-imx|NXP's linux-imx tree]] at tag ''%%v4.9.166%%'', with INIT's config and version suffix. The running config is ''%%/proc/config.gz%%''. The stock build used OSELAS.Toolchain-2018.12.0 (gcc 8.2.1), per ''%%/proc/version%%''.
  
 The kernel is uniprocessor. ''%%CONFIG_SMP%%'' is not set, so only CPU0 comes up even though the i.MX6DL has two cores. It is a config choice, not a hardware limit, and it changes what ''%%/proc/cpuinfo%%'' and the scheduler look like: The kernel is uniprocessor. ''%%CONFIG_SMP%%'' is not set, so only CPU0 comes up even though the i.MX6DL has two cores. It is a config choice, not a hardware limit, and it changes what ''%%/proc/cpuinfo%%'' and the scheduler look like:
Line 43: Line 43:
   - Set ''%%EXTRAVERSION = -fsl-imx-INIT-004%%'' in the top-level ''%%Makefile%%''. Take the suffix from ''%%uname -r%%'' if yours differs.   - Set ''%%EXTRAVERSION = -fsl-imx-INIT-004%%'' in the top-level ''%%Makefile%%''. Take the suffix from ''%%uname -r%%'' if yours differs.
   - In ''%%scripts/dtc/dtc-lexer.lex.c%%'' and ''%%scripts/dtc/dtc-lexer.lex.c_shipped%%'', change ''%%YYLTYPE yylloc;%%'' to ''%%extern YYLTYPE yylloc;%%''.   - In ''%%scripts/dtc/dtc-lexer.lex.c%%'' and ''%%scripts/dtc/dtc-lexer.lex.c_shipped%%'', change ''%%YYLTYPE yylloc;%%'' to ''%%extern YYLTYPE yylloc;%%''.
-  - Commit the tree. Uncommitted files add ''%%-dirty%%'' to the version magic.+  - Commit the tree if you leave ''%%CONFIG_LOCALVERSION_AUTO%%'' on; uncommitted files add ''%%-dirty%%''.
   - Build with ''%%make LOCALVERSION= -C . modules%%''. Inside Dockcross you may need ''%%sudo make%%''.   - Build with ''%%make LOCALVERSION= -C . modules%%''. Inside Dockcross you may need ''%%sudo make%%''.
   - ''%%scp%%'' the module over and ''%%insmod%%'' it. If it refuses, check ''%%dmesg%%''.   - ''%%scp%%'' the module over and ''%%insmod%%'' it. If it refuses, check ''%%dmesg%%''.
Line 59: Line 59:
 </code> </code>
  
-The trailing ''%%+%%'' means ''%%CONFIG_LOCALVERSION_AUTO%%'' picked up a git version. ''%%-dirty%%'' means the tree had uncommitted changes. Check:+The suffixes only show up when ''%%CONFIG_LOCALVERSION_AUTO%%'' is on. ''%%+%%'' means it picked up a git version, ''%%-dirty%%'' that the tree had uncommitted changes. Check:
  
   * ''%%CONFIG_LOCALVERSION_AUTO=n%%'' in ''%%.config%%''.   * ''%%CONFIG_LOCALVERSION_AUTO=n%%'' in ''%%.config%%''.
   * ''%%LOCALVERSION=%%'' on the make line.   * ''%%LOCALVERSION=%%'' on the make line.
-  * A clean ''%%git status%%''.+  * A clean ''%%git status%%'', if you left ''%%CONFIG_LOCALVERSION_AUTO%%'' on.
  
kernel_modules.1795395101.txt.gz · Last modified: by qkb