early stage debugging on a real product

Andy Shevchenko andy.shevchenko at gmail.com
Wed Nov 25 17:59:11 CET 2020


On Wed, Nov 25, 2020 at 5:45 PM Simon Glass <sjg at chromium.org> wrote:
> On Wed, 25 Nov 2020 at 08:35, Andy Shevchenko <andy.shevchenko at gmail.com> wrote:
> > On Wed, Nov 25, 2020 at 5:23 PM Simon Glass <sjg at chromium.org> wrote:

...

> > Thanks. But the question is still open why DM PCI et al. is not
> > getting initialized.
>
> PCI should come up so long as you have a PCI driver. See the various
> other boards - you need a pci-x86 device:
>
>         pci {
>                 compatible = "pci-x86";
>                 u-boot,dm-pre-reloc;
>         };

I have so far

        pci {
               compatible = "pci-x86";
               #address-cells = <3>;
               #size-cells = <2>;
               u-boot,dm-pre-reloc;
               ranges = <0x02000000 0x0 0x80000000 0x80000000 0 0x40000000
                         0x42000000 0x0 0xc0000000 0xc0000000 0 0x20000000
                         0x01000000 0x0 0x2000 0x2000 0 0xe000>;
       };

pci_init() makes the system hang.

WRT video I will try later when I see PCI initialized successfully.

-- 
With Best Regards,
Andy Shevchenko


More information about the U-Boot mailing list