[U-Boot] emmc access in pSLC mode

Arno star at gmx.li
Tue Mar 21 17:39:53 UTC 2017


I couldn't find information about  how to access emmc partitions, after 
switching to pSLC mode?

My previous commands like
if ext4load mmc 0:1 ${addr_ld} /update
give now
** Bad device size - mmc 0 **

Below the mmc info. The problem might be that user capacity=0, while I 
want to access GP1. But howto do so?
Thanks a lot.
         - Arno


mmc info
Device: sdhci at e0100000
Manufacturer ID: 13
OEM: 14e
Name: Q1J54
Tran Speed: 52000000
Rd Block Len: 512
MMC version 5.0
High Capacity: Yes
Capacity: 0 Bytes
Bus Width: 4-bit
Erase Group Size: 512 KiB
HC WP Group Size: 8 MiB
User Capacity: 0 Bytes WRREL
Boot Capacity: 2 MiB ENH
RPMB Capacity: 512 KiB ENH
GP1 Capacity: 1.8 GiB ENH WRREL

mmc read 0 0 1
MMC read: dev # 0, block # 0, count 1 ... MMC: block number 0x1 exceeds 
max(0x0)
0 blocks read: ERROR

mmc dev 0 0
MMC: block number 0x1 exceeds max(0x0)
switch to partitions #0, OK
mmc0(part 0) is current device


More information about the U-Boot mailing list