mirror of
https://github.com/abperiasamy/rtl8812AU_8821AU_linux.git
synced 2025-07-09 17:07:40 +02:00
Update README.md (#315)
Adding those lines to /boot/config.txt will stop the raspberry pi 3 from booting.
This commit is contained in:
parent
be57045a09
commit
48a530c2b1
10
README.md
10
README.md
@ -30,7 +30,7 @@ This code was forked from https://github.com/abperiasamy/rtl8812AU_8821AU_linux
|
|||||||
# CONFIG_PLATFORM_ARM_JET_NANO = y
|
# CONFIG_PLATFORM_ARM_JET_NANO = y
|
||||||
```
|
```
|
||||||
|
|
||||||
### Compiling for Raspberry Pi
|
### Compiling for Raspberry Pi (3)
|
||||||
|
|
||||||
Install kernel headers and other dependencies.
|
Install kernel headers and other dependencies.
|
||||||
|
|
||||||
@ -38,11 +38,11 @@ Install kernel headers and other dependencies.
|
|||||||
# sudo apt-get install linux-image-rpi-rpfv linux-headers-rpi-rpfv raspberrypi-kernel-headers dkms build-essential bc
|
# sudo apt-get install linux-image-rpi-rpfv linux-headers-rpi-rpfv raspberrypi-kernel-headers dkms build-essential bc
|
||||||
```
|
```
|
||||||
|
|
||||||
Append following at the end of your ``/boot/config.txt``, reboot your Pi
|
Install kernel headers: https://github.com/notro/rpi-source/wiki
|
||||||
|
|
||||||
```sh
|
```sh
|
||||||
kernel=vmlinuz-3.10-3-rpi
|
sudo wget https://raw.githubusercontent.com/notro/rpi-source/master/rpi-source -O /usr/local/bin/rpi-source && sudo chmod +x /usr/local/bin/rpi-source && /usr/local/bin/rpi-source -q --tag-update
|
||||||
initramfs initrd.img-3.10-3-rpi followkernel
|
rpi-source
|
||||||
```
|
```
|
||||||
|
|
||||||
Edit Makefile and turn on ``CONFIG_PLATFORM_ARM_RPI``, turn off ``CONFIG_PLATFORM_I386_PC``
|
Edit Makefile and turn on ``CONFIG_PLATFORM_ARM_RPI``, turn off ``CONFIG_PLATFORM_I386_PC``
|
||||||
@ -55,7 +55,7 @@ CONFIG_PLATFORM_ARM_RPI = y
|
|||||||
```sh
|
```sh
|
||||||
# cd /usr/src/rtl8812au
|
# cd /usr/src/rtl8812au
|
||||||
# sudo make clean
|
# sudo make clean
|
||||||
# sudo make
|
# sudo make -j4
|
||||||
# sudo make install
|
# sudo make install
|
||||||
# sudo modprobe -a rtl8812au
|
# sudo modprobe -a rtl8812au
|
||||||
```
|
```
|
||||||
|
Loading…
x
Reference in New Issue
Block a user