public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
From: Anatolij Gustschin <agust@denx.de>
To: u-boot@lists.denx.de
Subject: [U-Boot] problem with eMMC boot on arndale board
Date: Fri, 17 Oct 2014 13:52:29 +0200	[thread overview]
Message-ID: <20141017135229.1d840513@crub> (raw)
In-Reply-To: <5440ED7C.2010500@free.fr>

On Fri, 17 Oct 2014 12:20:44 +0200
Guillaume Gardet <guillaume.gardet@free.fr> wrote:

> Hi,
> 
> does anyone has tried eMMC boot on Arndale board?
> 
> I copied BL1, SPL and u-boot to eMMC, like I do on SD card but it does not boot at all.
> 
> Note that once booted on SD card, I get some errors while accessing eMMC.
> 
> "mmc dev 0" returns:
>          dwmci_send_cmd: DATA ERROR!
>          switch to partitions #0, OK
>          mmc0(part 0) is current device
> 
> "mmc info" returns:
>          Device: EXYNOS DWMMC
>          Manufacturer ID: 15
>          OEM: 100
>          Name: M4G1F
>          Tran Speed: 52000000
>          Rd Block Len: 512
>          MMC version 4.41
>          High Capacity: Yes
>          Capacity: 3.7 GiB
>          Bus Width: 4-bit
> 
> I think it does not boot because of this problem on eMMC.

not necessarily.

> Is there anything I could try to fix it?

I'm not familiar with booting from eMMC on Arndale. But for newer eMMC
(>= JEDEC 4.3) you have to configure a boot partition and enable access to
it in the PARTITION_CONFIG register. The "partconf" subcommand of the mmc
command can be used to do it. See also Table 2 in [1]. Then install the
boot code to the selected boot partition and try again.

[1] http://www.micron.com/-/media/documents/products/technical%20note/nand%20flash/tn2918.pdf

HTH,

Anatolij

      parent reply	other threads:[~2014-10-17 11:52 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-10-17 10:20 [U-Boot] problem with eMMC boot on arndale board Guillaume Gardet
2014-10-17 11:11 ` Ian Campbell
2014-10-17 11:51   ` Michael Trimarchi
2014-10-17 11:52 ` Anatolij Gustschin [this message]

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=20141017135229.1d840513@crub \
    --to=agust@denx.de \
    --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