Skip to contentSkip to conversation

linux-keystone: Create recipe for linux-keystone kernel version 3.10

PATCH Superseded Sam Nelson 2 participants 5 messages Jan 28, 2014 – Jan 29, 2014

v1 of 2 Superseded Latest is v2 →

lore
Share & tools
lore

Sam Nelson

author
#0 lore raw

PATCH 1/1 linux-keystone: Create recipe for linux-keystone kernel version 3.10

- Updated Source URL & version
- Added device tree file

---
 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
recipes-kernel/linux/linux-keystone_3.10.bb new file +36 -0
new file mode 100644
index 0000000..b37a404
@@ -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}
+}
+
+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"
+
+#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 = ""
+
Signature · 1 line
1.7.9.5
#1 lore raw
Quoted 2 lines · Sam Nelson

- 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.

Quoted 14 lines
---
 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
recipes-kernel/linux/linux-keystone_3.10.bb new file +2 -0
new file mode 100644
index 0000000..b37a404
@@ -0,0 +1,36 @@
+SECTION = "kernel"
+DESCRIPTION = "Linux kernel for TI Keystone devices"

recipes-kernel/linux/linux-keystone_3.10.bb line 12

Quoted 10 lines
recipes-kernel/linux/linux-keystone_3.10.bb new file +10 -0
+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...

recipes-kernel/linux/linux-keystone_3.10.bb line 21

Quoted 8 lines
recipes-kernel/linux/linux-keystone_3.10.bb new file +8 -0
+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.

recipes-kernel/linux/linux-keystone_3.10.bb line 28

Quoted 6 lines
recipes-kernel/linux/linux-keystone_3.10.bb new file +6 -0
+#This commit corresponds to "K2_LINUX_03.10.10_13.12"
+SRCREV = "335d14b1c2ce23585835243126c6acba89067ecf"
+
+BRANCH = "master"
+
+# for nightly switch the three lines below

^^^ ?

Quoted 15 lines
recipes-kernel/linux/linux-keystone_3.10.bb new file +8 -0
+SRC_URI = "git://git.ti.com/keystone-linux/linux.git;protocol=git;branch=${BRANCH}\
+           file://defconfig\
+           "
+
+S = "${WORKDIR}/git"
+
+RDEPENDS_kernel-base = ""
+
Signature · 6 lines
1.7.9.5

_______________________________________________
meta-ti mailing list
[email protected]
https://lists.yoctoproject.org/listinfo/meta-ti
#2 lore raw

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.

Signature · 1 line
Denys
Quoted 78 lines · Denys Dmytriyenko
Quoted 2 lines · Sam Nelson

- 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.

Quoted 14 lines
---
 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
recipes-kernel/linux/linux-keystone_3.10.bb new file +2 -0
new file mode 100644
index 0000000..b37a404
@@ -0,0 +1,36 @@
+SECTION = "kernel"
+DESCRIPTION = "Linux kernel for TI Keystone devices"

recipes-kernel/linux/linux-keystone_3.10.bb line 12

Quoted 10 lines
recipes-kernel/linux/linux-keystone_3.10.bb new file +10 -0
+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...

recipes-kernel/linux/linux-keystone_3.10.bb line 21

Quoted 8 lines
recipes-kernel/linux/linux-keystone_3.10.bb new file +8 -0
+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.

recipes-kernel/linux/linux-keystone_3.10.bb line 28

Quoted 6 lines
recipes-kernel/linux/linux-keystone_3.10.bb new file +6 -0
+#This commit corresponds to "K2_LINUX_03.10.10_13.12"
+SRCREV = "335d14b1c2ce23585835243126c6acba89067ecf"
+
+BRANCH = "master"
+
+# for nightly switch the three lines below

^^^ ?

Quoted 15 lines
recipes-kernel/linux/linux-keystone_3.10.bb new file +8 -0
+SRC_URI = "git://git.ti.com/keystone-linux/linux.git;protocol=git;branch=${BRANCH}\
+           file://defconfig\
+           "
+
+S = "${WORKDIR}/git"
+
+RDEPENDS_kernel-base = ""
+
Signature · 6 lines
1.7.9.5

_______________________________________________
meta-ti mailing list
[email protected]
https://lists.yoctoproject.org/listinfo/meta-ti

_______________________________________________
meta-ti mailing list
[email protected]
https://lists.yoctoproject.org/listinfo/meta-ti

#3 lore raw
Quoted 19 lines

-----Original Message-----
From: Dmytriyenko, Denys
Sent: Wednesday, January 29, 2014 4:26 PM
To: Nelson, Sam; [email protected]
Subject: Re: [meta-ti] [PATCH] linux-keystone: Create recipe for linux- keystone kernel version 3.10

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

Quoted 7 lines
Quoted 5 lines · Denys Dmytriyenko
Quoted 2 lines · Sam Nelson

- Updated Source URL & version
- Added device tree file

Do you need to keep 3.8.4 version around? If not, why not upgrade

instead?

[Sam] You are asking to delete the linux-keystone_3.8.4.bb and the corresponding directory linux-keystone-3.8.4?

Quoted 2 lines
Quoted 1 line

Also, I would strongly recommend using linux-ti-kernel_3.12.bb as an

example.

[Sam].
I could not find a recipe named: linux-ti-kernel_3.12.bb. Appreciate your help. (I can see meta-ti/recipes-kernel/linux-ti-staging_3.12.bb. Is that what you are referring to?)

Quoted 11 lines
Quoted 5 lines
Quoted 5 lines
---
 recipes-kernel/linux/linux-keystone_3.10.bb |   36

+++++++++++++++++++++++++++

Quoted 4 lines

recipes-

Quoted 4 lines
 1 file changed, 36 insertions(+)
 create mode 100644 recipes-kernel/linux/linux-keystone_3.10.bb
recipes- renamed from recipes-kernel/linux/linux-keystone_3.10.bb +0 -0

kernel/linux/linux-keystone_3.10.bb

Quoted 20 lines
Quoted 9 lines

recipes-kernel/linux/linux-keystone_3.10.bb line 4

Quoted 9 lines

new file mode 100644
index 0000000..b37a404

recipes-kernel/linux/linux-keystone_3.10.bb new file +4 -0
@@ -0,0 +1,36 @@
+SECTION = "kernel"
+DESCRIPTION = "Linux kernel for TI Keystone devices"
+LICENSE = "GPLv2"
+LIC_FILES_CHKSUM =

"file://COPYING;md5=d7810fab7487fb0aad327b76f1be7cd7"

Quoted 10 lines

recipes-kernel/linux/linux-keystone_3.10.bb line 12

Quoted 8 lines
recipes-kernel/linux/linux-keystone_3.10.bb new file +8 -0
+
+COMPATIBLE_MACHINE = "keystone"
+
+inherit kernel
+
+do_deploy_append() {
+    cd ${S}
+}

I don't remember if this is still needed...

[Sam] Not sure either why this is needed. I can remove and check.

Quoted 14 lines
Quoted 10 lines

recipes-kernel/linux/linux-keystone_3.10.bb

Quoted 10 lines
recipes-kernel/linux/linux-keystone_3.10.bb new file +8 -0
+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"

Quoted 3 lines

You can use just "k2hk-evm.dtb" instead.

[Sam] Ok.

Quoted 10 lines
Quoted 10 lines

recipes-kernel/linux/linux-keystone_3.10.bb line 28

Quoted 7 lines
recipes-kernel/linux/linux-keystone_3.10.bb new file +6 -0
+#This commit corresponds to "K2_LINUX_03.10.10_13.12"
+SRCREV = "335d14b1c2ce23585835243126c6acba89067ecf"
+
+BRANCH = "master"
+
+# for nightly switch the three lines below

^^^ ?

[Sam] Missed to remove this line.

Quoted 22 lines
Quoted 2 lines

recipes-kernel/linux/linux-keystone_3.10.bb line 27

Quoted 2 lines
recipes-kernel/linux/linux-keystone_3.10.bb new file +1 -0
+SRC_URI = "git://git.ti.com/keystone-

linux/linux.git;protocol=git;branch=${BRANCH}\

Quoted 19 lines
Quoted 10 lines
recipes-kernel/linux/linux-keystone_3.10.bb new file +7 -1
+           file://defconfig\
+           "
+
+S = "${WORKDIR}/git"
+
+RDEPENDS_kernel-base = ""
+
--

1.7.9.5

Quoted 4 lines

_______________________________________________
meta-ti mailing list
[email protected]
https://lists.yoctoproject.org/listinfo/meta-ti

_______________________________________________
meta-ti mailing list
[email protected]
https://lists.yoctoproject.org/listinfo/meta-ti

#4 lore raw
Quoted 21 lines · Sam
Quoted 21 lines

-----Original Message-----
From: Dmytriyenko, Denys
Sent: Wednesday, January 29, 2014 4:26 PM
To: Nelson, Sam; [email protected]
Subject: Re: [meta-ti] [PATCH] linux-keystone: Create recipe for linux- keystone kernel version 3.10

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

Quoted 1 line · Denys Dmytriyenko

On Mon, Jan 27, 2014 at 11:22:49PM -0500, Sam Nelson wrote:

Quoted 8 lines
Quoted 5 lines
Quoted 4 lines
Quoted 2 lines

- Updated Source URL & version
- Added device tree file

Do you need to keep 3.8.4 version around? If not, why not upgrade

instead?

[Sam] You are asking to delete the linux-keystone_3.8.4.bb and the corresponding directory linux-keystone-3.8.4?

If you don't need it anymore. If you do it in a single commit and then git format-patch -M (maybe even --find-copies-harder), then it would be recorded as an upgrade from 3.8.4 to 3.10.x

BTW, is it really 3.10 and not one of the stable point releases 3.10.x? If latter, you also might want to set PV accordingly. As far as I can see, it's 3.10.10 in git...

Quoted 6 lines
Quoted 2 lines
Quoted 1 line

Also, I would strongly recommend using linux-ti-kernel_3.12.bb as an

example.

[Sam].
I could not find a recipe named: linux-ti-kernel_3.12.bb. Appreciate your help. (I can see meta-ti/recipes-kernel/linux-ti-staging_3.12.bb. Is that what you are referring to?)

Yes, indeed. Sorry for the confusion.

Quoted 78 lines
Quoted 9 lines
Quoted 3 lines
Quoted 3 lines
---
 recipes-kernel/linux/linux-keystone_3.10.bb |   36

+++++++++++++++++++++++++++

Quoted 4 lines

recipes-

Quoted 4 lines
 1 file changed, 36 insertions(+)
 create mode 100644 recipes-kernel/linux/linux-keystone_3.10.bb
recipes- renamed from recipes-kernel/linux/linux-keystone_3.10.bb +0 -0

kernel/linux/linux-keystone_3.10.bb

Quoted 20 lines
Quoted 9 lines

recipes-kernel/linux/linux-keystone_3.10.bb line 4

Quoted 9 lines

new file mode 100644
index 0000000..b37a404

recipes-kernel/linux/linux-keystone_3.10.bb new file +4 -0
@@ -0,0 +1,36 @@
+SECTION = "kernel"
+DESCRIPTION = "Linux kernel for TI Keystone devices"
+LICENSE = "GPLv2"
+LIC_FILES_CHKSUM =

"file://COPYING;md5=d7810fab7487fb0aad327b76f1be7cd7"

Quoted 10 lines

recipes-kernel/linux/linux-keystone_3.10.bb line 12

Quoted 8 lines
recipes-kernel/linux/linux-keystone_3.10.bb new file +8 -0
+
+COMPATIBLE_MACHINE = "keystone"
+
+inherit kernel
+
+do_deploy_append() {
+    cd ${S}
+}

I don't remember if this is still needed...

[Sam] Not sure either why this is needed. I can remove and check.

Quoted 14 lines
Quoted 10 lines

recipes-kernel/linux/linux-keystone_3.10.bb

Quoted 10 lines
recipes-kernel/linux/linux-keystone_3.10.bb new file +8 -0
+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"

Quoted 3 lines

You can use just "k2hk-evm.dtb" instead.

[Sam] Ok.

Quoted 10 lines
Quoted 10 lines

recipes-kernel/linux/linux-keystone_3.10.bb line 28

Quoted 7 lines
recipes-kernel/linux/linux-keystone_3.10.bb new file +6 -0
+#This commit corresponds to "K2_LINUX_03.10.10_13.12"
+SRCREV = "335d14b1c2ce23585835243126c6acba89067ecf"
+
+BRANCH = "master"
+
+# for nightly switch the three lines below

^^^ ?

[Sam] Missed to remove this line.

Quoted 22 lines
Quoted 2 lines

recipes-kernel/linux/linux-keystone_3.10.bb line 27

Quoted 2 lines
recipes-kernel/linux/linux-keystone_3.10.bb new file +1 -0
+SRC_URI = "git://git.ti.com/keystone-

linux/linux.git;protocol=git;branch=${BRANCH}\

Quoted 19 lines
Quoted 10 lines
recipes-kernel/linux/linux-keystone_3.10.bb new file +7 -1
+           file://defconfig\
+           "
+
+S = "${WORKDIR}/git"
+
+RDEPENDS_kernel-base = ""
+
--

1.7.9.5

Quoted 4 lines

_______________________________________________
meta-ti mailing list
[email protected]
https://lists.yoctoproject.org/listinfo/meta-ti

_______________________________________________
meta-ti mailing list
[email protected]
https://lists.yoctoproject.org/listinfo/meta-ti