cubox-i: Add support to use uboot extlinux

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@ossystems.com.br>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
This commit is contained in:
Fabio Berton 2016-10-18 14:34:31 -02:00 committed by Otavio Salvador
parent 49fcfc7622
commit ae68982b66

View File

@ -24,6 +24,9 @@ UBOOT_CONFIG[sd] = "mx6cuboxi_defconfig,sdcard"
UENV_FILENAME = "uEnv-${MACHINE}.txt" UENV_FILENAME = "uEnv-${MACHINE}.txt"
SPL_BINARY = "SPL" SPL_BINARY = "SPL"
UBOOT_EXTLINUX = "1"
UBOOT_EXTLINUX_ROOT = "root=PARTUUID=${uuid}"
KERNEL_IMAGETYPE = "zImage" KERNEL_IMAGETYPE = "zImage"
KERNEL_DEVICETREE = "imx6dl-cubox-i.dtb imx6q-cubox-i.dtb imx6dl-hummingboard.dtb imx6q-hummingboard.dtb" KERNEL_DEVICETREE = "imx6dl-cubox-i.dtb imx6q-cubox-i.dtb imx6dl-hummingboard.dtb imx6q-hummingboard.dtb"