Espressobin U-boot can't read SD card after reboot

This forum is for topics dealing with problems with software specifically in the AArch64 repo.

Espressobin U-boot can't read SD card after reboot

Postby elfexcute » Fri Aug 11, 2017 3:09 pm

Hi,

I try to install an Archlinux arm in Espressobin using SD card. When I cold start the board it work fine. After I reboot system, uboot show messages which means it can't read sd card. Enter mmcinfo show normally but can't use ext4ls, ext4load, etc.

Error message
$this->bbcode_second_pass_code('', 'U-Boot 2017.03-devel-17.08.1-gdf29704216 (Aug 09 2017 - 23:10:19 +0800)

Model: Marvell Armada 3720 Community Board ESPRESSOBin
CPU @ 1200 [MHz]
L2 @ 800 [MHz]
TClock @ 200 [MHz]
DDR @ 750 [MHz]
DRAM: 1 GiB
U-Boot DT blob at : 000000003fb15348
Comphy-0: USB3 5 Gbps
Comphy-1: PEX0 2.5 Gbps
Comphy-2: SATA0 6 Gbps
SATA link 0 timeout.
AHCI 0001.0300 32 slots 1 ports 6 Gbps 0x1 impl SATA mode
flags: ncq led only pmp fbss pio slum part sxs
PCIE-0: Link down
MMC: sdhci@d0000: 0
SF: Detected w25q32dw with page size 256 Bytes, erase size 4 KiB, total 4 MiB
Net: eth0: neta@30000
Hit any key to stop autoboot: 0
sdhci_transfer_data: Error detected in status(0x208000)!
switch to partitions #0, OK
mmc0 is current device
sdhci_transfer_data: Error detected in status(0x608000)!
ext4fs_devread read outside partition 8587697344
Failed to mount ext2 filesystem...
** Unrecognized filesystem type **
sdhci_transfer_data: Error detected in status(0x608000)!
** ext2fs_devread() read error **
Failed to mount ext2 filesystem...
** Unrecognized filesystem type **
')

mmcinfo output
$this->bbcode_second_pass_code('', '=> mmcinfo
Device: sdhci@d0000
Manufacturer ID: 41
OEM: 3432
Name: SD8GB
Tran Speed: 50000000
Rd Block Len: 512
SD version 3.0
High Capacity: Yes
Capacity: 7.3 GiB
Bus Width: 4-bit
Erase Group Size: 512 Bytes
')

At first I guess uboot cause this problem. So I build and flash several uboot version from marvell bsp repo like v2015.01, v2017.03 and upstream uboot with mmc patch. However, the results are same.

Only found a Samsung Soc problem after I google it. I change a way of thinking that maybe kernel cause that. I flash Armbian which use bsp 4.4 kernel into SD card. And it can reboot system without cause mmc error.

So any idea about this problem?
PS: SD card is a kingston 8GB UHS-I card.
elfexcute
 
Posts: 1
Joined: Fri Aug 11, 2017 2:33 pm

Return to ARMv8

Who is online

Users browsing this forum: No registered users and 4 guests