element14 Community
element14 Community
    Register Log In
  • Site
  • Search
  • Log In Register
  • Community Hub
    Community Hub
    • What's New on element14
    • Feedback and Support
    • Benefits of Membership
    • Personal Blogs
    • Members Area
    • Achievement Levels
  • Learn
    Learn
    • Ask an Expert
    • eBooks
    • element14 presents
    • Learning Center
    • Tech Spotlight
    • STEM Academy
    • Webinars, Training and Events
    • Learning Groups
  • Technologies
    Technologies
    • 3D Printing
    • FPGA
    • Industrial Automation
    • Internet of Things
    • Power & Energy
    • Sensors
    • Technology Groups
  • Challenges & Projects
    Challenges & Projects
    • Design Challenges
    • element14 presents Projects
    • Project14
    • Arduino Projects
    • Raspberry Pi Projects
    • Project Groups
  • Products
    Products
    • Arduino
    • Avnet & Tria Boards Community
    • Dev Tools
    • Manufacturers
    • Multicomp Pro
    • Product Groups
    • Raspberry Pi
    • RoadTests & Reviews
  • About Us
    About the element14 Community
  • Store
    Store
    • Visit Your Store
    • Choose another store...
      • Europe
      •  Austria (German)
      •  Belgium (Dutch, French)
      •  Bulgaria (Bulgarian)
      •  Czech Republic (Czech)
      •  Denmark (Danish)
      •  Estonia (Estonian)
      •  Finland (Finnish)
      •  France (French)
      •  Germany (German)
      •  Hungary (Hungarian)
      •  Ireland
      •  Israel
      •  Italy (Italian)
      •  Latvia (Latvian)
      •  
      •  Lithuania (Lithuanian)
      •  Netherlands (Dutch)
      •  Norway (Norwegian)
      •  Poland (Polish)
      •  Portugal (Portuguese)
      •  Romania (Romanian)
      •  Russia (Russian)
      •  Slovakia (Slovak)
      •  Slovenia (Slovenian)
      •  Spain (Spanish)
      •  Sweden (Swedish)
      •  Switzerland(German, French)
      •  Turkey (Turkish)
      •  United Kingdom
      • Asia Pacific
      •  Australia
      •  China
      •  Hong Kong
      •  India
      •  Japan
      •  Korea (Korean)
      •  Malaysia
      •  New Zealand
      •  Philippines
      •  Singapore
      •  Taiwan
      •  Thailand (Thai)
      •  Vietnam
      • Americas
      •  Brazil (Portuguese)
      •  Canada
      •  Mexico (Spanish)
      •  United States
      Can't find the country/region you're looking for? Visit our export site or find a local distributor.
  • Translate
  • Profile
  • Settings
Avnet Boards Forums
  • Products
  • Dev Tools
  • Avnet & Tria Boards Community
  • Avnet Boards Forums
  • More
  • Cancel
Avnet Boards Forums
ZedBoard Hardware Design Zedboard Linux Boot hangs at "mousedev: PS/2 mouse device common for all mice"
  • Forum
  • Documents
  • Members
  • Mentions
  • Sub-Groups
  • Tags
  • More
  • Cancel
  • New
Join Avnet Boards Forums to participate - click to join for free!
Actions
  • Share
  • More
  • Cancel
Forum Thread Details
  • State Not Answered
  • Replies 4 replies
  • Subscribers 353 subscribers
  • Views 832 views
  • Users 0 members are here
Related

Zedboard Linux Boot hangs at "mousedev: PS/2 mouse device common for all mice"

Former Member
Former Member over 11 years ago

Hi All,

I have followed this guide
http://www.digilentinc.com/Data/Products/EMBEDDED-LINUX/ZedBoard_GSwEL_Guide.pdf
to boot Linux on the Zedboard.

I downloaded the Linux kernel and device tree source codes from
https://github.com/Digilent/linux-digilent.git
and after compilation, I obtained zImage, devicetree.dtb and I copied them to the SD card.

However, when I tried to boot Linux, it hangs at "mousedev: PS/2 mouse device common for all mice" and I really have no clues what the problems are.

Below is the message log:
____________________________________________________________
U-Boot 2012.04.01 (Nov 04 2014 06:15:49)
DRAM:  512 MiB

WARNING: Caches not enabled
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...        
Device: SDHCI   
Manufacturer ID: 3      
OEM: 5344       
Name: SU08G     
Tran Speed: 25000000    
Rd Block Len: 512       
SD version 2.0  
High Capacity: Yes      
Capacity: 7.4 GiB       
Bus Width: 4-bit
reading zImage  
 
2406200 bytes read      
reading devicetree.dtb  
 
9973 bytes read 
reading ramdisk8M.image.gz   
 
2500546 bytes read      
## Starting application at 0x00008000 ...   
Uncompressing Linux... done, booting the kernel.      
[    0.000000] Booting Linux on physical CPU 0        
[    0.000000] Linux version 3.6.0-digilent-13.01-00002-g06b3889 (casrm@casrm) (gcc version 4.8.1 (Sourcery CodeBench Lite 4
[    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] Memory policy: ECC disabled, Data cache writealloc   
[    0.000000] PERCPU: Embedded 7 pages/cpu @c140a000 s6976 r8192 d13504 u32768
[    0.000000] Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 130048   
[    0.000000] Kernel command line: console=ttyPS0,115200 root=/dev/ram rw initrd=0x800000,8M earlyprintk   
[    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: 512MB = 512MB total  
[    0.000000] Memory: 506676k/506676k available, 17612k 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 - 0xc04393bc   (4293 kB)
[    0.000000]       .init : 0xc043a000 - 0xc045fb40   ( 151 kB)
[    0.000000]       .data : 0xc0460000 - 0xc0498f60   ( 228 kB)
[    0.000000]        .bss : 0xc0498f84 - 0xc04af730   (  90 kB)
[    0.000000] Preemptible hierarchical RCU implementation.    
[    0.000000]  Dump stacks of tasks blocking RCU-preempt GP.  
[    0.000000]  RCU restricting CPUs from NR_CPUS=4 to nr_cpu_ids=2.
[    0.000000] NR_IRQS:512   
[    0.000000] Zynq clock init
[    0.000000] xlnx,ps7-ttc-1.00.a #0 at 0xe0800000, irq=43    
[    0.000000] sched_clock: 32 bits at 100 Hz, resolution 10000000ns, wraps every 4294967286ms
[    0.000000] Console: colour dummy device 80x30     
[    0.090000] Calibrating delay loop... 1332.01 BogoMIPS (lpj=6660096)       
[    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.090000] hw perfevents: enabled with ARMv7 Cortex-A9 PMU driver, 7 counters available  
[    0.090000] Setting up static identity map for 0x300f30 - 0x300f64
[    0.090000] L310 cache controller enabled
[    0.090000] l2x0: 8 ways, CACHE_ID 0x410000c8, AUX_CTRL 0x72360000, Cache size: 524288 B  
[    0.130000] Map SLCR registers      
[    0.130000] CPU1: Booted secondary processor       
[    0.220000] CPU1: thread -1, cpu 1, socket 0, mpidr 80000001
[    0.220000] Brought up 2 CPUs       
[    0.220000] SMP: Total of 2 processors activated (2664.03 BogoMIPS).       
[    0.220000] devtmpfs: initialized   
[    0.220000] NET: Registered protocol family 16     
[    0.220000] DMA: preallocated 256 KiB pool for atomic coherent allocations 
[    0.220000] xgpiops e000a000.ps7-gpio: gpio at 0xe000a000 mapped to 0xe084a000  
[    0.230000] registering platform device 'pl330' id 0        
[    0.230000] registering platform device 'arm-pmu' id 0      
[    0.230000] registering platform device 'zynq-dvfs' id 0    
[    0.230000] hw-breakpoint: found 5 (+1 reserved) breakpoint and 1 watchpoint registers.   
[    0.230000] hw-breakpoint: maximum watchpoint size is 4 bytes.   
[    0.250000] xslcr xslcr.0: at 0xF8000000 mapped to 0xF8000000
[    0.260000] bio: create slab <bio-0> at 0
[    0.270000] SCSI subsystem initialized   
[    0.270000] usbcore: registered new interface driver usbfs  
[    0.270000] usbcore: registered new interface driver hub    
[    0.270000] usbcore: registered new device driver usb       
[    0.270000] Advanced Linux Sound Architecture Driver Version 1.0.25.       
[    0.270000] Switching to clocksource xttcpss_timer1
[    0.280000] NET: Registered protocol family 2      
[    0.280000] TCP established hash table entries: 16384 (order: 5, 131072 bytes)  
[    0.280000] TCP bind hash table entries: 16384 (order: 5, 131072 bytes)    
[    0.280000] TCP: Hash tables configured (established 16384 bind 16384)     
[    0.280000] TCP: reno registered    
[    0.280000] UDP hash table entries: 256 (order: 1, 8192 bytes)   
[    0.280000] UDP-Lite hash table entries: 256 (order: 1, 8192 bytes)        
[    0.280000] NET: Registered protocol family 1      
[    0.280000] Trying to unpack rootfs image as initramfs...   
[    0.280000] rootfs image is not initramfs (no cpio magic); looks like an initrd 
[    0.310000] Freeing initrd memory: 8192K 
[    0.320000] pl330 dev 0 probe success
[    0.320000] msgmni has been set to 1005  
[    0.320000] io scheduler noop registered 
[    0.320000] io scheduler deadline registered       
[    0.320000] io scheduler cfq registered (default)  
[    0.320000] e0001000.serial: ttyPS0 at MMIO 0xe0001000 (irq = 82) is a xuartps  
[    0.780000] console [ttyPS0] enabled
[    0.780000] xdevcfg f8007000.ps7-dev-cfg: ioremap f8007000 to e0850000 with size 1000     
[    0.790000] [drm] Initialized drm 1.1.0 20060810   
[    0.800000] brd: module loaded      
[    0.810000] loop: module loaded     
[    0.820000] xqspips e000d000.ps7-qspi: master is unqueued, this is deprecated   
[    0.820000] xqspips e000d000.ps7-qspi: at 0xE000D000 mapped to 0xE0852000, irq=51
[    0.830000] libphy: XEMACPS mii bus: probed        
[    0.840000] xemacps e000b000.ps7-ethernet: pdev->id -1, baseaddr 0xe000b000, irq 54       
[    0.850000] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver     
[    0.850000] usb_hcd_xusbps_probe: No OTG assigned! 
[    0.860000] usb_hcd_xusbps_probe: OTG now assigned!
[    0.860000] xusbps-ehci xusbps-ehci.0: Xilinx PS USB EHCI Host Controller  
[    0.870000] xusbps-ehci xusbps-ehci.0: new USB bus registered, assigned bus number 1      
[    0.910000] xusbps-ehci xusbps-ehci.0: irq 53, io mem 0x00000000 
[    0.930000] xusbps-ehci xusbps-ehci.0: USB 2.0 started, EHCI 1.00
[    0.930000] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002  
[    0.940000] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1  
[    0.950000] usb usb1: Product: Xilinx PS USB EHCI Host Controller
[    0.950000] usb usb1: Manufacturer: Linux 3.6.0-digilent-13.01-00002-g06b3889 ehci_hcd    
[    0.960000] usb usb1: SerialNumber: xusbps-ehci.0  
[    0.960000] hub 1-0:1.0: USB hub found   
[    0.970000] hub 1-0:1.0: 1 port detected 
[    0.970000] Initializing USB Mass Storage driver...
[    0.980000] usbcore: registered new interface driver usb-storage 
[    0.980000] USB Mass Storage support registered.   
[    0.990000] mousedev: PS/2 mouse device common for all mice
____________________________________________________________
I would be very grateful if anyone could help me out on this...I have been struggling on this for a few weeks...

  • Sign in to reply
  • Cancel
  • Former Member
    0 Former Member over 11 years ago

    Hi

    In my experience boot problems are generally caused by a problem with the device tree.  As a starting point, you probably won't have the device driver for the OLED screen in your kernel, so you should remove this from the device tree.  If you need help with modifying your device tree I'd suggest reading the tutorial below:

    http://xillybus.com/tutorials/device-tree-zynq-1

    Matthew

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
  • Former Member
    0 Former Member over 11 years ago in reply to Former Member

    Thank you very much for your quick reply,

    I have removed the OLED screen in the device tree and the problem still exists...Yet when I tried to replace my compiled zimage to the zimage that I got online at
    http://zedboard.org/sites/default/files/design/zedboard_refdoc_Vivado_2014-2.zip
    I was able to boot...Therefore I was wondering if it is the problem of the kernel source code or it is because of the problem that the device tree and the zimage doesn't play well with each other.
    I wish I could use the zimage downloaded directly but I could not because I need other drivers as well.
    I sincerely hope that you could give me some insights on solving this problem....I am really fustrated :(
    Below is the message log after replacing the zimage.
    ___________________________________________________
    In:    serial  
    Out:   serial  
    Err:   serial  
    Net:   zynq_gem
    Hit any key to stop autoboot:  0 
    zed-boot> run sdboot    
      sdboot sdboot_linaro  
    zed-boot> run sdboot_linaro      
    Copying Linux from SD to RAM...  
    Device: SDHCI  
    Manufacturer ID: 12     
    OEM: 3456      
    Name: F0F0F    
    Tran Speed: 25000000    
    Rd Block Len: 512       
    SD version 2.0 
    High Capacity: Yes      
    Capacity: 3.7 GiB       
    Bus Width: 4-bit
    reading zImage 
          
    2362936 bytes read      
    reading devicetree_linaro.dtb    
          
    9652 bytes read
    ## Starting application at 0x00008000 ... 
    Uncompressing Linux... done, booting the kernel.   
    [    0.000000] Booting Linux on physical CPU 0     
    [    0.000000] Linux version 3.6.0-digilent-13.01-00002-g06b3889 (casrm@casrm) (gcc version 4.8.1 (Sourcery CodeBench Lite 4
    [    0.000000] CPU: ARMv7 Processor [413fc090] revision 0 (ARMv7), cr=18c5387d
    [    0.000000] CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing instruction cache 6

    [    0.000000] Machine: Xilinx Zynq Platform, model: Xilinx Zynq ZED 
    [    0.000000] Memory policy: ECC disabled, Data cache writealloc    
    [    0.000000] PERCPU: Embedded 7 pages/cpu @c08a3000 s6976 r8192 d13504 u32768
    [    0.000000] Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 130048      
    [    0.000000] Kernel command line: console=ttyPS0,115200 root=/dev/mmcblk0p2 rw earlyprintk rootfstype=ext4 rootwait devtm1
    [    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: 512MB = 512MB total
    [    0.000000] Memory: 514948k/514948k available, 9340k 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 - 0xc0425cac   (4216 kB)     
    [    0.000000]       .init : 0xc0426000 - 0xc044bb40   ( 151 kB)     
    [    0.000000]       .data : 0xc044c000 - 0xc04849a0   ( 227 kB)     
    [    0.000000]        .bss : 0xc04849c4 - 0xc049b130   (  90 kB)     
    [    0.000000] Preemptible hierarchical RCU implementation. 
    [    0.000000]  Dump stacks of tasks blocking RCU-preempt GP.
    [    0.000000]  RCU restricting CPUs from NR_CPUS=4 to nr_cpu_ids=2. 
    [    0.000000] NR_IRQS:512       
    [    0.000000] Zynq clock init   
    [    0.000000] xlnx,ps7-ttc-1.00.a #0 at 0xe0800000, irq=43 
    [    0.000000] sched_clock: 32 bits at 100 Hz, resolution 10000000ns, wraps every 4294967286ms  
    [    0.000000] Console: colour dummy device 80x30  
    [    0.090000] Calibrating delay loop... 1332.01 BogoMIPS (lpj=6660096)       
    [    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.090000] hw perfevents: enabled with ARMv7 Cortex-A9 PMU driver, 7 counters available     
    [    0.090000] Setting up static identity map for 0x2f1490 - 0x2f14c4
    [    0.090000] L310 cache controller enabled       
    [    0.090000] l2x0: 8 ways, CACHE_ID 0x410000c8, AUX_CTRL 0x72360000, Cache size: 524288 B     
    [    0.130000] Map SLCR registers
    [    0.130000] CPU1: Booted secondary processor    
    [    0.220000] CPU1: thread -1, cpu 1, socket 0, mpidr 80000001      
    [    0.220000] Brought up 2 CPUs 
    [    0.220000] SMP: Total of 2 processors activated (2664.03 BogoMIPS).       
    [    0.220000] devtmpfs: initialized      
    [    0.220000] NET: Registered protocol family 16  
    [    0.220000] DMA: preallocated 256 KiB pool for atomic coherent allocations 
    [    0.220000] xgpiops e000a000.ps7-gpio: gpio at 0xe000a000 mapped to 0xe084a000      
    [    0.230000] registering platform device 'pl330' id 0     
    [    0.230000] registering platform device 'arm-pmu' id 0   
    [    0.230000] registering platform device 'zynq-dvfs' id 0 
    [    0.230000] hw-breakpoint: found 5 (+1 reserved) breakpoint and 1 watchpoint registers.      
    [    0.230000] hw-breakpoint: maximum watchpoint size is 4 bytes.    
    [    0.250000] xslcr xslcr.0: at 0xF8000000 mapped to 0xF8000000     
    [    0.260000] bio: create slab <bio-0> at 0       
    [    0.270000] SCSI subsystem initialized 
    [    0.270000] usbcore: registered new interface driver usbfs
    [    0.270000] usbcore: registered new interface driver hub 
    [    0.270000] usbcore: registered new device driver usb    
    [    0.270000] Advanced Linux Sound Architecture Driver Version 1.0.25.       
    [    0.270000] Switching to clocksource xttcpss_timer1      
    [    0.280000] NET: Registered protocol family 2   
    [    0.280000] TCP established hash table entries: 16384 (order: 5, 131072 bytes)      
    [    0.280000] TCP bind hash table entries: 16384 (order: 5, 131072 bytes)    
    [    0.280000] TCP: Hash tables configured (established 16384 bind 16384)     
    [    0.280000] TCP: reno registered       
    [    0.280000] UDP hash table entries: 256 (order: 1, 8192 bytes)    
    [    0.280000] UDP-Lite hash table entries: 256 (order: 1, 8192 bytes)
    [    0.280000] NET: Registered protocol family 1   
    [    0.280000] pl330 dev 0 probe success  
    [    0.290000] msgmni has been set to 1005
    [    0.290000] io scheduler noop registered
    [    0.290000] io scheduler deadline registered    
    [    0.290000] io scheduler cfq registered (default)
    [    0.290000] e0001000.serial: ttyPS0 at MMIO 0xe0001000 (irq = 82) is a xuartps      
    [    0.730000] console [ttyPS0] enabled   
    [    0.740000] xdevcfg f8007000.ps7-dev-cfg: ioremap f8007000 to e0850000 with size 1000
    [    0.740000] [drm] Initialized drm 1.1.0 20060810
    [    0.760000] brd: module loaded
    [    0.770000] loop: module loaded
    [    0.770000] xqspips e000d000.ps7-qspi: master is unqueued, this is deprecated       
    [    0.780000] xqspips e000d000.ps7-qspi: at 0xE000D000 mapped to 0xE0852000, irq=51   
    [    0.790000] libphy: XEMACPS mii bus: probed     
    [    0.790000] xemacps e000b000.ps7-ethernet: pdev->id -1, baseaddr 0xe000b000, irq 54 
    [    0.800000] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver     
    [    0.810000] usb_hcd_xusbps_probe: No OTG assigned!       
    [    0.810000] usb_hcd_xusbps_probe: OTG now assigned!      
    [    0.820000] xusbps-ehci xusbps-ehci.0: Xilinx PS USB EHCI Host Controller  
    [    0.830000] xusbps-ehci xusbps-ehci.0: new USB bus registered, assigned bus number 1
    [    0.860000] xusbps-ehci xusbps-ehci.0: irq 53, io mem 0x00000000  
    [    0.880000] xusbps-ehci xusbps-ehci.0: USB 2.0 started, EHCI 1.00 
    [    0.880000] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002  
    [    0.890000] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1      
    [    0.900000] usb usb1: Product: Xilinx PS USB EHCI Host Controller 
    [    0.900000] usb usb1: Manufacturer: Linux 3.6.0-digilent-13.01-00002-g06b3889 ehci_hcd       
    [    0.910000] usb usb1: SerialNumber: xusbps-ehci.0
    [    0.910000] hub 1-0:1.0: USB hub found 
    [    0.920000] hub 1-0:1.0: 1 port detected
    [    0.920000] Initializing USB Mass Storage driver...      
    [    0.930000] usbcore: registered new interface driver usb-storage  
    [    0.930000] USB Mass Storage support registered.
    [    0.940000] mousedev: PS/2 mouse device common for all mice 

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
  • Former Member
    0 Former Member over 11 years ago in reply to Former Member

    Sorry I copied the wrong msg log......This is the right one
    ____________________________________________________________

    U-Boot 2012.04.01 (Nov 04 2014 - 06:15:49)
          
    DRAM:  512 MiB 
    WARNING: Caches not enabled      
    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...  
    Device: SDHCI  
    Manufacturer ID: 3      
    OEM: 5344      
    Name: SU08G    
    Tran Speed: 25000000    
    Rd Block Len: 512       
    SD version 2.0 
    High Capacity: Yes      
    Capacity: 7.4 GiB       
    Bus Width: 4-bit
    reading zImage 
          
    2402648 bytes read      
    reading devicetree.dtb  
          
    5749 bytes read
    reading ramdisk8M.image.gz       
          
    2500546 bytes read      
    ## Starting application at 0x00008000 ... 
    Uncompressing Linux... done, booting the kernel.   
    Booting Linux on physical CPU 0  
    Linux version 3.3.0-14.2-build1-01464-ged63a4d (training@ubuntu) (gcc version 4.6.1 (Sourcery CodeBench Lite 2011.09-50) ) 2
    CPU: ARMv7 Processor [413fc090] revision 0 (ARMv7), cr=18c5387d      
    CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing instruction cache      
    Machine: Xilinx Zynq Platform, model: Xilinx Zynq ZED       
    bootconsole [earlycon0] enabled  
    Memory policy: ECC disabled, Data cache writealloc 
    PERCPU: Embedded 7 pages/cpu @c1489000 s5696 r8192 d14784 u32768     
    Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 125824   
    Kernel command line: console=ttyPS0,115200 root=/dev/ram rw initrd=0x800000,8M earlyprintk      
    PID hash table entries: 2048 (order: 1, 8192 bytes)
    Dentry cache hash table entries: 65536 (order: 6, 262144 bytes)      
    Inode-cache hash table entries: 32768 (order: 5, 131072 bytes)       
    Memory: 240MB 256MB = 496MB total
    Memory: 490008k/490008k available, 34280k reserved, 0K highmem       
    Virtual kernel memory layout:    
        vector  : 0xffff0000 - 0xffff1000   (   4 kB)  
        fixmap  : 0xfff00000 - 0xfffe0000   ( 896 kB)  
        vmalloc : 0xe0800000 - 0xff000000   ( 488 MB)  
        lowmem  : 0xc0000000 - 0xe0000000   ( 512 MB)  
        pkmap   : 0xbfe00000 - 0xc0000000   (   2 MB)  
        modules : 0xbf000000 - 0xbfe00000   (  14 MB)  
          .text : 0xc0008000 - 0xc0409c4c   (4104 kB)  
          .init : 0xc040a000 - 0xc042e640   ( 146 kB)  
          .data : 0xc0430000 - 0xc045dba0   ( 183 kB)  
           .bss : 0xc045dbc4 - 0xc0477e1c   ( 105 kB)  
    Preemptible hierarchical RCU implementation.       
            Verbose stalled-CPUs detection is disabled.
    NR_IRQS:128    
    xlnx,ps7-ttc-1.00.a #0 at 0xe0800000, irq=43       
    Console: colour dummy device 80x30
    Calibrating delay loop... 1594.16 BogoMIPS (lpj=7970816)    
    pid_max: default: 32768 minimum: 301      
    Mount-cache hash table entries: 512       
    CPU: Testing write buffer coherency: ok   
    CPU0: thread -1, cpu 0, socket 0, mpidr 80000000   
    smp_twd: clock not found: -2     
    Calibrating local timer... 399.29MHz.     
    hw perfevents: enabled with ARMv7 Cortex-A9 PMU driver, 7 counters available  
    Setting up static identity map for 0x2f11d8 - 0x2f120c      
    CPU1: Booted secondary processor 
    CPU1: thread -1, cpu 1, socket 0, mpidr 80000001   
    Brought up 2 CPUs       
    SMP: Total of 2 processors activated (3188.32 BogoMIPS).    
    devtmpfs: initialized   
    NET: Registered protocol family 16
    L310 cache controller enabled    
    l2x0: 8 ways, CACHE_ID 0x410000c8, AUX_CTRL 0x72360000, Cache size: 524288 B  
    registering platform device 'pl330' id 0  
    registering platform device 'arm-pmu' id 0
    hw-breakpoint: found 5 (+1 reserved) breakpoint and 1 watchpoint registers.   
    hw-breakpoint: maximum watchpoint size is 4 bytes. 
    xslcr xslcr.0: at 0xF8000000 mapped to 0xE0808000  
    bio: create slab <bio-0> at 0    
    gpiochip_add: registered GPIOs 0 to 245 on device: xgpiops  
    xgpiops e000a000.gpio: gpio at 0xe000a000 mapped to 0xe080a000       
    SCSI subsystem initialized       
    usbcore: registered new interface driver usbfs     
    usbcore: registered new interface driver hub       
    usbcore: registered new device driver usb 
    Switching to clocksource xttcpss_timer1   
    NET: Registered protocol family 2
    IP route cache hash table entries: 4096 (order: 2, 16384 bytes)      
    TCP established hash table entries: 16384 (order: 5, 131072 bytes)   
    TCP bind hash table entries: 16384 (order: 5, 196608 bytes) 
    TCP: Hash tables configured (established 16384 bind 16384)  
    TCP reno registered     
    UDP hash table entries: 256 (order: 1, 8192 bytes) 
    UDP-Lite hash table entries: 256 (order: 1, 8192 bytes)     
    NET: Registered protocol family 1
    RPC: Registered named UNIX socket transport module.
    RPC: Registered udp transport module.     
    RPC: Registered tcp transport module.     
    RPC: Registered tcp NFSv4.1 backchannel transport module.   
    Trying to unpack rootfs image as initramfs...      
    rootfs image is not initramfs (no cpio magic); looks like an initrd  
    Freeing initrd memory: 8192K     
    xscugtimer xscugtimer.0: ioremap fe00c200 to e080c200 with size 400  
    pl330 dev 0 probe success
    JFFS2 version 2.2. (NAND) (SUMMARY)  u00A9 2001-2006 Red Hat, Inc.       
    msgmni has been set to 973       
    io scheduler noop registered     
    io scheduler deadline registered 
    io scheduler cfq registered (default)     
    loop: module loaded     
    xqspips e000d000.qspi: at 0xE000D000 mapped to 0xE0862000, irq=51    
    GEM: BASEADDRESS hw: e000b000 virt: e0864000       
    XEMACPS mii bus: probed 
    eth0, pdev->id -1, baseaddr 0xe000b000, irq 54     
    ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver  
    xusbps-ehci xusbps-ehci.0: Xilinx PS USB EHCI Host Controller
    xusbps-ehci xusbps-ehci.0: new USB bus registered, assigned bus number 1      
    xusbps-ehci xusbps-ehci.0: irq 53, io mem 0x00000000
    xusbps-ehci xusbps-ehci.0: USB 2.0 started, EHCI 1.00       
    hub 1-0:1.0: USB hub found       
    hub 1-0:1.0: 1 port detected     
    Initializing USB Mass Storage driver...   
    usbcore: registered new interface driver usb-storage
    USB Mass Storage support registered.      
    Xilinx PS USB Device Controller driver (Apr 01, 2011)       
    mousedev: PS/2 mouse device common for all mice    
    i2c /dev entries driver 
    Linux video capture interface: v2.00      
    gspca_main: v2.14.0 registered   
    uvcvideo: Unable to create debugfs directory       
    usbcore: registered new interface driver uvcvideo  
    USB Video Class driver (1.1.1)   
    WDT OF probe   
    xwdtps f8005000.swdt: Xilinx Watchdog Timer at 0xe0868000 with timeout 10 seconds      
    sdhci: Secure Digital Host Controller Interface driver      
    sdhci: Copyright(c) Pierre Ossman
    sdhci-pltfm: SDHCI platform and OF driver helper   
    mmc0: Invalid maximum block size, assuming 512 bytes
    mmc0: SDHCI controller on e0100000.sdhci [e0100000.sdhci] using ADMA 
    usbcore: registered new interface driver usbhid    
    usbhid: USB HID core driver      
    TCP cubic registered    
    NET: Registered protocol family 17
    VFP support v0.3: implementor 41 architecture 3 part 30 variant 9 rev 4       
    Registering SWP/SWPB emulation handler    
    drivers/rtc/hctosys.c: unable to open rtc device (rtc0)     
    RAMDISK: gzip image found at block 0      
    mmc0: new high speed SDHC card at address e624     
    mmcblk0: mmc0:e624 SU08G 7.40 GiB
    mmcblk0: p1 p2
    VFS: Mounted root (ext2 filesystem) on device 1:0. 
    devtmpfs: mounted       
    Freeing init memory: 144K
    Starting rcS...
    ++ Mounting filesystem  
    ++ Setting up mdev      
    ++ Starting telnet daemon
    ++ Starting http daemon 
    ++ Starting ftp daemon  
    ++ Starting dropbear (ssh) daemon
    rcS Complete   
    zynq> 

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
  • Former Member
    0 Former Member over 11 years ago

    Hi

    I have previously used the Digilent kernel without any problems, so I doubt it's a problem with the source.  I'd suggest removing everything in your device tree except the essential components and add things back until it stops working again.

    It looks like your first log fails when the second one reaches "i2c /dev entries driver".  Possibly a good idea to search the device tree for an i2c component and remove that.

    For reference I have a basic one which should work:

    /dts-v1/;

    / {
    tmodel = "Xilinx Zynq ZED";
    tcompatible = "xlnx,zynq-zed";
    t#address-cells = <0x1>;
    t#size-cells = <0x1>;
    tinterrupt-parent = <0x1>;

    tmemory@0 {
    ttdevice_type = "memory";
    ttreg = <0x0 0x20000000>;
    t};

    tchosen {
    ttbootargs = "console=ttyPS0,115200 root=/dev/ram rw initrd=0x800000,8M earlyprintk rootfstype=ext4 rootwait devtmpfs.mount=0";
    ttlinux,stdout-path = "/axi@0/uart@E0001000";
    t};

    tcpus {
    tt#address-cells = <0x1>;
    tt#cpus = <0x2>;
    tt#size-cells = <0x0>;

    ttcpu@0 {
    tttclock-frequency = <0x27bc86bf>;
    tttcompatible = "xlnx,ps7-cortexa9-1.00.a";
    tttd-cache-line-size = <0x20>;
    tttd-cache-size = <0x8000>;
    tttdevice_type = "cpu";
    ttti-cache-line-size = <0x20>;
    ttti-cache-size = <0x8000>;
    tttmodel = "ps7_cortexa9,1.00.a";
    tttreg = <0x0>;
    ttttimebase-frequency = <0x13de435f>;
    tttxlnx,cpu-1x-clk-freq-hz = <0x69f6bcb>;
    tttxlnx,cpu-clk-freq-hz = <0x27bc86bf>;
    tt};

    ttcpu@1 {
    tttclock-frequency = <0x27bc86bf>;
    tttcompatible = "xlnx,ps7-cortexa9-1.00.a";
    tttd-cache-line-size = <0x20>;
    tttd-cache-size = <0x8000>;
    tttdevice_type = "cpu";
    ttti-cache-line-size = <0x20>;
    ttti-cache-size = <0x8000>;
    tttmodel = "ps7_cortexa9,1.00.a";
    tttreg = <0x1>;
    ttttimebase-frequency = <0x13de435f>;
    tttxlnx,cpu-1x-clk-freq-hz = <0x69f6bcb>;
    tttxlnx,cpu-clk-freq-hz = <0x27bc86bf>;
    tt};
    t};

    taxi@0 {
    tt#address-cells = <0x1>;
    tt#size-cells = <0x1>;
    ttcompatible = "xlnx,ps7-axi-interconnect-1.00.a", "simple-bus";
    ttranges;

    ttintc@f8f01000 {
    tttinterrupt-controller;
    tttcompatible = "arm,cortex-a9-gic";
    ttt#interrupt-cells = <0x3>;
    tttreg = <0xf8f01000 0x1000 0xf8f00100 0x100>;
    tttlinux,phandle = <0x1>;
    tttphandle = <0x1>;
    tt};

    ttpl310@f8f02000 {
    tttcompatible = "arm,pl310-cache";
    tttcache-unified;
    tttcache-level = <0x2>;
    tttreg = <0xf8f02000 0x1000>;
    tttarm,data-latency = <0x3 0x2 0x2>;
    tttarm,tag-latency = <0x2 0x2 0x2>;
    tttinterrupts = <0x0 0x22 0x4>;
    tt};

    ttuart@e0001000 {
    tttcompatible = "xlnx,ps7-uart-1.00.a";
    tttreg = <0xe0001000 0x1000>;
    tttinterrupts = <0x0 0x32 0x0>;
    tttinterrupt-parent = <0x1>;
    tttclock = <0x2faf080>;
    tt};

    tttimer@0xf8001000 {
    tttcompatible = "xlnx,ps7-ttc-1.00.a";
    tttreg = <0xf8001000 0x1000>;
    tttinterrupts = <0x0 0xa 0x0 0x0 0xb 0x0 0x0 0xc 0x0>;
    tttinterrupt-parent = <0x1>;
    tttclock-frequency-timer0 = <0x7ed6b40>;
    tttclock-frequency-timer1 = <0x7ed6b40>;
    tttclock-frequency-timer2 = <0x7ed6b40>;
    tt};

    ttswdt@f8005000 {
    tttdevice_type = "watchdog";
    tttcompatible = "xlnx,ps7-wdt-1.00.a";
    tttreg = <0xf8005000 0x100>;
    tttclock-frequency = <0x69f6bc7>;
    tt};

    tteth@e000b000 {
    tttcompatible = "xlnx,ps7-ethernet-1.00.a";
    tttreg = <0xe000b000 0x1000>;
    tttinterrupts = <0x0 0x16 0x0>;
    tttinterrupt-parent = <0x1>;
    tttphy-handle = <0x2>;
    ttt#address-cells = <0x1>;
    ttt#size-cells = <0x0>;
    tttxlnx,ptp-enet-clock = <0x69f6bc7>;
    tttxlnx,slcr-div0-1000Mbps = <0x8>;
    tttxlnx,slcr-div0-100Mbps = <0x8>;
    tttxlnx,slcr-div0-10Mbps = <0x8>;
    tttxlnx,slcr-div1-1000Mbps = <0x1>;
    tttxlnx,slcr-div1-100Mbps = <0x5>;
    tttxlnx,slcr-div1-10Mbps = <0x32>;

    tttmdio {
    tttt#address-cells = <0x1>;
    tttt#size-cells = <0x0>;

    ttttphy@0 {
    tttttcompatible = "marvell,88e1510";
    tttttdevice_type = "ethernet-phy";
    tttttreg = <0x0>;
    tttttmarvell,reg-init = <0x3 0x10 0xff00 0x1e 0x3 0x11 0xfff0 0xa>;
    tttttlinux,phandle = <0x2>;
    tttttphandle = <0x2>;
    tttt};
    ttt};
    tt};

    ttsdhci@e0100000 {
    tttcompatible = "xlnx,ps7-sdhci-1.00.a";
    tttreg = <0xe0100000 0x1000>;
    tttinterrupts = <0x0 0x18 0x0>;
    tttinterrupt-parent = <0x1>;
    tttxlnx,has-cd = <0x1>;
    tttclock-frequency = <0x1fc9f08>;
    tt};

    ttusb@e0002000 {
    tttcompatible = "xlnx,ps7-usb-1.00.a";
    tttreg = <0xe0002000 0x1000>;
    tttinterrupts = <0x0 0x15 0x0>;
    tttinterrupt-parent = <0x1>;
    tttdr_mode = "host";
    tttphy_type = "ulpi";
    tt};

    ttgpio@e000a000 {
    tttcompatible = "xlnx,ps7-gpio-1.00.a";
    ttt#gpio-cells = <0x2>;
    tttreg = <0xe000a000 0x1000>;
    tttinterrupts = <0x0 0x14 0x0>;
    tttinterrupt-parent = <0x1>;
    tttgpio-controller;
    tttlinux,phandle = <0x8>;
    tttphandle = <0x8>;
    tt};

    ttqspi@e000d000 {
    tttcompatible = "xlnx,ps7-qspi-1.00.a";
    tttreg = <0xe000d000 0x1000>;
    tttinterrupts = <0x0 0x13 0x0>;
    tttinterrupt-parent = <0x1>;
    tttspeed-hz = <0xbebc200>;
    tttbus-num = <0x1>;
    tttnum-chip-select = <0x1>;
    tttis-dual = <0x0>;
    tt};

    ttdevcfg@f8007000 {
    tttcompatible = "xlnx,ps7-dev-cfg-1.00.a";
    tttreg = <0xf8007000 0x1000>;
    tttinterrupts = <0x0 0x8 0x0>;
    tttinterrupt-parent = <0x1>;
    tt};
    t};
    };


    Matthew

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
element14 Community

element14 is the first online community specifically for engineers. Connect with your peers and get expert answers to your questions.

  • Members
  • Learn
  • Technologies
  • Challenges & Projects
  • Products
  • Store
  • About Us
  • Feedback & Support
  • FAQs
  • Terms of Use
  • Privacy Policy
  • Legal and Copyright Notices
  • Sitemap
  • Cookies

An Avnet Company © 2026 Premier Farnell Limited. All Rights Reserved.

Premier Farnell Ltd, registered in England and Wales (no 00876412), registered office: Farnell House, Forge Lane, Leeds LS12 2NE.

ICP 备案号 10220084.

Follow element14

  • X
  • Facebook
  • linkedin
  • YouTube