* [U-Boot] problem with eMMC boot on arndale board
@ 2014-10-17 10:20 Guillaume Gardet
2014-10-17 11:11 ` Ian Campbell
2014-10-17 11:52 ` Anatolij Gustschin
0 siblings, 2 replies; 4+ messages in thread
From: Guillaume Gardet @ 2014-10-17 10:20 UTC (permalink / raw)
To: u-boot
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.
Is there anything I could try to fix it?
Guillaume
^ permalink raw reply [flat|nested] 4+ messages in thread* [U-Boot] problem with eMMC boot on arndale board
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
1 sibling, 1 reply; 4+ messages in thread
From: Ian Campbell @ 2014-10-17 11:11 UTC (permalink / raw)
To: u-boot
On Fri, 2014-10-17 at 12:20 +0200, Guillaume Gardet wrote:
> Hi,
>
> does anyone has tried eMMC boot on Arndale board?
Other than the image which was in mine when it arrived, no, I've only
booted from the removable SD/MMC device.
> Note that once booted on SD card, I get some errors while accessing eMMC.
I've just tried these and FWIW I see the same things.
AFAICT the emmc works well enough to save/load the environment, but
other than that I've not used it much.
> Is there anything I could try to fix it?
Sorry, no ideas here :-(
Ian.
^ permalink raw reply [flat|nested] 4+ messages in thread
* [U-Boot] problem with eMMC boot on arndale board
2014-10-17 11:11 ` Ian Campbell
@ 2014-10-17 11:51 ` Michael Trimarchi
0 siblings, 0 replies; 4+ messages in thread
From: Michael Trimarchi @ 2014-10-17 11:51 UTC (permalink / raw)
To: u-boot
Hi
On Fri, Oct 17, 2014 at 1:11 PM, Ian Campbell <ijc@hellion.org.uk> wrote:
> On Fri, 2014-10-17 at 12:20 +0200, Guillaume Gardet wrote:
>> Hi,
>>
>> does anyone has tried eMMC boot on Arndale board?
>
> Other than the image which was in mine when it arrived, no, I've only
> booted from the removable SD/MMC device.
>
>> Note that once booted on SD card, I get some errors while accessing eMMC.
>
> I've just tried these and FWIW I see the same things.
>
I suggest to test if it's an error or timeout. If you go some line up
I have seen some retry to read
this register but I don't have any documentation of the cpu. It's nice
already to have a patch that change DATA ERROR!
Michael
> AFAICT the emmc works well enough to save/load the environment, but
> other than that I've not used it much.
>
>> Is there anything I could try to fix it?
>
> Sorry, no ideas here :-(
>
> Ian.
>
> _______________________________________________
> U-Boot mailing list
> U-Boot at lists.denx.de
> http://lists.denx.de/mailman/listinfo/u-boot
--
| Michael Nazzareno Trimarchi Amarula Solutions BV |
| COO - Founder Cruquiuskade 47 |
| +31(0)851119172 Amsterdam 1018 AM NL |
| [`as] http://www.amarulasolutions.com |
^ permalink raw reply [flat|nested] 4+ messages in thread
* [U-Boot] problem with eMMC boot on arndale board
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:52 ` Anatolij Gustschin
1 sibling, 0 replies; 4+ messages in thread
From: Anatolij Gustschin @ 2014-10-17 11:52 UTC (permalink / raw)
To: u-boot
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
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2014-10-17 11:52 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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 is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox