linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
* 4.5-rc1 kernel is failed to bootup on FSL LS2080 RDB board
@ 2016-01-27  0:02 Shi, Yang
  2016-01-27  6:27 ` Bhupesh Sharma
  0 siblings, 1 reply; 3+ messages in thread
From: Shi, Yang @ 2016-01-27  0:02 UTC (permalink / raw)
  To: linux-arm-kernel

Hi folks,

I tried to boot 4.5-rc1 kernel on my FSL LS2080 RDB (aka LS2085 RDB), 
but it is failed silently. If I use the dtb file shipped with the SDK 
with 4.5-rc1 kernel, I can get the serial console output, but it is 
failed to detect PCI bus.

If I use both kernel and dtb from the SDK, it works well.

The bootloader information:

U-Boot 2015.07-rc1Layerscape2-SDK+g7e8bad0 (Aug 27 2015 - 14:31:42)

SoC:  LS2085E (0x87010010)
Clock Configuration:
        CPU0(A57):1600 MHz  CPU1(A57):1600 MHz  CPU2(A57):1600 MHz
        CPU3(A57):1600 MHz  CPU4(A57):1600 MHz  CPU5(A57):1600 MHz
        CPU6(A57):1600 MHz  CPU7(A57):1600 MHz
        Bus:      600  MHz  DDR:      1333.333 MT/s     DP-DDR: 
1333.333 MT/s
Reset Configuration Word (RCW):
        00: 40282830 40400040 00000000 00000000
        10: 00000000 00200000 00200000 00000000
        20: 00c12980 00002580 00000000 00000000
        30: 00000e0b 00000000 00000000 00000000
        40: 00000000 00000000 00000000 00000000
        50: 00000000 00000000 00000000 00000000
        60: 00000000 00000000 00027000 00000000
        70: 412a0000 00000000 00000000 00000000
Model: Freescale Layerscape 2085a RDB Board
Board: LS2085E-RDB, Board Arch: V1, Board version: D, boot from vBank: 4
FPGA: v1.18

And, I have ARCH_LAYERSCAPE, CONFIG_PCIE_DW and CONFIG_PCI_LAYERSCAPE 
enabled.

Any hint is appreciated.

Thanks,
Yang

^ permalink raw reply	[flat|nested] 3+ messages in thread

* 4.5-rc1 kernel is failed to bootup on FSL LS2080 RDB board
  2016-01-27  0:02 4.5-rc1 kernel is failed to bootup on FSL LS2080 RDB board Shi, Yang
@ 2016-01-27  6:27 ` Bhupesh Sharma
  2016-01-27 18:04   ` Shi, Yang
  0 siblings, 1 reply; 3+ messages in thread
From: Bhupesh Sharma @ 2016-01-27  6:27 UTC (permalink / raw)
  To: linux-arm-kernel

Hi,

> From: Shi, Yang
> Sent: Wednesday, January 27, 2016 5:33 AM

> Hi folks,
> 
> I tried to boot 4.5-rc1 kernel on my FSL LS2080 RDB (aka LS2085 RDB), but
> it is failed silently. If I use the dtb file shipped with the SDK with
> 4.5-rc1 kernel, I can get the serial console output, but it is failed to
> detect PCI bus.
> 
> If I use both kernel and dtb from the SDK, it works well.
> 
> The bootloader information:
> 
> U-Boot 2015.07-rc1Layerscape2-SDK+g7e8bad0 (Aug 27 2015 - 14:31:42)
> 
> SoC:  LS2085E (0x87010010)
> Clock Configuration:
>         CPU0(A57):1600 MHz  CPU1(A57):1600 MHz  CPU2(A57):1600 MHz
>         CPU3(A57):1600 MHz  CPU4(A57):1600 MHz  CPU5(A57):1600 MHz
>         CPU6(A57):1600 MHz  CPU7(A57):1600 MHz
>         Bus:      600  MHz  DDR:      1333.333 MT/s     DP-DDR:
> 1333.333 MT/s
> Reset Configuration Word (RCW):
>         00: 40282830 40400040 00000000 00000000
>         10: 00000000 00200000 00200000 00000000
>         20: 00c12980 00002580 00000000 00000000
>         30: 00000e0b 00000000 00000000 00000000
>         40: 00000000 00000000 00000000 00000000
>         50: 00000000 00000000 00000000 00000000
>         60: 00000000 00000000 00027000 00000000
>         70: 412a0000 00000000 00000000 00000000
> Model: Freescale Layerscape 2085a RDB Board
> Board: LS2085E-RDB, Board Arch: V1, Board version: D, boot from vBank: 4
> FPGA: v1.18
> 
> And, I have ARCH_LAYERSCAPE, CONFIG_PCIE_DW and CONFIG_PCI_LAYERSCAPE
> enabled.
> 
> Any hint is appreciated.
> 

As Minghuan (our PCI developer, added in CC) suggested the reason is that uboot is for
LS2085a but kernel dtb is for ls2080.

Please apply the patch https://patchwork.kernel.org/patch/7767061/ and try again.

Regards,
Bhupesh

^ permalink raw reply	[flat|nested] 3+ messages in thread

* 4.5-rc1 kernel is failed to bootup on FSL LS2080 RDB board
  2016-01-27  6:27 ` Bhupesh Sharma
@ 2016-01-27 18:04   ` Shi, Yang
  0 siblings, 0 replies; 3+ messages in thread
From: Shi, Yang @ 2016-01-27 18:04 UTC (permalink / raw)
  To: linux-arm-kernel

On 1/26/2016 10:27 PM, Bhupesh Sharma wrote:
> Hi,
>
>> From: Shi, Yang
>> Sent: Wednesday, January 27, 2016 5:33 AM
>
>> Hi folks,
>>
>> I tried to boot 4.5-rc1 kernel on my FSL LS2080 RDB (aka LS2085 RDB), but
>> it is failed silently. If I use the dtb file shipped with the SDK with
>> 4.5-rc1 kernel, I can get the serial console output, but it is failed to
>> detect PCI bus.
>>
>> If I use both kernel and dtb from the SDK, it works well.
>>
>> The bootloader information:
>>
>> U-Boot 2015.07-rc1Layerscape2-SDK+g7e8bad0 (Aug 27 2015 - 14:31:42)
>>
>> SoC:  LS2085E (0x87010010)
>> Clock Configuration:
>>          CPU0(A57):1600 MHz  CPU1(A57):1600 MHz  CPU2(A57):1600 MHz
>>          CPU3(A57):1600 MHz  CPU4(A57):1600 MHz  CPU5(A57):1600 MHz
>>          CPU6(A57):1600 MHz  CPU7(A57):1600 MHz
>>          Bus:      600  MHz  DDR:      1333.333 MT/s     DP-DDR:
>> 1333.333 MT/s
>> Reset Configuration Word (RCW):
>>          00: 40282830 40400040 00000000 00000000
>>          10: 00000000 00200000 00200000 00000000
>>          20: 00c12980 00002580 00000000 00000000
>>          30: 00000e0b 00000000 00000000 00000000
>>          40: 00000000 00000000 00000000 00000000
>>          50: 00000000 00000000 00000000 00000000
>>          60: 00000000 00000000 00027000 00000000
>>          70: 412a0000 00000000 00000000 00000000
>> Model: Freescale Layerscape 2085a RDB Board
>> Board: LS2085E-RDB, Board Arch: V1, Board version: D, boot from vBank: 4
>> FPGA: v1.18
>>
>> And, I have ARCH_LAYERSCAPE, CONFIG_PCIE_DW and CONFIG_PCI_LAYERSCAPE
>> enabled.
>>
>> Any hint is appreciated.
>>
>
> As Minghuan (our PCI developer, added in CC) suggested the reason is that uboot is for
> LS2085a but kernel dtb is for ls2080.
>
> Please apply the patch https://patchwork.kernel.org/patch/7767061/ and try again.

Thanks so much. That patch just solves the problem partially, I just 
found the layerscape pci host driver need recognize ls2085a compatible 
too. With the both fix, I can get the PCI work.

I already sent the patch to the mailing list.

Regards,
Yang

>
> Regards,
> Bhupesh
>

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2016-01-27 18:04 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-01-27  0:02 4.5-rc1 kernel is failed to bootup on FSL LS2080 RDB board Shi, Yang
2016-01-27  6:27 ` Bhupesh Sharma
2016-01-27 18:04   ` Shi, Yang

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).