When I enable PSCI on the Kernel for IMX7 its not working. Why?

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

When I enable PSCI on the Kernel for IMX7 its not working. Why?

1,033 Views
yuvakrishna
Contributor II

Hi,

I am using IMX7dSABRE Board and Latest Yocto Build System from Freescale website.

When I tried to build the Kernel with PSCI Interface Enabled, the kernel won't boot. Why?

Attached the Logs below:


[Fri Jul 14 13:03:42.650 2017]
[Fri Jul 14 13:03:42.650 2017]
[Fri Jul 14 13:03:42.650 2017] U-Boot 2016.03-imx_v2016.03_4.1.15_2.0.0_ga+ga57b13b (Jul 14 2017 - 12:58:16 +0530)
[Fri Jul 14 13:03:42.650 2017]
[Fri Jul 14 13:03:42.650 2017] CPU:   Freescale i.MX7D rev1.2 996 MHz (running at 792 MHz)
[Fri Jul 14 13:03:42.650 2017] CPU:   Commercial temperature grade (0C to 95C) at 34C
[Fri Jul 14 13:03:42.650 2017] Reset cause: POR
[Fri Jul 14 13:03:42.650 2017] Board: i.MX7D SABRESD RevA
[Fri Jul 14 13:03:42.650 2017] I2C:   ready
[Fri Jul 14 13:03:42.650 2017] DRAM:  1 GiB
[Fri Jul 14 13:03:42.739 2017] PMIC: PFUZE3000 DEV_ID=0x30 REV_ID=0x11
[Fri Jul 14 13:03:42.739 2017] MMC:   FSL_SDHC: 0, FSL_SDHC: 1
[Fri Jul 14 13:03:42.818 2017] *** Warning - bad CRC, using default environment
[Fri Jul 14 13:03:42.845 2017]
[Fri Jul 14 13:03:42.845 2017] Display: TFT43AB (480x272)
[Fri Jul 14 13:03:42.845 2017] Video: 480x272x24
[Fri Jul 14 13:03:42.845 2017] In:    serial
[Fri Jul 14 13:03:42.845 2017] Out:   serial
[Fri Jul 14 13:03:42.845 2017] Err:   serial
[Fri Jul 14 13:03:42.925 2017] switch to partitions #0, OK
[Fri Jul 14 13:03:42.925 2017] mmc0 is current device
[Fri Jul 14 13:03:42.925 2017] Net:   FEC0
[Fri Jul 14 13:03:42.943 2017] Normal Boot
[Fri Jul 14 13:03:42.943 2017] Hit any key to stop autoboot:  3  2  1  0
[Fri Jul 14 13:03:46.030 2017] switch to partitions #0, OK
[Fri Jul 14 13:03:46.030 2017] mmc0 is current device
[Fri Jul 14 13:03:46.125 2017] switch to partitions #0, OK
[Fri Jul 14 13:03:46.125 2017] mmc0 is current device
[Fri Jul 14 13:03:46.221 2017] reading boot.scr
[Fri Jul 14 13:03:46.237 2017] ** Unable to read file boot.scr **
[Fri Jul 14 13:03:46.237 2017] reading zImage
[Fri Jul 14 13:03:46.552 2017] 6632864 bytes read in 300 ms (21.1 MiB/s)
[Fri Jul 14 13:03:46.552 2017] Booting from mmc ...
[Fri Jul 14 13:03:46.552 2017] reading imx7d-sdb.dtb
[Fri Jul 14 13:03:46.568 2017] 47049 bytes read in 21 ms (2.1 MiB/s)
[Fri Jul 14 13:03:46.568 2017] Kernel image @ 0x80800000 [ 0x000000 - 0x6535a0 ]
[Fri Jul 14 13:03:46.595 2017] ## Flattened Device Tree blob at 83000000
[Fri Jul 14 13:03:46.595 2017]    Booting using the fdt blob at 0x83000000
[Fri Jul 14 13:03:46.595 2017]    Using Device Tree in place at 83000000, end 8300e7c8
[Fri Jul 14 13:03:46.610 2017]
[Fri Jul 14 13:03:46.610 2017] Starting kernel ...
[Fri Jul 14 13:03:46.610 2017]
[Fri Jul 14 13:03:46.924 2017] undefined instruction
[Fri Jul 14 13:03:46.924 2017] pc : [<0090384c>]    lr : [<8001aa3c>]
[Fri Jul 14 13:03:46.924 2017] sp : a8063f08  ip : 80bec3f8  fp : 00000000
[Fri Jul 14 13:03:46.924 2017] r10

Labels (2)
Tags (2)
0 Kudos
3 Replies

820 Views
igorpadykov
NXP Employee
NXP Employee

Hi Yuva

please refer to Chapter 21 Low-level Power Management (PM) Driver

attached Linux Manual for supported linux configurations. Other configs

may not work, as they may be not tested.

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

0 Kudos

820 Views
yuvakrishna
Contributor II

Hi Igor,

Thanks for the Response, This PSCI is not specifically related to Low Power Handling. I am trying to boot Arm7 into Hypervisor mode and the Secondary CPU wont boot in Hypervisor mode and as per my understanding, we need to have PSCI on IMX7 Kernel to boot all the cores in same mode in Non-Secure/Virtualization  Boot-up sequence.

Why is Kernel fault happens when we use PSCI with IMX7 Freescale BSP? Any specific reasons.

Thanks and Regards,

Yuva

0 Kudos

820 Views
igorpadykov
NXP Employee
NXP Employee

Hi Yuva

 

supported functionality is described attached Linux Manual.

For adding support PSCI on IMX7 one can apply to NXP Professional Services:

http://www.nxp.com/support/nxp-professional-services:PROFESSIONAL-SERVICE

 Best regards
igor

0 Kudos