On 4 July 2013 11:33, Vijay Kilari <vijay.kil...@gmail.com> wrote:
> On Wed, Jul 3, 2013 at 8:48 PM, Jon Medhurst (Tixy) <t...@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.
>>>
>>> 1. 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..
>
>>> 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.
>
> CONFIG_BIG_LITTLE=y is enabled by default with below suggested config.
>
>>> 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'.)
>>>
>
>
> 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 ..
>

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
>
>>> 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
>>>
>
> Yes. Used suggested 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.
>>
>> 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

_______________________________________________
linaro-dev mailing list
linaro-dev@lists.linaro.org
http://lists.linaro.org/mailman/listinfo/linaro-dev

Reply via email to