MBa8MPxL-RAS314: use nxp firmware for WLAN/BT
- download the firmware from NXP and integrate it into the rootfs Signed-off-by: Martin Schmiedel <Martin.Schmiedel@tq-group.com>
This commit is contained in:
parent
5fc3eb3de3
commit
066dea0920
@ -10,11 +10,22 @@ DEFAULT_CONSOLE="serial"
|
||||
SERIALCON="ttymxc3"
|
||||
BOOT_FDT_FILE="freescale/imx8mp-tqma8mpql-mba8mp-ras314.dtb"
|
||||
ASOUND_STATE="asound.state.tqma"
|
||||
BOARD_FIRMWARE_INSTALL="-full"
|
||||
PACKAGE_LIST_BOARD="gpiod python3-pip python3-periphery"
|
||||
|
||||
function post_family_tweaks_bsp__mba8mpxl-ras314() {
|
||||
|
||||
# Wifi & Bluetooth (use firmware from NXP)
|
||||
wget https://github.com/nxp-imx/imx-firmware/raw/lf-6.6.3_1.0.0/nxp/FwImage_8997/pcieuart8997_combo_v4.bin
|
||||
run_host_command_logged mkdir -pv --mode=755 "$destination/lib/firmware/" || exit_with_error "Unable to mkdir firmware"
|
||||
run_host_command_logged mkdir -v --mode=775 "$destination/lib/firmware/mrvl/" || exit_with_error "Unable to mkdir mrvl"
|
||||
run_host_command_logged cp -Pv "pcieuart8997_combo_v4.bin" "$destination/lib/firmware/mrvl/" || exit_with_error "Unable to copy mrvl firmware"
|
||||
|
||||
# Add udev rule to delay btnxpuart loading
|
||||
cat <<- EOF > "${destination}"/etc/udev/rules.d/10-nxp-bluetooth-delay.rules
|
||||
# wait until combo FW is loaded by wifi driver
|
||||
KERNEL=="mlan*", ACTION=="add", RUN+="/sbin/modprobe btnxpuart"
|
||||
EOF
|
||||
|
||||
mkdir -p $destination/etc/udev/rules.d
|
||||
cat <<- EOF > "$destination"/etc/udev/70-periphery.rules
|
||||
# Allow group periphery to access devices
|
||||
|
||||
Loading…
Reference in New Issue
Block a user