RK3568 some question
eagle.alexander923 at gmail.com
Fri Oct 13 01:12:49 PDT 2023
I'm trying to run PCI-e 2.0 on an RK3568 processor. The driver loads
OK and does not detect anyone on the bus except itself.
In the kernel, everything works as it should and connected devices are
visible on the bus (in my case, I use Intel AX200 and MediaTek MT7921e
Enabling PCI debugging produces these messages:
pbar0 set bad mask
pbar1 set bad mask
Has anyone run PCI on this CPU?
I'm not too familiar with the PCI subsystem, but after briefly looking
at the code,
I saw in the setup_device() function the line:
pci_write_config_dword(dev, pci_base_address_0, 0xfffffffe);
On Linux and u-boot this value is ~0.
The question is, are we doing the right thing here?
And the question is not related to the PCI:
rk3568_lowlevel_init() does not call arm_cpu_lowlevel_init(). Is this OK?
More information about the barebox