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 88/cache
99/openipc
1010/output
11- * .bin
Original file line number Diff line number Diff line change @@ -33,8 +33,6 @@ BR2_PACKAGE_ZLIB=y
3333BR2_PACKAGE_IW=y
3434BR2_PACKAGE_WPA_SUPPLICANT=y
3535BR2_PACKAGE_WPA_SUPPLICANT_AP_SUPPORT=y
36- BR2_PACKAGE_WPA_SUPPLICANT_CLI=y
37- BR2_PACKAGE_WPA_SUPPLICANT_PASSPHRASE=y
3836BR2_TARGET_ROOTFS_CPIO=y
3937BR2_TARGET_ROOTFS_SQUASHFS=y
4038BR2_TARGET_ROOTFS_SQUASHFS4_XZ=y
@@ -58,9 +56,11 @@ BR2_PACKAGE_LIBCURL_OPENIPC_CURL=y
5856# BR2_PACKAGE_LIBCURL_OPENIPC_EXTRA_PROTOCOLS_FEATURES is not set
5957BR2_PACKAGE_LIBEVENT_OPENIPC=y
6058BR2_PACKAGE_LIBOGG_OPENIPC=y
59+ BR2_PACKAGE_MAJESTIC_FONTS=y
6160BR2_PACKAGE_MAJESTIC_WEBUI=y
6261BR2_PACKAGE_MAJESTIC=y
6362BR2_PACKAGE_MBEDTLS_OPENIPC=y
63+ BR2_PACKAGE_MAVFWD=y
6464BR2_PACKAGE_MSPOSD=y
6565BR2_PACKAGE_OPUS_OPENIPC=y
6666BR2_PACKAGE_OPUS_OPENIPC_FIXED_POINT=y
Original file line number Diff line number Diff line change 11#! /bin/sh
22
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+
314case " $1 " in
415 setup)
516 for card in $( lsusb | awk ' {print $6}' | uniq) ; do
@@ -24,28 +35,12 @@ case "$1" in
2435 fi
2536
2637 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
4139 ;;
4240
4341 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
4944 wpa_supplicant -B -i wlan0 -D nl80211 -c /tmp/wpa_supplicant.conf
5045 udhcpd -S
5146 ;;
Original file line number Diff line number Diff line change 11/etc/sensors/imx307.bin
2- /etc/sensors/imx335.bin
32/etc/sensors/gc2053.bin
43/etc/sensors/gc4653.bin
54/etc/sensors/sc501ai.bin
You can’t perform that action at this time.
0 commit comments