On Wed, 2013-07-03 at 15:30 +0100, Jon Medhurst (Tixy) wrote:
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.
- When you say 'fails to boot', do you get any messages out of the
serial port? Can you provide a log?
- 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.
- 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'.)
- 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
- 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.
I guess another good question is does last month's Linaro release boot on your board? E.g. the kernel (zImage or uImage) and dtb (v2p-ca15-tc2.dtb) from: http://releases.linaro.org/13.06/android/vexpress/boot.tar.bz2
If that works, then we know the problem lies somewhere with the kernel or config you are trying to build. And if the last Linaro release doesn't boot, then the problem probably lies with the firmware and/or config files on the vexpress motherboard.