Yocto Platform Customization: Difference between revisions

From Variscite Wiki
No edit summary
No edit summary
Line 17: Line 17:
{{#vardefine:MACHINE_NAME|var-som-mx6}}
{{#vardefine:MACHINE_NAME|var-som-mx6}}
{{#vardefine:HARDWARE_NAME|VAR-SOM-MX6}}
{{#vardefine:HARDWARE_NAME|VAR-SOM-MX6}}
}}</onlyinclude>
<onlyinclude>{{#ifeq:{{{transcludesection|RELEASE_morty-fslc-4.1.15-mx6ul-v1.0-beta}}}|RELEASE_morty-fslc-4.1.15-mx6ul-v1.0-beta
{{:Yocto_Platform_Customization|transcludesection=YOCTO_MORTY}}
{{:Yocto_Platform_Customization|transcludesection=PLATFORM_DART-6UL}}
{{#vardefine:KERNEL_BRANCH|imx-rel_imx_4.1.15_2.0.0_ga-var01}}
{{#vardefine:KERNEL_IMAGE|zImage}}
{{#vardefine:KERNEL_DEFCONFIG|imx6ul-var-dart_defconfig}}
{{#vardefine:U-BOOT_BRANCH|imx_v2015.10_dart_6ul_var1}}
{{#vardefine:U-BOOT_SD_DEFCONFIG|mx6ul_var_dart_mmc_defconfig}}
{{#vardefine:U-BOOT_NAND_DEFCONFIG|mx6ul_var_dart_nand_defconfig}}
{{#vardefine:RELEASE_NAME|morty-fslc-4.1.15-mx6ul-v1.0-beta}}
{{#vardefine:RECOVERY_SD_NAME|{{#var:RELEASE_NAME}}.img.gz}}
{{#vardefine:RECOVERY_SD_URL|ftp://customerv:Variscite1@ftp.variscite.com/DART-6UL/Software/fslc}}
}}</onlyinclude>
}}</onlyinclude>


Line 60: Line 46:




==Release  morty-fslc-4.1.15-mx6ul-v1.0-beta ==
==DART-6UL ==
{{:Yocto_Platform_Customization|transcludesection=RELEASE_MORTY_BETA_DART-6UL}}
{{:Yocto_Platform_Customization|transcludesection=RELEASE_MORTY_BETA_DART-6UL}}
HARDWARE_NAME='''{{#var:HARDWARE_NAME}}'''
  RELEASE_NAME='''{{#var:RELEASE_NAME}}'''
  RELEASE_NAME='''{{#var:RELEASE_NAME}}'''
  RECOVERY_SD_NAME='''{{#var:RECOVERY_SD_NAME}}'''
  RECOVERY_SD_NAME='''{{#var:RECOVERY_SD_NAME}}'''
Line 71: Line 58:
  U-BOOT_SD_DEFCONFIG='''{{#var:U-BOOT_SD_DEFCONFIG}}'''
  U-BOOT_SD_DEFCONFIG='''{{#var:U-BOOT_SD_DEFCONFIG}}'''
  U-BOOT_NAND_DEFCONFIG='''{{#var:U-BOOT_NAND_DEFCONFIG}}'''
  U-BOOT_NAND_DEFCONFIG='''{{#var:U-BOOT_NAND_DEFCONFIG}}'''
==Yocto Morty==
  TOOLCHAIN_X11_INSTALL_NAME='''{{#var:TOOLCHAIN_X11_INSTALL_NAME}}'''
  TOOLCHAIN_X11_INSTALL_NAME='''{{#var:TOOLCHAIN_X11_INSTALL_NAME}}'''
  TOOLCHAIN_LOCATION='''{{#var:TOOLCHAIN_LOCATION}}'''
  TOOLCHAIN_LOCATION='''{{#var:TOOLCHAIN_LOCATION}}'''
Line 79: Line 64:
  BUILD_SCRIPT='''{{#var:BUILD_SCRIPT}}'''
  BUILD_SCRIPT='''{{#var:BUILD_SCRIPT}}'''
  BUILD_FOLDER_X11='''{{#var:BUILD_FOLDER_X11}}'''
  BUILD_FOLDER_X11='''{{#var:BUILD_FOLDER_X11}}'''
==Platform DART-6UL==
  MACHINE_NAME='''{{#var:MACHINE_NAME}}'''
  MACHINE_NAME='''{{#var:MACHINE_NAME}}'''
  HARDWARE_NAME='''{{#var:HARDWARE_NAME}}'''
   
=== Device tree ===
=== Device tree ===
<onlyinclude>{{#ifeq:{{{transcludesection|DART-6UL_DTB}}}|DART-6UL_DTB|
<onlyinclude>{{#ifeq:{{{transcludesection|DART-6UL_DTB}}}|DART-6UL_DTB|

Revision as of 16:22, 4 May 2017






DART-6UL

HARDWARE_NAME=DART-6UL
RELEASE_NAME=morty-fslc-4.1.15-mx6ul-v1.0-beta
RECOVERY_SD_NAME=morty-fslc-4.1.15-mx6ul-v1.0-beta.img.gz
RECOVERY_SD_URL=ftp://customerv:Variscite1@ftp.variscite.com/DART-6UL/Software/fslc
KERNEL_DEFCONFIG=imx6ul-var-dart_defconfig
KERNEL_BRANCH=imx-rel_imx_4.1.15_2.0.0_ga-var01
KERNEL_IMAGE=zImage 
U-BOOT_BRANCH=imx_v2015.10_dart_6ul_var1
U-BOOT_SD_DEFCONFIG=mx6ul_var_dart_mmc_defconfig
U-BOOT_NAND_DEFCONFIG=mx6ul_var_dart_nand_defconfig
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
MACHINE_NAME=imx6ul-var-dart

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

SD card image file tree

/opt/images/
└── Yocto
    ├── imx6ul-var-dart-emmc_wifi.dtb
    ├── imx6ul-var-dart-nand_wifi.dtb
    ├── imx6ul-var-dart-sd_emmc.dtb
    ├── imx6ul-var-dart-sd_nand.dtb
    ├── imx6ull-var-dart-emmc_wifi.dtb
    ├── imx6ull-var-dart-nand_wifi.dtb
    ├── imx6ull-var-dart-sd_emmc.dtb
    ├── imx6ull-var-dart-sd_nand.dtb
    ├── rootfs.tar.bz2
    ├── rootfs.ubi
    ├── SPL-nand
    ├── SPL-sd
    ├── u-boot.img-nand
    ├── u-boot.img-sd
    └── zImage