[meta-ti] [meta-ti patch v3 3/3] am43xx: Added the kernel recipe
Denys Dmytriyenko
denys at ti.com
Thu Sep 26 06:50:39 PDT 2013
On Wed, Sep 25, 2013 at 06:09:50PM +0530, Deepak M wrote:
> Signed-off-by: Deepak M <x0171695 at ti.com>
> ---
> v3:
> 1. Changed the kernel recipe name to linux-am43xx
> 2. Using the external source link
>
> recipes-kernel/linux/linux-am43xx/defconfig | 1 +
> recipes-kernel/linux/linux-am43xx_3.12.bb | 31 +++++++++++++++++++++++++++++
> 2 files changed, 32 insertions(+)
> create mode 100644 recipes-kernel/linux/linux-am43xx/defconfig
> create mode 100644 recipes-kernel/linux/linux-am43xx_3.12.bb
Again, 3.12 is not yet released, you can't call your recipe with 3.12.
> diff --git a/recipes-kernel/linux/linux-am43xx/defconfig b/recipes-kernel/linux/linux-am43xx/defconfig
> new file mode 100644
> index 0000000..926b35a
> --- /dev/null
> +++ b/recipes-kernel/linux/linux-am43xx/defconfig
> @@ -0,0 +1 @@
> +use-kernel-config=omap2plus_defconfig
> diff --git a/recipes-kernel/linux/linux-am43xx_3.12.bb b/recipes-kernel/linux/linux-am43xx_3.12.bb
> new file mode 100644
> index 0000000..a4b0700
> --- /dev/null
> +++ b/recipes-kernel/linux/linux-am43xx_3.12.bb
> @@ -0,0 +1,31 @@
> +SECTION = "kernel"
> +DESCRIPTION = "Linux kernel for TI33x devices from PSP"
> +LICENSE = "GPLv2"
> +LIC_FILES_CHKSUM = "file://COPYING;md5=d7810fab7487fb0aad327b76f1be7cd7"
> +COMPATIBLE_MACHINE = "am437x-epos-evm"
> +
> +DEFAULT_PREFERENCE = "-1"
> +
> +inherit kernel
> +require recipes-kernel/linux/linux-dtb.inc
> +require setup-defconfig.inc
> +
> +KERNEL_EXTRA_ARGS += "LOADADDR=${UBOOT_ENTRYPOINT}"
> +
> +KERNEL_IMAGETYPE = "uImage"
> +KERNEL_DEVICETREE = "am43x-epos-evm.dtb"
> +
> +KERNEL_DTB = "arch/arm/boot/dts/am43x-epos-evm.dtb"
> +
> +
> +# The main PR is now using MACHINE_KERNEL_PR,
> +PR = "r1+gitr${SRCPV}"
> +
> +BRANCH = "linux-3.12.y"
> +
> +SRC_URI = "git://git.ti.com/ti-linux-kernel/ti-linux-kernel.git;BRANCH=${BRANCH};protocol=ssh \
> + file://defconfig \
> +"
> +
> +SRCREV = "272b98c6455f00884f0350f775c5342358ebb73f"
> +S = "${WORKDIR}/git"
> --
> 1.8.1
>
More information about the meta-ti
mailing list