[LEDE-DEV] SPI on Omega2p

Lev leventelist at gmail.com
Mon May 14 15:24:45 PDT 2018


Dear list,


I'm playing with an omega2p hardware with OpenWRT 17.01.4 on it.

I installed the kmod-spi-dev package to control the SPI interface of the device.

I get this on the console, when the module is loaded:

[    9.114921] spidev spi32766.1: buggy DT: spidev listed directly in DT
[    9.121469] ------------[ cut here ]------------
[    9.126234] WARNING: CPU: 0 PID: 460 at drivers/spi/spidev.c:720 0x8767e33c [spidev at 8767e000+0x1470]()
[    9.135683] Modules linked in: spidev(+) slhc nf_reject_ipv4 nf_nat_redirect nf_nat_masquerade_ipv4 nf_nat nf_log_ipv4 nf_defrag_ipv6 nf_defrag_ipv4 nf_conntrack_rtcache nf_conntrack iptable_mangle iptable_filter ip_tables crc_ccitt mt76x2e mt7603e mt76 mac80211 cfg80211 compat ip6t_REJECT nf_reject_ipv6 nf_log_ipv6 nf_log_common ip6table_mangle ip6table_filter ip6_tables x_tables mmc_block sdhci_pltfm sdhci mtk_sd mmc_core leds_gpio ohci_platform ohci_hcd ehci_platform ehci_hcd gpio_button_hotplug usbcore nls_base usb_common
[    9.183173] CPU: 0 PID: 460 Comm: kmodloader Not tainted 4.4.92 #0
[    9.189435] Stack : 8032187c 00000000 00000001 80370000 00000000 00000000 00000000 00000000
	  00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
	  00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
	  00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
	  00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
	  ...
[    9.225581] Call Trace:[<80014514>] 0x80014514
[    9.230111] [<80014514>] 0x80014514
[    9.233660] [<8002510c>] 0x8002510c
[    9.237204] [<8767e33c>] 0x8767e33c [spidev at 8767e000+0x1470]
[    9.242958] [<87680000>] 0x87680000 [slhc at 87680000+0x10a0]
[    9.248524] [<800251c4>] 0x800251c4
[    9.252072] [<801ec00c>] 0x801ec00c
[    9.255619] [<87680000>] 0x87680000 [slhc at 87680000+0x10a0]
[    9.261182] [<8767e33c>] 0x8767e33c [spidev at 8767e000+0x1470]
[    9.266939] [<801bccf0>] 0x801bccf0
[    9.270481] [<801d6a3c>] 0x801d6a3c
[    9.274034] [<801b9820>] 0x801b9820
[    9.277572] [<80089c1c>] 0x80089c1c
[    9.281108] [<801d693c>] 0x801d693c
[    9.284666] [<801b9a04>] 0x801b9a04
[    9.288204] [<801b7c30>] 0x801b7c30
[    9.291742] [<801b9988>] 0x801b9988
[    9.295291] [<801b7cec>] 0x801b7cec
[    9.298830] [<802fa694>] 0x802fa694
[    9.302379] [<87680000>] 0x87680000 [slhc at 87680000+0x10a0]
[    9.307940] [<801b7ac0>] 0x801b7ac0
[    9.311482] [<801b8f20>] 0x801b8f20
[    9.315031] [<800ac754>] 0x800ac754
[    9.318568] [<800acc5c>] 0x800acc5c
[    9.322123] [<87680000>] 0x87680000 [slhc at 87680000+0x10a0]
[    9.327690] [<87680000>] 0x87680000 [slhc at 87680000+0x10a0]
[    9.333262] [<801ba11c>] 0x801ba11c
[    9.336805] [<8752b000>] 0x8752b000 [spidev at 8767e000+0x1470]
[    9.342563] [<87680000>] 0x87680000 [slhc at 87680000+0x10a0]
[    9.348130] [<87680000>] 0x87680000 [slhc at 87680000+0x10a0]
[    9.353715] [<87680000>] 0x87680000 [slhc at 87680000+0x10a0]
[    9.359281] [<8752b098>] 0x8752b098 [spidev at 8767e000+0x1470]
[    9.365032] [<800362c4>] 0x800362c4
[    9.368568] [<800455b4>] 0x800455b4
[    9.372118] [<8752b000>] 0x8752b000 [spidev at 8767e000+0x1470]
[    9.377859] [<8000d85c>] 0x8000d85c
[    9.381396] [<800455b4>] 0x800455b4
[    9.384944] [<8003633c>] 0x8003633c
[    9.388486] [<8003425c>] 0x8003425c
[    9.392034] [<80033d4c>] 0x80033d4c
[    9.395582] [<80066db4>] 0x80066db4
[    9.399118] [<8009d708>] 0x8009d708
[    9.402672] [<80068264>] 0x80068264
[    9.406211] [<80066458>] 0x80066458
[    9.409753] [<8009dbfc>] 0x8009dbfc
[    9.413307] [<80068478>] 0x80068478
[    9.416846] [<80068514>] 0x80068514
[    9.420387] [<8000686c>] 0x8000686c
[    9.423941] 
[    9.425452] ---[ end trace d5aa11207dfb805d ]---


uname -a
Linux LEDE 4.4.92 #0 Mon Oct 16 22:57:05 2017 mips GNU/Linux

Cheers,
Levente

-- 
Levente Kovacs
Senior Electronic Engineer

W: http://levente.logonex.eu


More information about the Lede-dev mailing list