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

Fabio Berton fabio.berton at ossystems.com.br
Tue Oct 18 09:34:30 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 1009975a22499e79b55d1e800a71ecd8c06c6bfb 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/wandboard.conf | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/conf/machine/wandboard.conf b/conf/machine/wandboard.conf
index b1e49b3..eb6da77 100644
--- a/conf/machine/wandboard.conf
+++ b/conf/machine/wandboard.conf
@@ -14,6 +14,9 @@ UBOOT_SUFFIX = "img"
 SPL_BINARY = "SPL"
 UBOOT_MACHINE = "wandboard_config"
 
+UBOOT_EXTLINUX = "1"
+UBOOT_EXTLINUX_ROOT = "root=PARTUUID=${uuid}"
+
 PREFERRED_PROVIDER_virtual/kernel ?= "linux-wandboard"
 KERNEL_DEVICETREE = " \
     imx6dl-wandboard-revb1.dtb \
-- 
2.1.4



More information about the meta-freescale mailing list