aboutsummaryrefslogtreecommitdiffstats
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:05 +0000
commit6cbdc4ba6f831c43c75667cfc87706b181abbb88 (patch)
treebf46666b750093bf4867f1ad077d9504716fc1fa
parent78db75668ce5a62858d17928a71b3d1ee6da38fe (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/10157 Tested-by: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org> ci-image-build: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org> Reviewed-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
-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 := ""
+