[meta-ti] [PATCH] machine conf: Set correct default ubi volume name for 335x and 437x

Franklin S. Cooper Jr fcooper at ti.com
Fri Oct 11 15:02:03 PDT 2013


* For am335x and am437x, the kernel and  u-boot expects the ubifs volume name
  to be set to "rootfs".
* Set UBI_VOLNAME variable to "rootfs" so that the ubifs files generated by OE
  will work.

Signed-off-by: Franklin S. Cooper Jr <fcooper at ti.com>
---
 conf/machine/include/ti33x.inc |    4 ++++
 conf/machine/include/ti43x.inc |    4 ++++
 2 files changed, 8 insertions(+), 0 deletions(-)

diff --git a/conf/machine/include/ti33x.inc b/conf/machine/include/ti33x.inc
index 8a91a52..af340d2 100644
--- a/conf/machine/include/ti33x.inc
+++ b/conf/machine/include/ti33x.inc
@@ -31,6 +31,10 @@ UBOOT_MACHINE = "am335x_evm_config"
 UBOOT_ENTRYPOINT = "0x80008000"
 UBOOT_LOADADDRESS = "0x80008000"
 
+# Use the expected value of the ubifs filesystem's volume name in the kernel
+# and u-boot.
+UBI_VOLNAME = "rootfs"
+
 EXTRA_IMAGEDEPENDS += "u-boot"
 
 # List common SoC features, may need to add touchscreen for specific machines
diff --git a/conf/machine/include/ti43x.inc b/conf/machine/include/ti43x.inc
index adb66e3..dc3baf6 100644
--- a/conf/machine/include/ti43x.inc
+++ b/conf/machine/include/ti43x.inc
@@ -31,6 +31,10 @@ UBOOT_MACHINE = "am43xx_evm_config"
 UBOOT_ENTRYPOINT = "0x80008000"
 UBOOT_LOADADDRESS = "0x80008000"
 
+# Use the expected value of the ubifs filesystem's volume name in the kernel
+# and u-boot.
+UBI_VOLNAME = "rootfs"
+
 EXTRA_IMAGEDEPENDS += "u-boot"
 
 # List common SoC features, may need to add touchscreen for specific machines
-- 
1.7.0.4




More information about the meta-ti mailing list