[meta-ti] [PATCH] linux-keystone: Create recipe for linux-keystone kernel version 3.10

Denys Dmytriyenko denys at ti.com
Wed Jan 29 13:26:02 PST 2014


Sam,

Do you need any help with updating this patch? Please let me know if something 
is not very clear or you just need more time. I don't want to lose momentum :)
Thanks.

-- 
Denys


On Mon, Jan 27, 2014 at 11:35:08PM -0500, Denys Dmytriyenko wrote:
> On Mon, Jan 27, 2014 at 11:22:49PM -0500, Sam Nelson wrote:
> > - Updated Source URL & version
> > - Added device tree file
> 
> Do you need to keep 3.8.4 version around? If not, why not upgrade instead?
> Also, I would strongly recommend using linux-ti-kernel_3.12.bb as an example.
> 
> 
> > Signed-off-by: Sam Nelson <sam.nelson at ti.com>
> > ---
> >  recipes-kernel/linux/linux-keystone_3.10.bb |   36 +++++++++++++++++++++++++++
> >  1 file changed, 36 insertions(+)
> >  create mode 100644 recipes-kernel/linux/linux-keystone_3.10.bb
> > 
> > diff --git a/recipes-kernel/linux/linux-keystone_3.10.bb b/recipes-kernel/linux/linux-keystone_3.10.bb
> > new file mode 100644
> > index 0000000..b37a404
> > --- /dev/null
> > +++ b/recipes-kernel/linux/linux-keystone_3.10.bb
> > @@ -0,0 +1,36 @@
> > +SECTION = "kernel"
> > +DESCRIPTION = "Linux kernel for TI Keystone devices"
> > +LICENSE = "GPLv2"
> > +LIC_FILES_CHKSUM = "file://COPYING;md5=d7810fab7487fb0aad327b76f1be7cd7"
> > +
> > +COMPATIBLE_MACHINE = "keystone"
> > +
> > +inherit kernel
> > +
> > +do_deploy_append() {
> > +    cd ${S}
> > +}
> 
> I don't remember if this is still needed...
> 
> 
> > +require recipes-kernel/linux/linux-dtb.inc
> > +require recipes-kernel/linux/setup-defconfig.inc
> > +
> > +MACHINE_KERNEL_PR_append = "a"
> > +
> > +CORTEXA8FIXUP = "no"
> > +
> > +KERNEL_DEVICETREE_keystone-evm = "arch/${ARCH}/boot/dts/k2hk-evm.dts"
> 
> You can use just "k2hk-evm.dtb" instead.
> 
> 
> > +#This commit corresponds to "K2_LINUX_03.10.10_13.12"
> > +SRCREV = "335d14b1c2ce23585835243126c6acba89067ecf"
> > +
> > +BRANCH = "master"
> > +
> > +# for nightly switch the three lines below
> 
> ^^^ ?
> 
> 
> > +SRC_URI = "git://git.ti.com/keystone-linux/linux.git;protocol=git;branch=${BRANCH}\
> > +           file://defconfig\
> > +           "
> > +
> > +S = "${WORKDIR}/git"
> > +
> > +RDEPENDS_kernel-base = ""
> > +
> > -- 
> > 1.7.9.5
> > 
> > _______________________________________________
> > meta-ti mailing list
> > meta-ti at yoctoproject.org
> > https://lists.yoctoproject.org/listinfo/meta-ti
> _______________________________________________
> meta-ti mailing list
> meta-ti at yoctoproject.org
> https://lists.yoctoproject.org/listinfo/meta-ti
> 


More information about the meta-ti mailing list