Skip to content
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

Unable to compile linux-4.4.120-armada-18.06 #13

Open
alphaonex86 opened this issue Jul 3, 2018 · 2 comments
Open

Unable to compile linux-4.4.120-armada-18.06 #13

alphaonex86 opened this issue Jul 3, 2018 · 2 comments

Comments

@alphaonex86
Copy link

Hi,
I have to link time some error when I disable:
CONFIG_MD
CONFIG_UIO
And when I strip the kernel I need disable:
CONFIG_PCI

drivers/irqchip/irq-gic-v2m.c:84:23: error: 'pci_msi_domain_write_msg' undeclared here (not in a function)
.irq_write_msi_msg = pci_msi_domain_write_msg,
^~~~~~~~~~~~~~~~~~~~~~~~
drivers/irqchip/irq-gic-v2m.c: In function 'gicv2m_allocate_domains':
drivers/irqchip/irq-gic-v2m.c:278:15: error: implicit declaration of function 'pci_msi_create_irq_domain' [-Werror=implicit-function-declaration]
pci_domain = pci_msi_create_irq_domain(of_node_to_fwnode(v2m->node),
^~~~~~~~~~~~~~~~~~~~~~~~~
drivers/irqchip/irq-gic-v2m.c:278:13: warning: assignment makes pointer from integer without a cast [-Wint-conversion]
pci_domain = pci_msi_create_irq_domain(of_node_to_fwnode(v2m->node),
^
cc1: some warnings being treated as errors
make[2]: *** [scripts/Makefile.build:269: drivers/irqchip/irq-gic-v2m.o] Error 1

drivers/built-in.o: In function mv_pp22_uio_isr': debugfs.c:(.text+0x40ea8): undefined reference to uio_event_notify'
debugfs.c:(.text+0x40ea8): relocation truncated to fit: R_AARCH64_CALL26 against undefined symbol uio_event_notify' drivers/built-in.o: In function mv_pp2x_remove':
debugfs.c:(.text+0x447f4): undefined reference to uio_unregister_device' debugfs.c:(.text+0x447f4): relocation truncated to fit: R_AARCH64_CALL26 against undefined symbol uio_unregister_device'
debugfs.c:(.text+0x44874): undefined reference to uio_unregister_device' debugfs.c:(.text+0x44874): relocation truncated to fit: R_AARCH64_CALL26 against undefined symbol uio_unregister_device'
drivers/built-in.o: In function mv_pp2x_port_probe': debugfs.c:(.text+0x4afa0): undefined reference to __uio_register_device'
debugfs.c:(.text+0x4afa0): relocation truncated to fit: R_AARCH64_CALL26 against undefined symbol __uio_register_device' drivers/built-in.o: In function mv_pp2x_probe':
debugfs.c:(.text+0x4c5d0): undefined reference to uio_unregister_device' debugfs.c:(.text+0x4c5d0): relocation truncated to fit: R_AARCH64_CALL26 against undefined symbol uio_unregister_device'
debugfs.c:(.text+0x4c818): undefined reference to __uio_register_device' debugfs.c:(.text+0x4c818): relocation truncated to fit: R_AARCH64_CALL26 against undefined symbol __uio_register_device'
drivers/built-in.o: In function dmatest_perf_func': debugfs.c:(.text+0x79b20): undefined reference to xor_blocks'
debugfs.c:(.text+0x79b20): relocation truncated to fit: R_AARCH64_CALL26 against undefined symbol `xor_blocks'

@alphaonex86
Copy link
Author

And I have:
[ 2.639540] Loading compiled-in X.509 certificates
[ 2.644713] mvpp2 f2000000.ppv22: cma_area base 0x0bc000000 size 64 MB
[ 2.657210] gop_mac(0), phy_mode(19)=sfi phy-speed=10000
[ 2.662568] mvpp2 f2000000.ppv22: port ID: 0 cannot connect to phy
[ 2.669107] mvpp2 f4000000.ppv22: cma_area base 0x0bc000000 size 64 MB
[ 2.682396] gop_mac(0), phy_mode(19)=sfi phy-speed=10000
[ 2.687760] mvpp2 f4000000.ppv22: port ID: 0 cannot connect to phy
[ 2.695250] phy phy-f2441000.comphy.0: phy poweron failed --> -1
[ 2.701296] armada8k-pcie: probe of f2600000.pcie0 failed with error -1
[ 2.760487] phy phy-f2441000.comphy.5: phy poweron failed --> -1
[ 2.766540] ahci-mvebu: probe of f2540000.sata failed with error -1
and I'm not able to up the ethernet and SPF+

@Jianlin-lv
Copy link

I using the kernel version is 4.14.22, & double shot mcbin; also encountered this issue ,
"[ 2.631815] cacheinfo: Unable to detect cache hierarchy for CPU 0
[ 2.640404] loop: module loaded
[ 2.644276] phy phy-f2120000.phy.5: phy poweron failed --> -1
[ 2.650099] ahci: probe of f2540000.sata failed with error -1
[ 2.656155] phy phy-f4120000.phy.7: phy poweron failed --> -1
[ 2.661948] ahci: probe of f4540000.sata failed with error -1
[ 2.668563] orion_spi f4700680.spi: CS0 configured for direct access
[ 2.675164] m25p80 spi4.0: w25q32 (4096 Kbytes)"

Then update U-boot to 18.09, the error info is disappear , but still have sfp issue ,
When eth0/eth1 connect with copper, they work correctly,
When eth0/eth1 connect with SFP, they can`t work, the port state always down

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants