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 and
UBOOT_EXTLINUX_ROOT with root path used by kernel cmdline.

Signed-off-by: Fabio Berton <fabio.ber...@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..7b60962 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=/dev/mmcblk0p2"
+
 KERNEL_IMAGETYPE = "zImage"
 KERNEL_DEVICETREE = "imx6dl-cubox-i.dtb imx6q-cubox-i.dtb 
imx6dl-hummingboard.dtb imx6q-hummingboard.dtb"
 
-- 
2.1.4

-- 
_______________________________________________
meta-freescale mailing list
meta-freescale@yoctoproject.org
https://lists.yoctoproject.org/listinfo/meta-freescale

Reply via email to