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?. Also do I need to update Secure world to make it work with PSCI?
Thanks & Regards Vijay
Hi Vijay,
On 3 July 2013 14:33, Vijay Kilari vijay.kilari@gmail.com 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 shouldn't be using that tree. That is the tree we use for internal work before it all gets merged to our release tree:
git://git.linaro.org/kernel/linux-linaro-tracking.git branch: linux-linaro
Also do I need to update Secure world to make it work with PSCI?
Thanks & Regards Vijay
linaro-dev mailing list linaro-dev@lists.linaro.org http://lists.linaro.org/mailman/listinfo/linaro-dev
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.
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.
On Wed, Jul 3, 2013 at 8:48 PM, Jon Medhurst (Tixy) tixy@linaro.org wrote:
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?
No log. Just fails at Starting kernel..
- 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.
CONFIG_BIG_LITTLE=y is enabled by default with below suggested config.
- 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'.)
I generated config with the above command. However I am using Versatile express with A15x2 and A7x3 (versatile TC2) So I changed 1) NR_CPUS=5 in vexpress.conf file 2) Used distribution.conf file instead on android.conf Also I used vexpress-v2p-ca15_a7.dtb file Result: Hangs at very beginning.. Logs:
reserving fdt memory region: addr=ff000000 size=1000000 Loading Device Tree to 9fee2000, end 9fee8a98 ... OK
Starting kernel ..
I even tried without linaro/configs/big-LITTLE-MP.conf \ linaro/configs/big-LITTLE-IKS.conf \ but result is same. It hangs
- 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
Yes. Used suggested 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
Will test with this release and let you know the result
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.
-- Tixy
On 4 July 2013 11:33, Vijay Kilari vijay.kilari@gmail.com wrote:
On Wed, Jul 3, 2013 at 8:48 PM, Jon Medhurst (Tixy) tixy@linaro.org wrote:
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?
No log. Just fails at Starting kernel..
- 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.
CONFIG_BIG_LITTLE=y is enabled by default with below suggested config.
- 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'.)
I generated config with the above command. However I am using Versatile express with A15x2 and A7x3 (versatile TC2) So I changed
- NR_CPUS=5 in vexpress.conf file
- Used distribution.conf file instead on android.conf
Also I used vexpress-v2p-ca15_a7.dtb file Result: Hangs at very beginning.. Logs:
reserving fdt memory region: addr=ff000000 size=1000000 Loading Device Tree to 9fee2000, end 9fee8a98 ... OK
Starting kernel ..
So you're using u-boot. Where did you get the u-boot binary from? There is no official u-boot binary for TC2...
I even tried without linaro/configs/big-LITTLE-MP.conf \ linaro/configs/big-LITTLE-IKS.conf \ but result is same. It hangs
- 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
Yes. Used suggested 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
Will test with this release and let you know the result
That would be helpful.
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.
-- Tixy
linaro-dev mailing list linaro-dev@lists.linaro.org http://lists.linaro.org/mailman/listinfo/linaro-dev
On Thu, 2013-07-04 at 16:03 +0530, Vijay Kilari wrote:
On Wed, Jul 3, 2013 at 8:48 PM, Jon Medhurst (Tixy) tixy@linaro.org wrote:
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?
No log. Just fails at Starting kernel..
- 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.
CONFIG_BIG_LITTLE=y is enabled by default with below suggested config.
- 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'.)
I generated config with the above command. However I am using Versatile express with A15x2 and A7x3 (versatile TC2) So I changed
- NR_CPUS=5 in vexpress.conf file
That config just gives the maximum number supported by the kernel, so leaving it at 8 is OK.
- Used distribution.conf file instead on android.conf
Also I used vexpress-v2p-ca15_a7.dtb file
One you built yourself from the same source tree as the kernel I assume? (Device-tree contents still vary with time as features are developed so it's important to use the dtb made from the same source as the kernel.)
Result: Hangs at very beginning.. Logs:
reserving fdt memory region: addr=ff000000 size=1000000 Loading Device Tree to 9fee2000, end 9fee8a98 ... OK
Starting kernel ..
What bootloader are you using? That output doesn't look like it comes from UEFI (the bootloader we use and test with in Linaro). Looks like it might be a U-Boot, so it's possible that is causing the problem. As we don't use U-Boot I can't really advise on getting thing booting that way.
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
Will test with this release and let you know the result
Would be good, because our release binaries are tested on TC2, A9x4 and various RTSM models. So we know they work.