cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Highlighted
Participant
Participant
8,189 Views
Registered: ‎11-13-2012

ZC706, 3.8 Kernel Boot

Jump to solution

Hi everyone,

 

I'm trying to build and boot Xilinx new kernel (3.8) but I have problems with the slcr module.

 

I'm using ZC706 precompiled 14.4 files (Boot, devicetree and ramdisk) and a new kernel image. I build the kernel following wiki's steps and I have the following errors in the image booting:

 

Starting kernel ...

Booting Linux on physical CPU 0x0
Linux version 3.8.0-xilinx-dirty (ues@pumodev) (gcc version 4.6.1 (Sourcery Code
Bench Lite 2011.09-50) ) #4 SMP PREEMPT Mon Apr 22 18:37:51 CEST 2013
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 ZC706
bootconsole [earlycon0] enabled
cma: CMA: reserved 16 MiB at 2e800000
Memory policy: ECC disabled, Data cache writealloc
PERCPU: Embedded 7 pages/cpu @c0daf000 s7616 r8192 d12864 u32768
Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 260096
Kernel command line: console=ttyPS0,115200 root=/dev/ram rw ip=192.168.1.10 earl
yprintk
PID hash table entries: 4096 (order: 2, 16384 bytes)
Dentry cache hash table entries: 131072 (order: 7, 524288 bytes)
Inode-cache hash table entries: 65536 (order: 6, 262144 bytes)
__ex_table already sorted, skipping sort
Memory: 1024MB = 1024MB total
Memory: 1012084k/1012084k available, 36492k reserved, 270336K highmem
Virtual kernel memory layout:
    vector  : 0xffff0000 - 0xffff1000   (   4 kB)
    fixmap  : 0xfff00000 - 0xfffe0000   ( 896 kB)
    vmalloc : 0xf0000000 - 0xff000000   ( 240 MB)
    lowmem  : 0xc0000000 - 0xef800000   ( 760 MB)
    pkmap   : 0xbfe00000 - 0xc0000000   (   2 MB)
    modules : 0xbf000000 - 0xbfe00000   (  14 MB)
      .text : 0xc0008000 - 0xc05171b8   (5181 kB)
      .init : 0xc0518000 - 0xc0540dc0   ( 164 kB)
      .data : 0xc0542000 - 0xc057ac30   ( 228 kB)
       .bss : 0xc057ac30 - 0xc05a5258   ( 170 kB)
Preemptible hierarchical RCU implementation.
        Dump stacks of tasks blocking RCU-preempt GP.
        RCU restricting CPUs from NR_CPUS=4 to nr_cpu_ids=2.
NR_IRQS:16 nr_irqs:16 16
xslcr_init: no slcr node found
------------[ cut here ]------------
Kernel BUG at c0520ba8 [verbose debug info unavailable]
Internal error: Oops - BUG: 0 [#1] PREEMPT SMP ARM
Modules linked in:
CPU: 0    Not tainted  (3.8.0-xilinx-dirty #4)
PC is at xslcr_init+0x5c/0x1d4
LR is at xslcr_init+0x5c/0x1d4
pc : [<c0520ba8>]    lr : [<c0520ba8>]    psr: 600001d3
sp : c0543fa8  ip : c0542038  fp : 00000000
r10: 00000000  r9 : 413fc090  r8 : c0daca80
r7 : c0538f90  r6 : 00000000  r5 : c057ac40  r4 : c0542000
r3 : c0551cc4  r2 : c0551cc4  r1 : 00000002  r0 : 0000001e
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 = 0xc0542238)
Stack: (0xc0543fa8 to 0xc0544000)
3fa0:                   c0542000 c057ac40 ffffffff c05205f4 c05205ec c051bc30
3fc0: 00000000 c0518698 ffffffff ffffffff c0518228 00000000 00000000 c0538f90
3fe0: 18c5387d c054a430 c0538f88 c054dc6c 0000406a 00008078 00000000 00000000
[<c0520ba8>] (xslcr_init+0x5c/0x1d4) from [<c05205f4>] (xilinx_zynq_timer_init+0
x8/0x10)
[<c05205f4>] (xilinx_zynq_timer_init+0x8/0x10) from [<c051bc30>] (time_init+0x20
/0x30)
[<c051bc30>] (time_init+0x20/0x30) from [<c0518698>] (start_kernel+0x1b0/0x2ec)
[<c0518698>] (start_kernel+0x1b0/0x2ec) from [<00008078>] (0x8078)
Code: 1a000003 e59f0160 e59f1160 ebfa24c1 (e7f001f2)
---[ end trace 1b75b31a2719ed1c ]---
Kernel panic - not syncing: Attempted to kill the idle task!

 

As I can see in the trace, it seems that sclr node is not found in the kernel: xslcr_init: no slcr node found

 


Anyone knows if node name has been changed on the new kernel version? Anyone has achive to run 3.8 kernel version on any board?

 

Thanks for your help.

 

0 Kudos
1 Solution

Accepted Solutions
Highlighted
Participant
Participant
10,601 Views
Registered: ‎11-13-2012

Hi everyone,

 

It seems that it was a failure in my device tree file. I try it again with zynq-zc706.dts template file and it works fine!

 

Thanks for you answers.

View solution in original post

0 Kudos
8 Replies
Highlighted
Xilinx Employee
Xilinx Employee
8,186 Views
Registered: ‎03-13-2012

@ierkiaga wrote:

Hi everyone,

 

I'm trying to build and boot Xilinx new kernel (3.8) but I have problems with the slcr module.

 

I'm using ZC706 precompiled 14.4 files (Boot, devicetree and ramdisk) and a new kernel image. I build the kernel following wiki's steps and I have the following errors in the image booting:


Did you use the new kernel with the old devicetree? If so, please use the devicetree coming with the 3.8 sources and give it another shot. ('make dtbs' is supposed to build the DT images).
0 Kudos
Highlighted
Participant
Participant
8,173 Views
Registered: ‎11-13-2012

Hi,

 

This was the first approach to the new kernel jejeje

 

I have created a new boot file (with new u-boot sources), new device tree (using /arch/arm/boot/dts/zynq-zc706.dts file), new ramdisk (using wiki's arm-ramdisk) and I have compiled the kernel with the lastest sources.

 

If I use 14.4 kernel image with the new files, it works fine. But when I try to use my new compiled kernel it fails in the same point.

 

0 Kudos
Highlighted
Participant
Participant
10,602 Views
Registered: ‎11-13-2012

Hi everyone,

 

It seems that it was a failure in my device tree file. I try it again with zynq-zc706.dts template file and it works fine!

 

Thanks for you answers.

View solution in original post

0 Kudos
Highlighted
8,093 Views
Registered: ‎04-21-2013

Hi,

We are also trying to build the kernel with 3.6 version but I am not able to get the toolchain required for that so could you please assist where i can get(download) the details regarding the toolchain.

Any help will be thankful.

 

Regards,

Prashant Agrawal

0 Kudos
Highlighted
Explorer
Explorer
8,011 Views
Registered: ‎08-13-2007

Hi,

 

did you get also USB working with 8.3? Please let us know, it seems all 3.8 linux version for Xilinx are broken.. at least the ready built zedboard image fails, as do all our compiled version also

 

thanks,

Antti

0 Kudos
Highlighted
Explorer
Explorer
7,969 Views
Registered: ‎08-13-2007

solved.

0 Kudos
Highlighted
Observer
Observer
7,938 Views
Registered: ‎02-09-2013
Ummm, how?
0 Kudos
Highlighted
Newbie
Newbie
7,404 Views
Registered: ‎10-28-2013

can you tell me how creat the new boot file and new ramdisk? thank you!!!

0 Kudos