Hi John, Currently only ls1021a series is supported.
Best Regards, Zhenhua From: John Weber [mailto:rjohnwe...@gmail.com] Sent: Wednesday, August 27, 2014 9:07 AM To: Luo Zhenhua-B19537 Cc: meta-freescale@yoctoproject.org Subject: Re: [meta-freescale] [meta-fsl-arm][PATCH 3/6] Add kernel recipe for Layerscape1 support Hi Zhenhua, On Tuesday, August 26, 2014, Zhenhua Luo <zhenhua....@freescale.com<mailto:zhenhua....@freescale.com>> wrote: Signed-off-by: Zhenhua Luo <zhenhua....@freescale.com<javascript:;>> --- recipes-kernel/linux/linux-ls.inc | 30 ++++++++++++++++++++++++++++++ recipes-kernel/linux/linux-ls_3.12.bb<http://linux-ls_3.12.bb> | 15 +++++++++++++++ 2 files changed, 45 insertions(+) create mode 100644 recipes-kernel/linux/linux-ls.inc create mode 100644 recipes-kernel/linux/linux-ls_3.12.bb<http://linux-ls_3.12.bb> diff --git a/recipes-kernel/linux/linux-ls.inc b/recipes-kernel/linux/linux-ls.inc Would this also apply to all platforms in the LS family, or just LS1021 family? If there will be a different kernel for the old Mindspeed parts that are being rebranded to LS1 (e.g.LS1024), it might be more appropriate to name this something more specific. new file mode 100644 index 0000000..c1c976b --- /dev/null +++ b/recipes-kernel/linux/linux-ls.inc @@ -0,0 +1,30 @@ +LICENSE = "GPLv2" +LIC_FILES_CHKSUM = "file://COPYING;md5=d7810fab7487fb0aad327b76f1be7cd7<file:///\\COPYING;md5=d7810fab7487fb0aad327b76f1be7cd7>" + +inherit kernel + +# Append a local version if it is defined +SCMVERSION ?= "y" + +SRC_URI = "git://git.freescale.com/layerscape/ls1021a/linux.git;branch=${SRCBRANCH}<http://git.freescale.com/layerscape/ls1021a/linux.git;branch=$%7bSRCBRANCH%7d>" + +KERNEL_EXTRA_ARGS += "LOADADDR=${UBOOT_ENTRYPOINT}" + +S = "${WORKDIR}/git" + +do_configure_prepend() { + # copy desired defconfig so we pick it up for the real kernel_do_configure + cp ${KERNEL_DEFCONFIG} ${B}/.config + + # add git revision to the local version + if [ "${SCMVERSION}" = "y" ]; then + # append sdk version if SDK_VERSION is defined + sdkversion='' + if [ -n "${SDK_VERSION}" ]; then + sdkversion="-${SDK_VERSION}" + fi + head=`git rev-parse --verify --short HEAD 2> /dev/null` + printf "%s%s%s" $sdkversion +g $head > ${S}/.scmversion + fi +} + diff --git a/recipes-kernel/linux/linux-ls_3.12.bb<http://linux-ls_3.12.bb> b/recipes-kernel/linux/linux-ls_3.12.bb<http://linux-ls_3.12.bb> new file mode 100644 index 0000000..6715ccb --- /dev/null +++ b/recipes-kernel/linux/linux-ls_3.12.bb<http://linux-ls_3.12.bb> @@ -0,0 +1,15 @@ +SUMMARY = "Linux Kernel for Freescale layerscape platforms" +DESCRIPTION = "Linux Kernel provided and supported by Freescale with focus on \ +Layerscape1 Family Boards. " + +require recipes-kernel/linux/linux-ls.inc +require recipes-kernel/linux/linux-dtb.inc + +DEPENDS_append = " libgcc" +KERNEL_CC_append = " ${TOOLCHAIN_OPTIONS}" +KERNEL_LD_append = " ${TOOLCHAIN_OPTIONS}" + +SRCBRANCH = "ls1-dev" +SRCREV = "de1cb4b3c16be38cf3981fd0afa143ad24283d07" + +COMPATIBLE_MACHINE = "(ls1021aqds|ls1021atwr)" -- 1.8.3.2 -- _______________________________________________ meta-freescale mailing list meta-freescale@yoctoproject.org<javascript:;> https://lists.yoctoproject.org/listinfo/meta-freescale
-- _______________________________________________ meta-freescale mailing list meta-freescale@yoctoproject.org https://lists.yoctoproject.org/listinfo/meta-freescale