On Wed, 2013-07-03 at 19:03 +0530, Vijay Kilari wrote:
Hi,
With latest Linaro ARM kernel mentioned below fails to boot when following configs are enabled CONFIG_VEXPRESS_SPC & CONFIG_ARCH_VEXPRESS_TC2_PM
OR
Even just enabling CONFIG_VEXPRESS_PSCI and passing psci as kernel bootargs fails
git://git.linaro.org/landing-teams/working/arm/kernel.git
please let me know if you have any information on why it fails?.
You'll need to provide us more of a clue a to what you are doing.
1. When you say 'fails to boot', do you get any messages out of the serial port? Can you provide a log?
2. You didn't mention that you had enabled CONFIG_BIG_LITTLE=y, this will be needed and possibly others. We have all the required configs for all vexpress CoreTiles, including TC2, in linaro/configs/vexpress.conf.
3. How are you generating the kernel config? In Linaro we use the command:
ARCH=arm scripts/kconfig/merge_config.sh \ linaro/configs/linaro-base.conf \ linaro/configs/android.conf \ linaro/configs/big-LITTLE-MP.conf \ linaro/configs/big-LITTLE-IKS.conf \ linaro/configs/vexpress.conf
(If you want a plain Linux kernel rather than an Android one, replace 'android.conf' with 'distribution.conf'.)
4. What branch were you using in the git you mention? Though as Ryan said, you should really use the main linaro kernel which is the kernel we test and release each month. That is the linux-linaro branch of git://git.linaro.org/kernel/linux-linaro-tracking.git
5. Have you installed the firmware as described in the 'Firmware Update' tab of http://releases.linaro.org/13.06/android/vexpress ? This says to use the version 5.0 Versatile Express CD, plus some extra patches from ARM, plus some extra config files. All of these are needed to get a working system.
Also do I need to update Secure world to make it work with PSCI?
Yes. You need extra firmware that is not publicly available. You may be able to get this but I'm not sure how the process for that works.