diff --git a/ARM64_RPI.sh b/ARM64_RPI.sh index 395ed15..f4b0c29 100755 --- a/ARM64_RPI.sh +++ b/ARM64_RPI.sh @@ -12,14 +12,8 @@ # $ ./ARM64_RPI.sh 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 = y/CONFIG_PLATFORM_ARM_RPI = n/g' Makefile sed -i 's/CONFIG_PLATFORM_ARM64_RPI = n/CONFIG_PLATFORM_ARM64_RPI = y/g' Makefile RESULT=$? diff --git a/ARM_RPI.sh b/ARM_RPI.sh index b4fd321..684eecf 100755 --- a/ARM_RPI.sh +++ b/ARM_RPI.sh @@ -14,14 +14,6 @@ # getconf LONG_BIT (need to work on this) 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 RESULT=$? @@ -33,3 +25,5 @@ else echo "Raspberry Pi OS (32 bit) support was turned on in Makefile as planned." exit 0 fi + +sed -i 's/CONFIG_PLATFORM_ARM64_RPI = y/CONFIG_PLATFORM_ARM64_RPI = n/g' Makefile diff --git a/README.md b/README.md index f6157ed..5fcc4f8 100644 --- a/README.md +++ b/README.md @@ -51,8 +51,6 @@ sudo uname -a; mokutil --sb-state; lsusb; rfkill list all; dkms status; iw dev - LED control - Power saving control - VHT control (allows 80 MHz channel width in AP mode) -- SU Beamformee and MU Beamformee control -- SU Beamformer control - AP mode DFS channel control - USB mode control @@ -91,7 +89,7 @@ and post in `Discussions` or `Issues`. ### Compatible Kernels -- Kernels: 3.8 - 5.11 (Realtek) +- Kernels: 4.19 - 5.11 (Realtek) - Kernels: 5.12 - 5.18 (community support) ### Tested Linux Distributions @@ -461,7 +459,7 @@ Note: Removing the driver is advised in the following situations: - if driver installation fails - if the driver is no longer needed - 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 exception of the packages installed in Step 3 and the driver directory.