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"|ID#
!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"|{{oldid|16137|16137}}|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"|172022/02/202217}}
|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:#ededededf8fb; padding:5px; color:#000000" |{{oldid|17542|175422023/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.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:#edf8fb; padding:5px; color:#000000" |{{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" |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" |242024/0204/202310! 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-24.01.0 release
|-
|}
|-
! stable branch
| desk-mx8m-l-24.x.x
|-
! stable tag
| desk-mx8m-l-24.01.0
|}
|-
| [[SBC Axel SBC | SBC AXEL]]
| imx8mm-mito8mmini-cb100a.dts
|-
| [[ORCA SBC| SBC ORCA]]
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
<preclass="workstation-terminal">dvdk@vagrant:~$ cd ~/desk-mx-l/linuxdvdk@vagrant:~/desk-mx-l/linux$
</pre>
* in case of needs you can update your local repository with the following git command
<preclass="workstation-terminal">dvdk@vagrant:~/desk-mx-l/linux$ git pull
</pre>
* checkout configure the right branch<pre>git checkout desk-mx8m-l-2.0.0</pre>build environment
* configure the build environment: the '''proper SDK''' has to be installed in the DVDK as described in the [[DESK-MX8M-L/General/DVDK_Virtual_Machine | DVDK Virtual Machine]] wiki page <preclass="workstation-terminal">source dvdk@vagrant:~/homedesk-mx-l/dvdklinux$ source ~/desk-mx-l/desk-mx8m-l-24.0.0_env.sh
</pre>
<pre class="workstation-terminal">
dvdk@vagrant:~/desk-mx-l/linux$ make imx_v8_defconfig
dvdk@vagrant:~/desk-mx-l/linux$ make -j$(nproc) Image modules freescale/imx8mm-mito8mmini-cb100a.dtb freescale/imx8mp-mito8mplus-cb1008.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/arm64/boot/Image /tftpboot/desk-mxmx8m-l/dvdk@vagrant:~/desk-mx-l/linux$ cp arch/arm64/boot/dts/freescale/*.dtb /tftpboot/desk-mxmx8m-l/
</pre>
8,215
edits