Is SDIO support compiled into brcmfmac in target x86/64 in 17.01-rc1? + SDK feeds update error

N00b alarm:

If no, how do i get it in there without rebuilding 17.01-rc1 completely? :slight_smile:

I just tried to set up the SDK, but feeds update -a throws an error.

toor@jessie:~/lede$ ./scripts/feeds update -a
Updating feed 'base' from ';HEAD' ...
Klone nach './feeds/base'...
warning: Konnte zu klonenden Remote-Branch HEAD nicht finden.
fatal: Remote-Branch HEAD nicht im Upstream-Repository origin gefunden

How is 17.01-rc1 addressed correctly?

All you need to know to build the 17.01 branch you can find here.

Thx, but i don't want to build the whole distro, i just wanted to rebuild a driver with this SDK

I had a look into the git and it worked after editing feeds.conf.default

toor@jessie:~/lede$ cat feeds.conf.default
src-git base;lede-17.01

Now i have my modified brcmfmac.ko with SDIO support included, it starts fine, but it doesnt do something and leaves no traces in dmesg and logread! :smiley:

root@lede:~# logread | grep -i brc
root@lede:~# dmesg | grep -i brc
root@lede:~# lsmod | grep -i brc
brcmfmac 177096 0
brcmutil 3904 1 brcmfmac
cfg80211 224528 11 brcmfmac,ath9k_htc,ath9k_common,rt2x00lib,mt7601u,libertas,carl9170,ath,mt7603e,mt76x2e,mac80211
compat 9797 16 rt2800usb,rt2500usb,brcmfmac,ath9k_htc,ath9k_common,rt73usb,mt7601u,libertas_sdio,libertas,lib80211_crypt_wep,lib80211_crypt_tkip,lib80211_crypt_ccmp,lib80211,carl9170,mac80211,cfg80211

Answer for your question is hidden there:

define KernelPackage/brcmfmac/config
  if PACKAGE_kmod-brcmfmac

		bool "Enable SDIO bus interface support"
		default y if TARGET_brcm2708
		default n
		  Enable support for cards attached to an SDIO bus.
		  Select this option only if you are sure that your
		  board has a Broadcom wireless chip atacched to
		  that bus.

		bool "Enable USB bus interface support"
		depends on USB_SUPPORT
		default y
		  Supported USB connected chipsets:
		  BCM43235, BCM43236, BCM43238 (all in revision 3 only)
		  BCM43143, BCM43242, BCM43566, BCM43569

		bool "Enable PCIE bus interface support"
		depends on PCI_SUPPORT
		default y
		  Supported PCIe connected chipsets:
		  BCM4354, BCM4356, BCM43567, BCM43570, BCM43602


Unfortunately current brcmfmac's architecture doesn't allow compiling bus support as a separated module.

Thx a lot @rmilecki, is this also the right place to set CONFIG_BRCMDBG?

And where do i find this config file in the SDK?