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-06-08 06:50 UTC (5 weeks ago)] – [Problems] fredchankernel_modules [2026-06-08 06:53 UTC (5 weeks ago)] (current) – add info about dockcross permissions problem fredchan
Line 16: Line 16:
   - 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;''
   - Run ''git add .'' and ''git commit''.   - Run ''git add .'' and ''git commit''.
-  - Run ''make LOCALVERSION= -C . modules''+  - Run ''make LOCALVERSION= -C . modules''
 +    * If you are using Dockcross and you are in a bash environment inside the container, you may need to run ''sudo make'' instead of just ''make''.
   - ''scp'' your new kernel module to the PM3 and load it with ''insmod your_module.ko''. If it fails, check ''dmesg'' to see what's wrong.   - ''scp'' your new kernel module to the PM3 and load it with ''insmod your_module.ko''. If it fails, check ''dmesg'' to see what's wrong.
  
kernel_modules.txt · Last modified: by fredchan