Stuck on Calibrating delay loop...

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Stuck on Calibrating delay loop...

2,410 Views
tomli
Contributor I

I used buildroot to compile kernel for imx6, but stuck on here,

I copied the working linux kernel 3.0.35 config, and use it on kernel 4.2.3, also copied device tree files from 3.0.35 to 4.2.3

after tweaks, got "i.MX timer: unable to get clk".

So questions:

  1. How to modify clock source?
    Can I copy march-mx6 folder(kernel 3.0.35, it includes board-edm_cf_imx6.c) to kernel 4.2.3?
  2. How to set machine ID? I saw kernel give me 3 possible machines, and their IDs are fffffff, which definitely wrong, how to correct them? in dts?

Thanks.

Starting kernel ...

Uncompressing Linux... done, booting the kernel.

Booting Linux on physical CPU 0x0

Initializing cgroup subsys cpuset

Initializing cgroup subsys cpu

Linux version 4.2.3 (tonghua@tonghua-virtual-machine) (gcc version 4.9.2 20140904 (prerelease) (crosstool-NG linaro-1.13.1-4.9-2014.09 - Linaro GCC 4.9-2014.09) ) #4 SMP PREEMPT Sat Oct 17 13:30:22 EDT 2015

CPU: ARMv7 Processor [412fc09a] revision 10 (ARMv7), cr=10c5387d

CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing instruction cache

Machine: Generic DT based system

bootconsole [earlycon0] enabled

Memory policy: Data cache writeback

CPU: All CPU(s) started in SVC mode.

PERCPU: Embedded 11 pages/cpu @9fbe9000 s14656 r8192 d22208 u45056

Built 1 zonelists in Zone order, mobility grouping on. Total pages: 130048

Kernel command line: console=ttymxc0,115200n8 root=/dev/nfs nfsroot=192.168.1.31:/nfsroot ip=dhcp earlyprintk clocksource=imx_timer1

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: 510684K/524288K available (6854K kernel code, 250K rwdata, 1208K rodata, 288K init, 411K bss, 13604K reserved, 0K cma-reserved, 0K highmem)

Virtual kernel memory layout:

  vector : 0xffff0000 - 0xffff1000 ( 4 kB)

  fixmap : 0xffc00000 - 0xfff00000 (3072 kB)

  vmalloc : 0xa0800000 - 0xff000000 (1512 MB)

  lowmem : 0x80000000 - 0xa0000000 ( 512 MB)

  pkmap : 0x7fe00000 - 0x80000000 ( 2 MB)

  modules : 0x7f000000 - 0x7fe00000 ( 14 MB)

  .text : 0x80008000 - 0x807e7de4 (8064 kB)

  .init : 0x807e8000 - 0x80830000 ( 288 kB)

  .data : 0x80830000 - 0x8086ea00 ( 251 kB)

  .bss : 0x8086ea00 - 0x808d58fc ( 412 kB)

SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=1, Nodes=1

Preemptible hierarchical RCU implementation.

  Additional per-CPU info printed with stalls.

  Build-time adjustment of leaf fanout to 32.

  RCU restricting CPUs from NR_CPUS=4 to nr_cpu_ids=1.

RCU: Adjusting geometry for rcu_fanout_leaf=32, nr_cpu_ids=1

NR_IRQS:16 nr_irqs:16 16

clocksource_of_init: no matching clocksources found

sched_clock: 32 bits at 100 Hz, resolution 10000000ns, wraps every 21474836475000000ns

Console: colour dummy device 80x30

Calibrating delay loop...

[ 0.000000] i.MX timer: unable to get clk

[ 0.000000] sched_clock: 32 bits at 100 Hz, resolution 10000000ns, wraps every 21474836475000000ns

[ 0.000000] Console: colour dummy device 80x30

[ 0.000000] Calibrating delay loop...

0 Kudos
Reply
1 Reply

1,323 Views
igorpadykov
NXP Employee
NXP Employee

Hi Tom

please look below how to create custom layer

https://community.freescale.com/docs/DOC-100203

https://community.freescale.com/docs/DOC-95333

Best regards

igor

-----------------------------------------------------------------------------------------------------------------------

Note: If this post answers your question, please click the Correct Answer button. Thank you!

-----------------------------------------------------------------------------------------------------------------------

0 Kudos
Reply