From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by yocto-www.yoctoproject.org (Postfix, from userid 118) id D5BC5E00CD9; Fri, 10 Jun 2016 03:46:26 -0700 (PDT) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on yocto-www.yoctoproject.org X-Spam-Level: X-Spam-Status: No, score=-2.6 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,RCVD_IN_DNSWL_LOW autolearn=ham version=3.3.1 X-Spam-HAM-Report: * -0.7 RCVD_IN_DNSWL_LOW RBL: Sender listed at http://www.dnswl.org/, low * trust * [209.85.213.68 listed in list.dnswl.org] * -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% * [score: 0.0000] * 0.1 DKIM_SIGNED Message has a DKIM or DK signature, not necessarily * valid * -0.1 DKIM_VALID Message has at least one valid DKIM or DK signature Received: from mail-vk0-f68.google.com (mail-vk0-f68.google.com [209.85.213.68]) by yocto-www.yoctoproject.org (Postfix) with ESMTP id 3DD88E00CC0 for ; Fri, 10 Jun 2016 03:46:23 -0700 (PDT) Received: by mail-vk0-f68.google.com with SMTP id v188so804478vkf.3 for ; Fri, 10 Jun 2016 03:46:23 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ossystems-com-br.20150623.gappssmtp.com; s=20150623; h=from:mime-version:in-reply-to:references:date:message-id:subject:to :cc; bh=TikuvEf+brJUTxGhOJmupnvTR+Vyy8dE+diTC7I2C9s=; b=ZcWMO2T5T8haeFQ6sNuJWtrq20WGbspl5ckqNgYFUdCdJwNQkFdzUBYPeigKLKNadm 59HXAmi0e4kgj7Ci0LiqxACKZVyz/wyowXw6xhi6fCL51La5HHREN10MnofwfjiER/Ay /1rVfMxo4MTN4GpKc+okVkM3a+rshNPp9gD6T+5OqxHMk5v2jTp9fWtVin5Kvk9Cc7D+ AE6kPm7yJXa4K9kNB+vd3H5cVFC93nO/Q9Sl32wCHVP1bDTqunBh+R+H7aGrMmvihUt5 KvgVlb8P7bmam/mECqj5V86DyfHH9aYqvQe8tXUktLtZUyAklzkLGTNsIgbqFnG9EWAB Xz1Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:mime-version:in-reply-to:references:date :message-id:subject:to:cc; bh=TikuvEf+brJUTxGhOJmupnvTR+Vyy8dE+diTC7I2C9s=; b=Wc3KOBX/zP2BMpPzqkmBbJ7HetRDdK/u1CdnlEX+RKubdH140rhZhtErgdJ0dKUTCB HrrHy7W7vP/O9nEpMLHFMq1oflysCN24xzoLLE998mzZZFlKECLuv7lFUSZvEdA/RLOU AhGT6LfxFIpMldoiJlGo33D9RQW3085or0UNz0MppeEb1ocbeZJfu03NJKfTN2qWyPW6 Pc3AF1VZf3T67sOv+g2U3d2/zovTqbf8M/I5XzXT3opYd4MjStU8vktV/IkgMt2n45Mr y8EXqhyBoJkvHz1tXtI+rna/g+2OR7c2GizgUBFLOdJisF1rEwIC2GCawyjFLG8J+LIQ 8DlQ== X-Gm-Message-State: ALyK8tKa8b5ci8gYUsmoMGJrEfp4pimfnWhkyXlatNOR2AyWXbO+WX0nEIq/trlU+UP31Q== X-Received: by 10.176.1.246 with SMTP id 109mr513751ual.52.1465555582825; Fri, 10 Jun 2016 03:46:22 -0700 (PDT) Received: from mail-vk0-f48.google.com (mail-vk0-f48.google.com. [209.85.213.48]) by smtp.gmail.com with ESMTPSA id 44sm1702596uaf.7.2016.06.10.03.46.21 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 10 Jun 2016 03:46:21 -0700 (PDT) From: Otavio Salvador X-Google-Original-From: Otavio Salvador Received: by mail-vk0-f48.google.com with SMTP id e4so92163662vkb.1 for ; Fri, 10 Jun 2016 03:46:21 -0700 (PDT) X-Received: by 10.176.1.17 with SMTP id 17mr409894uak.154.1465555580679; Fri, 10 Jun 2016 03:46:20 -0700 (PDT) MIME-Version: 1.0 Received: by 10.31.189.21 with HTTP; Fri, 10 Jun 2016 03:46:20 -0700 (PDT) In-Reply-To: References: Date: Fri, 10 Jun 2016 07:46:20 -0300 X-Gmail-Original-Message-ID: Message-ID: To: Cjb_SW Freescale Cc: "" Subject: Re: imx6ul evk SD card boot issue with certain type of uSD X-BeenThere: meta-freescale@yoctoproject.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: Usage and development list for the meta-fsl-* layers List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 10 Jun 2016 10:46:26 -0000 Content-Type: text/plain; charset=UTF-8 On Fri, Jun 10, 2016 at 6:13 AM, Cjb_SW Freescale wrote: > Dear All, > I'm facing a problem at boot (spl) with some types of uSD. > > I made some tests, here is the result: > > uSD card Innodisk Industrial 2GB FAIL with: > uSD card Sandisk 8GB FAIL with: > U-Boot SPL 2016.03+fslc+g1e82446 (May 17 2016 - 12:24:33) > Trying to boot from MMC > spl: mmc block read error > SPL: failed to boot from all boot devices > ### ERROR ### Please RESET the board ### > > uSD card Sandisk 4GB Boot ok... > > Does anybody knows what is going wrong? > I'm aligned to fsl-bsp branch Krogoth commit 58abb988ce24525474f0d515d2a36c1b3acf893f Author: Fabio Estevam Date: Wed Apr 20 22:48:13 2016 -0300 mx6ul_evk: Remove CONFIG_SUPPORT_EMMC_BOOT mx6ul_evk does not come with a eMMC populated, so we should not define CONFIG_SUPPORT_EMMC_BOOT as it causes SPL to not be able to boot some brands of SD cards, such as SanDisk microSD HC - 8GB: U-Boot SPL 2016.05-rc1-28384-g108f841 (Apr 19 2016 - 11:19:11) Trying to boot from MMC1 spl: mmc block read error SPL: failed to boot from all boot devices ### ERROR ### Please RESET the board ### When CONFIG_SUPPORT_EMMC_BOOT is defined spl_boot_mode() returns MMCSD_MODE_EMMCBOOT, so remove this option to have a reliable boot via SD card. Signed-off-by: Fabio Estevam Might help. I pushed this change for U-Boot FSLC fork: To git@github.com:Freescale/u-boot-imx.git 1e82446..8e1bfe4 2016.03+fslc -> 2016.03+fslc So please try that and let us know if it fixes the issue. If it does we can update the BSP. -- Otavio Salvador O.S. Systems http://www.ossystems.com.br http://code.ossystems.com.br Mobile: +55 (53) 9981-7854 Mobile: +1 (347) 903-9750