turn off onboard wifi and limits cpu on pi4
This turns off the onboard wifi because the 5.4.83-Re4son-7vl kernel seems to have disabled its ability to be used in some way on the pi4 when it comes to Pwnagotchi. This also brings down the CPU speed to 800 as suggested on https://pwnagotchi.ai/installation/#installing-on-raspberry-pi3.
This commit is contained in:
parent
9c6834f216
commit
584d8d30e0
@ -7,7 +7,10 @@
|
|||||||
hostname: "{{ lookup('env', 'PWN_HOSTNAME') | default('pwnagotchi', true) }}"
|
hostname: "{{ lookup('env', 'PWN_HOSTNAME') | default('pwnagotchi', true) }}"
|
||||||
version: "{{ lookup('env', 'PWN_VERSION') | default('master', true) }}"
|
version: "{{ lookup('env', 'PWN_VERSION') | default('master', true) }}"
|
||||||
system:
|
system:
|
||||||
boot_options:
|
boot_options4:
|
||||||
|
- "dtoverlay=disable-wifi"
|
||||||
|
- "arm_freq=800"
|
||||||
|
boot_optionsall:
|
||||||
- "dtoverlay=dwc2"
|
- "dtoverlay=dwc2"
|
||||||
- "dtoverlay=spi1-3cs"
|
- "dtoverlay=spi1-3cs"
|
||||||
- "dtparam=spi=on"
|
- "dtparam=spi=on"
|
||||||
@ -342,8 +345,15 @@
|
|||||||
file:
|
file:
|
||||||
path: /boot/ssh
|
path: /boot/ssh
|
||||||
state: touch
|
state: touch
|
||||||
|
|
||||||
|
- name: adjust [pi4] /boot/config.txt
|
||||||
|
lineinfile:
|
||||||
|
dest: /boot/config.txt
|
||||||
|
insertafter: max_framebuffers=2
|
||||||
|
line: '{{ item }}'
|
||||||
|
with_items: "{{system.boot_options4}}"
|
||||||
|
|
||||||
- name: adjust /boot/config.txt
|
- name: adjust [all] /boot/config.txt
|
||||||
lineinfile:
|
lineinfile:
|
||||||
dest: /boot/config.txt
|
dest: /boot/config.txt
|
||||||
insertafter: EOF
|
insertafter: EOF
|
||||||
|
Loading…
x
Reference in New Issue
Block a user