Yocto BSP for SCM-i.MX L4.1.15-2.0.0_ga

Document created by Juan Antonio Gutierrez Rosas Employee on Feb 24, 2017Last modified by Juan Antonio Gutierrez Rosas Employee on Mar 6, 2017
Version 4Show Document
  • View in full screen mode
Follow the next instructions to setup your SCM L4.1.15-2.0.0_ga Yocto environemnt for the SCM i.mx6 QWKS board

1) Install the `repo` utility: (only need to do this once):
                

$ mkdir ~/bin

$ curl http://commondatastorage.googleapis.com/git-repo-downloads/repo > ~/bin/repo

$ chmod a+x ~/bin/repo

$ PATH=${PATH}:~/bin


2) Download the Yocto Project SCM Environment for SCM L4.1.15-2.0.0_ga release into your directory:
                

$ mkdir fsl-arm-yocto-bsp

$ cd fsl-arm-yocto-bsp

$ repo init -u git://git.freescale.com/imx/fsl-arm-yocto-bsp.git -b imx-4.1-krogoth -m scm-imx-4.1.15-2.0.0.xml

$ repo sync


3) Setup the build folder for a BSP release:

Note: The remaining instructions are for setting up a BSP release only.
        
        
$ [MACHINE=<machine>] [DISTRO=fsl-imx-<backend>] source ./fsl-setup-release.sh -b bld-<backend>

The <machine> options for MX6 SCM (supported by meta-nxp-scm-layer) are:

- MX6DQSCM:
     imx6dqscm-1gb-qwks
     imx6dqscm-epop-qwks
     imx6dqscm-1gb-qwks-rev3
     imx6dqscm-1gb-evb
     imx6dqscm-2gb-evb
- MX6SXSCM:
     imx6sxscm-1gb-evb
     imx6sxscm-512mb-evb
     imx6sxscm-epop-evb

<backend>   Graphics backend type x11
X11         (this is the default if DISTRO is unspecified)
wayland     Wayland
xwayland    Wayland with XWayland support
fb          Framebuffer

Examples:

Setup for X11.
                
$ MACHINE=imx6dqscm-1gb-qwks-rev3 DISTRO=fsl-imx-x11 source ./fsl-setup-release.sh -b build-x11

Setup for Wayland.
                
$ MACHINE=imx6dqscm-1gb-qwks-rev3 DISTRO=fsl-imx-wayland source ./fsl-setup-release.sh -b build-wayland

Setup for Wayland and X11.
                
$ MACHINE=imx6dqscm-1gb-qwks-rev3 DISTRO=fsl-imx-xwayland source ./fsl-setup-release.sh -b build-xwayland

Setup for Frame Buffer.
                
$ MACHINE=imx6dqscm-1gb-qwks-rev3 DISTRO=fsl-imx-fb source ./fsl-setup-release.sh -b build-fb

 

4) Build an image

Use bitbake <image recipe> to bake your image Full image with demos and tests used for testing with graphics, no QT.                     

          
$ fsl-image-gui

 

 

Same as gui + QT 5.5.

          
$ fsl-image-qt5
3 people found this helpful

Attachments

    Outcomes