Hello,
We have a rev D ZedBoard and v2014.1 of the Xilinx tools. I am working my way through the tutorials in zedboard_CTT_v2013_2_130807.pdf from zedboard_CTT_v2013_2_130807.zip. Because it is for v2013.2 there have been a number of issues I've had to get around, but I'm stuck on this one.
In chapter 5 "Booting Linux and Application Debugging Using SDK", I got as far as beginning the linux boot (5.2.3 step 7). Some time into the boot the ZedBoard hangs, suspiciously after some non-ASCII output. The terminal output is attached below.
When the jumpers are in SD card boot configuration it boots the out-of-the-box linux on the SD card.
Terminal output:
U-Boot 2011.03-00226-gd4000b9 (Jun 07 2012 - 18:04:19)
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
zed-boot> go 0x8000
## 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) ) #1 SMP PREEMPT Wed Jun 20 14:46:29 PDT 2012
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 ZedBoard
bootconsole [earlycon0] enabled
Memory policy: ECC disabled, Data cache writealloc
On node 0 totalpages: 126976
free_area_init_node: node 0, pgdat c045c1c0, node_mem_map c1001000
Normal zone: 1152 pages used for memmap
Normal zone: 0 pages reserved
Normal zone: 125824 pages, LIFO batch:31
PERCPU: Embedded 7 pages/cpu @c1486000 s5696 r8192 d14784 u32768
pcpu-alloc: s5696 r8192 d14784 u32768 alloc=8*4096
pcpu-alloc: [0] 0 [0] 1
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 maxcpus=2 debug ip=192.168.1.10
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: 490028k/490028k available, 34260k 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... 1332.01 BogoMIPS (lpj=6660096)
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... 333.55MHz.
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 (2664.03 BogoMIPS).
devtmpfs: initialized
NET: Registered protocol family 16
L310 cache controller enabled
l2x0: 8 ways, CACHE_ID 0x410000c8, AUX_CTRL 0x72060000, Cache size: 524288 B
registering platform device 'pl330' id 0
registering platform device 'arm-pmu' id 0
------------[ cut here ]------------
WARNING: at arch/arm/kernel/hw_breakpoint.c:235 enable_monitor_mode+0x30/0xb0()
halting debug mode enabled. Unable to access hardware resources.
Modules linked in:
[<c0012928>] (unwind_backtrace+0x0/0xe0) from [<c001e84c>] (warn_slowpath_common+0x4c/0x64)
[<c001e84c>] (warn_slowpath_common+0x4c/0x64) from [<c001e8e4>] (warn_slowpath_fmt+0x2c/0x3c)
[<c001e8e4>] (warn_slowpath_fmt+0x2c/0x3c) from [<c00135b0>] (enable_monitor_mode+0x30/0xb0)
[<c00135b0>] (enable_monitor_mode+0x30/0xb0) from [<c00136a4>] (reset_ctrl_regs+0x74/0x130)
[<c00136a4>] (reset_ctrl_regs+0x74/0x130) from [<c005223c>] (generic_smp_call_function_single_interrupt+0xe4/0x124)
[<c005223c>] (generic_smp_call_function_single_interrupt+0xe4/0x124) from [<c0011be8>] (handle_IPI+0xc4/0x164)
[<c0011be8>] (handle_IPI+0xc4/0x164) from [<c00084c0>] (gic_handle_irq+0x90/0x9c)
[<c00084c0>] (gic_handle_irq+0x90/0x9c) from [<c000d240>] (__irq_svc+0x40/0x70)
Exception stack(0xdf867fa0 to 0xdf867fe8)
7fa0: df866000 df866028 df867fe8 00000000 c043b698 00000015 10c0387d c045df60
7fc0: 0000406a 413fc090 00000000 00000000 00000000 df867fe8 c000e02c c000e030
7fe0: 60000013 ffffffff
[<c000d240>] (__irq_svc+0x40/0x70) from [<c000e030>] (default_idle+0x24/0x28)
[<c000e030>] (default_idle+0x24/0x28) from [<c000e1dc>] (cpu_idle+0x3c/0xa4)
[<c000e1dc>] (cpu_idle+0x3c/0xa4) from [<00423d54>] (0x423d54)
---[ end trace 1b75b31a2719ed1c ]---
hw-breakpoint: found 5 (+1 reserved) breakpoint and 1 watchpoint registers.
hw-breakpoint: halting debug mode enabled. Assuming maximum watchpoint size of 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) u00C2u00A9 2001-2006 Red Hat, Inc.
msgmni has been set to 973
io scheduler noop registered
io scheduler deadline registered
io scheduler cfq registered (default)
e00u00BDu00BDu00B9u00CDu00BDu00B1u00A5u00CDu00E5AMuu00B9
u00B1u00BDu00B9u00BAr"u00D9loop: module loaded
GEM: BASEADDRESS hw: e000b000 virt: e0862000
XEMACPS mii bus: probed