Ben,
Thank you for the suggestions. Makes sense, seems like the other kernel has not been updated since Oct 2013. Anyway, with the adi kernel I need to specify LOADADDR=0x8000 (actually also mentioned in another thread on this forum now that I find it).
viewtopic.php?f=48&t=1230Also the dts needs to have "earlyprintk" as boot argument, otherwise kernel booting stuck at "...done, booting the kernel." Surprisingly, the dts for the working kernel does not need earlyprintk.
Nevertheless in this case I get the following error, which leads to kernel panic (I am cross compiling the kernel on a x64 machine, but I trust the tools, I've been compiling kernels for my BBB without problems).
--------------------------------
clkc: failed to get resource
------------[ cut here ]------------
kernel BUG at drivers/clk/zynq/clkc.c:675!
Internal error: Oops - BUG: 0 [#1] PREEMPT SMP ARM
Modules linked in:
CPU: 0 PID: 0 Comm: swapper/0 Not tainted 3.14.12-parallella-g6a08845 #1
task: c09a8eb0 ti: c099e000 task.ti: c099e000
PC is at zynq_clock_init+0x80/0xa8
LR is at zynq_clock_init+0x80/0xa8
pc : [<c0983fbc>] lr : [<c0983fbc>] psr: 600001d3
sp : c099ff88 ip : c09a8eb0 fp : 00000000
r10: c09a6400 r9 : ecfffd00 r8 : c0991320
r7 : ffffffff r6 : c0a04cc0 r5 : c099e000 r4 : ec816044
r3 : c09a8eb0 r2 : 00000000 r1 : c099fe98 r0 : 0000001c
Flags: nZCv IRQs off FIQs off Mode SVC_32 ISA ARM Segment kernel
Control: 18c5387d Table: 0000404a DAC: 00000015
Process swapper/0 (pid: 0, stack limit = 0xc099e240)
Stack: (0xc099ff88 to 0xc09a0000)
ff80: ec815ef4 c096eae4 c085f928 ec815f90 f0004000 c09a6410
ffa0: c098d3b8 00000001 00000001 c096e990 c098d3b8 c096aea8 00000002 c096799c
ffc0: ffffffff ffffffff c0967574 00000000 00000000 c0991320 18c5387d c09a644c
ffe0: c099131c c09aa59c 0000406a 413fc090 00000000 00008074 00000000 00000000
[<c0983fbc>] (zynq_clock_init) from [<c096e990>] (zynq_timer_init+0xc/0x1c)
[<c096e990>] (zynq_timer_init) from [<c096aea8>] (time_init+0x1c/0x30)
[<c096aea8>] (time_init) from [<c096799c>] (start_kernel+0x1fc/0x384)
[<c096799c>] (start_kernel) from [<00008074>] (0x8074)
Code: ea000003 e59f0028 e5941000 ebf46a9d (e7f001f2)
---[ end trace 3406ff24bd97382e ]---
Kernel panic - not syncing: Attempted to kill the idle task!
--------------------------------------
DTS issue? (I've tried both the dts in arch/arm/boot/dts/zynq-parallella.dts and the original dts mentioned in quickstart guide) Tried to add a reg address assignment to clkc but it fails in other ways with bad cell count). I am still using the 7020_headless bitfile in parallella-hw/fpga/bitstreams. I'm wondering if a different kernel requires a different bitfile.
If anyone has any suggestions, they would be helpful. I'll post anything I find.
Claudiu