File tree Expand file tree Collapse file tree 6 files changed +16
-23
lines changed
br-ext-chip-sigmastar/configs Expand file tree Collapse file tree 6 files changed +16
-23
lines changed Original file line number Diff line number Diff line change 8
8
/cache
9
9
/openipc
10
10
/output
11
- * .bin
Original file line number Diff line number Diff line change @@ -33,8 +33,6 @@ BR2_PACKAGE_ZLIB=y
33
33
BR2_PACKAGE_IW=y
34
34
BR2_PACKAGE_WPA_SUPPLICANT=y
35
35
BR2_PACKAGE_WPA_SUPPLICANT_AP_SUPPORT=y
36
- BR2_PACKAGE_WPA_SUPPLICANT_CLI=y
37
- BR2_PACKAGE_WPA_SUPPLICANT_PASSPHRASE=y
38
36
BR2_TARGET_ROOTFS_CPIO=y
39
37
BR2_TARGET_ROOTFS_SQUASHFS=y
40
38
BR2_TARGET_ROOTFS_SQUASHFS4_XZ=y
@@ -58,9 +56,11 @@ BR2_PACKAGE_LIBCURL_OPENIPC_CURL=y
58
56
# BR2_PACKAGE_LIBCURL_OPENIPC_EXTRA_PROTOCOLS_FEATURES is not set
59
57
BR2_PACKAGE_LIBEVENT_OPENIPC=y
60
58
BR2_PACKAGE_LIBOGG_OPENIPC=y
59
+ BR2_PACKAGE_MAJESTIC_FONTS=y
61
60
BR2_PACKAGE_MAJESTIC_WEBUI=y
62
61
BR2_PACKAGE_MAJESTIC=y
63
62
BR2_PACKAGE_MBEDTLS_OPENIPC=y
63
+ BR2_PACKAGE_MAVFWD=y
64
64
BR2_PACKAGE_MSPOSD=y
65
65
BR2_PACKAGE_OPUS_OPENIPC=y
66
66
BR2_PACKAGE_OPUS_OPENIPC_FIXED_POINT=y
Original file line number Diff line number Diff line change 1
1
#! /bin/sh
2
2
3
+ set_config () {
4
+ cat << EOF > /tmp/wpa_supplicant.conf
5
+ network={
6
+ mode=2
7
+ frequency=$( fw_printenv -n wlanfreq || echo 2412)
8
+ ssid="$( fw_printenv -n wlanssid || echo OpenIPC) "
9
+ psk="$( fw_printenv -n wlanpass || echo 12345678) "
10
+ }
11
+ EOF
12
+ }
13
+
3
14
case " $1 " in
4
15
setup)
5
16
for card in $( lsusb | awk ' {print $6}' | uniq) ; do
@@ -24,28 +35,12 @@ case "$1" in
24
35
fi
25
36
26
37
echo " Detected driver: $driver "
27
- [ -e /sys/class/net/wlan0 ] && return
28
-
29
- if [ " $driver " != " 88XXau" ]; then
30
- opt1=" rtw_tx_pwr_by_rate=0"
31
- opt2=" rtw_tx_pwr_lmt_enable=0"
32
- fi
33
-
34
- modprobe " $driver " " $opt1 " " $opt2 "
35
- sleep 3
36
-
37
- if ! ifconfig wlan0 up; then
38
- echo " Wireless driver not found!"
39
- exit 1
40
- fi
38
+ modprobe " $driver " rtw_tx_pwr_by_rate=0 rtw_tx_pwr_lmt_enable=0
41
39
;;
42
40
43
41
start)
44
- ssid=$( fw_printenv -n wlanssid || echo OpenIPC)
45
- pass=$( fw_printenv -n wlanpass || echo 12345678)
46
- wpa_passphrase " $ssid " " $pass " > /tmp/wpa_supplicant.conf
47
- sed -i ' 2i \\tmode=2' /tmp/wpa_supplicant.conf
48
- # sed -i '3i \\tfrequency=5180' /tmp/wpa_supplicant.conf
42
+ iw wlan0 set txpower fixed $( fw_printenv -n wlanpwr || echo 1500)
43
+ set_config
49
44
wpa_supplicant -B -i wlan0 -D nl80211 -c /tmp/wpa_supplicant.conf
50
45
udhcpd -S
51
46
;;
Original file line number Diff line number Diff line change 1
1
/etc/sensors/imx307.bin
2
- /etc/sensors/imx335.bin
3
2
/etc/sensors/gc2053.bin
4
3
/etc/sensors/gc4653.bin
5
4
/etc/sensors/sc501ai.bin
You can’t perform that action at this time.
0 commit comments