Skip to contentSkip to conversation

omap-a15: set the UBI_VOLNAME to match u-boot default

PATCH New Chase Maupin 1 participant 3 messages Jan 17, 2014

lore
Share & tools
lore
#0 lore raw

PATCH v2 1/3 omap-a15: set the UBI_VOLNAME to match u-boot default

* By setting the UBI_VOLNAME variable the default name for the UBI rootfs will match the default used by u-boot so images built through OpenEmbedded will work with out-of-box u-boot.

---
* Updated in version 2
* Changed the commit message to refer to the right variable name

---
 conf/machine/include/omap-a15.inc |    4 ++++
 1 files changed, 4 insertions(+), 0 deletions(-)
conf/machine/include/omap-a15.inc +4 -0
index b0a0e74..dcf973e 100644
@@ -24,3 +24,7 @@ XSERVER = "xserver-xorg \
            xf86-video-fbdev"
 
 GUI_MACHINE_CLASS = "smallscreen"
+
+# Use the expected value of the ubifs filesystem's volume name in the kernel
+# and u-boot.
+UBI_VOLNAME = "rootfs"
Signature · 1 line
1.7.0.4
#1 lore raw

PATCH 2/3 am33x-cm3: clarify when initscripts are needed

---
 recipes-bsp/ti/am33x-cm3_git.bb |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)
recipes-bsp/ti/am33x-cm3_git.bb +3 -0
index 75b6c73..1e99595 100644
@@ -13,6 +13,9 @@ PACKAGE_ARCH = "${MACHINE_ARCH}"
 SRCREV = "40cb75b9dd9ba15c6de1c15cbb7cce8f1a6588b8"
 BRANCH ?= "master"
 
+# This init script is only used for older kernels that do not support
+# hotplug of the firmware.  Newer kernels do not require the initscript
+# package.
 INITSCRIPT_NAME = "am335x-pm-firmware-load"
 INITSCRIPT_PARAMS = "defaults 96"
 
Signature · 1 line
1.7.0.4
#2 lore raw

PATCH 3/3 linux-ti-staging: remove initscript dependency

In reply to Chase Maupin

* Remove the RDEPENDS for the am33x-cm3-initscript package since the latest kernel source use the hotplug functionality to load the firmware.
* Updated the SRCREV to the latest kernel sources which include the hotplug fix.
* Bump the MACHINE_KERNEL_PR for the am335x and am437x devices which are affected.

---
 conf/machine/include/ti33x.inc                |    2 +-
 conf/machine/include/ti43x.inc                |    2 +-
 recipes-kernel/linux/linux-ti-staging_3.12.bb |    7 +++----
 3 files changed, 5 insertions(+), 6 deletions(-)
conf/machine/include/ti33x.inc +1 -1
index af340d2..17b968d 100644
@@ -16,7 +16,7 @@ XSERVER = "xserver-xorg \
 GUI_MACHINE_CLASS = "bigscreen"
 
 # Increase this everytime you change something in the kernel
-MACHINE_KERNEL_PR = "r20"
+MACHINE_KERNEL_PR = "r21"
 
 # Default providers, may need to override for specific machines
 PREFERRED_PROVIDER_virtual/kernel = "linux-ti-staging"
conf/machine/include/ti43x.inc +1 -1
index d9bfd25..8913380 100644
@@ -16,7 +16,7 @@ XSERVER = "xserver-xorg \
 GUI_MACHINE_CLASS = "bigscreen"
 
 # Increase this everytime you change something in the kernel
-MACHINE_KERNEL_PR = "r1"
+MACHINE_KERNEL_PR = "r2"
 
 # Default providers, may need to override for specific machines
 PREFERRED_PROVIDER_virtual/kernel = "linux-ti-staging"
recipes-kernel/linux/linux-ti-staging_3.12.bb +3 -4
index 7d5439e..2d9f813 100644
@@ -13,8 +13,8 @@ RDEPENDS_kernel-base += "kernel-devicetree"
 
 # Add a run-time dependency for the PM firmware to be installed
 # on the target file system.
-RDEPENDS_kernel-base_append_ti33x = " am33x-cm3 am33x-cm3-initscript"
-RDEPENDS_kernel-base_append_ti43x = " am33x-cm3 am33x-cm3-initscript"
+RDEPENDS_kernel-base_append_ti33x = " am33x-cm3"
+RDEPENDS_kernel-base_append_ti43x = " am33x-cm3"
 
 # Add a run-time dependency for the VPE VPDMA firmware to be installed
 # on the target file system.
@@ -36,8 +36,7 @@ S = "${WORKDIR}/git"
 
 BRANCH = "ti-linux-3.12.y"
 
-# Corresponds to ti2013.12.00 release
-SRCREV = "dfea149efb32485f17bb7440eb326549c8f647e2"
+SRCREV = "b0f3ccd18d39c375491519ba285babf152eab9d8"
 PV = "3.12.4"
 
 # Append to the MACHINE_KERNEL_PR so that a new SRCREV will cause a rebuild
Signature · 1 line
1.7.0.4