Skip to contentSkip to conversation

problem with eMMC boot on arndale board

U-Boot Guillaume Gardet 4 participants 4 messages Oct 17, 2014

lore
Share & tools
lore
#0 lore raw

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

#1 lore raw
Quoted 3 lines · Guillaume Gardet

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.

Quoted 1 line

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.

Quoted 1 line

Is there anything I could try to fix it?

Sorry, no ideas here :-(

Ian.

#2 lore raw

Hi

Quoted 12 lines · Ian Campbell
Quoted 3 lines · Guillaume Gardet

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.

Quoted 1 line

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

Quoted 13 lines

AFAICT the emmc works well enough to save/load the environment, but other than that I've not used it much.

Quoted 1 line

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

Signature · 4 lines
| Michael Nazzareno Trimarchi                     Amarula Solutions BV |
| COO  -  Founder                                      Cruquiuskade 47 |
| +31(0)851119172                                 Amsterdam 1018 AM NL |
|                  [`as] http://www.amarulasolutions.com               |
#3 lore raw
In reply to Guillaume Gardet
Quoted 25 lines · On Fri, 17 Oct 2014 12:20:44 +0200 Guillaume Gardet <[email protected]>…

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

Quoted 1 line

I think it does not boot because of this problem on eMMC.

not necessarily.

Quoted 1 line

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