BeagleBone 上嘗試在 mmc2 (軟體為mmc3)上設置sdio wifi腳位,使用的網卡為 RTL8723BS,已安裝rtl8723bs-master驅動 。
問題 : 我使用root身分登入,並執行ifconfig wlan0 up,卻顯示以下內容
——————————————————————————————————–
[31.074590] rtl8723bs: accquire FW from file: rtlwifi/rtl8723bs_nic.bin
ifconfig: SIOCSIFFLAGS: Operation not permitted
——————————————————————————————————–
我已經用root登入,為何還有 Operation not permitted的問題 ? firmware看起來也有讀取到(/lib/firmware/rtlwifi/rtl8723bs_nic.bin)。
開機Log :
[1.535795] RTL8723BS: moudule init start
[1.536048] RTL8723BS: rtl8723bs v4.3.5.5_12290.20140916_BTCOEX20140407-4E40
[1.536185] RTL8723BS: rtl8723bs BT-Coex version = BTCOE20140507-4E40
[1.536289] RTL8723BS: moudule init ret =0
[1.736754] of_get_named_gpiod_flags: can't parse 'cd-gpios' property of node '/opc/mmc@47810000[0]'
[1.736769] of_get_named_gpiod_flags: can't parse 'cd-gpio' property of node '/opc/mmc@47810000[0]'
[1.736780] omap_hsmmc 47810000.mmc: using lookup tables for GPIO lookup
[1.736796] omap_hsmmc 47810000.mmc: lookup for GPIO cd failed
[1.736813] omap_hsmmc 47810000.mmc: GPIO lookup for consumer wp
[1.736824] omap_hsmmc 47810000.mmc: using device tree for GPIO lookup
[1.736836] of_get_named_gpiod_flags: can't parse 'wp-gpios' property of node '/opc/mmc@47810000[0]'
[1.176849] of_get_named_gpiod_flags: can't parse 'wp-gpio' property of node '/opc/mmc@47810000[0]'
[1.736860] omap_hsmmc 47810000.mmc: using lookup tables for GPIO lookup
[1.736873] omap_hsmmc 47810000.mmc: lookup for GPIO wp failed
[2.149617] mmc2: new high speed SDIO card at address 0001
[2.159468] rtw_ndev_init(wlan0)
[2.601915] EXT4-fs (mmcblk0p2): recovery complete
[2.616582] EXT4-fs (mmcblk0p2): mounted filesystem with ordered data mode. Opts: (null)
[2.842444] EXT4-fs (mmcblk0p2): re-mounted. Opts: data=ordered
以下為device tree設定 :
&am33xx_pinmux {
mmc3_pins: pinmux_mmc3_pins {
pinctrl-single,pins = <
0x44 (PIN_INPUT_PULLUP | MUX_MODE3) /* gpmc_a1.mmc2_dat0, INPUT_PULLUP | MODE3 */
0x48 (PIN_INPUT_PULLUP | MUX_MODE3) /* gpmc_a2.mmc2_dat1, INPUT_PULLUP | MODE3 */
0x4C (PIN_INPUT_PULLUP | MUX_MODE3) /* gpmc_a3.mmc2_dat2, INPUT_PULLUP | MODE3 */
0x78 (PIN_INPUT_PULLUP | MUX_MODE3) /* gpmc_ben1.mmc2_dat3, INPUT_PULLUP | MODE3 */
0x88 (PIN_INPUT_PULLUP | MUX_MODE3) /* gpmc_csn3.mmc2_cmd, INPUT_PULLUP | MODE3 */
0x8C (PIN_INPUT_PULLUP | MUX_MODE3) /* gpmc_clk.mmc2_clk, INPUT_PULLUP | MODE3 */
>;
};
}
{
wlan_en_reg: fixedregulator@2 { compatible = "regulator-fixed"; regulator-name = "wlan-en-regulator"; regulator-min-microvolt = <3000000>; regulator-max-microvolt = <3000000>; startup-delay-us = <70000>; enable-active-high; };
};
&mmc3 {
dmas = <&edma_xbar 12 0 1
&edma_xbar 13 0 2>;
dma-names = "tx","rx";
status = "okay";
vmmc-supply = <&wlan_en_reg>;
bus-width = <4>;
pinctrl-names = "default";
pinctrl-0 = <&mmc3_pins>;
ti,non-removable;
ti,needs-special-hs-handling;
cap-power-off-card;
keep-power-in-suspend;
#address-cells = <1>;
#size-cells = <0>;
};
Eggsy Pang:
rtl8723bs_nic.bin 权限是可读可写吗?
wen ting:
回复 Eggsy Pang:
Eggsy Pang 您好:是的,我使用chmod 指令更新過權限。
wen ting:
回复 wen ting:
請問有TI員工知道如何解決嗎