Fix i.MX6 (usb) 57/10157/2
authorTakashi Matsuzawa <tmatsuzawa@xevo.com>
Thu, 6 Jul 2017 21:46:02 +0000 (06:46 +0900)
committerJan-Simon Moeller <jsmoeller@linuxfoundation.org>
Wed, 12 Jul 2017 16:35:05 +0000 (16:35 +0000)
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>
meta-agl-bsp/conf/include/agl_imx6qsabreauto.inc

index 74879db..6819203 100644 (file)
@@ -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 := ""
+