From 829e87f6cecc57c7b418384de2ca80ec977587b0 Mon Sep 17 00:00:00 2001
From: guowenxue <guowenxue@gmail.com>
Date: Sat, 18 Dec 2021 23:16:44 +0800
Subject: [PATCH] update wifi driver build.sh, remove noisy debug print
---
bsp/rootfs/files/wpa_supplicant.conf | 6 +++---
bsp/images/wintools/win_flash.bat | 2 +-
bsp/drivers/build.sh | 3 +++
3 files changed, 7 insertions(+), 4 deletions(-)
diff --git a/bsp/drivers/build.sh b/bsp/drivers/build.sh
index 745b415..2ff158b 100755
--- a/bsp/drivers/build.sh
+++ b/bsp/drivers/build.sh
@@ -59,6 +59,9 @@
sed -i "s|^#define CONFIG_DEBUG|//#define CONFIG_DEBUG|g" include/autoconf.h
+ sed -i "/nolinked power/d" core/rtw_pwrctrl.c
+ sed -i "/request firmware/d" hal/rtl8188f/rtl8188f_hal_init.c
+
make -j ${JOBS}
mkdir -p ../../rootfs/driver/lib/firmware/rtlwifi/
cp firmware/rtl8188fufw.bin ../../rootfs/driver/lib/firmware/rtlwifi/
diff --git a/bsp/images/wintools/win_flash.bat b/bsp/images/wintools/win_flash.bat
index c77073d..a93b8be 100644
--- a/bsp/images/wintools/win_flash.bat
+++ b/bsp/images/wintools/win_flash.bat
@@ -20,7 +20,7 @@
echo 1: Download bootloader [ %IMAGE_UBOOT% ]
echo 2: Download System Image [ %IMAGE_SYS% ]
-set /p choice= Please Input Your Choice:
+set /p choice= Please Input Your Choice:
if %choice% == 1 uuu -b emmc %IMAGE_UBOOT%
if %choice% == 2 uuu -b emmc_all %IMAGE_UBOOT% %IMAGE_SYS%
diff --git a/bsp/rootfs/files/wpa_supplicant.conf b/bsp/rootfs/files/wpa_supplicant.conf
index 9aed517..74e1ad4 100644
--- a/bsp/rootfs/files/wpa_supplicant.conf
+++ b/bsp/rootfs/files/wpa_supplicant.conf
@@ -3,7 +3,7 @@
update_config=1
network={
- scan_ssid=1
- ssid=""
- psk=""
+ scan_ssid=1
+ ssid=""
+ psk=""
}
--
Gitblit v1.9.1