update ARM scripts
This commit is contained in:
parent
a1302581ff
commit
a205aaae5f
@ -12,14 +12,8 @@
|
|||||||
# $ ./ARM64_RPI.sh
|
# $ ./ARM64_RPI.sh
|
||||||
|
|
||||||
sed -i 's/CONFIG_PLATFORM_I386_PC = y/CONFIG_PLATFORM_I386_PC = n/g' Makefile
|
sed -i 's/CONFIG_PLATFORM_I386_PC = y/CONFIG_PLATFORM_I386_PC = n/g' Makefile
|
||||||
RESULT=$?
|
|
||||||
|
|
||||||
if [[ "$RESULT" != "0" ]]; then
|
sed -i 's/CONFIG_PLATFORM_ARM_RPI = y/CONFIG_PLATFORM_ARM_RPI = n/g' Makefile
|
||||||
echo "An error occurred and I386 support was not turned off in Makefile."
|
|
||||||
exit 1
|
|
||||||
else
|
|
||||||
echo "I386 support was turned off in Makefile as planned."
|
|
||||||
fi
|
|
||||||
|
|
||||||
sed -i 's/CONFIG_PLATFORM_ARM64_RPI = n/CONFIG_PLATFORM_ARM64_RPI = y/g' Makefile
|
sed -i 's/CONFIG_PLATFORM_ARM64_RPI = n/CONFIG_PLATFORM_ARM64_RPI = y/g' Makefile
|
||||||
RESULT=$?
|
RESULT=$?
|
||||||
|
10
ARM_RPI.sh
10
ARM_RPI.sh
@ -14,14 +14,6 @@
|
|||||||
# getconf LONG_BIT (need to work on this)
|
# getconf LONG_BIT (need to work on this)
|
||||||
|
|
||||||
sed -i 's/CONFIG_PLATFORM_I386_PC = y/CONFIG_PLATFORM_I386_PC = n/g' Makefile
|
sed -i 's/CONFIG_PLATFORM_I386_PC = y/CONFIG_PLATFORM_I386_PC = n/g' Makefile
|
||||||
RESULT=$?
|
|
||||||
|
|
||||||
if [[ "$RESULT" != "0" ]]; then
|
|
||||||
echo "An error occurred and I386 support was not turned off in Makefile."
|
|
||||||
exit 1
|
|
||||||
else
|
|
||||||
echo "I386 support was turned off in Makefile as planned."
|
|
||||||
fi
|
|
||||||
|
|
||||||
sed -i 's/CONFIG_PLATFORM_ARM_RPI = n/CONFIG_PLATFORM_ARM_RPI = y/g' Makefile
|
sed -i 's/CONFIG_PLATFORM_ARM_RPI = n/CONFIG_PLATFORM_ARM_RPI = y/g' Makefile
|
||||||
RESULT=$?
|
RESULT=$?
|
||||||
@ -33,3 +25,5 @@ else
|
|||||||
echo "Raspberry Pi OS (32 bit) support was turned on in Makefile as planned."
|
echo "Raspberry Pi OS (32 bit) support was turned on in Makefile as planned."
|
||||||
exit 0
|
exit 0
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
sed -i 's/CONFIG_PLATFORM_ARM64_RPI = y/CONFIG_PLATFORM_ARM64_RPI = n/g' Makefile
|
||||||
|
@ -51,8 +51,6 @@ sudo uname -a; mokutil --sb-state; lsusb; rfkill list all; dkms status; iw dev
|
|||||||
- LED control
|
- LED control
|
||||||
- Power saving control
|
- Power saving control
|
||||||
- VHT control (allows 80 MHz channel width in AP mode)
|
- VHT control (allows 80 MHz channel width in AP mode)
|
||||||
- SU Beamformee and MU Beamformee control
|
|
||||||
- SU Beamformer control
|
|
||||||
- AP mode DFS channel control
|
- AP mode DFS channel control
|
||||||
- USB mode control
|
- USB mode control
|
||||||
|
|
||||||
@ -91,7 +89,7 @@ and post in `Discussions` or `Issues`.
|
|||||||
|
|
||||||
### Compatible Kernels
|
### Compatible Kernels
|
||||||
|
|
||||||
- Kernels: 3.8 - 5.11 (Realtek)
|
- Kernels: 4.19 - 5.11 (Realtek)
|
||||||
- Kernels: 5.12 - 5.18 (community support)
|
- Kernels: 5.12 - 5.18 (community support)
|
||||||
|
|
||||||
### Tested Linux Distributions
|
### Tested Linux Distributions
|
||||||
@ -461,7 +459,7 @@ Note: Removing the driver is advised in the following situations:
|
|||||||
- if driver installation fails
|
- if driver installation fails
|
||||||
- if the driver is no longer needed
|
- if the driver is no longer needed
|
||||||
- if a new or updated version of the driver needs to be installed
|
- if a new or updated version of the driver needs to be installed
|
||||||
- if a distro version upgrade is going to be installed (going from kernel 5.10 to kernel 5.15)
|
- if a distro version upgrade is going to be installed (i.e. going from kernel 5.10 to kernel 5.15)
|
||||||
|
|
||||||
Note: The following removes everything that has been installed, with the
|
Note: The following removes everything that has been installed, with the
|
||||||
exception of the packages installed in Step 3 and the driver directory.
|
exception of the packages installed in Step 3 and the driver directory.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user