Skip to contentSkip to conversation

warpboard: linux.fragment: Do not use CONFIG_BRCMFMAC as built-in

PATCH New Fabio Estevam 4 participants 5 messages Jul 29, 2016 – Jul 30, 2016

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 warpboard: linux.fragment: Do not use CONFIG_BRCMFMAC as built-in

Selecting the driver CONFIG_BRCMFMAC as built-in causes some probe issues as we cannot guarantee that the brcmfmac driver will be probed after the rootfs has been mounted. The brcmfmac driver retrieves the firmware and nvram file from the rootfs, so the rootfs should be mounted first.

To avoid such issues let the CONFIG_BRCMFMAC be built as module, which is the original option in imx_v6_v7_defconfig.

---
 board/freescale/warpboard/linux.fragment | 1 -
 1 file changed, 1 deletion(-)
board/freescale/warpboard/linux.fragment +0 -1
index 736b9cd..892d0cb 100644
@@ -1,2 +1 @@
 CONFIG_CFG80211_WEXT=y
-CONFIG_BRCMFMAC=y
Signature · 1 line
1.9.1
#1 lore raw

PATCH 1/1 warpboard: linux.fragment: Do not use CONFIG_BRCMFMAC as built-in

Hi Fabio,

Quoted 23 lines · Fabio Estevam

Selecting the driver CONFIG_BRCMFMAC as built-in causes some probe issues
as we cannot guarantee that the brcmfmac driver will be probed after the
rootfs has been mounted. The brcmfmac driver retrieves the firmware and
nvram file from the rootfs, so the rootfs should be mounted first.

To avoid such issues let the CONFIG_BRCMFMAC be built as module, which is
the original option in imx_v6_v7_defconfig.

---
?board/freescale/warpboard/linux.fragment | 1 -
?1 file changed, 1 deletion(-)

board/freescale/warpboard/linux.fragment +0 -0
index 736b9cd..892d0cb 100644
@@ -1,2 +1 @@
Quoted 2 lines

?CONFIG_CFG80211_WEXT=y
-CONFIG_BRCMFMAC=y

Shouldn't this be "CONFIG_BRCMFMAC=m"?

J?rg

#2 lore raw

PATCH 1/1 warpboard: linux.fragment: Do not use CONFIG_BRCMFMAC as built-in

Hi J?rg,

Quoted 7 lines · J?rg Krause

board/freescale/warpboard/linux.fragment line 2

Quoted 5 lines
board/freescale/warpboard/linux.fragment +0 -1
@@ -1,2 +1 @@
 CONFIG_CFG80211_WEXT=y
-CONFIG_BRCMFMAC=y

Shouldn't this be "CONFIG_BRCMFMAC=m"?

CONFIG_BRCMFMAC=m is already selected in imx_v6_v7_defconfig, so that's I why I simply remove this option from linux.fragment.

Regards,

Fabio Estevam

#3 lore raw

PATCH 1/1 warpboard: linux.fragment: Do not use CONFIG_BRCMFMAC as built-in

Quoted 15 lines · Fabio Estevam

Hi J?rg,

Quoted 9 lines · J?rg Krause
Quoted 7 lines
board/freescale/warpboard/linux.fragment +0 -0
@@ -1,2 +1 @@

?CONFIG_CFG80211_WEXT=y
-CONFIG_BRCMFMAC=y

Shouldn't this be "CONFIG_BRCMFMAC=m"?

Quoted 3 lines

CONFIG_BRCMFMAC=m is already selected in imx_v6_v7_defconfig, so that's I why I simply remove this option from linux.fragment. ?

I see! I did not realize it is a fragment.

J?rg

#4 lore raw

PATCH 1/1 warpboard: linux.fragment: Do not use CONFIG_BRCMFMAC as built-in

In reply to Fabio Estevam

Hello,

Quoted 5 lines · Fabio Estevam

Selecting the driver CONFIG_BRCMFMAC as built-in causes some probe issues as we cannot guarantee that the brcmfmac driver will be probed after the rootfs has been mounted. The brcmfmac driver retrieves the firmware and nvram file from the rootfs, so the rootfs should be mounted first.

Quoted 7 lines

To avoid such issues let the CONFIG_BRCMFMAC be built as module, which is the original option in imx_v6_v7_defconfig.

---
 board/freescale/warpboard/linux.fragment | 1 -
 1 file changed, 1 deletion(-)

Applied to master, thanks.

Thomas

Signature · 3 lines
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com