support 64bit system

This commit is contained in:
goodtft 2022-07-29 11:10:17 +08:00 committed by GitHub
parent 97bc095bce
commit dd0ae2e942
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1,7 +1,8 @@
#!/bin/bash
sudo cp -rf ./boot/config-nomal.txt ./boot/config.txt.bak
#sudo cp -rf ./boot/config-nomal.txt ./boot/config.txt.bak
source ./system_config.sh
sudo echo "hdmi_force_hotplug=1" >> ./boot/config.txt.bak
sudo echo "dtparam=i2c_arm=on" >> ./boot/config.txt.bak
sudo echo "dtparam=spi=on" >> ./boot/config.txt.bak
sudo echo "hdmi_group=2" >> ./boot/config.txt.bak