[U-Boot] problem with eMMC boot on arndale board

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

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.

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@lists.denx.de http://lists.denx.de/mailman/listinfo/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%20fla...
HTH,
Anatolij
participants (4)
-
Anatolij Gustschin
-
Guillaume Gardet
-
Ian Campbell
-
Michael Trimarchi