Skip to contentSkip to conversation

conf: update old machines to use linux-ti-staging and u-boot-ti-staging

PATCH New Denys Dmytriyenko 1 participant 2 messages Apr 19, 2016

lore
Share & tools
lore
#0 lore raw

PATCH 1/2 conf: update old machines to use linux-ti-staging and u-boot-ti-staging

From: Denys Dmytriyenko <[email protected]>

---
 conf/machine/include/davinci.inc | 9 +++++----
 conf/machine/include/omap3.inc   | 9 +++++----
 conf/machine/include/omap4.inc   | 3 ++-
 3 files changed, 12 insertions(+), 9 deletions(-)
conf/machine/include/davinci.inc +5 -4
index 9f90f24..59e423d 100644
@@ -1,12 +1,13 @@
 require conf/machine/include/tune-arm926ejs.inc
 
 # Increase this everytime you change something in the kernel
-MACHINE_KERNEL_PR = "r53"
+MACHINE_KERNEL_PR = "r54"
 
-KERNEL_IMAGETYPE = "uImage"
+KERNEL_IMAGETYPE = "zImage"
 
-PREFERRED_PROVIDER_virtual/kernel = "linux-mainline"
-PREFERRED_PROVIDER_virtual/bootloader = "u-boot"
+PREFERRED_PROVIDER_virtual/kernel = "linux-ti-staging"
+PREFERRED_PROVIDER_virtual/bootloader = "u-boot-ti-staging"
+PREFERRED_PROVIDER_u-boot = "u-boot-ti-staging"
 
 UBOOT_MACHINE = "davinci_dvevm_config"
 
conf/machine/include/omap3.inc +5 -4
index f83bfa2..3a84140 100644
@@ -17,13 +17,14 @@ XSERVER = "xserver-xorg \
 MACHINE_GUI_CLASS = "bigscreen"
 
 # Increase this everytime you change something in the kernel
-MACHINE_KERNEL_PR = "r126"
+MACHINE_KERNEL_PR = "r127"
 
-KERNEL_IMAGETYPE = "uImage"
+KERNEL_IMAGETYPE = "zImage"
 
 # Default providers, may need to override for specific machines
-PREFERRED_PROVIDER_virtual/kernel = "linux-mainline"
-PREFERRED_PROVIDER_virtual/bootloader = "u-boot"
+PREFERRED_PROVIDER_virtual/kernel = "linux-ti-staging"
+PREFERRED_PROVIDER_virtual/bootloader = "u-boot-ti-staging"
+PREFERRED_PROVIDER_u-boot = "u-boot-ti-staging"
 
 UBOOT_ARCH = "arm"
 UBOOT_MACHINE = "omap3_evm_config"
conf/machine/include/omap4.inc +2 -1
index 1657326..deb3316 100644
@@ -6,6 +6,7 @@ require conf/machine/include/tune-cortexa9.inc
 
 PREFERRED_PROVIDER_virtual/kernel = "linux-ti-staging"
 PREFERRED_PROVIDER_virtual/bootloader = "u-boot-ti-staging"
+PREFERRED_PROVIDER_u-boot = "u-boot-ti-staging"
 
 PREFERRED_PROVIDER_virtual/xserver = "xserver-xorg"
 XSERVER = "xserver-xorg \
@@ -14,7 +15,7 @@ XSERVER = "xserver-xorg \
            xf86-video-omap"
 
 # Increase this everytime you change something in the kernel
-MACHINE_KERNEL_PR = "r3"
+MACHINE_KERNEL_PR = "r4"
 
 KERNEL_IMAGETYPE = "zImage"
 
Signature · 1 line
2.2.0
#1 lore raw

PATCH 2/2 eudev: only install omap rules file for TI machines

From: Denys Dmytriyenko <[email protected]>

Play nice with other BSPs

---
 recipes-core/udev/eudev_%.bbappend | 20 ++++++++++++++++++--
 1 file changed, 18 insertions(+), 2 deletions(-)
recipes-core/udev/eudev_%.bbappend +18 -2
index fd0d99b..a23d015 100644
@@ -2,8 +2,24 @@ FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:"
 
 SRC_URI_append = " file://omap-tty.rules"
 
-PR_append = ".0"
+PR_append = ".1"
 
-do_install_append() {
+install_omap_rules() {
     install -m 0644 ${WORKDIR}/omap-tty.rules ${D}${sysconfdir}/udev/rules.d/
 }
+
+do_install_append_ti33x() {
+    install_omap_rules
+}
+
+do_install_append_ti43x() {
+    install_omap_rules
+}
+
+do_install_append_omap-a15() {
+    install_omap_rules
+}
+
+do_install_append_keystone() {
+    install_omap_rules
+}
Signature · 1 line
2.2.0