We have detected your current browser version is not the latest one. Xilinx.com uses the latest web technologies to bring you the best online experience possible. Please upgrade to a Xilinx.com supported browser:Chrome, Firefox, Internet Explorer 11, Safari. Thank you!


SD Card Errors Running Ubuntu on UltraZed-EG PCIeCC

Posts: 1
Registered: ‎03-20-2017

SD Card Errors Running Ubuntu on UltraZed-EG PCIeCC

I have an UltraZed-EG SOM on an PCIeCC booting a 4.4 kernel with an Ubuntu 16.04 filesystem.  The system boots ok but the SD card seems unreliable. The first thing I do is install some packages and this fails with errors similar to these:

Preparing to unpack .../binutils_2.26-8ubuntu2_arm64.deb ...
Unpacking binutils (2.26-8ubuntu2) ...
[ 516.925325] mmc1: Timeout waiting for hardware interrupt.
[ 516.932732] mmc1: Got data interrupt 0x00000002 even though no data operation was in progress.
[ 516.941277] mmcblk1: error -110 transferring data, sector 21482552, nr 248, cmd response 0x900, card status 0x0


Unpacking hicolor-icon-theme (0.15-0ubuntu1) ...
[ 105.216283] mmc1: ADMA error
[ 105.226664] mmcblk1: error -5 transferring data, sector 25737696, nr 56, cmd response 0x900, card status 0x0


(I've seen the "mmc1: Got interrupt... nothing in progress" error on Wiki SD Driver page so I assume that's "normal")


I've also had the system crash while doing an install:

Preparing to unpack .../udev_229-4ubuntu4_arm64.deb ...
Unpacking udev (229-4ubuntu4) ...
[ 79.888292] Unable to handle kernel paging request at virtual address ff0d00010000071
[ 79.896052] pgd = ffffffc879490000
[ 79.899433] [ff0d00010000071] *pgd=000000087b0aa003, *pud=000000087b0aa003, *pmd=0000000000000000
[ 79.908276] Internal error: Oops: 96000004 [#1] SMP


I'm not certain I've built this system correctly so I may be wrong in blaming the SD. Does anyone have any experience with this hardware setup running Ubuntu with the root filesystem on the SD card? Is it stable? If so, I'd like to know what components you've used, how you built it, etc.


I've tried 16GB HCI cards from two different vendors.


I'm using 2016.2 Vivado/SDK and 2016.2 releases of linux & u-boot from github/Xilinx... plus the 2016.2 hardware definitions from Avnet for the PCIeCC)