-
Notifications
You must be signed in to change notification settings - Fork 13
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Updating ARC board to linux 5.12 ? #56
Comments
@cooperxduffin could you please post here your complete Buildroot's |
@cooperxduffin may I also see your full bootlog and Linux kernel's |
@cooperxduffin I see this in your kernel configuration:
Which says "PCI support" support is disabled ( |
OK, I see. You're now referring to Buildroot's |
Alright I enabled the driver in linux-menuconfig this is what I am getting now, still no lspci either. |
@cooperxduffin which Linux kernel sources do you use? My feeling is your kernel is missing device tree description of the he Host/PCI bridge node in https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/tree/arch/arc/boot/dts/hsdk.dts. See https://elinux.org/Device_Tree_Usage#PCI_Host_Bridge for more details. |
@cooperxduffin OK it looks like there're some patches which needs to be applied on top of the vanilla Linux kernel sources and they seem to be dependent on the kernel version. So now the question is what is your motivation to update Buildroot version? Just out of curiosity or something really important is missing in an older Buildroot version and you try to find it in a newer one? I suggest you to keep using working version for now, but if there's a good reason to move to a newer version you'll need to figure out where those additional patches come from and make sure they are applied in case of newer Buildroot as well. |
I was building images for the ARC board using buildroot-2019.02.1 linux 5.0 . I am able to get that working and it seems like all the PCIe drivers work as I am able to get linkup when I do lspci.
I recently tried to upgrade to linux 5.12 using buildroot-2021.02.x because it contains new PCIe drivers and some other features I am interested in. I am able to get an image that boots onto the ARC board, however it seems to be still using the linux 4.2 headers which are not supported with the latest buildroot. I tried lspci and I keep getting this error:
pcilib: Cannot open /proc/bus/pci
lspci: Cannot find any working access method.
I have been following dwc_pcie_controller_sw_user.pdf documentation and it does say that other versions of linux and buildroot might cause things to break so not a huge surprise. I was wondering if anyone might have insight into this, or if you happen to know if there will be a more updated image for the ARC board in the future?
The text was updated successfully, but these errors were encountered: