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: 
Visitor bvcom
Visitor
8,422 Views
Registered: ‎07-16-2014

Waiting for root device /dev/mmcblk0p2Waiting for root device /dev/mmcblk0p2

i do test on zedboard ,my ubuntu stop @ Waiting for root device /dev/mmcblk0p2Waiting for root device /dev/mmcblk0p2

i want get help?why?

 

U-Boot 2011.03-00226-gd4000b9-dirty (Jun 19 2012 - 17:52:48)

DRAM: 512 MiB
MMC: SDHCI: 0
Using default environment

In: serial
Out: serial
Err: serial
Net: zynq_gem
Hit any key to stop autoboot: 0
Copying Linux from SD to RAM...
Unknown command
Device: SDHCI
Manufacturer ID: 27
OEM: 5048
Name: SD04G
Tran Speed: 25000000
Rd Block Len: 512
SD version 1.10
High Capacity: Yes
Capacity: 3980394496
Bus Width: 1-bit
reading zImage

2472096 bytes read
reading devicetree.dtb

4197 bytes read
reading ramdisk8M.image.gz

** Unable to read "ramdisk8M.image.gz" from mmc 0:1 **
## Starting application at 0x00008000 ...
Uncompressing Linux... done, booting the kernel.
[ 0.000000] Booting Linux on physical CPU 0
[ 0.000000] Linux version 3.3.0-57645-g78a8fc1 (tinghui.wang@DIGILENT_LINUX) (gcc version 4.6.1 (Sourcery CodeBench Lite 2011.09-50) ) #1 SMP PREEMPT Fri Jun 29 14:54:12 PDT 2012
[ 0.000000] CPU: ARMv7 Processor [413fc090] revision 0 (ARMv7), cr=18c5387d
[ 0.000000] CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing instruction cache
[ 0.000000] Machine: Xilinx Zynq Platform, model: Xilinx Zynq ZED
[ 0.000000] bootconsole [earlycon0] enabled
[ 0.000000] Memory policy: ECC disabled, Data cache writealloc
[ 0.000000] BUG: mapping for 0xf8f00000 at 0xfe00c000 out of vmalloc space
[ 0.000000] BUG: mapping for 0xe0001000 at 0xfe001000 out of vmalloc space
[ 0.000000] BUG: mapping for 0xffff1000 at 0xfe200000 out of vmalloc space
[ 0.000000] PERCPU: Embedded 7 pages/cpu @c0920000 s5696 r8192 d14784 u32768
[ 0.000000] Built 1 zonelists in Zone order, mobility grouping on. Total pages: 125824
[ 0.000000] Kernel command line: console=ttyPS0,115200 root=/dev/mmcblk0p2 rw earlyprintk rootfstype=ext4 rootwait devtmpfs.mount=0
[ 0.000000] PID hash table entries: 2048 (order: 1, 8192 bytes)
[ 0.000000] Dentry cache hash table entries: 65536 (order: 6, 262144 bytes)
[ 0.000000] Inode-cache hash table entries: 32768 (order: 5, 131072 bytes)
[ 0.000000] Memory: 240MB 256MB = 496MB total
[ 0.000000] Memory: 498068k/498068k available, 26220k reserved, 0K highmem
[ 0.000000] Virtual kernel memory layout:
[ 0.000000] vector : 0xffff0000 - 0xffff1000 ( 4 kB)
[ 0.000000] fixmap : 0xfff00000 - 0xfffe0000 ( 896 kB)
[ 0.000000] vmalloc : 0xe0800000 - 0xfd000000 ( 456 MB)
[ 0.000000] lowmem : 0xc0000000 - 0xe0000000 ( 512 MB)
[ 0.000000] pkmap : 0xbfe00000 - 0xc0000000 ( 2 MB)
[ 0.000000] modules : 0xbf000000 - 0xbfe00000 ( 14 MB)
[ 0.000000] .text : 0xc0008000 - 0xc042bd48 (4240 kB)
[ 0.000000] .init : 0xc042c000 - 0xc0452640 ( 154 kB)
[ 0.000000] .data : 0xc0454000 - 0xc0481bc0 ( 183 kB)
[ 0.000000] .bss : 0xc0481be4 - 0xc0499534 ( 95 kB)
[ 0.000000] Preemptible hierarchical RCU implementation.
[ 0.000000] Verbose stalled-CPUs detection is disabled.
[ 0.000000] NR_IRQS:128
[ 0.000000] xlnx,ps7-ttc-1.00.a #0 at 0xe0800000, irq=43
[ 0.000000] Console: colour dummy device 80x30
[ 0.000000] Calibrating delay loop... 1594.16 BogoMIPS (lpj=7970816)
[ 0.090000] pid_max: default: 32768 minimum: 301
[ 0.090000] Mount-cache hash table entries: 512
[ 0.090000] CPU: Testing write buffer coherency: ok
[ 0.090000] CPU0: thread -1, cpu 0, socket 0, mpidr 80000000
[ 0.100000] smp_twd: clock not found: -2
[ 0.100000] Calibrating local timer... 399.33MHz.
[ 0.170000] hw perfevents: enabled with ARMv7 Cortex-A9 PMU driver, 7 counters available
[ 0.170000] Setting up static identity map for 0x2f6110 - 0x2f6144
[ 0.270000] CPU1: Booted secondary processor
[ 0.310000] CPU1: thread -1, cpu 1, socket 0, mpidr 80000001
[ 0.310000] Brought up 2 CPUs
[ 0.310000] SMP: Total of 2 processors activated (3188.32 BogoMIPS).
[ 0.320000] devtmpfs: initialized
[ 0.320000] ------------[ cut here ]------------
[ 0.320000] WARNING: at arch/arm/mm/dma-mapping.c:198 consistent_init+0x70/0x104()
[ 0.330000] Modules linked in:
[ 0.330000] [<c0012920>] (unwind_backtrace+0x0/0xe0) from [<c001ea18>] (warn_slowpath_common+0x4c/0x64)
[ 0.340000] [<c001ea18>] (warn_slowpath_common+0x4c/0x64) from [<c001ea48>] (warn_slowpath_null+0x18/0x1c)
[ 0.350000] [<c001ea48>] (warn_slowpath_null+0x18/0x1c) from [<c04305a8>] (consistent_init+0x70/0x104)
[ 0.360000] [<c04305a8>] (consistent_init+0x70/0x104) from [<c000858c>] (do_one_initcall+0x90/0x160)
[ 0.360000] [<c000858c>] (do_one_initcall+0x90/0x160) from [<c042c85c>] (kernel_init+0x84/0x128)
[ 0.370000] [<c042c85c>] (kernel_init+0x84/0x128) from [<c000dfcc>] (kernel_thread_exit+0x0/0x8)
[ 0.380000] ---[ end trace 1b75b31a2719ed1c ]---
[ 0.380000] ------------[ cut here ]------------
[ 0.390000] WARNING: at arch/arm/mm/dma-mapping.c:198 consistent_init+0x70/0x104()
[ 0.390000] Modules linked in:
[ 0.390000] [<c0012920>] (unwind_backtrace+0x0/0xe0) from [<c001ea18>] (warn_slowpath_common+0x4c/0x64)
[ 0.400000] [<c001ea18>] (warn_slowpath_common+0x4c/0x64) from [<c001ea48>] (warn_slowpath_null+0x18/0x1c)
[ 0.410000] [<c001ea48>] (warn_slowpath_null+0x18/0x1c) from [<c04305a8>] (consistent_init+0x70/0x104)
[ 0.420000] [<c04305a8>] (consistent_init+0x70/0x104) from [<c000858c>] (do_one_initcall+0x90/0x160)
[ 0.430000] [<c000858c>] (do_one_initcall+0x90/0x160) from [<c042c85c>] (kernel_init+0x84/0x128)
[ 0.430000] [<c042c85c>] (kernel_init+0x84/0x128) from [<c000dfcc>] (kernel_thread_exit+0x0/0x8)
[ 0.440000] ---[ end trace 1b75b31a2719ed1d ]---
[ 0.440000] NET: Registered protocol family 16
[ 0.450000] L310 cache controller enabled
[ 0.450000] l2x0: 8 ways, CACHE_ID 0x410000c8, AUX_CTRL 0x72060000, Cache size: 524288 B
[ 0.460000] registering platform device 'pl330' id 0
[ 0.460000] registering platform device 'arm-pmu' id 0
[ 0.470000]
[ 0.470000] ###############################################
[ 0.470000] # #
[ 0.480000] # Board ZED Init #
[ 0.480000] # #
[ 0.490000] ###############################################
[ 0.490000]
[ 0.490000] hw-breakpoint: found 5 (+1 reserved) breakpoint and 1 watchpoint registers.
[ 0.500000] hw-breakpoint: maximum watchpoint size is 4 bytes.
[ 0.520000] xslcr xslcr.0: at 0xF8000000 mapped to 0xE0808000
[ 0.540000] bio: create slab <bio-0> at 0
[ 0.540000] gpiochip_add: registered GPIOs 0 to 245 on device: xgpiops
[ 0.540000] xgpiops e000a000.gpio: gpio at 0xe000a000 mapped to 0xe080a000
[ 0.550000] status: 10006, mask: 4, value: 0
[ 0.550000] status: 10002, mask: 4, value: 0
[ 0.550000] status: 10002, mask: 4, value: 0
[ 0.560000] SCSI subsystem initialized
[ 0.560000] usbcore: registered new interface driver usbfs
[ 0.570000] usbcore: registered new interface driver hub
[ 0.570000] usbcore: registered new device driver usb
[ 0.570000] Advanced Linux Sound Architecture Driver Version 1.0.24.
[ 0.580000] Switching to clocksource xttcpss_timer1
[ 0.590000] NET: Registered protocol family 2
[ 0.590000] IP route cache hash table entries: 4096 (order: 2, 16384 bytes)
[ 0.590000] TCP established hash table entries: 16384 (order: 5, 131072 bytes)
[ 0.600000] TCP bind hash table entries: 16384 (order: 5, 196608 bytes)
[ 0.600000] TCP: Hash tables configured (established 16384 bind 16384)
[ 0.610000] TCP reno registered
[ 0.610000] UDP hash table entries: 256 (order: 1, 8192 bytes)
[ 0.620000] UDP-Lite hash table entries: 256 (order: 1, 8192 bytes)
[ 0.620000] NET: Registered protocol family 1
[ 0.630000] xscugtimer xscugtimer.0: ioremap fe00c200 to e0810200 with size 400
[ 0.630000] pl330 dev 0 probe success
[ 0.640000] msgmni has been set to 972
[ 0.640000] io scheduler noop registered
[ 0.640000] io scheduler deadline registered
[ 0.650000] io scheduler cfq registered (default)
[ 0.650000] e000▒660000] console [ttyPS0] enabled, bootconsole disabled
[ 0.660000] console [ttyPS0] enabled, bootconsole disabled
[ 0.660000] xdevcfg f8007000.devcfg: ioremap f8007000 to e0814000 with size 1000
[ 0.670000] [drm] Initialized drm 1.1.0 20060810
[ 0.680000] brd: module loaded
[ 0.690000] loop: module loaded
[ 0.690000] xqspips e000d000.spi: at 0xE000D000 mapped to 0xE0816000, irq=51
[ 0.700000] GEM: BASEADDRESS hw: e000b000 virt: e0818000
[ 0.710000] XEMACPS mii bus: probed
[ 0.710000] GEM: MAC addr 00:0a:35:00:01:22
[ 0.710000] eth0, pdev->id -1, baseaddr 0xe000b000, irq 54
[ 0.720000] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[ 0.720000] usb_hcd_xusbps_probe: No OTG assigned!
[ 0.730000] usb_hcd_xusbps_probe: OTG now assigned!
[ 0.730000] xusbps-ehci xusbps-ehci.0: Xilinx PS USB EHCI Host Controller
[ 0.740000] xusbps-ehci xusbps-ehci.0: new USB bus registered, assigned bus number 1
[ 0.770000] xusbps-ehci xusbps-ehci.0: irq 53, io mem 0x00000000
[ 0.790000] xusbps-ehci xusbps-ehci.0: USB 2.0 started, EHCI 1.00
[ 0.790000] hub 1-0:1.0: USB hub found
[ 0.790000] hub 1-0:1.0: 1 port detected
[ 0.800000] Initializing USB Mass Storage driver...
[ 0.800000] usbcore: registered new interface driver usb-storage
[ 0.810000] USB Mass Storage support registered.
[ 0.810000] Xilinx PS USB Device Controller driver (Apr 01, 2011)
[ 0.820000] mousedev: PS/2 mouse device common for all mice
[ 0.820000] Linux video capture interface: v2.00
[ 0.830000] gspca_main: v2.14.0 registered
[ 0.830000] usbcore: registered new interface driver uvcvideo
[ 0.830000] USB Video Class driver (1.1.1)
[ 0.840000] WDT OF probe
[ 0.840000] xwdtps f8005000.swdt: Xilinx Watchdog Timer at 0xe0836000 with timeout 10 seconds
[ 0.850000] sdhci: Secure Digital Host Controller Interface driver
[ 0.850000] sdhci: Copyright(c) Pierre Ossman
[ 0.860000] sdhci-pltfm: SDHCI platform and OF driver helper
[ 0.860000] mmc0: Hardware doesn't specify timeout clock frequency.
[ 0.870000] usbcore: registered new interface driver usbhid
[ 0.870000] usbhid: USB HID core driver
[ 0.870000] pmodoled: VBAT 55
[ 0.880000] pmodoled: VDD 56
[ 0.880000] pmodoled: RES 57
[ 0.880000] pmodoled: DC 58
[ 0.880000] pmodoled: SCLK 59
[ 0.890000] pmodoled: SDIN 60
[ 0.890000] pmodoled: BUS_ID 2
[ 0.890000] pmodoledoled_spi_probe: Probing pmodoled ..........
[ 0.900000] detect: 90 2 1 0
[ 0.900000] No connectors reported connected with modes
[ 0.900000] [drm] Cannot find any crtc or sizes - going 1024x768
[ 0.910000] drivers/gpu/drm/analog/analog_drm_fbdev.c:analog_drm_fbdev_probe[241]
[ 0.930000] Console: switching to colour frame buffer device 128x48
[ 0.950000] fb0: frame buffer device
[ 0.950000] drm: registered panic notifier
[ 0.950000] [drm] Initialized analog_drm 1.0.0 20110530 on minor 0
[ 1.070000] ALSA device list:
[ 1.070000] No soundcards found.
[ 1.080000] TCP cubic registered
[ 1.080000] NET: Registered protocol family 17
[ 1.080000] VFP support v0.3: implementor 41 architecture 3 part 30 variant 9 rev 4
[ 1.090000] Registering SWP/SWPB emulation handler
[ 1.090000] registered taskstats version 1
[ 1.100000] drivers/rtc/hctosys.c: unable to open rtc device (rtc0)
[ 1.100000] Waiting for root device /dev/mmcblk0p2...
Waiting for root device /dev/mmcblk0p2[ 10.930000] detect: 90 2 0 3
Waiting for root device /dev/mmcblk0p2[ 20.960000] detect: 90 2 0 3
[ 30.990000] detect: 90 2 0 3
[ 41.000000] detect: 90 2 0 3
Waiting for root device /dev/mmcblk0p2Waiting for root device /dev/mmcblk0p2
[ 51.020000] detect: 90 2 0 3
[ 61.040000] detect: 90 2 0 3
[ 71.070000] detect: 90 2 0 3
[ 81.080000] detect: 90 2 0 3
[ 91.110000] detect: 90 2 0 3
[ 101.120000] detect: 90 2 0 3
[ 111.150000] detect: 90 2 0 3

0 Kudos
1 Reply
Explorer
Explorer
1,535 Views
Registered: ‎06-03-2015

Re: Waiting for root device /dev/mmcblk0p2Waiting for root device /dev/mmcblk0p2

Hi 

 

This issue is because of Pin identification or Card-Detection Pin for SD /USB device , code located in xxx-board.c file

 

Please check gpio pin set for Identifying SD card in BSP Code 

and place your file system in the same drive

Ex. /dev/sda1 or /dev/mmcblkp0

 

Thanks & Regards
Satish.G 

G Satish Kumar
0 Kudos