Compare commits
2 Commits
1370bd97cc
...
e146811553
Author | SHA1 | Date | |
---|---|---|---|
e146811553 | |||
587c75ceb0 |
22
03_update_boot_config.sh
Normal file
22
03_update_boot_config.sh
Normal file
@ -0,0 +1,22 @@
|
||||
#!/bin/bash
|
||||
|
||||
# Disable onboard audio
|
||||
sudo sed -i 's/dtparam=audio.*/dtparam=audio=off/g' /boot/config.txt
|
||||
|
||||
# Disable onboard bluetooth
|
||||
echo "dtoverlay=disable-bt" | sudo tee -a /boot/config.txt
|
||||
|
||||
# Increase default temperature limit from 60C to 70C
|
||||
echo "temp_soft_limit=70" | sudo tee -a /boot/config.txt
|
||||
|
||||
# Isolate (remove) CPU core 3 from kernel process scheduler
|
||||
#? Is this just to run a little cooler?
|
||||
sudo sed -i '$ s/$/ isolcpus=3/' /boot/cmdline.txt
|
||||
|
||||
# Enable ssh server on boot
|
||||
sudo touch /boot/ssh.txt
|
||||
|
||||
# Disable hdmi output
|
||||
sudo sed -i 's/exit 0//g' /etc/rc.local
|
||||
echo "/usr/bin/tvservice -o" | sudo tee -a /etc/rc.local
|
||||
echo "exit 0" | sudo tee -a /etc/rc.local
|
36
README.md
36
README.md
@ -14,40 +14,8 @@
|
||||
1. Enter the repo: `cd fintic`
|
||||
1. Install Packages: `bash 01_setup_packages.sh`
|
||||
1. Install Python dependencies: `bash 02_setup_python.sh`
|
||||
|
||||
|
||||
Now to turn off the audio circuit open the config file with
|
||||
```console
|
||||
sudo nano /boot/config.txt
|
||||
```
|
||||
look for the dtparam=audio option and turn it to off, the line should look like this. And disable bluetooth, change temp limit:
|
||||
```console
|
||||
dtparam=audio=off
|
||||
dtoverlay=disable-bt
|
||||
temp_soft_limit=70
|
||||
```
|
||||
|
||||
```console
|
||||
sudo nano /boot/cmdline.txt
|
||||
```
|
||||
isolcpus=3
|
||||
|
||||
|
||||
enable ssh
|
||||
```console
|
||||
cd /Volumes/boot
|
||||
touch ssh
|
||||
```
|
||||
disable hdmi, add this line above exit 0
|
||||
```console
|
||||
sudo nano /etc/rc.local
|
||||
/usr/bin/tvservice -o
|
||||
```
|
||||
|
||||
then reboot the pi with
|
||||
```console
|
||||
sudo reboot
|
||||
```
|
||||
1. Configure boot configuration: `bash 03_update_boot_config.sh`
|
||||
1. Reboot the pi: `sudo reboot now`
|
||||
|
||||
## Set to run at startup
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user