Skip to content

Commit

Permalink
Build for Pi4, at 4k60fps.
Browse files Browse the repository at this point in the history
  • Loading branch information
pauldotknopf committed Oct 31, 2019
1 parent aebb4df commit 009949d
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 5 deletions.
2 changes: 1 addition & 1 deletion build/conf/local.conf
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
MACHINE ??= "raspberrypi3"
MACHINE ??= "raspberrypi4"
DISTRO ?= "poky"
PACKAGE_CLASSES ?= "package_rpm"
EXTRA_IMAGE_FEATURES = "debug-tweaks"
Expand Down
Original file line number Diff line number Diff line change
@@ -1,9 +1,8 @@
do_deploy_append() {
# force non-audio, 1080p 60fps output
sed -i '/#hdmi_drive/ c\hdmi_drive=1' ${DEPLOYDIR}/bcm2835-bootfiles/config.txt
sed -i '/#hdmi_group/ c\hdmi_group=2' ${DEPLOYDIR}/bcm2835-bootfiles/config.txt
sed -i '/#hdmi_mode/ c\hdmi_mode=82' ${DEPLOYDIR}/bcm2835-bootfiles/config.txt
sed -i '/#hdmi_mode/ c\hdmi_mode=82' ${DEPLOYDIR}/bcm2835-bootfiles/config.txt
sed -i '/#hdmi_force_hotplug/ c\hdmi_force_hotplug=1' ${DEPLOYDIR}/bcm2835-bootfiles/config.txt
sed -i '/#hdmi_group/ c\hdmi_group=1' ${DEPLOYDIR}/bcm2835-bootfiles/config.txt
sed -i '/#hdmi_mode/ c\hdmi_mode=95' ${DEPLOYDIR}/bcm2835-bootfiles/config.txt
sed -i '/#hdmi_force_hotplug/ c\hdmi_force_hotplug=1' ${DEPLOYDIR}/bcm2835-bootfiles/config.txt
sed -i '/#dtparam=audio/ c\dtparam=audio=on' ${DEPLOYDIR}/bcm2835-bootfiles/config.txt
}

0 comments on commit 009949d

Please sign in to comment.