[meta-freescale] [meta-fsl-arm-extra][PATCH v2 4/4] cubox-i: Add support to use uboot extlinux

Fabio Berton fabio.berton at ossystems.com.br
Tue Oct 18 09:34:31 PDT 2016


Class that allows extlinux.conf generation for U-Boot use was introduced
on OE-core commits:

  - 7c18abeb2a6ef8b7bb53aa92a9ee76bd465fada2
  - 33df3a65f3e8e136811da715d0cc247ce66ae0ea

To use this feature we need to set UBOOT_EXTLINUX variable to 1.
u-boot-fslc commit 157ec06ef780e3dac510f35b6fcf496c22fb24f9 introduced
support to PARTUUID and UBOOT_EXTLINUX_ROOT use this feature to set
root path used by kernel cmdline.

Signed-off-by: Fabio Berton <fabio.berton at ossystems.com.br>
---
 conf/machine/cubox-i.conf | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/conf/machine/cubox-i.conf b/conf/machine/cubox-i.conf
index 44e8cfb..5bbc98d 100644
--- a/conf/machine/cubox-i.conf
+++ b/conf/machine/cubox-i.conf
@@ -24,6 +24,9 @@ UBOOT_CONFIG[sd] = "mx6cuboxi_defconfig,sdcard"
 UENV_FILENAME = "uEnv-${MACHINE}.txt"
 SPL_BINARY = "SPL"
 
+UBOOT_EXTLINUX = "1"
+UBOOT_EXTLINUX_ROOT = "root=PARTUUID=${uuid}"
+
 KERNEL_IMAGETYPE = "zImage"
 KERNEL_DEVICETREE = "imx6dl-cubox-i.dtb imx6q-cubox-i.dtb imx6dl-hummingboard.dtb imx6q-hummingboard.dtb"
 
-- 
2.1.4



More information about the meta-freescale mailing list