AnsweredAssumed Answered

Yocto kernel recipe contains old freescale repo

Question asked by lategoodbye on Dec 6, 2017
Latest reply on Dec 19, 2017 by gusarambula

Hi,

first of all i'm pretty new to Yocto. I'm using the i.MX6ULL 14x14 EVK and i want to build a recent Mfgtool image including U-Boot, Linux-Kernel. I've followed the Yocto Project User's Guide and init the repo with the following commands:

 

mkdir fsl-release-bsp
cd fsl-release-bsp
repo init -u git://git.freescale.com/imx/fsl-arm-yocto-bsp.git -b imx-4.1-krogoth -m imx-4.1.15-2.0.0.xml
repo sync

 

After that all the necessary layers are properly fetched. But looking at the kernel recipe ( linux-imx.inc ) within meta-fsl-arm shows the outdated freescale git repository, which doesn't contain the imx_4.1.15_2.0.0_ga branch:

 

# Copyright (C) 2012, 2015 O.S. Systems Software LTDA.
# Released under the MIT license (see COPYING.MIT for the terms)

LICENSE = "GPLv2"
LIC_FILES_CHKSUM = "file://COPYING;md5=d7810fab7487fb0aad327b76f1be7cd7"

inherit kernel fsl-kernel-localversion fsl-vivante-kernel-driver-handler

# Put a local version until we have a true SRCREV to point to
LOCALVERSION ?= ""
SCMVERSION ?= "y"
SRCBRANCH ?= ""

SRC_URI = "git://git.freescale.com/imx/linux-2.6-imx.git;branch=${SRCBRANCH} \
           file://defconfig \
"

S = "${WORKDIR}/git"

# We need to pass it as param since kernel might support more then one
# machine, with different entry points
KERNEL_EXTRA_ARGS += "LOADADDR=${UBOOT_ENTRYPOINT}"

 

From my understanding the newer and correct repository is git://git.freescale.com/imx/linux-imx.git which also contains the imx_4.1.15_2.0.0_ga branch.

 

What i'm doing wrong?

What is the recommend way to fix this?

 

Thanks

Outcomes