We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4140802 commit 909ddcaCopy full SHA for 909ddca
buildimg.sh
@@ -212,6 +212,17 @@ if [[ ${board} != "bpi-r2pro" ]];then
212
if [[ ${board} == "bpi-r64" ]];then
213
echo "mt7615e" | sudo tee -a ${targetdir}/etc/modules
214
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
226
227
228
#install/start resolved after all is done
0 commit comments