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...