Skip to content

Commit

Permalink
pi2 fixes for duplicate config.txt entries
Browse files Browse the repository at this point in the history
  • Loading branch information
matt2005 committed Feb 2, 2022
1 parent 1983142 commit 335ff5e
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 24 deletions.
2 changes: 1 addition & 1 deletion stage3/03-crankshaft-base/02-run-chroot.sh
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ echo "start_cd=1" >> /boot/config.txt
echo "#dtoverlay=sdtweak,overclock_50=100" >> /boot/config.txt

# enable vc4 for rpi3 as well
sed -i 's/#dtoverlay=vc4-fkms-v3d/dtoverlay=vc4-fkms-v3d/' /boot/config.txt
#sed -i 's/#dtoverlay=vc4-fkms-v3d/dtoverlay=vc4-fkms-v3d/' /boot/config.txt

# pulseaudio
cat /etc/pulse/csng_daemon.conf >> /etc/pulse/daemon.conf
Expand Down
20 changes: 0 additions & 20 deletions stage3/03-crankshaft-base/files/boot/config.txt
Original file line number Diff line number Diff line change
Expand Up @@ -82,25 +82,5 @@ gpu_mem=128

[all]

# Custom power settings
max_usb_current=1

# Disable the PWR LED.
dtparam=pwr_led_trigger=none
dtparam=pwr_led_activelow=off

# Disable Rainbow splash
disable_splash=1

# Overscan fix
overscan_scale=1

# Enable watchdog
dtparam=watchdog=on

# Boot time improvements
boot_delay=0
initial_turbo=30
start_cd=1


6 changes: 3 additions & 3 deletions stage3/04-crankshaft-bluetooth/01-run-chroot.sh
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,9 @@ systemctl enable btdevicedetect
systemctl enable btrestore

# config.txt
echo "" >> /boot/config.txt
echo "# Bluetooth" >> /boot/config.txt
echo "dtoverlay=pi3-disable-bt" >> /boot/config.txt
#echo "" >> /boot/config.txt
#echo "# Bluetooth" >> /boot/config.txt
#echo "dtoverlay=pi3-disable-bt" >> /boot/config.txt

usermod -G bluetooth -a pi
usermod -G bluetooth -a pulse
Expand Down

0 comments on commit 335ff5e

Please sign in to comment.