* [U-Boot] Clearfog Base PCI-E not working
@ 2019-03-14 16:37 Влад Мао
2019-03-15 5:55 ` Stefan Roese
0 siblings, 1 reply; 5+ messages in thread
From: Влад Мао @ 2019-03-14 16:37 UTC (permalink / raw)
To: u-boot
I found mismatched entries in DTS:
In armada-388-clearfog.dts:
pcie-controller {
status = "okay";
But in armada-385.dtsi we have:
pciec: pcie {
compatible = "marvell,armada-370-pcie";
After fixing it, PCIE does show up as expected.
^ permalink raw reply [flat|nested] 5+ messages in thread
* [U-Boot] Clearfog Base PCI-E not working
2019-03-14 16:37 [U-Boot] Clearfog Base PCI-E not working Влад Мао
@ 2019-03-15 5:55 ` Stefan Roese
2019-03-16 7:07 ` Chris Packham
0 siblings, 1 reply; 5+ messages in thread
From: Stefan Roese @ 2019-03-15 5:55 UTC (permalink / raw)
To: u-boot
On 14.03.19 17:37, Влад Мао wrote:
> I found mismatched entries in DTS:
>
> In armada-388-clearfog.dts:
>
> pcie-controller {
> status = "okay";
>
> But in armada-385.dtsi we have:
>
> pciec: pcie {
> compatible = "marvell,armada-370-pcie";
>
> After fixing it, PCIE does show up as expected.
Thanks for spotting this. Could you please send a proper patch to
fix this to the list?
Thanks,
Stefan
^ permalink raw reply [flat|nested] 5+ messages in thread
* [U-Boot] Clearfog Base PCI-E not working
2019-03-15 5:55 ` Stefan Roese
@ 2019-03-16 7:07 ` Chris Packham
2019-03-16 7:48 ` Chris Packham
0 siblings, 1 reply; 5+ messages in thread
From: Chris Packham @ 2019-03-16 7:07 UTC (permalink / raw)
To: u-boot
On Fri, Mar 15, 2019 at 6:56 PM Stefan Roese <sr@denx.de> wrote:
>
> On 14.03.19 17:37, Влад Мао wrote:
> > I found mismatched entries in DTS:
> >
> > In armada-388-clearfog.dts:
> >
> > pcie-controller {
> > status = "okay";
> >
> > But in armada-385.dtsi we have:
> >
> > pciec: pcie {
> > compatible = "marvell,armada-370-pcie";
> >
> > After fixing it, PCIE does show up as expected.
>
> Thanks for spotting this. Could you please send a proper patch to
> fix this to the list?
>
These other boards seem similarly affected.
armada-385-turris-omnia.dts
armada-388-gp.dts
armada-385-amc.dts
armada-38x-controlcenterdc.dts
I think I must have missed them when I did the last sync with Linux.
^ permalink raw reply [flat|nested] 5+ messages in thread
* [U-Boot] Clearfog Base PCI-E not working
2019-03-16 7:07 ` Chris Packham
@ 2019-03-16 7:48 ` Chris Packham
0 siblings, 0 replies; 5+ messages in thread
From: Chris Packham @ 2019-03-16 7:48 UTC (permalink / raw)
To: u-boot
On Sat, Mar 16, 2019 at 8:07 PM Chris Packham <judge.packham@gmail.com> wrote:
>
> On Fri, Mar 15, 2019 at 6:56 PM Stefan Roese <sr@denx.de> wrote:
> >
> > On 14.03.19 17:37, Влад Мао wrote:
> > > I found mismatched entries in DTS:
> > >
> > > In armada-388-clearfog.dts:
> > >
> > > pcie-controller {
> > > status = "okay";
> > >
> > > But in armada-385.dtsi we have:
> > >
> > > pciec: pcie {
> > > compatible = "marvell,armada-370-pcie";
> > >
> > > After fixing it, PCIE does show up as expected.
> >
> > Thanks for spotting this. Could you please send a proper patch to
> > fix this to the list?
> >
>
> These other boards seem similarly affected.
>
> armada-385-turris-omnia.dts
> armada-388-gp.dts
> armada-385-amc.dts
> armada-38x-controlcenterdc.dts
>
> I think I must have missed them when I did the last sync with Linux.
I've sent a patch for the armada-38x boards. It also appears that the
armada-xp boards have a similar problem (unrelated to my syncing).
^ permalink raw reply [flat|nested] 5+ messages in thread
* [U-Boot] Clearfog Base PCI-E not working
@ 2019-03-13 5:56 Владислав
0 siblings, 0 replies; 5+ messages in thread
From: Владислав @ 2019-03-13 5:56 UTC (permalink / raw)
To: u-boot
Hello. I have trouble with pci-e on Clearfog Base board. In PCI-E slot
inserted video card. In linux its work and detect perfectly.
But in U-boot command pci shows nothing.
Comands to reproduce:
make
CROSS_COMPILE=/opt/gcc-linaro-7.1.1-2017.08-x86_64_arm-linux-gnueabihf/bin/arm-linux-gnueabihf-
ARCH=arm O=../build clearfog_defconfig
make -j2
CROSS_COMPILE=/opt/gcc-linaro-7.1.1-2017.08-x86_64_arm-linux-gnueabihf/bin/arm-linux-gnueabihf-
ARCH=arm O=../build
cp ../build/u-boot-spl.kwb u-boot-spl.kwb
../build/tools/kwboot -p -t -b ./u-boot-spl.kwb -B 115200 /dev/ttyUSB0
Log attached:
Sending boot message. Please reboot the target...-
Sending boot image...
0 % [......................................................................]
1 % [......................................................................]
3 % [......................................................................]
5 % [......................................................................]
6 % [......................................................................]
8 % [......................................................................]
9 % [......................................................................]
11 % [......................................................................]
13 % [......................................................................]
14 % [......................................................................]
16 % [......................................................................]
18 % [......................................................................]
19 % [......................................................................]
21 % [......................................................................]
23 % [......................................................................]
24 % [......................................................................]
26 % [......................................................................]
28 % [......................................................................]
29 % [...................
U-Boot SPL 2019.04-rc2 (Mar 13 2019 - 08:46:43 +0300)
High speed PHY - Version: 2.0
Detected Device ID 6828
board SerDes lanes topology details:
| Lane # | Speed | Type |
--------------------------------
| 0 | 3 | SATA0 |
| 1 | 0 | SGMII1 |
| 2 | 5 | PCIe1 |
| 3 | 5 | USB3 HOST1 |
| 4 | 5 | PCIe2 |
| 5 | 0 | SGMII2 |
--------------------------------
:** Link is Gen1, check the EP capability
PCIe, Idx 1: remains Gen1
PCIe, Idx 2: detected no link
High speed PHY - Ended Successfully
mv_ddr: mv_ddr-armada-18.09.2
DDR3 Training Sequence - Switching XBAR Window to FastPath Window
mv_ddr: completed successfully
...................................................]
31 % [......................................................................]
33 % [......................................................................]
34 % [......................................................................]
36 % [......................................................................]
38 % [......................................................................]
39 % [......................................................................]
41 % [......................................................................]
43 % [......................................................................]
44 % [......................................................................]
46 % [......................................................................]
48 % [......................................................................]
49 % [......................................................................]
51 % [......................................................................]
53 % [......................................................................]
54 % [......................................................................]
56 % [......................................................................]
58 % [......................................................................]
59 % [......................................................................]
61 % [......................................................................]
63 % [......................................................................]
64 % [......................................................................]
66 % [......................................................................]
68 % [......................................................................]
69 % [......................................................................]
71 % [......................................................................]
73 % [......................................................................]
74 % [......................................................................]
76 % [......................................................................]
78 % [......................................................................]
79 % [......................................................................]
81 % [......................................................................]
83 % [......................................................................]
84 % [......................................................................]
86 % [......................................................................]
88 % [......................................................................]
89 % [......................................................................]
91 % [......................................................................]
93 % [......................................................................]
94 % [......................................................................]
96 % [......................................................................]
97 % [......................................................................]
99 % [.................]
[Type Ctrl-\ + c to quit]
U-Boot 2019.04-rc2 (Mar 13 2019 - 08:46:43 +0300)
SoC: MV88F6828-A0 at 1600 MHz
DRAM: 1 GiB (800 MHz, 32-bit, ECC not enabled)
MMC: mv_sdh: 0
Loading Environment from MMC... *** Warning - bad CRC, using default
environment
Model: SolidRun Clearfog A1
Board: SolidRun ClearFog
SCSI: MVEBU SATA INIT
SATA link 0 timeout.
AHCI 0001.0000 32 slots 2 ports 6 Gbps 0x3 impl SATA mode
flags: 64bit ncq led only pmp fbss pio slum part sxs
Net:
Warning: ethernet at 70000 (eth1) using random MAC address - ea:1d:9b:6f:1c:69
eth1: ethernet at 70000
Warning: ethernet at 30000 (eth2) using random MAC address - e2:15:b2:15:90:65
, eth2: ethernet at 30000
Warning: ethernet at 34000 (eth3) using random MAC address - ba:4d:08:fc:b2:9e
, eth3: ethernet at 34000
Hit any key to stop autoboot: 0
=> pci enum
=> pci
No such bus
=> dm tree
Class Index Probed Driver Name
-----------------------------------------------------------
root 0 [ + ] root_driver root_driver
simple_bus 0 [ + ] generic_simple_bus `-- soc
simple_bus 1 [ + ] generic_simple_bus |-- internal-regs
i2c 0 [ ] i2c_mvtwsi | |-- i2c at 11000
gpio 0 [ ] pca953x | | `-- gpio-expander at 20
i2c 1 [ ] i2c_mvtwsi | |-- i2c at 11100
serial 0 [ + ] ns16550_serial | |-- serial at 12000
serial 1 [ ] ns16550_serial | |-- serial at 12100
gpio 1 [ ] gpio_mvebu | |-- gpio at 18100
gpio 2 [ ] gpio_mvebu | |-- gpio at 18140
eth 0 [ + ] mvneta | |-- ethernet at 70000
eth 1 [ + ] mvneta | |-- ethernet at 30000
eth 2 [ + ] mvneta | |-- ethernet at 34000
usb 0 [ ] xhci_mvebu | `-- usb3 at f8000
spi 0 [ ] mvebu_spi `-- spi at 10680
spi_flash 0 [ ] spi_flash_std `-- spi-flash at 0
=> dm uclass
uclass 0: root
0 * root_driver @ 3fb78028, seq 0, (req -1)
EFI: Initializing UCLASS_EFI
uclass 25: efi
uclass 26: eth
0 * ethernet at 70000 @ 3fb78500, seq 1, (req 1)
1 * ethernet at 30000 @ 3fb78570, seq 2, (req 2)
2 * ethernet at 34000 @ 3fb785e0, seq 3, (req 3)
uclass 29: gpio
0 gpio-expander at 20 @ 3fb78228
1 gpio at 18100 @ 3fb78420, seq -1, (req 0)
2 gpio at 18140 @ 3fb78478, seq -1, (req 1)
uclass 31: i2c
0 i2c at 11000 @ 3fb781b0, seq -1, (req 0)
1 i2c at 11100 @ 3fb782b8, seq -1, (req 1)
uclass 33: i2c_generic
uclass 42: usb_mass_storage
uclass 43: misc
uclass 52: pci
uclass 53: pci_generic
uclass 62: regulator
uclass 67: serial
0 * serial at 12000 @ 3fb78330, seq 0, (req 0)
1 serial at 12100 @ 3fb783a8, seq -1, (req 1)
uclass 68: simple_bus
0 * soc @ 3fb780b0, seq 0, (req -1)
1 * internal-regs @ 3fb78118, seq 1, (req -1)
uclass 71: spi
0 spi at 10680 @ 3fb78708, seq -1, (req 1)
uclass 72: spi_flash
0 spi-flash at 0 @ 3fb78790
uclass 73: spi_generic
uclass 81: usb
0 usb3 at f8000 @ 3fb78680
uclass 82: usb_dev_generic
uclass 83: usb_hub
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2019-03-16 7:48 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-03-14 16:37 [U-Boot] Clearfog Base PCI-E not working Влад Мао
2019-03-15 5:55 ` Stefan Roese
2019-03-16 7:07 ` Chris Packham
2019-03-16 7:48 ` Chris Packham
-- strict thread matches above, loose matches on Subject: below --
2019-03-13 5:56 Владислав
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.