Open main menu

DAVE Developer's Wiki β

Changes

DESK-MX6-L/Development/Building Linux kernel

620 bytes added, 14:40, 23 February 2022
Update Linux sources for DESK-MX6-L v3.0.0 release for SBCX platform
| style="border-left:solid 2px #73B2C7; border-right:solid 2px #73B2C7;border-top:solid 2px #73B2C7; border-bottom:solid 2px #73B2C7; background-color:#edf8fb; padding:5px; color:#000000" |Apr 2021
| style="border-left:solid 2px #73B2C7; border-right:solid 2px #73B2C7;border-top:solid 2px #73B2C7; border-bottom:solid 2px #73B2C7; background-color:#edf8fb; padding:5px; color:#000000" |First DESK release
|-
| style="border-left:solid 2px #73B2C7; border-right:solid 2px #73B2C7;border-top:solid 2px #73B2C7; border-bottom:solid 2px #73B2C7; background-color:#edf8fb; padding:5px; color:#000000" |3.0.0
| style="border-left:solid 2px #73B2C7; border-right:solid 2px #73B2C7;border-top:solid 2px #73B2C7; border-bottom:solid 2px #73B2C7; background-color:#edf8fb; padding:5px; color:#000000" |Feb 2022
| style="border-left:solid 2px #73B2C7; border-right:solid 2px #73B2C7;border-top:solid 2px #73B2C7; border-bottom:solid 2px #73B2C7; background-color:#edf8fb; padding:5px; color:#000000" |3.0.0 DESK release
|}
<section end="History" />
|-
! stable branch
| desk-mx6-l-13.x.x
|-
! stable tag
| desk-mx6-l-13.0.0
|}
|-
! SBCX
| imx6qimx6dl-sbcx-cb0012.dtb
|}
<pre class="workstation-terminal">
source ~/desk-mx-l/desk-mx6-l-13.0.0_env.sh
</pre>
<pre class="workstation-terminal">
make imx_v7_desk_defconfig
make UIMAGE_LOADADDR=0x10008000 uImage imx6qimx6dl-sbcx-cb0012.dtb
</pre>
</pre>
Usually, kernel modules are installed with <code>make modules_install</code> command, but this method installs the modules into the <code>/lib/modules</code> directory of you your MVM, which is not what you want.
A better way to deploy kernel modules while cross-compiling is
<pre class="workstation-terminal">
make modules
mkdir modules-install
make INSTALL_MOD_PATH=modules-install modules_install
devwiki_user
120
edits