AnsweredAssumed Answered

booting linux-imx_4.1.15_1.0.0_ga on imx6sx

Question asked by Tim Michals on Mar 31, 2016
Latest reply on Apr 3, 2016 by igorpadykov


i'm having two issues booting linux-imx_4.1.15_1.0.0_ga on imx6sx:

anatop is configuring the following :

anatop_regulator 20c8000.anatop:regulator-vddcore@140: Failed to read a valid default voltage selector.

anatop_regulator: probe of 20c8000.anatop:regulator-vddcore@140 failed with error -22

anatop_regulator 20c8000.anatop:regulator-vddsoc@140: Failed to read a valid default voltage selector.

anatop_regulator: probe of 20c8000.anatop:regulator-vddsoc@140 failed with error -22

all the above is defined in the imx6sx.dtsi:

reg_arm: regulator-vddcore@140 {

compatible = "fsl,anatop-regulator";

  regulator-name = "vddarm";

  regulator-min-microvolt = <725000>;

  regulator-max-microvolt = <1450000>;

  regulator-always-on;

  anatop-reg-offset = <0x140>;

  anatop-vol-bit-shift = <0>;

  anatop-vol-bit-width = <5>;

  anatop-delay-reg-offset = <0x170>;

  anatop-delay-bit-shift = <24>;

  anatop-delay-bit-width = <2>;

  anatop-min-bit-val = <1>;

  anatop-min-voltage = <725000>;

  anatop-max-voltage = <1450000>;

}

 

and a crash:

 

Key type dns_resolver registered

cpu cpu0: dev_pm_opp_get_opp_count: device OPP not found (-19)

failed to register cpuidle driver

Unable to handle kernel NULL pointer dereference at virtual address 00000008

pgd = 80004000

[00000008] *pgd=00000000

Internal error: Oops: 805 [#1] PREEMPT SMP ARM

Modules linked in:

CPU: 0 PID: 1 Comm: swapper/0 Not tainted 4.1.15 #1

Hardware name: Freescale i.MX6 SoloX (Device Tree)

task: 8804c000 ti: 88050000 task.ti: 88050000

PC is at imx_amp_power_init+0x98/0xe8

LR is at 0x0

pc : [<80aa1a34>]    lr : [<00000000>]    psr: a0000113

sp : 88051ee8  ip : 00000001  fp : 8bfff900

r10: 80adeb7c  r9 : 00000008  r8 : 80b606b0

r7 : 00000014  r6 : 00000001  r5 : 80b6025c  r4 : 00000001

r3 : 00000000  r2 : 88002b00  r1 : 00000000  r0 : 88002b00

Flags: NzCv  IRQs on  FIQs on  Mode SVC_32  ISA ARM  Segment kernel

Control: 10c53c7d  Table: 8000404a  DAC: 00000015

Process swapper/0 (pid: 1, stack limit = 0x88050210)

Stack: (0x88051ee8 to 0x88052000)

1ee0:                   80af7720 80af7720 88675f80 80aa199c 00000000 80009730

1f00: 807c8bf4 80a51c18 0000010d 00000087 00000000 80a52478 00000072 88051f30

1f20: 8bfff9ca 8bfff9bc 807c8bf4 8004c5b8 00000000 00000000 8096aacc 00000007

1f40: 00000007 809763c4 80aff3d0 0000010d 0000010d 80b5f000 80b5f000 80aeb664

1f60: 80adeb78 80adeb7c 8bfff900 80a87db4 00000007 00000007 80a875a0 8079b8a4

1f80: 8bb2c800 0000f000 8079198c 00000000 00000000 00000000 00000000 00000000

1fa0: 00000000 80791998 00000000 8000f528 00000000 00000000 00000000 00000000

1fc0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000

1fe0: 00000000 00000000 00000000 00000000 00000013 00000000 fdffdab9 ef3053af

[<80aa1a34>] (imx_amp_power_init) from [<80009730>] (do_one_initcall+0x8c/0x1d8)

[<80009730>] (do_one_initcall) from [<80a87db4>] (kernel_init_freeable+0x140/0x1d0)

[<80a87db4>] (kernel_init_freeable) from [<80791998>] (kernel_init+0xc/0xe0)

[<80791998>] (kernel_init) from [<8000f528>] (ret_from_fork+0x14/0x2c)

Code: e0233497 e7952102 e2844001 e1a00002 (e5832008)

---[ end trace 5d15f49654e5e9b0 ]---

Kernel panic - not syncing: Attempted to kill init! exitcode=0x0000000b

Outcomes