mirror of
https://github.com/gtxaspec/wz_mini_hacks.git
synced 2024-12-23 12:43:35 +00:00
add wifi driver support for atomcam2 testing
This commit is contained in:
parent
7961e65f77
commit
9d618c6a99
@ -52,6 +52,7 @@ mkdir /opt/wz_mini/tmp/.bin
|
|||||||
#PANv2=HL_PAN2
|
#PANv2=HL_PAN2
|
||||||
#V3=WYZE_CAKP2JFUS
|
#V3=WYZE_CAKP2JFUS
|
||||||
#DB3=WYZEDB3
|
#DB3=WYZEDB3
|
||||||
|
#V3C=ATOM_CamV3C
|
||||||
|
|
||||||
#mtdblock9 only exists on the T20 platform, indicating V2 or PANv1
|
#mtdblock9 only exists on the T20 platform, indicating V2 or PANv1
|
||||||
if [ -b /dev/mtdblock9 ]; then
|
if [ -b /dev/mtdblock9 ]; then
|
||||||
|
@ -83,12 +83,16 @@ if [[ "$ENABLE_RTL8189FS_DRIVER" == "true" ]] || [[ "$ENABLE_RTL8189FS_DRIVER" =
|
|||||||
sed -i 's/insmod \/driver\/8189es.ko/insmod \/opt\/wz_mini\/lib\/modules\/3.10.14\/extra\/8189es.ko rtw_power_mgnt=0 rtw_enusbss=0 rtw_drv_log_level=2/g' /opt/wz_mini/tmp/.storage/app_init.sh
|
sed -i 's/insmod \/driver\/8189es.ko/insmod \/opt\/wz_mini\/lib\/modules\/3.10.14\/extra\/8189es.ko rtw_power_mgnt=0 rtw_enusbss=0 rtw_drv_log_level=2/g' /opt/wz_mini/tmp/.storage/app_init.sh
|
||||||
elif [ -f /opt/wz_mini/tmp/.WYZE_CAKP2JFUS ]; then
|
elif [ -f /opt/wz_mini/tmp/.WYZE_CAKP2JFUS ]; then
|
||||||
sed -i 's/\/system\/driver\/rtl8189ftv.ko/\/opt\/wz_mini\/lib\/modules\/3.10.14\_\_isvp_swan_1.0\_\_\/extra\/8189fs.ko rtw_power_mgnt=0 rtw_enusbss=0 rtw_drv_log_level=2/g' /opt/wz_mini/tmp/.storage/app_init.sh
|
sed -i 's/\/system\/driver\/rtl8189ftv.ko/\/opt\/wz_mini\/lib\/modules\/3.10.14\_\_isvp_swan_1.0\_\_\/extra\/8189fs.ko rtw_power_mgnt=0 rtw_enusbss=0 rtw_drv_log_level=2/g' /opt/wz_mini/tmp/.storage/app_init.sh
|
||||||
|
elif [ -f /opt/wz_mini/tmp/.ATOM_CamV3C ]; then
|
||||||
|
sed -i 's/\/system\/driver\/rtl8189ftv.ko/\/opt\/wz_mini\/lib\/modules\/3.10.14\_\_isvp_swan_1.0\_\_\/extra\/8189fs.ko rtw_power_mgnt=0 rtw_enusbss=0 rtw_drv_log_level=2/g' /opt/wz_mini/tmp/.storage/app_init.sh
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if [[ "$ENABLE_ATBM603X_DRIVER" == "true" ]] || [[ "$ENABLE_ATBM603X_DRIVER" == "" ]]; then
|
if [[ "$ENABLE_ATBM603X_DRIVER" == "true" ]] || [[ "$ENABLE_ATBM603X_DRIVER" == "" ]]; then
|
||||||
echo "Enable atbm603x_wifi_sdio"
|
echo "Enable atbm603x_wifi_sdio"
|
||||||
if [ -f /opt/wz_mini/tmp/.T31 ]; then
|
if [ -f /opt/wz_mini/tmp/.ATOM_CamV3C ]; then
|
||||||
|
sed -i 's/\/thirdlib\/atbm603x_wifi_sdio.ko/\/opt\/wz_mini\/lib\/modules\/3.10.14\_\_isvp_swan_1.0\_\_\/extra\/atbm603x_wifi_sdio.ko/g' /opt/wz_mini/tmp/.storage/app_init.sh
|
||||||
|
elif [ -f /opt/wz_mini/tmp/.T31 ] && ! [ -f /opt/wz_mini/tmp/.ATOM_CamV3C ]; then
|
||||||
sed -i 's/\/system\/driver\/atbm603x_wifi_sdio.ko/\/opt\/wz_mini\/lib\/modules\/3.10.14\_\_isvp_swan_1.0\_\_\/extra\/atbm603x_wifi_sdio.ko/g' /opt/wz_mini/tmp/.storage/app_init.sh
|
sed -i 's/\/system\/driver\/atbm603x_wifi_sdio.ko/\/opt\/wz_mini\/lib\/modules\/3.10.14\_\_isvp_swan_1.0\_\_\/extra\/atbm603x_wifi_sdio.ko/g' /opt/wz_mini/tmp/.storage/app_init.sh
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
|
Loading…
Reference in New Issue
Block a user