ZHCU913A September 2020 – October 2020 WL1801MOD , WL1805MOD , WL1807MOD , WL1831 , WL1831MOD , WL1835MOD , WL1837MOD
WiLink8 驅(qū)動程序隨附了默認的 wl18xx-conf.bin 二進制文件。/lib/firmware/ti-connectivity/wl18xx-conf.bin 會配置所需的射頻參數(shù)、使用的天線數(shù)量,以及所需的工作頻段等。此文件需要根據(jù)設(shè)置中所用的 WL18xx 器件或模塊進行調(diào)整。為了簡化生成 wl18xx-conf.bin(位于 /lib/firmware/ti-connectivity 中)的過程,R8.8 版本中包含可用于根據(jù)硬件配置做出適當選擇的配置腳本。以下各節(jié)詳細介紹了“configure-device.sh”腳本的用法。該腳本將使用所選的選項來更新現(xiàn)有的 wlconf 文件。請注意,編程的值會影響射頻性能,并且需要準確的值才能通過認證。
configure-device.sh 是一個菜單式腳本。該腳本會詢問硬件相關(guān)問題,用于正確配置要與 WiLink 8 器件配套使用的目標。此腳本使用 'wlconf' 實用程序來創(chuàng)建 WiLink8 配置二進制文件。WiLink? 8 解決方案 WiLink8 – wlconf 包含有關(guān)“wlconf”實用程序以及如何修改此配置的更多詳細信息。
首先,完成上述啟動過程并確保 WiLink8 器件已啟動。與目標設(shè)備建立串行連接并以 root 身份登錄。
導(dǎo)航至腳本所在位置 /usr/sbin/wlconf 并運行 configure-device.sh:
cd /usr/sbin/wlconf
./configure-device.sh
該腳本將會向您詢問一系列硬件相關(guān)問題并針對您的系統(tǒng)配置 wlconf。此腳本可用于 WiLink8 TI 模塊、非 TI 模塊或板載芯片設(shè)計。下面顯示了一些示例。
使用 WiLink8 TI 模塊時,該腳本將會自動從 /usr/sbin/wlconf/official_inis 中挑選正確的 INI 文件:
Example for WL1837 without Japanese Certification:
root@am335x-evm:/usr/sbin/wlconf# ./configure-device.sh
Please provide the following information.
Are you using a TI module? [y/n] : y
What is the chip flavor? [1801/1805/1807/1831/1835/1837 or 0 for unknown] : 1837
Should Japanese standards be applied? [y/n] : n
How many 2.4GHz antennas are fitted? [1/2] : 2
How many 5GHz antennas are fitted (using 2 antennas requires a proper switch)? [0/1/2] : 1
[ 106.068069] wlcore: down
---------------------------------------------------------
The device has been successfully configured.
TI Module: y
Chip Flavor: 1837
Base INI file used: /usr/sbin/wlconf/official_inis/WL1837MOD_INI_FCC_CE.ini
Number of 2.4GHz Antennas Fitted: 2
Number of 5GHz Antennas Fitted: 1
Diversity Support: y
SISO40 Support: y
Japanese Standards Applied: n
---------------------------------------------------------
Example for WL1801
root@am335x-evm:/usr/sbin/wlconf# ./configure-device.sh
Please provide the following information.
Are you using a TI module? [y/n] : y
What is the chip flavor? [1801/1805/1807/1831/1835/1837 or 0 for unknown] : 1801
Should SISO40 support be applied? [y/n] : y
[ 539.778261] wlcore: down
---------------------------------------------------------
The device has been successfully configured.
TI Module: y
Chip Flavor: 1801
Base INI file used: /usr/sbin/wlconf/official_inis/WL1835MOD_INI_C2PC.ini
Number of 2.4GHz Antennas Fitted: 1
Number of 5GHz Antennas Fitted: 0
Diversity Support: n
SISO40 Support: y
Japanese Standards Applied: n
---------------------------------------------------------
對于 WiLink8 板載芯片或非 TI 模塊配置,該腳本將會挑選 /usr/sbin/wlconf/official_inis/WL8_COB_INI.ini。TI 提供了此文件的模板。 客戶將需要根據(jù)其設(shè)計修改此文件中的射頻參數(shù),或者使用各個模塊供應(yīng)商提供的值。
root@am335x-evm:/usr/sbin/wlconf# ./configure-device.sh
Please provide the following information.
Are you using a TI module? [y/n] : n
What is the chip flavor? [1801/1805/1807/1831/1835/1837 or 0 for unknown] : 1837
How many 2.4GHz antennas are fitted? [1/2] : 2
How many 5GHz antennas are fitted (using 2 antennas requires a proper switch)? [0/1/2] : 1
[ 148.158965] wlcore: down
---------------------------------------------------------
The device has been successfully configured.
TI Module: n
Chip Flavor: 1837
Base INI file used: /usr/sbin/wlconf/official_inis/WL8_COB_INI.ini
Number of 2.4GHz Antennas Fitted: 2
Number of 5GHz Antennas Fitted: 1
Diversity Support: n
SISO40 Support: y
Japanese Standards Applied: n
---------------------------------------------------------