Yocto Platform Customization: Difference between revisions
No edit summary |
No edit summary |
||
Line 1: | Line 1: | ||
<onlyinclude>{{#ifeq:{{{transcludesection|YOCTO_MORTY}}}|YOCTO_MORTY| | <onlyinclude>{{#ifeq:{{{transcludesection|YOCTO_MORTY}}}|YOCTO_MORTY| | ||
{{#vardefine: | {{#vardefine:TOOLCHAIN_INSTALL_X11_NAME|fslc-x11-glibc-x86_64-meta-toolchain-armv7at2hf-neon-toolchain-2.2.1.sh}} | ||
{{#vardefine:TOOLCHAIN_LOCATION|/opt/fsl-imx-x11/4.1.15-2.0.1/environment-setup-cortexa7hf-neon-poky-linux-gnueabi}} | {{#vardefine:TOOLCHAIN_LOCATION|/opt/fsl-imx-x11/4.1.15-2.0.1/environment-setup-cortexa7hf-neon-poky-linux-gnueabi}} | ||
{{#vardefine:BUILD_FOLDER|~/var-fslc-yocto}} | {{#vardefine:BUILD_FOLDER|~/var-fslc-yocto}} | ||
Line 7: | Line 7: | ||
{{#vardefine:BUILD_FOLDER_X11|build_x11}} | {{#vardefine:BUILD_FOLDER_X11|build_x11}} | ||
{{#vardefine:KERNEL_BRANCH|imx-rel_imx_4.1.15_2.0.0_ga-var01}} | {{#vardefine:KERNEL_BRANCH|imx-rel_imx_4.1.15_2.0.0_ga-var01}} | ||
{{#vardefine:KERNEL_IMAGE|zImage}} | |||
}}</onlyinclude> | }}</onlyinclude> | ||
Line 17: | Line 18: | ||
==Yocto Morty== | ==Yocto Morty== | ||
TOOLCHAIN_X11_INSTALL_NAME='''{{#var:TOOLCHAIN_X11_INSTALL_NAME}}''' | |||
TOOLCHAIN_LOCATION='''{{#var:TOOLCHAIN_LOCATION}}''' | TOOLCHAIN_LOCATION='''{{#var:TOOLCHAIN_LOCATION}}''' | ||
BUILD_FOLDER='''{{#var:BUILD_FOLDER}}''' | BUILD_FOLDER='''{{#var:BUILD_FOLDER}}''' | ||
Line 29: | Line 30: | ||
HARDWARE_NAME='''{{#var:HARDWARE_NAME}}''' | HARDWARE_NAME='''{{#var:HARDWARE_NAME}}''' | ||
MACHINE_KERNEL_DEFCONFIG='''{{#var:MACHINE_KERNEL_DEFCONFIG}}''' | MACHINE_KERNEL_DEFCONFIG='''{{#var:MACHINE_KERNEL_DEFCONFIG}}''' | ||
KERNEL_IMAGE='''{{#var:KERNEL_IMAGE}}''' | |||
=== Device tree === | |||
<onlyinclude>{{#ifeq:{{{transcludesection|DART-6UL_DTB}}}|DART-6UL_DTB| | |||
Build only the device tree for DART-6UL with eMMC and WiFi: | |||
$ make -j4 imx6ul-var-dart-emmc_wifi.dtb | |||
Build only the device tree for DART-6UL with eMMC and SD card: | |||
$ make -j4 imx6ul-var-dart-sd_emmc.dtb | |||
Build only the device tree for DART-6UL with NAND flash and WiFi: | |||
$ make -j4 imx6ul-var-dart-nand_wifi.dtb | |||
Build only the device tree for DART-6UL with NAND flash and SD card: | |||
$ make -j4 imx6ul-var-dart-sd_nand.dtb | |||
Build only the device tree for DART-6ULL with eMMC and WiFi: | |||
$ make -j4 imx6ull-var-dart-emmc_wifi.dtb | |||
Build only the device tree for DART-6ULL with eMMC and SD card: | |||
$ make -j4 imx6ull-var-dart-sd_emmc.dtb | |||
Build only the device tree for DART-6ULL with NAND flash and WiFi: | |||
$ make -j4 imx6ull-var-dart-nand_wifi.dtb | |||
Build only the device tree for DART-6ULL with NAND flash and SD card: | |||
$ make -j4 imx6ull-var-dart-sd_nand.dtb | |||
}}</onlyinclude> |
Revision as of 12:47, 3 May 2017
Yocto Morty
TOOLCHAIN_X11_INSTALL_NAME=' TOOLCHAIN_LOCATION=/opt/fsl-imx-x11/4.1.15-2.0.1/environment-setup-cortexa7hf-neon-poky-linux-gnueabi BUILD_FOLDER=~/var-fslc-yocto BUILD_DISTRO=fslc-x11 BUILD_SCRIPT=. setup-environment BUILD_FOLDER_X11=build_x11 KERNEL_BRANCH=imx-rel_imx_4.1.15_2.0.0_ga-var01
Platform DART-6UL
MACHINE_NAME=imx6ul-var-dart HARDWARE_NAME=DART-6UL MACHINE_KERNEL_DEFCONFIG=' KERNEL_IMAGE=zImage
Device tree
Build only the device tree for DART-6UL with eMMC and WiFi: $ make -j4 imx6ul-var-dart-emmc_wifi.dtb
Build only the device tree for DART-6UL with eMMC and SD card: $ make -j4 imx6ul-var-dart-sd_emmc.dtb
Build only the device tree for DART-6UL with NAND flash and WiFi: $ make -j4 imx6ul-var-dart-nand_wifi.dtb
Build only the device tree for DART-6UL with NAND flash and SD card: $ make -j4 imx6ul-var-dart-sd_nand.dtb
Build only the device tree for DART-6ULL with eMMC and WiFi: $ make -j4 imx6ull-var-dart-emmc_wifi.dtb
Build only the device tree for DART-6ULL with eMMC and SD card: $ make -j4 imx6ull-var-dart-sd_emmc.dtb
Build only the device tree for DART-6ULL with NAND flash and WiFi: $ make -j4 imx6ull-var-dart-nand_wifi.dtb
Build only the device tree for DART-6ULL with NAND flash and SD card: $ make -j4 imx6ull-var-dart-sd_nand.dtb