mirror of
https://github.com/LuckfoxTECH/luckfox-pico.git
synced 2026-01-19 17:59:18 +01:00
project:build.sh:optimize the method of determining whether the Ubuntu image is local
sysdrv:Makefile:modify the method of compiling WiFi/BT drivers sysdrv:drv_ko:wifi:aic8800dc:optimize Bluetooth transmission sysdrv:tools:board:buildroot:resolve the issue where the USB cannot automatically obtain an IP address sysdrv:tools:board:luckfox_config:add an optional setting for UART3M1 on the Luckfox Pico Mini sysdrv:source:kernel:arch:arm:boot:dts:eliminate display noise on the LF40-72720-ARK sysdrv:source:uboot:rkbin:bin:rv11:resolve the issue of certain SD card models not being recognized Refactor:sysdrv:Makefile:obtain WiFi/BT drivers from source compilation on the Ubuntu system Perf:sysdrv:drv_ko:wifi:aic8800dc:expand WiFi/Bluetooth rfkill management methods, increase Bluetooth communication baud rate, and reduce communication lag Fix:sysdrv:tools:board:buildroot:resolve the issue where the `rkipc` program overwrites the IP address of USB0 when the camera is activated on the Luckfox Pico Ultra Fix:source:uboot:rkbin:bin:rv11:resolve the issue where, in the presence of an image on SPI NAND, romboot prioritizes using `.bin` from SPI NAND, causing the SD card to be unrecognized Signed-off-by: luckfox-eng29 <eng29@luckfox.com>
This commit is contained in:
committed by
luckfox-eng33
parent
6a7f87806f
commit
c27bded97e
@@ -2,10 +2,19 @@
|
||||
|
||||
if [ "$(cat /proc/device-tree/model)" == "Luckfox Pico Ultra W" ]; then
|
||||
systemctl stop wpa_supplicant
|
||||
if [ -d /usr/ko ]; then
|
||||
cd /usr/ko
|
||||
if [ -d /oem/usr/ko ]; then
|
||||
cd /oem/usr/ko
|
||||
if [ -z "$(ifconfig | grep "wlan0")" ]; then
|
||||
./insmod_wifi.sh
|
||||
insmod cfg80211.ko
|
||||
insmod libarc4.ko
|
||||
insmod ctr.ko
|
||||
insmod ccm.ko
|
||||
insmod aes_generic.ko
|
||||
insmod aic8800_bsp.ko
|
||||
sleep 0.2
|
||||
insmod aic8800_fdrv.ko
|
||||
sleep 2
|
||||
insmod aic8800_btplm.ko
|
||||
else
|
||||
# wait systemctl
|
||||
sleep 0.5
|
||||
|
||||
Binary file not shown.
Binary file not shown.
Binary file not shown.
@@ -1,56 +0,0 @@
|
||||
# AIC USERCONFIG 2022/0803/1707
|
||||
|
||||
# txpwr_lvl
|
||||
enable=1
|
||||
lvl_11b_11ag_1m_2g4=20
|
||||
lvl_11b_11ag_2m_2g4=20
|
||||
lvl_11b_11ag_5m5_2g4=20
|
||||
lvl_11b_11ag_11m_2g4=20
|
||||
lvl_11b_11ag_6m_2g4=20
|
||||
lvl_11b_11ag_9m_2g4=20
|
||||
lvl_11b_11ag_12m_2g4=20
|
||||
lvl_11b_11ag_18m_2g4=20
|
||||
lvl_11b_11ag_24m_2g4=18
|
||||
lvl_11b_11ag_36m_2g4=18
|
||||
lvl_11b_11ag_48m_2g4=16
|
||||
lvl_11b_11ag_54m_2g4=16
|
||||
lvl_11n_11ac_mcs0_2g4=20
|
||||
lvl_11n_11ac_mcs1_2g4=20
|
||||
lvl_11n_11ac_mcs2_2g4=20
|
||||
lvl_11n_11ac_mcs3_2g4=20
|
||||
lvl_11n_11ac_mcs4_2g4=18
|
||||
lvl_11n_11ac_mcs5_2g4=18
|
||||
lvl_11n_11ac_mcs6_2g4=16
|
||||
lvl_11n_11ac_mcs7_2g4=16
|
||||
lvl_11n_11ac_mcs8_2g4=16
|
||||
lvl_11n_11ac_mcs9_2g4=16
|
||||
lvl_11ax_mcs0_2g4=20
|
||||
lvl_11ax_mcs1_2g4=20
|
||||
lvl_11ax_mcs2_2g4=20
|
||||
lvl_11ax_mcs3_2g4=20
|
||||
lvl_11ax_mcs4_2g4=18
|
||||
lvl_11ax_mcs5_2g4=18
|
||||
lvl_11ax_mcs6_2g4=16
|
||||
lvl_11ax_mcs7_2g4=16
|
||||
lvl_11ax_mcs8_2g4=16
|
||||
lvl_11ax_mcs9_2g4=16
|
||||
lvl_11ax_mcs10_2g4=15
|
||||
lvl_11ax_mcs11_2g4=15
|
||||
|
||||
# txpwr_ofst
|
||||
ofst_enable=0
|
||||
ofst_chan_1_4=0
|
||||
ofst_chan_5_9=0
|
||||
ofst_chan_10_13=0
|
||||
ofst_chan_36_64=0
|
||||
ofst_chan_100_120=0
|
||||
ofst_chan_122_140=0
|
||||
ofst_chan_142_165=0
|
||||
|
||||
# xtal cap
|
||||
xtal_enable=0
|
||||
xtal_cap=24
|
||||
xtal_cap_fine=31
|
||||
|
||||
|
||||
|
||||
@@ -1,56 +0,0 @@
|
||||
# AIC USERCONFIG 2022/0803/1707
|
||||
|
||||
# txpwr_lvl
|
||||
enable=1
|
||||
lvl_11b_11ag_1m_2g4=20
|
||||
lvl_11b_11ag_2m_2g4=20
|
||||
lvl_11b_11ag_5m5_2g4=20
|
||||
lvl_11b_11ag_11m_2g4=20
|
||||
lvl_11b_11ag_6m_2g4=20
|
||||
lvl_11b_11ag_9m_2g4=20
|
||||
lvl_11b_11ag_12m_2g4=20
|
||||
lvl_11b_11ag_18m_2g4=20
|
||||
lvl_11b_11ag_24m_2g4=18
|
||||
lvl_11b_11ag_36m_2g4=18
|
||||
lvl_11b_11ag_48m_2g4=16
|
||||
lvl_11b_11ag_54m_2g4=16
|
||||
lvl_11n_11ac_mcs0_2g4=20
|
||||
lvl_11n_11ac_mcs1_2g4=20
|
||||
lvl_11n_11ac_mcs2_2g4=20
|
||||
lvl_11n_11ac_mcs3_2g4=20
|
||||
lvl_11n_11ac_mcs4_2g4=18
|
||||
lvl_11n_11ac_mcs5_2g4=18
|
||||
lvl_11n_11ac_mcs6_2g4=16
|
||||
lvl_11n_11ac_mcs7_2g4=16
|
||||
lvl_11n_11ac_mcs8_2g4=16
|
||||
lvl_11n_11ac_mcs9_2g4=16
|
||||
lvl_11ax_mcs0_2g4=20
|
||||
lvl_11ax_mcs1_2g4=20
|
||||
lvl_11ax_mcs2_2g4=20
|
||||
lvl_11ax_mcs3_2g4=20
|
||||
lvl_11ax_mcs4_2g4=18
|
||||
lvl_11ax_mcs5_2g4=18
|
||||
lvl_11ax_mcs6_2g4=16
|
||||
lvl_11ax_mcs7_2g4=16
|
||||
lvl_11ax_mcs8_2g4=16
|
||||
lvl_11ax_mcs9_2g4=16
|
||||
lvl_11ax_mcs10_2g4=15
|
||||
lvl_11ax_mcs11_2g4=15
|
||||
|
||||
# txpwr_ofst
|
||||
ofst_enable=0
|
||||
ofst_chan_1_4=0
|
||||
ofst_chan_5_9=0
|
||||
ofst_chan_10_13=0
|
||||
ofst_chan_36_64=0
|
||||
ofst_chan_100_120=0
|
||||
ofst_chan_122_140=0
|
||||
ofst_chan_142_165=0
|
||||
|
||||
# xtal cap
|
||||
xtal_enable=0
|
||||
xtal_cap=24
|
||||
xtal_cap_fine=31
|
||||
|
||||
|
||||
|
||||
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
@@ -1,24 +0,0 @@
|
||||
#!/bin/sh
|
||||
cmd=$(realpath $0)
|
||||
_DIR=$(dirname $cmd)
|
||||
cd $_DIR
|
||||
|
||||
export PATH=$PATH:/ko
|
||||
|
||||
#aic8800
|
||||
if [ -f /usr/ko/aic8800_fdrv.ko ]; then
|
||||
mkdir -p /oem/usr/ko
|
||||
cp /usr/ko/aic8800dc_fw /oem/usr/ko -r
|
||||
insmod cfg80211.ko
|
||||
insmod libarc4.ko
|
||||
insmod ctr.ko
|
||||
insmod ccm.ko
|
||||
#insmod libaes.ko
|
||||
#insmod aes_generic.ko
|
||||
insmod aic8800_bsp.ko
|
||||
sleep 0.2
|
||||
insmod aic8800_fdrv.ko
|
||||
sleep 2
|
||||
insmod aic8800_btlpm.ko
|
||||
sleep 0.1
|
||||
fi
|
||||
Binary file not shown.
Reference in New Issue
Block a user