- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic to the Top
- Bookmark
- Subscribe
- Printer Friendly Page
Zynq Linux ZC702 : current git build broken?
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
07-03-2012 01:21 PM
Running with release 14.1. then attempting to run updated kernel zImage
No problem to build and run the release kernel from git:
xilinx-14.1-build3-trd
git checkout 86c81ccd7c8e895904bfff95bd4f87c9615f7fba
Checking out files: 100% (21387/21387), done.
Previous HEAD position was ae9d195... Xilinx: ARM: correct ZC702 device tree
HEAD is now at 86c81cc... Xilinx: ARM: Xylon frame driver rearchiteched
However building from latest git fails to run.
On trying to find the point of failure, it seems to be as far back as:
commit ae9d195f7e98e28b2feaaeae46e46ddf0cb8c721
Author: John Linn <john.linn@xilinx.com>
Date: Wed May 23 16:34:48 2012 -0700
Xilinx: ARM: correct ZC702 device tree
The failure looks like this:
Preemptible hierarchical RCU implementation.
Verbose stalled-CPUs detection is disabled.
NR_IRQS:128
------------[ cut here ]------------
WARNING: at arch/arm/mach-zynq/timer.c:299 xttcpss_timer_init+0x64/0x248()
Modules linked in:
[<c0012920>] (unwind_backtrace+0x0/0xe0) from [<c001e82c>] (warn_slowpath_common+0x4c/0x64)
[<c001e82c>] (warn_slowpath_common+0x4c/0x64) from [<c001e85c>] (warn_slowpath_null+0x18/0x1c)
[<c001e85c>] (warn_slowpath_null+0x18/0x1c) from [<c040ff8c>] (xttcpss_timer_init+0x64/0x248)
[<c040ff8c>] (xttcpss_timer_init+0x64/0x248) from [<c040cb38>] (time_init+0x20/0x2c)
[<c040cb38>] (time_init+0x20/0x2c) from [<c040966c>] (start_kernel+0x1a0/0x304)
[<c040966c>] (start_kernel+0x1a0/0x304) from [<00008044>] (0x8044)
---[ end trace 1b75b31a2719ed1c ]---
xlnx,ps7-ttc-1.00.a #0 at 0xf0000000, irq=0
Console: colour dummy device 80x30
Am I doing something wrong here or has there perhaps been a new hardware configuration in newer boot firmware?.
Thanks
Peter
Re: Zynq Linux ZC702 : current git build broken?
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
07-03-2012 01:54 PM
Hi Peter,
Did you compile the new device tree as this is now a 3.3 kernel?
The device tree from 3.0 is not compatible.
Thanks.
Re: Zynq Linux ZC702 : current git build broken?
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
07-04-2012 01:17 AM
Hi John
Of course, that was it. It's all good now. Thanks a lot!
zynq> eth0: link up (1000/FULL)
uname -a
Linux 192.168.0.61 3.3.0-14.2-build1-pgm3-01464-ged63a4d-dirty #19 SMP PREEMPT Wed Jul 4 08:52:21 BST 2012 armv7l GNU/Linux
The doc is correct, but it might help to spell this out literally at http://wiki.xilinx.com/zynq-linux#toc14
./scripts/dtc/dtc -I dts -O dtb -o devicetree.dtb arch/arm/boot/dts/zynq-zc702.dts
/Peter











