Skip to content

Commit 909ddca

Browse files
committed
buildimg: try to add testing firmware for be14 module
1 parent 4140802 commit 909ddca

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

buildimg.sh

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -212,6 +212,17 @@ if [[ ${board} != "bpi-r2pro" ]];then
212212
if [[ ${board} == "bpi-r64" ]];then
213213
echo "mt7615e" | sudo tee -a ${targetdir}/etc/modules
214214
fi
215+
216+
if [[ ${board} == "bpi-r4" ]];then
217+
#copy wifi-firmware to image
218+
fwdir=${targetdir}/lib/firmware/mediatek/mt7996/
219+
mkdir -p $fwdir
220+
for f in mt7996_dsp.bin mt7996_eeprom_233.bin mt7996_rom_patch_233.bin mt7996_wa_233.bin mt7996_wm_233.bin;
221+
do
222+
src="https://github.com/frank-w/BPI-Router-Linux/raw/6.10-main/utils/firmware/mediatek/mt7996/$f";
223+
curl --create-dirs -O --output-dir $fwdir $src
224+
done
225+
fi
215226
fi
216227

217228
#install/start resolved after all is done

0 commit comments

Comments
 (0)