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@70000 (eth1) using random MAC address - ea:1d:9b:6f:1c:69
eth1: ethernet@70000
Warning: ethernet@30000 (eth2) using random MAC address - e2:15:b2:15:90:65
, eth2: ethernet@30000
Warning: ethernet@34000 (eth3) using random MAC address - ba:4d:08:fc:b2:9e
, eth3: ethernet@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@11000
gpio         0  [   ]   pca953x                   |   |   `-- gpio-expander@20
i2c          1  [   ]   i2c_mvtwsi                |   |-- i2c@11100
serial       0  [ + ]   ns16550_serial            |   |-- serial@12000
serial       1  [   ]   ns16550_serial            |   |-- serial@12100
gpio         1  [   ]   gpio_mvebu                |   |-- gpio@18100
gpio         2  [   ]   gpio_mvebu                |   |-- gpio@18140
eth          0  [ + ]   mvneta                    |   |-- ethernet@70000
eth          1  [ + ]   mvneta                    |   |-- ethernet@30000
eth          2  [ + ]   mvneta                    |   |-- ethernet@34000
usb          0  [   ]   xhci_mvebu                |   `-- usb3@f8000
spi          0  [   ]   mvebu_spi                 `-- spi@10680
spi_flash    0  [   ]   spi_flash_std                 `-- spi-flash@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@70000 @ 3fb78500, seq 1, (req 1)
1 * ethernet@30000 @ 3fb78570, seq 2, (req 2)
2 * ethernet@34000 @ 3fb785e0, seq 3, (req 3)

uclass 29: gpio
0   gpio-expander@20 @ 3fb78228
1   gpio@18100 @ 3fb78420, seq -1, (req 0)
2   gpio@18140 @ 3fb78478, seq -1, (req 1)

uclass 31: i2c
0   i2c@11000 @ 3fb781b0, seq -1, (req 0)
1   i2c@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@12000 @ 3fb78330, seq 0, (req 0)
1   serial@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@10680 @ 3fb78708, seq -1, (req 1)

uclass 72: spi_flash
0   spi-flash@0 @ 3fb78790

uclass 73: spi_generic
uclass 81: usb
0   usb3@f8000 @ 3fb78680

uclass 82: usb_dev_generic
uclass 83: usb_hub



_______________________________________________
U-Boot mailing list
U-Boot@lists.denx.de
https://lists.denx.de/listinfo/u-boot

Reply via email to