meta-digi-arm: firmware-qualcomm: Match board file and UTF board file.
As discovered during certifications preparation work, calibration changes applied only on the bdwlan30.bin file do not take effect. Per QCA guidelines, the bdwlan30.bin and utfbd30.bin files should be the same for the calibration changes to work. This commit removes the current utfbd30.bin file, with an md5sum that matches the original bdwlan30.bin file in QCA's chipcode qca6564-le-1-0-3_qca_device repository, and creates a symbolic link to the actual bdwlan30.bin board file used to certify Digi's module internal antenna. https://jira.digi.com/browse/DEL-3454 Signed-off-by: Alex Gonzalez <alex.gonzalez@digi.com>
This commit is contained in:
parent
034aaa6fb1
commit
f5dac18ae5
|
|
@ -19,7 +19,6 @@ FW_QCA6564-WIFI = " \
|
||||||
file://otp30.bin \
|
file://otp30.bin \
|
||||||
file://qwlan30.bin \
|
file://qwlan30.bin \
|
||||||
file://utf30.bin \
|
file://utf30.bin \
|
||||||
file://utfbd30.bin \
|
|
||||||
file://wlan/cfg.dat \
|
file://wlan/cfg.dat \
|
||||||
file://wlan/qcom_cfg.ini \
|
file://wlan/qcom_cfg.ini \
|
||||||
"
|
"
|
||||||
|
|
@ -50,7 +49,6 @@ do_install() {
|
||||||
otp30.bin \
|
otp30.bin \
|
||||||
qwlan30.bin \
|
qwlan30.bin \
|
||||||
utf30.bin \
|
utf30.bin \
|
||||||
utfbd30.bin \
|
|
||||||
${D}${base_libdir}/firmware
|
${D}${base_libdir}/firmware
|
||||||
install -m 0644 \
|
install -m 0644 \
|
||||||
wlan/cfg.dat \
|
wlan/cfg.dat \
|
||||||
|
|
|
||||||
Binary file not shown.
|
|
@ -68,7 +68,8 @@ case "${DTB_REGION_CODE}" in
|
||||||
esac
|
esac
|
||||||
|
|
||||||
BDATA_LINK="${FIRMWARE_DIR}/bdwlan30.bin"
|
BDATA_LINK="${FIRMWARE_DIR}/bdwlan30.bin"
|
||||||
# Create a symbolic link to the FW file for the specific country region.
|
UTFBDATA_LINK="${FIRMWARE_DIR}/utfbd30.bin"
|
||||||
|
# Create a symbolic links to the FW files for the specific country region.
|
||||||
BDATA_SOURCE="${FIRMWARE_DIR}/bdwlan30_US.bin"
|
BDATA_SOURCE="${FIRMWARE_DIR}/bdwlan30_US.bin"
|
||||||
case "${REGULATORY_DOMAIN}" in
|
case "${REGULATORY_DOMAIN}" in
|
||||||
${US_CODE})
|
${US_CODE})
|
||||||
|
|
@ -83,9 +84,10 @@ case "${REGULATORY_DOMAIN}" in
|
||||||
esac
|
esac
|
||||||
|
|
||||||
# We don't want to rewrite NAND every time we boot so only
|
# We don't want to rewrite NAND every time we boot so only
|
||||||
# change the link if it is wrong.
|
# change the links if they are wrong.
|
||||||
if [ ! -e "${BDATA_LINK}" ] || ! cmp -s "${BDATA_LINK}" "${BDATA_SOURCE}"; then
|
if [ ! -e "${BDATA_LINK}" ] || ! cmp -s "${BDATA_LINK}" "${BDATA_SOURCE}"; then
|
||||||
ln -sf "${BDATA_SOURCE}" "${BDATA_LINK}"
|
ln -sf "${BDATA_SOURCE}" "${BDATA_LINK}"
|
||||||
|
ln -sf "${BDATA_SOURCE}" "${UTFBDATA_LINK}"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# Check the version of modprobe installed to compound the arguments.
|
# Check the version of modprobe installed to compound the arguments.
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue