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"|X.Y.Z{{oldid|14310|2021/07/21}}|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"|Month Year|style="border-left:solid 2px #73B2C7; border-right:solid 2px #73B2C7;border-top:solid 2px #73B2C7; borderFirst DESK-bottom:solid 2px #73B2C7; backgroundMX6UL-color:#edf8fb; padding:5px; color:#000000"|TBDL 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|16329|2022/03/16}}
| 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-MX6UL-L 3.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:#edf8fbededed; padding:5px; color:#000000"|[TBD_link X.Y.Z]2023/05/05|! style="border-left:solid 2px #73B2C7; border-right:solid 2px #73B2C7;border-top:solid 2px #73B2C7; border-bottom:solid 2px #73B2C7; background-color:#edf8fbededed; padding:5px; color:#000000"|Month Year|style="borderDESK-left:solid 2px #73B2C7; borderMX6UL-right:solid 2px #73B2C7;border-top:solid 2px #73B2C7; border-bottom:solid 2px #73B2C7; background-color:#edf8fb; padding:5px; color:#000000"|TBDL 4.0.0 release
|-
|}
<section end="History" />
__FORCETOC__
<section begin="Body" />
==Building Linux==
|-
! URL
| git@git.dave.eu:desk-mx-l/linux-'''TBD'''imx.git
|-
! stable branch
| desk-mxmx6ul-l-4.x.x
|-
! stable tag
| desk-mxmx6ul-l-14.x0.x0
|}
|-
! defconfig
| colspan="2" | ''<defconfig>''imx_v7_desk_defconfig
|-
! Kernel binary
| colspan="2" | UIMAGE_LOADADDR=''<loadaddr>'' 0x80008000 uImage
|-
! rowspan="4" | Device trees
! DTB
|-
| ''SBC''Lynx| ''<carrier>''imx6ul-lynx-som0013-cb002f.dtb
|-
| EVBSDV04| ''imx6ul-axelulite-cb003a.dtb<carrierbr>''imx6ul-axelulite-cb006c.dtb
|-
|}
<pre class="workstation-terminal">
cd {{{kit~/desk-repo}}}mx-l/linux
</pre>
<pre class="workstation-terminal">
source ~/envdesk-mx-l/desk-mx6ul-l-4.0.1_env.sh
</pre>
<pre class="workstation-terminal">
make imx_v7_{{{kit-repo}}}_defconfigimx_v7_desk_defconfigmake UIMAGE_LOADADDR=''<loadaddr>'' 0x80008000 uImage ''<carrier>''imx6ul-lynx-som0013-cb002f.dtb imx6ul-axelulite-cb003a.dtb imx6ul-axelulite-cb006c.dtb
</pre>
'''NOTE''': this is the default configuration suitable for latest target.
:The former command selects the default [[DESK-MX6UL-L | DESK-MX6UL-L]] configuration, while the latter builds the kernel binary image with the required u-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>uImage</code> make target to update the binary image. Once the build process is complete, the kernel binary image is stored into the <code>arch/arm/boot/uImage</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">
cp arch/arm/boot/uImage /tftpboot/{{{kitdesk-repo}}}mx-l/cp arch/arm/boot/dts/*.dtb /tftpboot/{{{kitdesk-mx-repo}}}l/
</pre>
<pre class="workstation-terminal">
make modules
mkdir modules-install
make INSTALL_MOD_PATH=modules-install modules_install
8,221
edits