aboutsummaryrefslogtreecommitdiffstats
path: root/meta-agl-bsp/conf/include
diff options
context:
space:
mode:
authorMihail Grigorov <michael.grigorov@konsulko.com>2017-10-26 14:22:47 +0300
committerJan-Simon Moeller <jsmoeller@linuxfoundation.org>2017-10-31 15:43:56 +0000
commit905637796f3db7d5992c9b8d11a59b30667221d2 (patch)
tree96f79842f460ed7be0993ca53eb0d4e2ca657d10 /meta-agl-bsp/conf/include
parent4a2b05b3cfc12093b4ac0853f4a38593d067f7ef (diff)
meta-agl-bsp: imx6qsabrelite: Switch to WIC image
To produce a bootable WIC image, we needs to make some changes in 6x_bootscript for compatibility with WIC and SDCARD images. Because in case of WIC, we have one partition, and the kernel files are located in /boot directory. In case of SDCARD image, kernel files are in root directory of first partition. Bug-AGL: SPEC-899 Change-Id: Ie4b26a703cc468ff8c8405e957aacc2973ee289a Signed-off-by: Mihail Grigorov <michael.grigorov@konsulko.com> Reviewed-by: Tom Rini <trini@konsulko.com> Reviewed-on: https://gerrit.automotivelinux.org/gerrit/11571 Tested-by: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org> ci-image-build: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org> ci-image-boot-test: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org> Reviewed-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org> Reviewed-by: Matt Porter <mporter@konsulko.com>
Diffstat (limited to 'meta-agl-bsp/conf/include')
-rw-r--r--meta-agl-bsp/conf/include/agl_imx6qsabrelite.inc10
1 files changed, 7 insertions, 3 deletions
diff --git a/meta-agl-bsp/conf/include/agl_imx6qsabrelite.inc b/meta-agl-bsp/conf/include/agl_imx6qsabrelite.inc
index 2e3633ef4..5b86ba9a0 100644
--- a/meta-agl-bsp/conf/include/agl_imx6qsabrelite.inc
+++ b/meta-agl-bsp/conf/include/agl_imx6qsabrelite.inc
@@ -20,15 +20,19 @@ PREFERRED_PROVIDER_virtual/kernel = "linux-boundary"
PREFERRED_PROVIDER_u-boot = "u-boot-boundary"
PREFERRED_PROVIDER_virtual/bootloader = "u-boot-boundary"
PREFERRED_PROVIDER_u-boot-mxsboot-native = "u-boot-boundary"
-MACHINE_ESSENTIAL_EXTRA_RDEPENDS += " u-boot-boundary"
+MACHINE_ESSENTIAL_EXTRA_RDEPENDS += " \
+ u-boot-boundary \
+ u-boot-script-boundary \
+"
UBOOT_MACHINE = "nitrogen6q_config"
SPL_BINARY = ""
UBOOT_SUFFIX_SDCARD = "imx"
IMAGE_BOOTLOADER = "u-boot"
-# force generate sdcard image also
-AGL_DEFAULT_IMAGE_FSTYPES := "sdcard.xz"
+# generate WIC image also
+WKS_FILE = "imx-uboot.wks"
+AGL_EXTRA_IMAGE_FSTYPES = "wic.xz wic.bmap wic.xz.sha256sum"
AGL_DEFAULT_INITRAMFS_FSTYPES := ""
PREFERRED_VERSION_weston_mx6_forcevariable = "2.0.0"