Yocto kernel recipe contains old freescale repo

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Yocto kernel recipe contains old freescale repo

833 Views
lategoodbye
Senior Contributor I

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

Labels (2)
Tags (1)
0 Kudos
1 Reply

493 Views
gusarambula
NXP TechSupport
NXP TechSupport

Hello Stefan Wahren,

Some of the kernel commits are available on the old and new gits so you should not have problems as the BSP Releases do not change unlike the Community BSP. Your configuration looks correct, but perhaps there are some settings on the imx-4.1.15-2.0.0.xml manifest that are different. I haven’t checked it vs the default manifest of the commit.

Regards,

0 Kudos