fix(luckfox-config):Resolving conflicts between RGB and other pin multiplexing
feat(luckfox-config):Support for touch screens and FBTFT feat(luckfox-config):Support for Ubuntu system feat(ubuntu):Support using local root filesystem for submodule updates feat(ubuntu):Support for WiFi on Luckfox Pico Ultra W using the Ubuntu system perf(ubuntu):Improve the initial boot speed of RV1103 using the Ubuntu system perf(kernel_dts):Improve EMMC read/write speed Signed-off-by: luckfox-eng29 <eng29@luckfox.com>
This commit is contained in:
committed by
luckfox-eng33
parent
6cf97cc3f9
commit
955ff6aa57
Regular → Executable
+6
-24
@@ -1,29 +1,11 @@
|
||||
#!/bin/bash
|
||||
|
||||
/usr/bin/filesystem_resize.sh
|
||||
/usr/bin/wifi_bt_init.sh
|
||||
/usr/bin/luckfox_switch_rgb_resolution &
|
||||
/etc/init.d/S50usbdevice start
|
||||
|
||||
# WIFI/BT
|
||||
if [ -f /oem/usr/ko/install_wifi.sh ]; then
|
||||
#wifi
|
||||
cd /oem/usr/ko
|
||||
sh insmod_wifi.sh
|
||||
cd -
|
||||
|
||||
#BT
|
||||
if command -v hciattach &>/dev/null; then
|
||||
if lsmod | grep -q "aic8800_fdrv"; then
|
||||
hciattach -s 115200 /dev/ttyS1 any 115200 flow nosleep &
|
||||
sleep 2
|
||||
if hciconfig -a | grep -q "hci0"; then
|
||||
hciconfig hci0 up &
|
||||
else
|
||||
echo "hci0 not found or not available."
|
||||
fi
|
||||
else
|
||||
echo "aic8800_fdrv not found."
|
||||
fi
|
||||
else
|
||||
echo "You need install hci tools"
|
||||
fi
|
||||
luckfox-config load
|
||||
if [ -n "$(hwclock | grep "invalid")" ]; then
|
||||
date -s 2024-01-01
|
||||
hwclock -w
|
||||
fi
|
||||
|
||||
Reference in New Issue
Block a user