From 466575a7e7312b57c4b43241d16894dea8692049 Mon Sep 17 00:00:00 2001 From: "Franklin S. Cooper Jr" Date: Fri, 11 Oct 2013 17:02:03 -0500 Subject: [PATCH] machine conf: Set correct default ubi volume name for 335x and 437x * 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 Signed-off-by: Denys Dmytriyenko --- conf/machine/include/ti33x.inc | 4 ++++ conf/machine/include/ti43x.inc | 4 ++++ 2 files changed, 8 insertions(+) diff --git a/conf/machine/include/ti33x.inc b/conf/machine/include/ti33x.inc index 8a91a52c..af340d2c 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 adb66e37..dc3baf6b 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