From: Yang, Wenyou <Wenyou.Yang@Microchip.com>
To: u-boot@lists.denx.de
Subject: [U-Boot] U-Boot
Date: Tue, 27 Feb 2018 09:55:02 +0800 [thread overview]
Message-ID: <ab829dec-dcfd-5fcf-1923-9c6dc2b57772@Microchip.com> (raw)
In-Reply-To: <CAP+B+qBfb2EgxAK73=fjhkfN2RamXYWissY-yq0QH=B8=xz83Q@mail.gmail.com>
Hi Mariano,
On 2018/2/27 1:09, Mariano Coromac wrote:
> Hello Again,
> I have been working with UBoot but now when I try to boot my Linux
> kernel image that's inside my eMMC it displays the following:
> => boot
> CMD_SEND:0
> ARG 0x00000000
> RET -110
> mmc_init: -110, time 10
> ** Bad device mmc 1 **
> CMD_SEND:0
> ARG 0x00000000
> RET -110
> mmc_init: -110, time 11
> ** Bad device mmc 1 **
>
> I know it is a timeout error and I also know that the error occurs
> inside mmc-uclass line 31. I'm aware send_cmd() is defined in mmc.h
> but I honestly don't know how to dig deeper into this error.
>
> mmc info works fine. Here's the mmc rescan log if it makes any use:
> => mmc rescan
> CMD_SEND:0
> ARG 0x00000000
> MMC_RSP_NONE
> CMD_SEND:8
> ARG 0x000001AA
> RET -110
> CMD_SEND:55
> ARG 0x00000000
> RET -110
> CMD_SEND:0
> ARG 0x00000000
> MMC_RSP_NONE
> CMD_SEND:1
> ARG 0x00000000
> MMC_RSP_R3,4 0x00FF8080
> CMD_SEND:1
> ARG 0x40360080
> MMC_RSP_R3,4 0xC0FF8080
> CMD_SEND:2
> ARG 0x00000000
> MMC_RSP_R2 0xEB010D65
> 0x4D4D4320
> 0x205000AC
> 0x008E7300
>
> DUMPING DATA
> 000 - EB 01 0D 65
> 004 - 4D 4D 43 20
> 008 - 20 50 00 AC
> 012 - 00 8E 73 00
> CMD_SEND:3
> ARG 0x00010000
> MMC_RSP_R1,5,6,7 0x00000500
> CMD_SEND:9
> ARG 0x00010000
> MMC_RSP_R2 0xD04F0132
> 0x0F5903FF
> 0xFFFFFFEF
> 0x8A400000
>
> DUMPING DATA
> 000 - D0 4F 01 32
> 004 - 0F 59 03 FF
> 008 - FF FF FF EF
> 012 - 8A 40 00 00
> CMD_SEND:13
> ARG 0x00010000
> MMC_RSP_R1,5,6,7 0x00000700
> CURR STATE:3
> CMD_SEND:7
> ARG 0x00010000
> MMC_RSP_R1,5,6,7 0x00000700
> CMD_SEND:8
> ARG 0x00000000
> MMC_RSP_R1,5,6,7 0x00000900
> CMD_SEND:8
> ARG 0x00000000
> MMC_RSP_R1,5,6,7 0x00000900
> CMD_SEND:6
> ARG 0x03B90100
> MMC_RSP_R1b 0x00000800
> CMD_SEND:13
> ARG 0x00010000
> MMC_RSP_R1,5,6,7 0x00000900
> CURR STATE:4
> CMD_SEND:8
> ARG 0x00000000
> MMC_RSP_R1,5,6,7 0x00000900
> CMD_SEND:6
> ARG 0x03B70100
> MMC_RSP_R1b 0x00000800
> CMD_SEND:13
> ARG 0x00010000
> MMC_RSP_R1,5,6,7 0x00000900
> CURR STATE:4
> CMD_SEND:8
> ARG 0x00000000
> MMC_RSP_R1,5,6,7 0x00000900
> CMD_SEND:16
> ARG 0x00000200
> MMC_RSP_R1,5,6,7 0x00000900
> CMD_SEND:17
> ARG 0x00000000
> MMC_RSP_R1,5,6,7 0x00000900
>
> Any guidance would be appreciated.
Please check if there is a pin conflict to configure, or if the mmc
sequential number is correct.
On sama5d2 Xplained board, the eMMC works with the commands,
=> mmc info
Device: sdio-host at a0000000
Manufacturer ID: fe
OEM: 14e
Name: MMC04
Tran Speed: 52000000
Rd Block Len: 512
MMC version 4.4.1
High Capacity: Yes
Capacity: 3.7 GiB
Bus Width: 4-bit
Erase Group Size: 512 KiB
HC WP Group Size: 4 MiB
User Capacity: 3.7 GiB
Boot Capacity: 1 MiB ENH
RPMB Capacity: 128 KiB ENH
> Thank you.
>
> On Wed, Feb 14, 2018 at 3:27 PM, Mariano Coromac <mcoromac@stsa.info
> <mailto:mcoromac@stsa.info>> wrote:
>
> Forget it guys, I just realized what was wrong.
> reg = <0xf8038200 0x200>;
> Before it was
> reg = <0xf8038200 0x100>;
> So if anyone else (that wants to use the flexcom uart) asks you
> about this now there's another thing you can point to.
> If I encounter another problem or something I'll get back to you.
>
>
>
>
> --
> Mariano Coromac <https://gps.gt/>
> I&D of Electronics Engineer
> mcoromac at stsa.info <mailto:mcoromac@stsa.info>
> +502 41544712
> www.gps.gt <http://www.gps.gt> <http://facebook.com/startracksa>
>
Best Regards,
Wenyou Yang
next prev parent reply other threads:[~2018-02-27 1:55 UTC|newest]
Thread overview: 36+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <CAP+B+qCMvQQBAGPaZ73UkKV2GpwoYx-OKVjjmLjB420fgwCEKA@mail.gmail.com>
2018-02-12 14:59 ` [U-Boot] U-Boot Marek Vasut
2018-02-12 15:13 ` Mariano Coromac
2018-02-12 15:28 ` Marek Vasut
2018-02-12 16:28 ` Mariano Coromac
2018-02-12 16:39 ` Nicolas Ferre
2018-02-12 17:13 ` Mariano Coromac
2018-02-13 8:37 ` Nicolas Ferre
2018-02-13 16:00 ` Mariano Coromac
2018-02-13 17:29 ` Simon Glass
2018-02-13 22:23 ` Mariano Coromac
2018-02-14 3:09 ` Simon Glass
2018-02-14 14:54 ` Mariano Coromac
2018-02-14 18:34 ` Mariano Coromac
2018-02-14 21:27 ` Mariano Coromac
2018-02-26 17:09 ` Mariano Coromac
2018-02-27 1:55 ` Yang, Wenyou [this message]
2018-02-27 16:55 ` Mariano Coromac
2018-02-28 1:24 ` Yang, Wenyou
2018-02-28 22:15 ` Mariano Coromac
2018-03-01 19:55 ` Mariano Coromac
2018-03-02 15:53 ` Lothar Waßmann
2018-03-02 17:58 ` Nicolas Ferre
2018-03-05 22:15 ` Mariano Coromac
2017-01-12 16:45 [U-Boot] u-boot adam.davis at stfc.ac.uk
2017-01-13 8:56 ` Michal Simek
-- strict thread matches above, loose matches on Subject: below --
2016-06-23 14:15 Venky Venkatesh
2016-06-23 18:23 ` Wolfgang Denk
2016-06-24 3:04 ` Venky Venkatesh
2016-06-24 6:33 ` Wolfgang Denk
2015-04-17 14:16 [U-Boot] U-Boot wehner.junior at googlemail.com
2011-08-05 11:48 [U-Boot] U-BOOT Rajeev Rao Battu
2011-08-05 13:03 ` Albert ARIBAUD
2011-06-20 11:08 [U-Boot] U-Boot Yash Jain
2011-06-20 11:27 ` Wolfgang Denk
2010-08-29 2:12 [U-Boot] u-boot Ò»ºÅ º«
2010-08-30 9:13 ` Detlev Zundel
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=ab829dec-dcfd-5fcf-1923-9c6dc2b57772@Microchip.com \
--to=wenyou.yang@microchip.com \
--cc=u-boot@lists.denx.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox