Skip to contentSkip to conversation

linux-keystone-rt: Add new recipe for build rt-kernel

PATCH In review Sam Nelson 2 participants 3 messages Feb 5, 2014 – Feb 6, 2014

lore
Share & tools
lore

Sam Nelson

author
#0 lore raw

PATCH v2 1/1 linux-keystone-rt: Add new recipe for build rt-kernel

- Builds kernel tree with RT patches

---
Changed from previous patch
* Added PV 3.10.10
* Renamed linux-keystone-rt-3.10/defconfig
-->linux-keystone-rt/defconfig
---

---
 recipes-kernel/linux/linux-keystone-rt/defconfig   |    1 +
 ...-keystone_3.10.bb => linux-keystone-rt_3.10.bb} |    8 ++++----
 2 files changed, 5 insertions(+), 4 deletions(-)
 create mode 100644 recipes-kernel/linux/linux-keystone-rt/defconfig
 copy recipes-kernel/linux/{linux-keystone_3.10.bb => linux-keystone-rt_3.10.bb} (76%)
recipes-kernel/linux/linux-keystone-rt/defconfig new file +1 -0
new file mode 100644
index 0000000..731bb00
@@ -0,0 +1 @@
+use-kernel-config=keystone2_fullrt_defconfig
recipes-kernel/linux/linux-keystone-rt_3.10.bb renamed from recipes-kernel/linux/linux-keystone_3.10.bb +4 -4
similarity index 76%
copy from recipes-kernel/linux/linux-keystone_3.10.bb
copy to recipes-kernel/linux/linux-keystone-rt_3.10.bb
index 2384ede..9c2f904 100644
@@ -1,5 +1,5 @@
 SECTION = "kernel"
-DESCRIPTION = "Linux kernel for TI Keystone devices"
+DESCRIPTION = "Linux RT kernel for TI Keystone devices"
 LICENSE = "GPLv2"
 LIC_FILES_CHKSUM = "file://COPYING;md5=d7810fab7487fb0aad327b76f1be7cd7"
 
@@ -17,11 +17,11 @@ KERNEL_DEVICETREE_keystone-evm = "k2hk-evm.dtb"
 
 KERNEL_EXTRA_ARGS += "LOADADDR=${UBOOT_ENTRYPOINT}"
 
-#This commit corresponds to "K2_LINUX_03.10.10_13.12"
-SRCREV = "335d14b1c2ce23585835243126c6acba89067ecf"
+#This commit corresponds to "K2_RT_LINUX_03.10.10_13.12"
+SRCREV = "8fa9091d0f9c91a048a975ddebbf2f492e73bf61"
 PV = "3.10.10"
 
-BRANCH = "master"
+BRANCH = "master-rt"
 SRC_URI = "git://git.ti.com/keystone-linux/linux.git;protocol=git;branch=${BRANCH}\
            file://defconfig\
            "
Signature · 1 line
1.7.9.5
#1 lore raw
Quoted 3 lines · Sam Nelson

- Builds kernel tree with RT patches

Ack.

Just to check in general for your kernels and SDKs - you don't want devicetree files to be in the /boot directory of your rootfs, right?

Quoted 56 lines

---
Changed from previous patch
* Added PV 3.10.10
* Renamed linux-keystone-rt-3.10/defconfig
-->linux-keystone-rt/defconfig
---

---
 recipes-kernel/linux/linux-keystone-rt/defconfig   |    1 +
 ...-keystone_3.10.bb => linux-keystone-rt_3.10.bb} |    8 ++++----
 2 files changed, 5 insertions(+), 4 deletions(-)
 create mode 100644 recipes-kernel/linux/linux-keystone-rt/defconfig
 copy recipes-kernel/linux/{linux-keystone_3.10.bb => linux-keystone-rt_3.10.bb} (76%)
recipes-kernel/linux/linux-keystone-rt/defconfig new file +1 -0
new file mode 100644
index 0000000..731bb00
@@ -0,0 +1 @@
+use-kernel-config=keystone2_fullrt_defconfig
recipes-kernel/linux/linux-keystone-rt_3.10.bb renamed from recipes-kernel/linux/linux-keystone_3.10.bb +4 -4
similarity index 76%
copy from recipes-kernel/linux/linux-keystone_3.10.bb
copy to recipes-kernel/linux/linux-keystone-rt_3.10.bb
index 2384ede..9c2f904 100644
@@ -1,5 +1,5 @@
 SECTION = "kernel"
-DESCRIPTION = "Linux kernel for TI Keystone devices"
+DESCRIPTION = "Linux RT kernel for TI Keystone devices"
 LICENSE = "GPLv2"
 LIC_FILES_CHKSUM = "file://COPYING;md5=d7810fab7487fb0aad327b76f1be7cd7"
 
@@ -17,11 +17,11 @@ KERNEL_DEVICETREE_keystone-evm = "k2hk-evm.dtb"
 
 KERNEL_EXTRA_ARGS += "LOADADDR=${UBOOT_ENTRYPOINT}"
 
-#This commit corresponds to "K2_LINUX_03.10.10_13.12"
-SRCREV = "335d14b1c2ce23585835243126c6acba89067ecf"
+#This commit corresponds to "K2_RT_LINUX_03.10.10_13.12"
+SRCREV = "8fa9091d0f9c91a048a975ddebbf2f492e73bf61"
 PV = "3.10.10"
 
-BRANCH = "master"
+BRANCH = "master-rt"
 SRC_URI = "git://git.ti.com/keystone-linux/linux.git;protocol=git;branch=${BRANCH}\
            file://defconfig\
            "
Signature · 6 lines
1.7.9.5

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

-----Original Message-----
From: Dmytriyenko, Denys
Sent: Wednesday, February 05, 2014 6:32 PM
To: Nelson, Sam
Cc: [email protected]
Subject: Re: [meta-ti] [PATCH v2] linux-keystone-rt: Add new recipe for build rt-kernel

Quoted 2 lines · Sam Nelson

- Builds kernel tree with RT patches

Quoted 7 lines
Quoted 1 line

Ack.

Just to check in general for your kernels and SDKs - you don't want devicetree
files to be in the /boot directory of your rootfs, right?

[Sam] In general my thinking is that, it is not required.
But I am not sure if there is some kernel recovery procedure which may require this.

Quoted 64 lines
Quoted 8 lines

---
Changed from previous patch
* Added PV 3.10.10
* Renamed linux-keystone-rt-3.10/defconfig
-->linux-keystone-rt/defconfig
---

Quoted 6 lines
---
 recipes-kernel/linux/linux-keystone-rt/defconfig   |    1 +
 ...-keystone_3.10.bb => linux-keystone-rt_3.10.bb} |    8 ++++----
 2 files changed, 5 insertions(+), 4 deletions(-)
 create mode 100644 recipes-kernel/linux/linux-keystone-rt/defconfig
 copy recipes-kernel/linux/{linux-keystone_3.10.bb => linux-keystone-

rt_3.10.bb} (76%)

recipes-

Quoted 2 lines
recipes- renamed from recipes-kernel/linux/linux-keystone-rt/defconfig +0 -0

kernel/linux/linux-keystone-rt/defconfig

recipes-

Quoted 7 lines

new file mode 100644
index 0000000..731bb00

recipes-kernel/linux/linux-keystone-rt/defconfig new file +1 -0
@@ -0,0 +1 @@
+use-kernel-config=keystone2_fullrt_defconfig
recipes- renamed from recipes-kernel/linux/linux-keystone_3.10.bb +0 -0

kernel/linux/linux-keystone-rt_3.10.bb

recipes-kernel/linux/linux-keystone-rt_3.10.bb line 4

Quoted 12 lines

similarity index 76%
copy from recipes-kernel/linux/linux-keystone_3.10.bb copy to recipes-kernel/linux/linux-keystone-rt_3.10.bb index 2384ede..9c2f904 100644

recipes-kernel/linux/linux-keystone-rt_3.10.bb renamed from recipes-kernel/linux/linux-keystone_3.10.bb +1 -1
@@ -1,5 +1,5 @@
 SECTION = "kernel"
-DESCRIPTION = "Linux kernel for TI Keystone devices"
+DESCRIPTION = "Linux RT kernel for TI Keystone devices"
 LICENSE = "GPLv2"
 LIC_FILES_CHKSUM =

"file://COPYING;md5=d7810fab7487fb0aad327b76f1be7cd7"

recipes-kernel/linux/linux-keystone-rt_3.10.bb KERNEL_DEVICETREE_keystone-evm = "k2hk-

Quoted 2 lines
recipes-kernel/linux/linux-keystone-rt_3.10.bb renamed from recipes-kernel/linux/linux-keystone_3.10.bb +0 -0
@@ -17,11 +17,11 @@ KERNEL_DEVICETREE_keystone-evm = "k2hk-

evm.dtb"

recipes-kernel/linux/linux-keystone-rt_3.10.bb KERNEL_DEVICETREE_keystone-evm = "k2hk-evm.dtb"

Quoted 12 lines
recipes-kernel/linux/linux-keystone-rt_3.10.bb renamed from recipes-kernel/linux/linux-keystone_3.10.bb +3 -3
 KERNEL_EXTRA_ARGS += "LOADADDR=${UBOOT_ENTRYPOINT}"
 
-#This commit corresponds to "K2_LINUX_03.10.10_13.12"
-SRCREV = "335d14b1c2ce23585835243126c6acba89067ecf"
+#This commit corresponds to "K2_RT_LINUX_03.10.10_13.12"
+SRCREV = "8fa9091d0f9c91a048a975ddebbf2f492e73bf61"
 PV = "3.10.10"
 
-BRANCH = "master"
+BRANCH = "master-rt"
 SRC_URI = "git://git.ti.com/keystone-

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

Quoted 9 lines
recipes-kernel/linux/linux-keystone-rt_3.10.bb renamed from recipes-kernel/linux/linux-keystone_3.10.bb +0 -1
            file://defconfig\
            "
--

1.7.9.5

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