Open main menu

DAVE Developer's Wiki β

Changes

no edit summary
<section begin="History" />
{| style="border-collapse:collapse; "
!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"|Jan 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
|-
|}
<section end="History" />
__FORCETOC__
<section begin="Body" />
==Building Linux==
===Quick reference===
{| class="wikitable" border="1"
!colspan="2" | Repository Information
|-
! URL
|-
! stable branch
| desk-mxmx8m-l-4.x.x
|-
! stable tag
| desk-mxmx8m-l-24.x1.x0
|}
{| class="wikitable" border="1"
!colspan="3" | Build Information
|-
! defconfig
|-
| [[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">
dvdk@vagrant:~/desk-mx-l/linux$ git pull
</pre>
<pre class="workstation-terminal">
dvdk@vagrant:~/desk-mx-l/linux$ source ~/envdesk-mx-l/desk-mx8m-l-4.0.0_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 8MORCA]] [[Category:MITO 8M Mini]] [[Category:ORCA]]
8,256
edits