aboutsummaryrefslogtreecommitdiffstats
path: root/meta-agl-bsp
diff options
context:
space:
mode:
authorTakashi Matsuzawa <tmatsuzawa@xevo.com>2017-07-07 06:46:02 +0900
committerJan-Simon Moeller <jsmoeller@linuxfoundation.org>2017-07-12 16:35:01 +0000
commite95ef7bd7bf8bec5d6be12c6e3caf98ed4085216 (patch)
tree7093f3d07247f4695955f9267efe22b65d6ce3e3 /meta-agl-bsp
parent8aef3fb27315966d9a66c0a976c33883975ed215 (diff)
Fix i.MX6 (usb)
Bug-AGL: SPEC-704 Use u-boot-imx instead of u-boot-fslc and now gpio is correctly initialized and usb devices are correctly recognized. (Sent e-mail and meta-freescale/fsl community has been notified about the issue.) Also generate scard image that we are familiar with. Confirmed local build successfully boot and show usb devices on lsusb. Update: Sorry fixed typo, also changed .sdcard to .sdcard.gz Update2: .sdcard.gz -> .sdcard.xz Change-Id: Ie2d98fac62d7f1eef803f10784b35a2cb60f535f Signed-off-by: Takashi Matsuzawa <tmatsuzawa@xevo.com> Reviewed-on: https://gerrit.automotivelinux.org/gerrit/10081 Tested-by: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org> ci-image-build: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org> Reviewed-by: Matt Ranostay <matt.ranostay@konsulko.com> Reviewed-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
Diffstat (limited to 'meta-agl-bsp')
-rw-r--r--meta-agl-bsp/conf/include/agl_imx6qsabreauto.inc11
1 files changed, 11 insertions, 0 deletions
diff --git a/meta-agl-bsp/conf/include/agl_imx6qsabreauto.inc b/meta-agl-bsp/conf/include/agl_imx6qsabreauto.inc
index 74879dbbf..681920347 100644
--- a/meta-agl-bsp/conf/include/agl_imx6qsabreauto.inc
+++ b/meta-agl-bsp/conf/include/agl_imx6qsabreauto.inc
@@ -33,3 +33,14 @@ IMAGE_INSTALL_append = " \
SECURITY_CFLAGS_pn-devil = "${SECURITY_NO_PIE_CFLAGS}"
+# since krogoth, u-boot-fslc does not seem to handle imx6qsabreauto correctly
+
+PREFERRED_PROVIDER_u-boot = "u-boot-imx"
+PREFERRED_PROVIDER_virtual/bootloader = "u-boot-imx"
+PREFERRED_PROVIDER_u-boot-mxsboot-native = "u-boot-imx"
+
+# force generate sdcard image also
+
+AGL_DEFAULT_IMAGE_FSTYPES := "sdcard.xz"
+AGL_DEFAULT_INITRAMFS_FSTYPES := ""
+