From mboxrd@z Thu Jan 1 00:00:00 1970 From: Simon Glass Date: Wed, 25 Nov 2020 10:03:40 -0700 Subject: early stage debugging on a real product In-Reply-To: References: Message-ID: List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Hi Andy, On Wed, 25 Nov 2020 at 09:58, Andy Shevchenko wrote: > > On Wed, Nov 25, 2020 at 5:45 PM Simon Glass wrote: > > On Wed, 25 Nov 2020 at 08:35, Andy Shevchenko wrote: > > > On Wed, Nov 25, 2020 at 5:23 PM Simon Glass 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. Probably PCI autoconfig is already done. See CONFIG_PCI_PNP. BTW there is also ll_boot_init() which disables various init that might already be done. Regards, Simon