UPGRADE YOUR BROWSER

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!

cancel
Showing results for 
Search instead for 
Did you mean: 
Adventurer
Adventurer
458 Views
Registered: ‎11-22-2018

how to boot from emmc on zu3(customer board)

Jump to solution

hello, I have booted from sd(SDIO1) successfully, now ,I wanna to boot from emmc(SDIO0).

I have partitioned mmcblk0 to mmcblk0p1 & mmcblk0p2, and copied BOOT.BIN & image.ub to mmcblk0p1,tar rootfs.tar.gz to mmcblk0p2  as ug1137:

QQ浏览器截图20190429164258.png

But, it cant work when I change boot mode to 0x6.

 

This is the mount when boots from SD(SDIO1):

/dev/root on / type ext4 (rw,relatime,data=ordered)
devtmpfs on /dev type devtmpfs (rw,relatime,size=892980k,nr_inodes=223245,mode=755)
proc on /proc type proc (rw,relatime)
sysfs on /sys type sysfs (rw,relatime)
debugfs on /sys/kernel/debug type debugfs (rw,relatime)
configfs on /sys/kernel/config type configfs (rw,relatime)
tmpfs on /run type tmpfs (rw,nosuid,nodev,mode=755)
tmpfs on /var/volatile type tmpfs (rw,relatime)
/dev/mmcblk0p1 on /media/card type vfat (rw,sync,relatime,fmask=0022,dmask=0022,codepage=437,iocharset=iso8859-1,shortname=mixed,errors=remount-ro)
/dev/mmcblk1p1 on /run/media/mmcblk1p1 type vfat (rw,relatime,gid=6,fmask=0007,dmask=0007,allow_utime=0020,codepage=437,iocharset=iso8859-1,shortname=mixed,errors=remount-ro)
/dev/mmcblk0p2 on /run/media/mmcblk0p2 type ext4 (rw,relatime,data=ordered)
devpts on /dev/pts type devpts (rw,relatime,gid=5,mode=620,ptmxmode=000)

 

Disk /dev/mmcblk0: 7650 MB, 7650410496 bytes
4 heads, 16 sectors/track, 233472 cylinders
Units = cylinders of 64 * 512 = 32768 bytes

        Device Boot      Start         End      Blocks  Id System
/dev/mmcblk0p1               1       15626      500024  83 Linux
/dev/mmcblk0p2           15627      233472     6971072  83 Linux

Disk /dev/mmcblk0boot1: 2 MB, 2097152 bytes
4 heads, 16 sectors/track, 64 cylinders
Units = cylinders of 64 * 512 = 32768 bytes

Disk /dev/mmcblk0boot1 doesn't contain a valid partition table

Disk /dev/mmcblk0boot0: 2 MB, 2097152 bytes
4 heads, 16 sectors/track, 64 cylinders
Units = cylinders of 64 * 512 = 32768 bytes

Disk /dev/mmcblk0boot0 doesn't contain a valid partition table

Disk /dev/mmcblk1: 31.9 GB, 31914983424 bytes
4 heads, 16 sectors/track, 973968 cylinders
Units = cylinders of 64 * 512 = 32768 bytes

        Device Boot      Start         End      Blocks  Id System
/dev/mmcblk1p1             129       32896     1048576   b Win95 FAT32
Partition 1 does not end on cylinder boundary
/dev/mmcblk1p2           32897      973952    30113792  83 Linux
Partition 2 does not end on cylinder boundary

 so, what should I do next ? How to boot from emmc?

0 Kudos
1 Solution

Accepted Solutions
Adventurer
Adventurer
370 Views
Registered: ‎11-22-2018

回复: how to boot from emmc on zu3(customer board)

Jump to solution

If you need, you can try:

1. try other SD cards when boots from SD card.

2. confirm the voltage of emmc and device tree.

4 Replies
Adventurer
Adventurer
447 Views
Registered: ‎11-22-2018

回复: how to boot from emmc on zu3(customer board)

Jump to solution

now it boots, but with some errors!!!

 

U-Boot 2018.01 (Apr 29 2019 - 16:00:58 +0800) Xilinx ZynqMP ZCU102 rev1.0

DRAM:  2 GiB
EL Level:	EL2
Chip ID:	zu3eg
MMC:   sdhci@ff160000: 0 (eMMC), sdhci@ff170000: 1
*** Warning - bad CRC, using default environment

In:    serial@ff010000
Out:   serial@ff010000
Err:   serial@ff010000
Model: ZynqMP ZCU100 RevC
Board: Xilinx ZynqMP
Bootmode: EMMC_MODE
Net:   ZYNQ GEM: ff0e0000, phyaddr ffffffff, interface rgmii-id
eth0: ethernet@ff0e0000
U-BOOT for petalinux

ethernet@ff0e0000 Waiting for PHY auto negotiation to complete...... 
Hit any key to stop autoboot:  0 
sdhci_send_command: MMC: 1 busy timeout increasing to: 200 ms.
sdhci_send_command: MMC: 1 busy timeout increasing to: 400 ms.
sdhci_send_command: MMC: 1 busy timeout increasing to: 800 ms.
sdhci_send_command: MMC: 1 busy timeout increasing to: 1600 ms.
sdhci_send_command: MMC: 1 busy timeout increasing to: 3200 ms.
sdhci_send_command: MMC: 1 busy timeout.
sdhci_send_command: MMC: 1 busy timeout.
mmc_init: -70, time 7439
** Bad device mmc 1 **
Device: sdhci@ff160000
Manufacturer ID: 13
OEM: 14e
Name: Q2J55 
Tran Speed: 52000000
Rd Block Len: 512
MMC version 5.0
High Capacity: Yes
Capacity: 7.1 GiB
Bus Width: 4-bit
Erase Group Size: 512 KiB
HC WP Group Size: 8 MiB
User Capacity: 7.1 GiB WRREL
Boot Capacity: 2 MiB ENH
RPMB Capacity: 4 MiB ENH
sdhci_set_clock: Timeout to wait cmd & data inhibit
sdhci_set_clock: Timeout to wait cmd & data inhibit
sdhci_send_command: MMC: 1 busy timeout.
mmc_init: -70, time 3254
** Bad device mmc 1 **
ZynqMP> 
0 Kudos
Highlighted
Adventurer
Adventurer
437 Views
Registered: ‎11-22-2018

回复: how to boot from emmc on zu3(customer board)

Jump to solution

 

I have solved it.

0 Kudos
Voyager
Voyager
403 Views
Registered: ‎09-14-2016

回复: how to boot from emmc on zu3(customer board)

Jump to solution

Hello,

 

COuld you please share the solution ? :)

 

Cheers,

Trigger

0 Kudos
Adventurer
Adventurer
371 Views
Registered: ‎11-22-2018

回复: how to boot from emmc on zu3(customer board)

Jump to solution

If you need, you can try:

1. try other SD cards when boots from SD card.

2. confirm the voltage of emmc and device tree.