Yocto Platform Customization: Difference between revisions

From Variscite Wiki
No edit summary
No edit summary
Line 34: Line 34:


== Yocto ==
== Yocto ==
=== Documentation ===
<onlyinclude>{{#ifeq:{{{transcludesection|YOCTO_FSLC_MORTY}}}|YOCTO_FSLC_MORTY
<onlyinclude>{{#ifeq:{{{transcludesection|YOCTO_FSLC_MORTY}}}|YOCTO_FSLC_MORTY
* Yocto Project Core - Morty 2.2.1 (released on 02/24/2017)
* Yocto Project Core - Morty 2.2.1 (released on 02/24/2017)
Line 40: Line 41:
Documentation is available from [http://freescale.github.io/doc/release-notes/2.2/ http://freescale.github.io]
Documentation is available from [http://freescale.github.io/doc/release-notes/2.2/ http://freescale.github.io]
}}</onlyinclude>
}}</onlyinclude>
=== Build Results ===
<section begin=build_res />
{| class="wikitable"
|-
! scope="col" | Image Name<br/>
! scope="col" | How to use<br/>
|-
| style="padding: 5px;"| fsl-image-gui-{{#var:MACHINE_NAME}}.sdcard
| style="padding: 5px;"| This image is for SD card boot.<br> It can be flashed as-is on an SD card that can then be used to boot your system,<br> according to the relevant startup-guide of your product<br> (usually requires to press the boot select button, or toggle a DIP switch).<br> For detailed information refer to the [[#Create_a_bootable_SD_card | Create a bootable SD card]] section below.
|-
| style="padding: 5px;"| fsl-image-gui-{{#var:MACHINE_NAME}}.tar.bz2
| style="padding: 5px;"| Tarball with rootfs files.<br>Can be used to create an NFS root file system on the host.<br> See the [[ VAR-SOM-MX6_Yocto_Utilizing | Setup TFTP/NFS Yocto system ]] section for more info.<br>Also used to create our extended SD card.<br>See the [[#Create_a_bootable_SD_card | Create a bootable SD card]] section below.
|-
| style="padding: 5px;"| {{#var:MACHINE_NAME}}.ubi
| style="padding: 5px;"| A complete UBI image containing a UBIFS volume, for writing to NAND Flash.
|-
| style="padding: 5px;"| {{#var:KERNEL_IMAGE}}
| style="padding: 5px;"| Linux kernel image, same binary for SD card or NAND Flash.
|-
| style="padding: 5px;"| {{#var:SPL_NAND_IMAGE_NAME}}
| style="padding: 5px;"| SPL built for NAND-Flash.<br>The SPL is a pre-U-Boot SW component, required for DDR initialization.
|-
| style="padding: 5px;"| {{#var:U-BOOT_NAND_IMAGE_NAME}}
| style="padding: 5px;"| U-Boot built for NAND Flash.
|-
| style="padding: 5px;"| {{#var:SPL_SD_IMAGE_NAME}}
| style="padding: 5px;"| SPL built for SD card boot, or eMMC boot in case of DART-MX6.
|-
| style="padding: 5px;"| {{#var:U-BOOT_SD_IMAGE_NAME}}
| style="padding: 5px;"| U-Boot built for SD card boot, or eMMC boot in case of DART-MX6.
|-
|}
<section end=build_res />


==DART-6UL ==
==DART-6UL ==

Revision as of 15:37, 7 May 2017


Yocto

Documentation

Build Results

Image Name
How to use
fsl-image-gui-imx6ul-var-dart.sdcard This image is for SD card boot.
It can be flashed as-is on an SD card that can then be used to boot your system,
according to the relevant startup-guide of your product
(usually requires to press the boot select button, or toggle a DIP switch).
For detailed information refer to the Create a bootable SD card section below.
fsl-image-gui-imx6ul-var-dart.tar.bz2 Tarball with rootfs files.
Can be used to create an NFS root file system on the host.
See the Setup TFTP/NFS Yocto system section for more info.
Also used to create our extended SD card.
See the Create a bootable SD card section below.
imx6ul-var-dart.ubi A complete UBI image containing a UBIFS volume, for writing to NAND Flash.
zImage Linux kernel image, same binary for SD card or NAND Flash.
SPL-nand SPL built for NAND-Flash.
The SPL is a pre-U-Boot SW component, required for DDR initialization.
u-boot.img-nand U-Boot built for NAND Flash.
SPL-sd SPL built for SD card boot, or eMMC boot in case of DART-MX6.
u-boot.img-sd U-Boot built for SD card boot, or eMMC boot in case of DART-MX6.


DART-6UL

class="wikitable"

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

Build results

The resulted images are located at tmp/deploy/images/imx6ul-var-dart: {