Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  1. Download the tarball iMX7-ALPHA1_ethernet-fixup.tar.bz2 from the PHYTEC Artifactory and extract it into your desired working directory.

    Code Block
    tar -jxvf iMX7-ALPHA1_ethernet-fixup.tar.bz2 -C <WORKDIR>
  2. Follow the steps in the Quickstart to set up the Yocto BSP, particularly configuring the Repo tool and Building the BSP from Source

  3. Before starting the build, add the following patch to meta-phytec so that the linux-phytec-fsl recipe patches the kernel with the Ethernet fixes:

    Code Block
    cd $YOCTO_DIR/sources/meta-phytec
    git am <WORKDIR>/iMX7-ALPHA1_ethernet-fixup/meta-phytec_patches/0001-recipes-kernel-linux-phytec-fsl-add-patches-for-ETH2.patch
  4. Start the build as stated in the Quickstart.

    Code Block
    cd $YOCTO_DIR/build
    MACHINE
    Run MACHINE
    =imx7-phyboard-zeta bitbake fsl-image-gui
    as stated in the Quickstart to start the build.
    Note

    If this is not a fresh Yocto build (meaning you have already built images within this build directory), you may need to force a rebuild of the Linux kernel in order for the patches to be applied.

    Code Block
    cd $YOCTO_DIR/build
    MACHINE=imx7-phyboard-zeta bitbake linux-phytec-fsl -f -c fetch && bitbake linux-phytec-fsl
    MACHINE=imx7-phyboard-zeta bitbake fsl-image-gui

...