From 6cbdc4ba6f831c43c75667cfc87706b181abbb88 Mon Sep 17 00:00:00 2001 From: Takashi Matsuzawa Date: Fri, 7 Jul 2017 06:46:02 +0900 Subject: 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 Reviewed-on: https://gerrit.automotivelinux.org/gerrit/10157 Tested-by: Jenkins Job builder account ci-image-build: Jenkins Job builder account Reviewed-by: Jan-Simon Moeller --- meta-agl-bsp/conf/include/agl_imx6qsabreauto.inc | 11 +++++++++++ 1 file changed, 11 insertions(+) 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 := "" + -- cgit 1.2.3-korg