Showing results for 
Show  only  | Search instead for 
Did you mean: 
Registered: ‎09-19-2017

Zynq UltraScale+ MPSoC: PetaLinux does not correctly mount SD when both eMMC(SDIO0) and SD(SDIO1) are enabled in design

I want to mount the SD(SDIO1) instesd eMMC(SDIO0)! the boot info. is as the fllowing:




Xilinx Zynq MP First Stage Boot Loader
Release 2017.1 May 8 2018 - 11:54:37
NOTICE: ATF running on XCZU3EG/silicon v2/RTL5.1 at 0xfffea000, with PMU firmware
NOTICE: BL31: Secure code at 0x0
NOTICE: BL31: Non secure code at 0x8000000
NOTICE: BL31: v1.3(release):7d1a673
NOTICE: BL31: Built : 02:44:28, May 8 2018

U-Boot 2017.01 (May 09 2018 - 12:10:12 +0800) Xilinx ZynqMP ZCU102 revB
I2C: Error, wrong i2c adapter 0 max 0 possible
Error, wrong i2c adapter 0 max 0 possible
EL Level: EL2
Chip ID: xczu3eg
MMC: sdhci@ff160000: 0 (eMMC), sdhci@ff170000: 1 (SD)
SF: Detected n25q256a with page size 512 Bytes, erase size 128 KiB, total 64 MiB
*** Warning - bad CRC, using default environment
Error, wrong i2c adapter 0 max 0 possible
Error, wrong i2c adapter 0 max 0 possible
In: serial
Out: serial
Err: serial
Bootmode: SD_MODE1
Net: ZYNQ GEM: ff0e0000, phyaddr ffffffff, interface rgmii-id
eth0: ethernet@ff0e0000
U-BOOT for Anngic_ADAS_V1UZ
ethernet@ff0e0000 Waiting for PHY auto negotiation to complete......................................... TIMEOUT !
Hit any key to stop autoboot: 0
Device: sdhci@ff160000
Manufacturer ID: 13
OEM: 14e
Name: Q2J55
Tran Speed: 25000000
Rd Block Len: 512
MMC version 5.0
High Capacity: Yes
Capacity: 7.1 GiB
Bus Width: 8-bit
Erase Group Size: 512 KiB
HC WP Group Size: 8 MiB
User Capacity: 7.1 GiB WRREL
Boot Capacity: 16 MiB ENH
RPMB Capacity: 4 MiB ENH
reading image.ub
19017024 bytes read in 1272 ms (14.3 MiB/s)
## Loading kernel from FIT Image at 10000000 ...
Using 'conf@1' configuration
Trying 'kernel@0' kernel subimage
Description: Linux Kernel
Type: Kernel Image
Compression: uncompressed
Data Start: 0x100000d8
Data Size: 13312512 Bytes = 12.7 MiB
Architecture: AArch64
OS: Linux
Load Address: 0x00080000
Entry Point: 0x00080000
Hash algo: sha1
Hash value: 2055a7bdbda05c7567d71f126403f66c49bf7aa7
Verifying Hash Integrity ... sha1+ OK
## Loading ramdisk from FIT Image at 10000000 ...
Using 'conf@1' configuration
Trying 'ramdisk@0' ramdisk subimage
Description: ramdisk
Type: RAMDisk Image
Compression: uncompressed
Data Start: 0x10cba418
Data Size: 5670195 Bytes = 5.4 MiB
Architecture: AArch64
OS: Linux
Load Address: unavailable
Entry Point: unavailable
Hash algo: sha1
Hash value: f60664748fe9211b1ad6ecffcc070c3fd10d595f
Verifying Hash Integrity ... sha1+ OK
## Loading fdt from FIT Image at 10000000 ...
Using 'conf@1' configuration
Trying 'fdt@0' fdt subimage
Description: Flattened Device Tree blob
Type: Flat Device Tree
Compression: uncompressed
Data Start: 0x10cb23d0
Data Size: 32660 Bytes = 31.9 KiB
Architecture: AArch64
Hash algo: sha1
Hash value: bbd6ff1afb0f936132452ecb17079d7cd57b26ea
Verifying Hash Integrity ... sha1+ OK
Booting using the fdt blob at 0x10cb23d0
Loading Kernel Image ... OK
Loading Ramdisk to 07a97000, end 07fff533 ... OK
Loading Device Tree to 0000000007a8c000, end 0000000007a96f93 ... OK
Starting kernel ...
[ 0.000000] Booting Linux on physical CPU 0x0
[ 0.000000] Linux version 4.9.0-xilinx-v2017.1 (zyq@ubuntu) (gcc version 6.2.1 20161016 (Linaro GCC 6.2-2016.11) ) #1 SMP Tue May 8 10:52:13 CST 2018
[ 0.000000] Boot CPU: AArch64 Processor [410fd034]
[ 0.000000] earlycon: cdns0 at MMIO 0x00000000ff000000 (options '115200n8')
[ 0.000000] bootconsole [cdns0] enabled
[ 0.193972] Failed to initialise IOMMU /amba/smmu@fd800000
[ 1.588946] uvesafb: failed to execute /sbin/v86d
[ 1.588962] uvesafb: make sure that the v86d helper is installed and executable
[ 1.588972] uvesafb: Getting VBE info block failed (eax=0x4f00, err=-2)
[ 1.588980] uvesafb: vbe_init() failed with -22
[ 1.590113] OF: /amba_pl@0/dma@a0000000: could not get #clock-cells for /amba_pl@0/misc_clk_0
[ 1.590125] ERROR: could not get clock /amba_pl@0/dma@a0000000:s_axi_lite_aclk(0)
[ 1.590139] xilinx-vdma a0000000.dma: failed to get axi_aclk (4294967294)
[ 1.590178] OF: /amba_pl@0/dma@a0010000: could not get #clock-cells for /amba_pl@0/misc_clk_0
[ 1.590188] ERROR: could not get clock /amba_pl@0/dma@a0010000:s_axi_lite_aclk(0)
[ 1.590199] xilinx-vdma a0010000.dma: failed to get axi_aclk (4294967294)
[ 1.716795] mtdoops: mtd device (mtddev=name/number) must be supplied
[ 1.787520] xilinx-video vcap_ov5640_0: no VDMA channel found
[ 1.793217] xilinx-video vcap_ov5640_0: /vcap_ov5640_0/ports/port@0 initialization failed
[ 1.801364] xilinx-video vcap_ov5640_0: DMA initialization failed
[ 1.946016] OF: graph: no port node found in /amba/xilinx_drm
[ 2.036563] mmc1: error -110 whilst initialising SD card
INIT: version 2.88 booting
Starting udev
[ 6.238139] vdmafb_fb axi_vdma_lcd: Failed to allocate DMA channel (0).
Populating dev cache
Starting internet superserver: inetd.
INIT: Entering runlevel: 5
Configuring network interfaces... ifconfig: SIOCGIFFLAGS: No such device
Starting Dropbear SSH server: Generating key, this may take a while...
Public key portion is:
ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQC9KNTOkcP4FT1UkFZvhe3iZc5/rKWEHFujXrCUkzRn66WbrpO1UgRyxyJtr7ApjgYJUEAItKLdRIWQxBqRtFrg7dGn/dbIb7tiyIj6g+7GFrSqd7ZJNobsRjUvzraCDmVRHj4BoGdmJaHtvK1Xa9LilxFEsmdTC9AtgWw7PF6cFklAZl9oJ9P/8DTyISpHxtJriCB1sTdB6WcCKQlXuSXY0kKCpJhib4YQtPwlpefnHMx3yOAr6YJw1JDIUYJzO8i1wWJQWJJ0avDNrq1OhZkYz5ih7ToScElq0AoWxJVy6/f34GR5qkAyLv4XfbnnsiOYU+XZ/g3Yut7SzYT1wjxJ root@plnx_aarch64
Fingerprint: md5 e0:a7:cd:0b:a1:13:13:30:5e:12:2d:40:57:ee:0d:58
Starting syslogd/klogd: done
Starting tcf-agent: OK
INIT: Id "hvc0" respawning too fast: disabled for 5 minutes
root@plnx_aarch64:~# ls /dev
autofs ptyr2 tty0 ttyq2
block ptyr3 tty1 ttyq3
btrfs-control ptyr4 tty10 ttyq4
bus ptyr5 tty11 ttyq5
char ptyr6 tty12 ttyq6
console ptyr7 tty13 ttyq7
cpu_dma_latency ptyr8 tty14 ttyq8
disk ptyr9 tty15 ttyq9
dri ptyra tty16 ttyqa
fb0 ptyrb tty17 ttyqb
fd ptyrc tty18 ttyqc
full ptyrd tty19 ttyqd
gpiochip0 ptyre tty2 ttyqe
i2c-0 ptyrf tty20 ttyqf
i2c-1 ptys0 tty21 ttyr0
iio:device0 ptys1 tty22 ttyr1
initctl ptys2 tty23 ttyr2
input ptys3 tty24 ttyr3
kmsg ptys4 tty25 ttyr4
log ptys5 tty26 ttyr5
loop-control ptys6 tty27 ttyr6
loop0 ptys7 tty28 ttyr7
loop1 ptys8 tty29 ttyr8
loop2 ptys9 tty3 ttyr9
loop3 ptysa tty30 ttyra
loop4 ptysb tty31 ttyrb
loop5 ptysc tty32 ttyrc
loop6 ptysd tty33 ttyrd
loop7 ptyse tty34 ttyre
mem ptysf tty35 ttyrf
memory_bandwidth ptyt0 tty36 ttys0
mmcblk0 ptyt1 tty37 ttys1
mmcblk0boot0 ptyt2 tty38 ttys2
mmcblk0boot1 ptyt3 tty39 ttys3
mmcblk0p1 ptyt4 tty4 ttys4
mmcblk0rpmb ptyt5 tty40 ttys5
mtab ptyt6 tty41 ttys6
mtd0 ptyt7 tty42 ttys7
mtd0ro ptyt8 tty43 ttys8
mtd1 ptyt9 tty44 ttys9
mtd1ro ptyta tty45 ttysa
mtd2 ptytb tty46 ttysb
mtd2ro ptytc tty47 ttysc
mtdblock0 ptytd tty48 ttysd
mtdblock1 ptyte tty49 ttyse
mtdblock2 ptytf tty5 ttysf
net ptyu0 tty50 ttyt0
network_latency ptyu1 tty51 ttyt1
network_throughput ptyu2 tty52 ttyt2
null ptyu3 tty53 ttyt3
port ptyu4 tty54 ttyt4
psaux ptyu5 tty55 ttyt5
ptmx ptyu6 tty56 ttyt6
pts ptyu7 tty57 ttyt7
ptya0 ptyu8 tty58 ttyt8
ptya1 ptyu9 tty59 ttyt9
ptya2 ptyua tty6 ttyta
ptya3 ptyub tty60 ttytb
ptya4 ptyuc tty61 ttytc
ptya5 ptyud tty62 ttytd
ptya6 ptyue tty63 ttyte
ptya7 ptyuf tty7 ttytf
ptya8 ptyv0 tty8 ttyu0
ptya9 ptyv1 tty9 ttyu1
ptyaa ptyv2 ttyPS0 ttyu2
ptyab ptyv3 ttyPS1 ttyu3
ptyac ptyv4 ttyS0 ttyu4
ptyad ptyv5 ttyS1 ttyu5
ptyae ptyv6 ttyS2 ttyu6
ptyaf ptyv7 ttyS3 ttyu7
ptyb0 ptyv8 ttya0 ttyu8
ptyb1 ptyv9 ttya1 ttyu9
ptyb2 ptyva ttya2 ttyua
ptyb3 ptyvb ttya3 ttyub
ptyb4 ptyvc ttya4 ttyuc
ptyb5 ptyvd ttya5 ttyud
ptyb6 ptyve ttya6 ttyue
ptyb7 ptyvf ttya7 ttyuf
ptyb8 ptyw0 ttya8 ttyv0
ptyb9 ptyw1 ttya9 ttyv1
ptyba ptyw2 ttyaa ttyv2
ptybb ptyw3 ttyab ttyv3
ptybc ptyw4 ttyac ttyv4
ptybd ptyw5 ttyad ttyv5
ptybe ptyw6 ttyae ttyv6
ptybf ptyw7 ttyaf ttyv7
ptyc0 ptyw8 ttyb0 ttyv8
ptyc1 ptyw9 ttyb1 ttyv9
ptyc2 ptywa ttyb2 ttyva
ptyc3 ptywb ttyb3 ttyvb
ptyc4 ptywc ttyb4 ttyvc
ptyc5 ptywd ttyb5 ttyvd
ptyc6 ptywe ttyb6 ttyve
ptyc7 ptywf ttyb7 ttyvf
ptyc8 ptyx0 ttyb8 ttyw0
ptyc9 ptyx1 ttyb9 ttyw1
ptyca ptyx2 ttyba ttyw2
ptycb ptyx3 ttybb ttyw3
ptycc ptyx4 ttybc ttyw4
ptycd ptyx5 ttybd ttyw5
ptyce ptyx6 ttybe ttyw6
ptycf ptyx7 ttybf ttyw7
ptyd0 ptyx8 ttyc0 ttyw8
ptyd1 ptyx9 ttyc1 ttyw9
ptyd2 ptyxa ttyc2 ttywa
ptyd3 ptyxb ttyc3 ttywb
ptyd4 ptyxc ttyc4 ttywc
ptyd5 ptyxd ttyc5 ttywd
ptyd6 ptyxe ttyc6 ttywe
ptyd7 ptyxf ttyc7 ttywf
ptyd8 ptyy0 ttyc8 ttyx0
ptyd9 ptyy1 ttyc9 ttyx1
ptyda ptyy2 ttyca ttyx2
ptydb ptyy3 ttycb ttyx3
ptydc ptyy4 ttycc ttyx4
ptydd ptyy5 ttycd ttyx5
ptyde ptyy6 ttyce ttyx6
ptydf ptyy7 ttycf ttyx7
ptye0 ptyy8 ttyd0 ttyx8
ptye1 ptyy9 ttyd1 ttyx9
ptye2 ptyya ttyd2 ttyxa
ptye3 ptyyb ttyd3 ttyxb
ptye4 ptyyc ttyd4 ttyxc
ptye5 ptyyd ttyd5 ttyxd
ptye6 ptyye ttyd6 ttyxe
ptye7 ptyyf ttyd7 ttyxf
ptye8 ptyz0 ttyd8 ttyy0
ptye9 ptyz1 ttyd9 ttyy1
ptyea ptyz2 ttyda ttyy2
ptyeb ptyz3 ttydb ttyy3
ptyec ptyz4 ttydc ttyy4
ptyed ptyz5 ttydd ttyy5
ptyee ptyz6 ttyde ttyy6
ptyef ptyz7 ttydf ttyy7
ptyp0 ptyz8 ttye0 ttyy8
ptyp1 ptyz9 ttye1 ttyy9
ptyp2 ptyza ttye2 ttyya
ptyp3 ptyzb ttye3 ttyyb
ptyp4 ptyzc ttye4 ttyyc
ptyp5 ptyzd ttye5 ttyyd
ptyp6 ptyze ttye6 ttyye
ptyp7 ptyzf ttye7 ttyyf
ptyp8 ram0 ttye8 ttyz0
ptyp9 ram1 ttye9 ttyz1
ptypa ram10 ttyea ttyz2
ptypb ram11 ttyeb ttyz3
ptypc ram12 ttyec ttyz4
ptypd ram13 ttyed ttyz5
ptype ram14 ttyee ttyz6
ptypf ram15 ttyef ttyz7
ptyq0 ram2 ttyp0 ttyz8
ptyq1 ram3 ttyp1 ttyz9
ptyq2 ram4 ttyp2 ttyza
ptyq3 ram5 ttyp3 ttyzb
ptyq4 ram6 ttyp4 ttyzc
ptyq5 ram7 ttyp5 ttyzd
ptyq6 ram8 ttyp6 ttyze
ptyq7 ram9 ttyp7 ttyzf
ptyq8 random ttyp8 urandom
ptyq9 rfkill ttyp9 vcs
ptyqa rtc ttypa vcs1
ptyqb rtc0 ttypb vcsa
ptyqc shm ttypc vcsa1
ptyqd snd ttypd vhci
ptyqe stderr ttype watchdog
ptyqf stdin ttypf watchdog0
ptyr0 stdout ttyq0 xlnk
ptyr1 tty ttyq1 zero



0 Kudos
1 Reply
Registered: ‎09-12-2007

Im not really sure what you are asking here. However, there are errors relating to your mmc in the boot log

0 Kudos