Open main menu

DAVE Developer's Wiki β

Changes

no edit summary
! colspan="4" style="width:100%; text-align:left" ; border-bottom:solid 2px #ededed" |History
|-
! style="border-left:solid 2px #73B2C7; border-right:solid 2px #73B2C7;border-top:solid 2px #73B2C7; border-bottom:solid 2px #73B2C7; background-color:#73B2C7; padding:5px; color:white" |Version! style="border-left:solid 2px #73B2C7; border-right:solid 2px #73B2C7;border-top:solid 2px #73B2C7; border-bottom:solid 2px #73B2C7; background-color:#73B2C7; padding:5px; color:white" |Issue Date! style="border-left:solid 2px #73B2C7; border-right:solid 2px #73B2C7;border-top:solid 2px #73B2C7; border-bottom:solid 2px #73B2C7; background-color:#73B2C7; padding:5px; color:white" |Notes
|-
| 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" |1{{oldid|16137|2022/02/17}}|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-MX8M-L 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" |{{oldid|17542|2023/02/24}}| 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" |DESK-MX8M-L-2.0.0release|-| 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{{oldid|18041|2023/08/22}}| 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-MX8M -L-4.0.0 release|-! style="border-left:solid 2px #73B2C7; border-right:solid 2px #73B2C7;border-top:solid 2px #73B2C7; border-bottom:solid 2px #73B2C7; background-color:#ededed; padding:5px; color:#000000" |2024/04/10! style="border-left:solid 2px #73B2C7; border-right:solid 2px #73B2C7;border-top:solid 2px #73B2C7; border-bottom:solid 2px #73B2C7; background-color:#ededed; padding:5px; color:#000000" |DESK-MX8M-L-4.1.0 release
|-
|}
|-
! stable branch
| desk-mx8m-l-rel-24.0x.0x
|-
! stable tag
| desk-mx8m-l-24.01.0-rc2
|}
|-
| [[SBC Axel SBC | SBC AXEL]]
| imx8mm-mito8mmini-cb100a.dtsbdts
|-
| [[ORCA SBC| SBC ORCA]]
| imx8mp-mito8mplus-cb1001cb1008.dts
|-
|}
It is assumed that the development environment has been set up properly as described [[DESK-MX8M-L#Quick_start_guide|here]].
* start the Linux development VM and login into the system
* open a terminal window and ''cd'' into Linux kernel source <code>linux</code> directory
<pre class="workstation-terminal">
dvdk@vagrant:~$ cd ~/desk-mx-l/linuxdvdk@vagrant:~/desk-mx-l/linux$
</pre>
<pre class="workstation-terminal">
git pull<dvdk@vagrant:~/pre> * checkout the right branch <pre class="workstation-terminal">git checkout desk-mx8mmx-l-rel-2.0.0/linux$ git pull
</pre>
<pre class="workstation-terminal">
source dvdk@vagrant:~/homedesk-mx-l/dvdklinux$ source ~/desk-mx-l/desk-mx8m-l-24.0.0-rc2_env0_env.sh
</pre>
<pre class="workstation-terminal">
dvdk@vagrant:~/desk-mx-l/linux$ make imx_v8_defconfigdvdk@vagrant:~/desk-mx-l/linux$ make -j$(nproc) Image modules freescale/imx8mm-mito8mmini-cb100a.dtb freescale/imx8mp-mito8mplus-cb1001cb1008.dtb
</pre>
'''NOTE''': this is the default configuration suitable for the latest target.
:The former command selects the default DESK-MX8M-L configuration, while the latter builds the kernel binary image with the required uU-boot Boot header and the kernel device tree.
Default Linux kernel configuration can be changed by using the standard <code>menuconfig</code>, <code>xconfig</code>, or <code>gconfig</code> make target. Subsequent builds just require <code>uImageImage</code> make target to update the binary image. Once the build process is complete, the kernel binary image is stored into the <code>arch/armarm64/boot/Image</code> file. Both this file and the kernel device tree can be copied to the tftp root directory <code>/tftpboot/desk-mx-l/</code> with the following commands:
<pre class="workstation-terminal">
dvdk@vagrant:~/desk-mx-l/linux$ cp arch/armarm64/boot/Image /tftpboot/desk-mx8m-l/dvdk@vagrant:~/desk-mx-l/linux$ cp arch/armarm64/boot/dts/freescale/*.dtb /tftpboot/desk-mxmx8m-l/
</pre>
<pre class="workstation-terminal">
dvdk@vagrant:~/desk-mx-l/linux$ mkdir modules-installdvdk@vagrant:~/desk-mx-l/linux$ make INSTALL_MOD_PATH=modules-install modules_installdvdk@vagrant:~/desk-mx-l/linux$ cd modules-installcd dvdk@vagrant:~/desk-mx-l/linux/modules-install && $ tar cvzf ../modules.tar.gz . && cd ..dvdk@vagrant:~/desk-mx-l/linux$
</pre>
<pre class="workstation-terminal">
root@desk-mx8mp:~# tar xvzf modules.tar.gz -C /
</pre>
----
[[Category:MITO 8M]]
[[Category:MITO 8M Mini]]
[[Category:ORCA]]
[[Category:MITO 8M Mini]]
8,256
edits