cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
schmidt1443
Visitor
Visitor
940 Views
Registered: ‎04-23-2020

ZCU111 - MMC Device 1 not found

Hi, i created a SD-Card with the official Xilinx Git Repos with a minimal FPGA configuration (only the ZYNQ is included).

On the first partition of the SD-Card is "Image", "boot.bin" and "system.dtb" on the other a debian root file system. With Vivado 2018.3 i was able to create a bootable SD-Card but with Vivado 2019.1 it is not working. When i boot the board i get the following Errors.

 

Release 2019.1   Apr 23 2020  -  14:14:46
NOTICE:  ATF running on XCZU28DR/silicon v4/RTL5.1 at 0xfffea000
NOTICE:  BL31: Secure code at 0x0
NOTICE:  BL31: Non secure code at 0x8000000
NOTICE:  BL31: v2.0(release):xilinx-v2019.1
NOTICE:  BL31: Built : 13:30:25, Apr 23 2020
PMUFW:  v1.1


U-Boot 2019.01 (Apr 23 2020 - 14:01:52 +0200)

Model: ZynqMP ZCU111 RevA
Board: Xilinx ZynqMP
DRAM:  4 GiB
EL Level:       EL2
Chip ID:        zu28dr
MMC:   mmc@ff170000: 0
Loading Environment from FAT... *** Warning - bad CRC, using default environment

In:    serial@ff000000
Out:   serial@ff000000
Err:   serial@ff000000
Bootmode: LVL_SHFT_SD_MODE1
Reset reason:   EXTERNAL
Net:   ZYNQ GEM: ff0e0000, phyaddr c, interface rgmii-id

Warning: ethernet@ff0e0000 using MAC address from ROM
eth0: ethernet@ff0e0000
Hit any key to stop autoboot:  0
switch to partitions #0, OK
mmc0 is current device
Scanning mmc 0:1...
switch to partitions #0, OK
mmc0 is current device
Scanning mmc 0:1...
MMC Device 1 not found
no mmc device at slot 1
SF: Detected mt25qu02g with page size 512 Bytes, erase size 128 KiB, total 512 MiB
device 0 offset 0x3e80000, size 0x80000
SF: 524288 bytes @ 0x3e80000 Read: OK
## Executing script at 02000000
Wrong image format for "source" command
SCRIPT FAILED: continuing...
starting USB...
USB0:   Register 2000440 NbrPorts 2
Starting the controller
USB XHCI 1.00
scanning bus 0 for devices... 1 USB Device(s) found
       scanning usb for storage devices... 0 Storage Device(s) found

Device 0: unknown device

Device 1: unknown device
scanning bus for devices...
SATA link 0 timeout.
SATA link 1 timeout.
AHCI 0001.0301 32 slots 2 ports 6 Gbps 0x3 impl SATA mode
flags: 64bit ncq pm clo only pmp fbss pio slum part ccc apst

Device 0: unknown device
ethernet@ff0e0000 Waiting for PHY auto negotiation to complete......................................... TIMEOUT !
missing environment variable: pxeuuid
missing environment variable: bootfile
Retrieving file: pxelinux.cfg/01-00-0a-35-04-db-de
ethernet@ff0e0000 Waiting for PHY auto negotiation to complete...................

 

Does anybody have an idea what's the solution of the problem? I compared the system.dts of the 2018.3 and 2019.1 version but they are very similar.

 

0 Kudos
4 Replies
stephenm
Xilinx Employee
Xilinx Employee
840 Views
Registered: ‎09-12-2007

How are you building the Image? Are you using Petalinux? Are you using the BSP for the zcu111. Make sure your uboot defconfig enables the sdhci drivers. You can also enable debug in this driver to see how it is getting probed

0 Kudos
schmidt1443
Visitor
Visitor
759 Views
Registered: ‎04-23-2020

I am building the Image with the git repos e.g. Xilinx/u-boot-xlnx. I found the problem why the board is not booting. In 2019.1 the u-boot works with a new bootcmd. In 2018.3 the bootcmd was "run $modeboot || run distro_bootcmd" and in 2019.1 the bootcmd is  "run distro_bootcmd". Also there is a info that the old bootcmd will be removed. With the modeboot cmd the board is booting. But i don't know why the distro_bootcmd is not working..

0 Kudos
shabbirk
Moderator
Moderator
754 Views
Registered: ‎12-04-2016

Hi @schmidt1443 

Without modifying anything, can you check if booting works after connecting the ethernet cable?

 

Best Regards

Shabbir

0 Kudos
schmidt1443
Visitor
Visitor
741 Views
Registered: ‎04-23-2020

Hi @shabbirk,

after connecting the ethernet cable it boots. First the board tries to boot with a tftp server and then it starts the "run $modeboot" command with the error message that this bootcmd is deprecated.

Why do i need ethernet and how i can configure it to boot without an ethernet connection?

 

Regards, schmidt1443

0 Kudos