News:

Attention: For security reasons,please choose a user name *different* from your login name.
Also make sure to choose a secure password and change it regularly.

Main Menu

TE0820: SD card not available to kernel (error -110)

Started by JanoH, May 10, 2018, 12:14:46 PM

Previous topic - Next topic

JanoH

Good day

I am trying to get Petalinux 2017.4 running on the TE0820_4cg_1e, however the kernel does not seem to be able to initialise the microSD card (specifically a 16GB SDHC I Class 10). U-boot canto access the SD card fine, and see all partitions, but the kernel produces the following error:

mmc1: error -110 whilst initialising SD card

I have tried the following, but nothing seems to work:
- Added "disable-wp" to sdhci1 in system-user.dtsi
- Added "cap-sd-highspeed" and "no-1-8-v" as from https://forum.trenz-electronic.de/index.php?topic=795.0
- Used a different SD Card (i.e. the SD card is not faulty).
- Created an entirely new Petalinux project.
- Recreating the SD card partitions (using gparted).
- Using different HDF files.

I am using the prebuilt HDF of the "TE0820-test_board-vivado_2017.4-build_07_20180425134435" project to configure my Petalinux project. Note that using the prebuilt BOOT.bin and image.ub in the that project does not cause the error above. The kernel successfully initialises the SD card:

mmc1: new high speed SDHC card at address e624

Any advice would be appreciated.

JanoH

I have resolved the problem.

After referring to https://wiki.trenz-electronic.de/display/PD/TE0820+Test+Board#TE0820TestBoard-DeviceTree, I determined that both disable-wp and no-1-8-v should be set in the device tree as follow:

&sdhci1 {
   disable-wp;
   no-1-8-v;
};